:root {
  --ink: #101916;
  --night: #0b1311;
  --night-soft: #101d19;
  --paper: #fffefa;
  --paper-muted: #f1f4f1;
  --sea: #2d8f7e;
  --sea-bright: #69d2bf;
  --rust: #d86f42;
  --muted: #66716c;
  --line: rgba(16, 25, 22, 0.14);
  --dark-line: rgba(255, 254, 250, 0.14);
  --shadow: 0 28px 80px rgba(7, 20, 16, 0.2);
  --radius: 12px;
  --gutter: clamp(24px, 4.6vw, 72px);
  --max: 1560px;
  color-scheme: light;
  font-family: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); overflow-x: hidden; }
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }

.sr-only,
.skip-link:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link:focus {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--paper);
  color: var(--ink);
}

.dark-section { background: var(--night); color: var(--paper); }
.light-section { background: var(--paper); color: var(--ink); }

.site-header {
  position: absolute;
  z-index: 20;
  top: 0;
  left: 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 36px;
  width: 100%;
  max-width: var(--max);
  min-height: 84px;
  margin-inline: auto;
  padding: 0 var(--gutter);
  color: var(--paper);
}

.site-header::after {
  position: absolute;
  right: var(--gutter);
  bottom: 0;
  left: var(--gutter);
  height: 1px;
  content: "";
  background: linear-gradient(90deg, var(--rust), rgba(216, 111, 66, 0.1));
}

.brand { display: inline-flex; align-items: center; gap: 11px; font-family: "Manrope", sans-serif; font-size: 25px; font-weight: 700; letter-spacing: -0.04em; }
.brand img { width: 36px; height: 36px; }
.site-nav { display: flex; justify-content: center; gap: clamp(28px, 4vw, 64px); }
.site-nav a, .header-actions a, .site-footer a { font-size: 15px; font-weight: 500; }
.site-nav a, .text-link { position: relative; color: rgba(255, 254, 250, 0.78); transition: color 180ms ease; }
.site-nav a:hover, .site-nav a:focus-visible, .text-link:hover, .text-link:focus-visible { color: var(--paper); }
.header-actions { display: flex; align-items: center; gap: 24px; }
.menu-toggle { display: none; }

.button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 0 28px;
  border: 1px solid var(--sea);
  border-radius: 9px;
  background: linear-gradient(135deg, #236f62, #389c8b);
  box-shadow: 0 10px 30px rgba(38, 124, 108, 0.16);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}
.button:hover, .button:focus-visible { transform: translateY(-2px); box-shadow: 0 14px 36px rgba(38, 124, 108, 0.28); }
.button-small { min-height: 44px; padding-inline: 21px; font-size: 14px; }
.button-ghost { border-color: rgba(105, 210, 191, 0.62); background: transparent; box-shadow: none; color: var(--paper); }
.button-ghost:hover, .button-ghost:focus-visible { background: rgba(105, 210, 191, 0.08); box-shadow: none; }
.button-outline-dark { border-color: var(--sea); background: transparent; box-shadow: none; color: #195f53; }
.button-outline-dark:hover, .button-outline-dark:focus-visible { background: #eef8f5; box-shadow: none; }
.button-row { display: flex; flex-wrap: wrap; gap: 14px; }

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(440px, 0.82fr) minmax(0, 1.18fr);
  align-items: center;
  min-height: min(940px, 100vh);
  padding: 138px max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))) 80px;
  overflow: hidden;
}

.hero::after, .workflow::after, .closing::after {
  position: absolute;
  right: -18%;
  bottom: -38%;
  width: 68vw;
  height: 52vw;
  border-radius: 50%;
  content: "";
  background: radial-gradient(circle at 50% 42%, rgba(54, 144, 126, 0.16), transparent 61%);
  pointer-events: none;
}

.hero-copy { position: relative; z-index: 2; max-width: 570px; padding-right: 40px; }
h1, h2, h3 { margin: 0; font-family: "Manrope", sans-serif; letter-spacing: -0.045em; }
h1 { max-width: 500px; font-size: clamp(54px, 4.5vw, 72px); font-weight: 600; line-height: 1.03; }
.hero-copy > p:not(.quiet-proof) { max-width: 520px; margin: 30px 0 34px; color: rgba(255, 254, 250, 0.7); font-size: clamp(18px, 1.55vw, 22px); line-height: 1.55; }
.quiet-proof { display: flex; max-width: 390px; align-items: center; gap: 12px; margin: 28px 0 0; color: rgba(255, 254, 250, 0.56); font-size: 14px; line-height: 1.45; }
.quiet-proof span { width: 32px; height: 1px; background: var(--rust); }

