:root {
  color-scheme: dark;
  --bg: #070912;
  --bg-soft: #0c111f;
  --panel: rgba(13, 18, 32, 0.88);
  --panel-solid: #101727;
  --line: rgba(152, 171, 201, 0.22);
  --text: #f5f7fb;
  --muted: #aab8cf;
  --cyan: #20d6c7;
  --pink: #f03ac8;
  --blue: #67a8ff;
  --green: #40e681;
  --amber: #f4b23e;
  --danger: #ff6b8a;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(120deg, rgba(32, 214, 199, 0.07), transparent 32rem),
    linear-gradient(240deg, rgba(240, 58, 200, 0.09), transparent 34rem),
    var(--bg);
  color: var(--text);
  font-family: "Segoe UI", Arial, sans-serif;
  line-height: 1.55;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(103, 168, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(103, 168, 255, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), transparent 72%);
  z-index: -1;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  width: 100%;
  height: auto;
}

.page-shell {
  width: min(1160px, calc(100% - 36px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding: 12px max(18px, calc((100vw - 1160px) / 2));
  background: rgba(7, 9, 18, 0.82);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 190px;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 1.02rem;
  letter-spacing: 0;
}

.brand small {
  color: var(--cyan);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
}

.brand-mark {
  width: 36px;
  height: 36px;
  position: relative;
  flex: 0 0 36px;
  border-radius: 8px;
  background: linear-gradient(145deg, #6ea4ff 0%, #7b5cff 48%, #20d6c7 100%);
  box-shadow: 0 0 28px rgba(32, 214, 199, 0.28);
  clip-path: polygon(50% 4%, 96% 96%, 63% 96%, 50% 58%, 37% 96%, 4% 96%);
}

.top-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}

.top-nav a {
  color: var(--muted);
  padding: 9px 12px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 0.92rem;
}

.top-nav a:hover,
.top-nav a:focus-visible {
  color: var(--text);
  border-color: rgba(32, 214, 199, 0.38);
  outline: none;
}

.hero-section {
  position: relative;
  min-height: 88svh;
  display: grid;
  align-items: center;
  overflow: clip;
  border-bottom: 1px solid var(--line);
}

.hero-visual {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 9, 18, 0.98) 0%, rgba(7, 9, 18, 0.9) 38%, rgba(7, 9, 18, 0.52) 100%),
    linear-gradient(0deg, rgba(7, 9, 18, 0.9), rgba(7, 9, 18, 0.08) 48%, rgba(7, 9, 18, 0.78)),
    url("assets/falcoran-dashboard.png") right center / min(980px, 78vw) auto no-repeat;
}

.hero-content {
  position: relative;
  padding: 72px 0 52px;
}

.kicker {
  margin: 0 0 12px;
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  line-height: 1.08;
  margin: 0;
  letter-spacing: 0;
}

h1 {
  width: min(760px, 100%);
  font-size: clamp(3.2rem, 10vw, 6.9rem);
}

h2 {
  font-size: clamp(2rem, 5vw, 4rem);
}

h3 {
  font-size: 1.18rem;
}

.hero-copy {
  width: min(650px, 100%);
  margin: 24px 0 0;
  color: #dce6f7;
  font-size: clamp(1.05rem, 2.5vw, 1.26rem);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 34px;
}

.primary-button,
.secondary-button,
.download-button,
.comment-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 13px 18px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.primary-button,
.download-button,
.comment-form button {
  color: #041018;
  background: linear-gradient(135deg, var(--cyan), var(--green));
  box-shadow: 0 18px 45px rgba(32, 214, 199, 0.22);
}

.secondary-button {
  color: var(--text);
  border-color: rgba(103, 168, 255, 0.44);
  background: rgba(15, 22, 38, 0.74);
}

.primary-button:hover,
.download-button:hover,
.comment-form button:hover {
  filter: brightness(1.08);
}

.secondary-button:hover {
  border-color: var(--cyan);
  background: rgba(32, 214, 199, 0.09);
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 150px));
  gap: 10px;
  width: min(500px, 100%);
  margin: 34px 0 0;
}

.hero-facts div {
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(12, 17, 31, 0.78);
}