.hero-product { position: relative; z-index: 1; width: min(850px, 64vw); min-height: 580px; justify-self: center; }
.product-halo { position: absolute; inset: 18% 4% 2%; border-radius: 50%; background: rgba(45, 143, 126, 0.1); filter: blur(42px); }
figure { margin: 0; }
.dashboard-frame { overflow: hidden; border: 1px solid rgba(255, 254, 250, 0.22); border-radius: var(--radius); background: #dfe6e2; box-shadow: var(--shadow); }
.dashboard-frame img { width: 100%; height: 100%; object-fit: cover; object-position: top left; }
.dashboard-frame-hero { position: absolute; top: 62px; left: 0; width: 94%; height: 560px; transform: perspective(1600px) rotateY(-4deg) rotateZ(0.6deg); transform-origin: center left; }
.phone-frame { position: absolute; z-index: 2; right: -2%; bottom: -52px; width: 175px; height: 380px; overflow: hidden; border: 7px solid #17221f; border-radius: 32px; background: #dfe6e2; box-shadow: 0 32px 70px rgba(0, 0, 0, 0.45); transform: rotate(1.3deg); }
.phone-frame img { width: 100%; height: 100%; object-fit: cover; object-position: top; }

.product-section { display: grid; grid-template-columns: minmax(360px, 0.64fr) minmax(650px, 1.36fr); gap: 56px; padding: 130px max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))) 0; overflow: hidden; }
.section-copy { align-self: center; max-width: 520px; padding-bottom: 36px; }
.section-rule { display: block; width: 50px; height: 2px; margin-bottom: 28px; background: var(--rust); }
h2 { font-size: clamp(44px, 4.1vw, 68px); font-weight: 600; line-height: 1.05; }
.section-lede { color: var(--muted); font-size: clamp(18px, 1.4vw, 21px); line-height: 1.55; }
.product-section .section-lede { margin: 28px 0 45px; }
.signal-steps, .workflow-list { padding: 0; margin: 0; list-style: none; }
.signal-steps { display: grid; gap: 25px; }
.signal-steps li { display: grid; grid-template-columns: 64px 1fr; gap: 22px; }
.signal-steps li > span { color: var(--sea); font-family: "Manrope", sans-serif; font-size: 31px; line-height: 1; }
.signal-steps h3, .workflow-list h3, .path h3 { font-size: 20px; font-weight: 600; letter-spacing: -0.025em; }
.signal-steps p, .workflow-list p, .path p { margin: 6px 0 0; color: var(--muted); font-size: 16px; line-height: 1.5; }
.product-visual { min-width: 0; align-self: center; }
.dashboard-frame-product { width: min(980px, 72vw); height: 690px; border-color: var(--line); box-shadow: 0 26px 70px rgba(7, 20, 16, 0.16); }

.workflow { position: relative; display: grid; grid-template-columns: minmax(440px, 0.8fr) minmax(620px, 1.2fr); gap: 60px; min-height: 920px; padding: 120px max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))); overflow: hidden; }
.workflow::after { right: -14%; bottom: -42%; opacity: 0.8; }
.workflow-copy { position: relative; z-index: 2; max-width: 590px; align-self: center; }
.workflow-copy .section-lede { margin: 28px 0 44px; color: rgba(255, 254, 250, 0.62); }
.workflow-list { display: grid; gap: 26px; }
.workflow-list li { position: relative; display: grid; grid-template-columns: 62px 1fr; align-items: center; gap: 22px; }
.workflow-list li:not(:last-child)::after { position: absolute; top: 56px; bottom: -28px; left: 30px; width: 1px; content: ""; background: linear-gradient(var(--sea-bright), rgba(105, 210, 191, 0.16)); }
.workflow-icon { z-index: 1; display: grid; width: 62px; height: 62px; place-items: center; border: 1px solid rgba(105, 210, 191, 0.6); border-radius: 50%; background: var(--night); color: var(--sea-bright); }
.workflow-icon svg { width: 26px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.workflow-list h3 { color: var(--sea-bright); font-size: 21px; }
.workflow-list p { color: rgba(255, 254, 250, 0.64); }
.workflow-visual { position: relative; z-index: 1; min-height: 690px; }
.workflow-desktop { position: absolute; top: 68px; left: 38%; width: 900px; height: 620px; overflow: hidden; border: 8px solid #17211e; border-radius: 22px; box-shadow: 0 36px 80px rgba(0, 0, 0, 0.42); }
.workflow-desktop img { width: 100%; height: 100%; object-fit: cover; object-position: top left; opacity: 0.92; }
.workflow-phone { position: absolute; z-index: 2; top: 0; left: 7%; width: 300px; height: 650px; overflow: hidden; border: 9px solid #1b2623; border-radius: 45px; background: #fff; box-shadow: 0 40px 90px rgba(0, 0, 0, 0.55); }
.workflow-phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; }

.paths { padding: 125px max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))) 105px; }
.paths > h2 { margin-bottom: 72px; }
.path-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.path { display: flex; min-height: 320px; flex-direction: column; padding: 0 clamp(30px, 4vw, 72px); border-left: 1px solid rgba(216, 111, 66, 0.65); }
.path:first-child { padding-left: 0; border-left: 0; }
.path:last-child { padding-right: 0; }
.path-number { display: grid; width: 48px; height: 48px; place-items: center; margin-bottom: 30px; border: 1px solid var(--sea); border-radius: 50%; color: var(--sea); font-family: "Manrope", sans-serif; font-size: 14px; font-weight: 700; }
.path h3 { font-size: 26px; }
.path p { max-width: 340px; margin: 12px 0 32px; font-size: 17px; }
.path .button { width: 100%; max-width: 330px; margin-top: auto; justify-content: space-between; }

.closing { position: relative; padding: 100px max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))); overflow: hidden; }
.closing::before { position: absolute; top: 0; right: var(--gutter); left: var(--gutter); height: 1px; content: ""; background: var(--rust); opacity: 0.75; }
.closing-inner { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 50px; }
.closing h2 { font-size: clamp(38px, 4vw, 62px); }

.site-footer { display: grid; grid-template-columns: 1fr auto; gap: 50px; padding: 42px max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))) 40px; border-top: 1px solid var(--dark-line); }
.site-footer .brand { font-size: 23px; }
.site-footer > div > p { max-width: 420px; margin: 12px 0 0; color: rgba(255, 254, 250, 0.5); font-size: 14px; }
.site-footer nav { display: flex; align-items: center; gap: 38px; color: rgba(255, 254, 250, 0.68); }
.site-footer nav a:hover, .site-footer nav a:focus-visible { color: var(--paper); }
.copyright { grid-column: 1 / -1; margin: 20px 0 0; color: rgba(255, 254, 250, 0.34); font-size: 12px; }

.reveal { opacity: 0; transform: translateY(20px); transition: opacity 680ms ease, transform 680ms cubic-bezier(0.2, 0.8, 0.2, 1); transition-delay: var(--reveal-delay, 0ms); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1180px) {
  .hero { grid-template-columns: minmax(380px, 0.84fr) minmax(0, 1.16fr); min-height: 850px; }
  .hero-product { width: 58vw; min-height: 510px; }
  .dashboard-frame-hero { height: 500px; }
  .phone-frame { width: 150px; height: 326px; right: -4%; }
  .product-section { grid-template-columns: 0.7fr 1.3fr; gap: 34px; }
  .dashboard-frame-product { height: 610px; }
  .workflow { grid-template-columns: 0.84fr 1.16fr; }
  .workflow-phone { left: 0; width: 270px; height: 585px; }
  .workflow-desktop { left: 32%; }
}

@media (max-width: 920px) {
  .site-header { grid-template-columns: auto 1fr auto; min-height: 76px; }
  .site-nav { gap: 24px; }
  .site-nav a { font-size: 14px; }
  .header-actions .text-link { display: none; }
  .hero { grid-template-columns: 1fr; gap: 54px; min-height: auto; padding-top: 150px; padding-bottom: 90px; }
  .hero-copy { max-width: 680px; padding-right: 0; }
  .hero-product { width: 100%; min-height: 560px; }
  .dashboard-frame-hero { width: 91%; height: 540px; }
  .phone-frame { right: 0; bottom: -28px; width: 165px; height: 357px; }
  .product-section { grid-template-columns: 1fr; padding-top: 100px; }
  .section-copy { max-width: 670px; }
  .dashboard-frame-product { width: 104%; height: auto; aspect-ratio: 1.44; }
  .workflow { grid-template-columns: 1fr; padding-top: 100px; padding-bottom: 100px; }
  .workflow-copy { max-width: 680px; }
  .workflow-visual { min-height: 680px; }
  .workflow-phone { left: 6%; }
  .workflow-desktop { left: 34%; }
  .closing-inner { align-items: flex-start; flex-direction: column; }
  .site-footer { grid-template-columns: 1fr; }
  .site-footer nav { flex-wrap: wrap; }
}