dt {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

dd {
  margin: 4px 0 0;
  font-weight: 800;
}

section:not(.hero-section) {
  padding: 88px 0;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(24px, 5vw, 70px);
  align-items: start;
}

.section-copy p,
.download-panel p,
.feature-grid p,
.notes-grid p,
.comment-section p {
  color: var(--muted);
}

.section-copy p {
  max-width: 620px;
  margin: 22px 0 0;
  font-size: 1.05rem;
}

.download-section,
.screens-section,
.notes-section {
  background: rgba(255, 255, 255, 0.015);
  border-bottom: 1px solid var(--line);
}

.download-panel,
.comment-form,
.feature-grid article,
.notes-grid article,
.screens-grid figure {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.download-panel {
  padding: clamp(20px, 4vw, 30px);
}

.download-panel h3 {
  color: var(--text);
}

.download-panel p {
  margin: 14px 0 0;
}

.download-button {
  width: 100%;
  margin-top: 24px;
}

.download-meta {
  display: grid;
  gap: 10px;
  margin: 24px 0 0;
}

.download-meta div {
  padding: 12px 0;
  border-top: 1px solid var(--line);
}

.hash {
  color: #dce6f7;
  font-family: Consolas, "Courier New", monospace;
  font-size: 0.82rem;
  line-height: 1.45;
  word-break: break-all;
}

.download-note {
  padding: 14px;
  border: 1px solid rgba(244, 178, 62, 0.35);
  border-radius: 8px;
  background: rgba(244, 178, 62, 0.08);
}

.feature-grid,
.notes-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 34px;
}

.feature-grid article,
.notes-grid article {
  min-height: 190px;
  padding: 20px;
}

.feature-grid article:nth-child(1) {
  border-color: rgba(103, 168, 255, 0.35);
}

.feature-grid article:nth-child(2) {
  border-color: rgba(240, 58, 200, 0.35);
}

.feature-grid article:nth-child(3) {
  border-color: rgba(32, 214, 199, 0.35);
}

.feature-grid article:nth-child(4) {
  border-color: rgba(64, 230, 129, 0.35);
}

.feature-grid p,
.notes-grid p {
  margin: 12px 0 0;
}

.screens-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr;
  gap: 14px;
  margin-top: 34px;
}

.screens-grid figure {
  margin: 0;
  overflow: hidden;
}

.screens-grid img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-bottom: 1px solid var(--line);
}

.screens-grid .crop-left {
  object-position: left top;
}

.screens-grid .crop-center {
  object-position: center center;
}

.screens-grid .crop-right {
  object-position: right top;
}

.screens-grid figcaption {
  min-height: 58px;
  padding: 14px 16px 16px;
  color: var(--muted);
  font-size: 0.92rem;
}

.comment-form {
  display: grid;
  gap: 12px;
  padding: clamp(20px, 4vw, 30px);
}

.comment-form label {
  color: #dce6f7;
  font-weight: 800;
}

.comment-form input,
.comment-form textarea {
  width: 100%;
  border: 1px solid rgba(152, 171, 201, 0.35);
  border-radius: 8px;
  padding: 13px 14px;
  color: var(--text);
  background: #090d18;
  font: inherit;
}

.comment-form textarea {
  resize: vertical;
  min-height: 164px;
}

.comment-form input:focus,
.comment-form textarea:focus {
  border-color: var(--cyan);
  outline: 3px solid rgba(32, 214, 199, 0.18);
}

.comment-form button {
  margin-top: 8px;
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--green);
}

.notes-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.site-footer {
  padding: 30px 0;
  color: var(--muted);
  border-top: 1px solid var(--line);
  background: #060812;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-grid p {
  margin: 0;
}

.footer-grid a {
  color: var(--cyan);
}

@media (max-width: 920px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
  }

  .top-nav {
    justify-content: flex-start;
  }

  .two-column,
  .feature-grid,
  .notes-grid,
  .screens-grid {
    grid-template-columns: 1fr;
  }

  .hero-section {
    min-height: auto;
  }

  .hero-content {
    padding: 74px 0 46px;
  }

  .hero-visual {
    background:
      linear-gradient(90deg, rgba(7, 9, 18, 0.98), rgba(7, 9, 18, 0.76)),
      linear-gradient(0deg, rgba(7, 9, 18, 0.96), rgba(7, 9, 18, 0.4)),
      url("assets/falcoran-dashboard.png") center top / 980px auto no-repeat;
  }
}

@media (max-width: 560px) {
  .page-shell {
    width: min(100% - 24px, 1160px);
  }

  .top-nav a {
    padding: 8px 9px;
  }

  .hero-facts {
    grid-template-columns: 1fr;
  }

  .hero-actions a {
    width: 100%;
  }

  section:not(.hero-section) {
    padding: 64px 0;
  }
}