@media (max-width: 680px) {
  :root { --gutter: 20px; }
  .site-header { position: absolute; grid-template-columns: 1fr auto; min-height: 70px; }
  .site-header::after { right: 20px; left: 20px; }
  .brand { font-size: 21px; }
  .brand img { width: 32px; height: 32px; }
  .menu-toggle { display: grid; width: 42px; height: 42px; place-content: center; gap: 4px; border: 1px solid var(--dark-line); border-radius: 8px; background: transparent; color: white; }
  .menu-toggle > span:not(.sr-only) { display: block; width: 18px; height: 1px; background: currentColor; transition: transform 180ms ease, opacity 180ms ease; }
  .menu-toggle[aria-expanded="true"] > span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] > span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] > span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }
  .site-nav { position: fixed; z-index: -1; inset: 0; display: flex; visibility: hidden; align-items: center; justify-content: center; flex-direction: column; gap: 30px; padding: 100px 24px; background: rgba(11, 19, 17, 0.98); opacity: 0; transition: opacity 180ms ease, visibility 180ms ease; }
  .site-nav.is-open { z-index: -1; visibility: visible; opacity: 1; }
  .site-nav a { font-family: "Manrope", sans-serif; font-size: 32px; }
  .header-actions { display: none; }
  .hero { gap: 42px; padding-top: 130px; padding-bottom: 72px; }
  h1 { font-size: clamp(44px, 12.5vw, 60px); }
  .hero-copy > p:not(.quiet-proof) { margin: 24px 0 28px; font-size: 17px; }
  .hero .button-row .button { flex: 1 1 100%; }
  .quiet-proof { align-items: flex-start; line-height: 1.5; }
  .hero-product { min-height: 350px; }
  .dashboard-frame-hero { top: 26px; width: 97%; height: 320px; transform: rotate(0.5deg); }
  .phone-frame { right: -6px; bottom: -15px; width: 102px; height: 221px; border-width: 4px; border-radius: 20px; }
  h2 { font-size: clamp(38px, 11vw, 50px); }
  .product-section { gap: 28px; padding-top: 84px; }
  .product-section .section-lede { margin: 23px 0 38px; }
  .signal-steps { gap: 22px; }
  .signal-steps li { grid-template-columns: 48px 1fr; gap: 12px; }
  .signal-steps li > span { font-size: 24px; }
  .dashboard-frame-product { width: 130%; height: 390px; border-radius: 8px; }
  .workflow { gap: 44px; min-height: auto; padding-top: 82px; padding-bottom: 80px; }
  .workflow-copy .section-lede { margin: 24px 0 38px; }
  .workflow-list li { grid-template-columns: 52px 1fr; gap: 16px; }
  .workflow-icon { width: 52px; height: 52px; }
  .workflow-list li:not(:last-child)::after { top: 50px; left: 26px; }
  .workflow-visual { min-height: 530px; }
  .workflow-phone { left: 0; width: 216px; height: 468px; border-width: 6px; border-radius: 32px; }
  .workflow-desktop { top: 52px; left: 38%; width: 600px; height: 420px; border-width: 5px; border-radius: 16px; }
  .paths { padding-top: 82px; padding-bottom: 76px; }
  .paths > h2 { margin-bottom: 48px; }
  .path-grid { grid-template-columns: 1fr; }
  .path { min-height: 0; padding: 38px 0; border-top: 1px solid rgba(216, 111, 66, 0.55); border-left: 0; }
  .path:first-child { padding-top: 0; border-top: 0; }
  .path-number { margin-bottom: 20px; }
  .path p { margin-bottom: 25px; }
  .path .button { margin-top: 0; }
  .closing { padding-top: 78px; padding-bottom: 78px; }
  .closing .button-row { width: 100%; }
  .closing .button { flex: 1 1 100%; }
  .site-footer { gap: 36px; }
  .site-footer nav { align-items: flex-start; flex-direction: column; gap: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
  .reveal { opacity: 1; transform: none; }
}
