@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@500;600;700;800&display=swap');

:root {
  --ink: #172033;
  --muted: #60708a;
  --blue: #2455d6;
  --blue-dark: #173fae;
  --pale: #eef3fb;
  --wash: #f7f9fc;
  --line: #dce4f0;
  --white: #fff;
  --ember: #d75a19;
  --radius: 18px;
  --shadow: 0 22px 60px -28px rgba(28, 55, 112, .3);
}

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  /* Match the terminal page section so mobile overscroll below the footer
     cannot expose a large light browser canvas. */
  background: #111827;
}
body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--wash);
  font-family: 'DM Sans', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid rgba(36, 85, 214, .32); outline-offset: 3px; }

.site-header {
  width: min(1240px, calc(100% - 48px));
  min-height: 82px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(220, 228, 240, .8);
}
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: Manrope, sans-serif; font-size: 22px; font-weight: 800; letter-spacing: -.04em; }
.brand-mark { width: 30px; height: 33px; object-fit: contain; }
.header-cta { min-height: 44px; display: inline-flex; align-items: center; text-decoration: none; color: var(--blue); font-weight: 700; font-size: 14px; }

.hero {
  width: min(1240px, calc(100% - 48px));
  min-height: 720px;
  margin: 0 auto;
  padding: 92px 0 94px;
  display: grid;
  grid-template-columns: .87fr 1.13fr;
  align-items: center;
  gap: clamp(48px, 8vw, 112px);
}
.eyebrow { margin: 0 0 20px; display: flex; align-items: center; gap: 9px; color: var(--blue); text-transform: uppercase; letter-spacing: .13em; font-size: 12px; font-weight: 800; }
.eyebrow > span { width: 8px; height: 8px; border-radius: 50%; background: var(--ember); box-shadow: 0 0 0 5px rgba(215, 90, 25, .1); }
.hero h1, .statement h2, .beta h2, .privacy-main h1 { margin: 0; font-family: Manrope, sans-serif; font-weight: 800; letter-spacing: -.055em; text-wrap: balance; }
.hero h1 { font-size: clamp(48px, 5.5vw, 76px); line-height: 1.02; }
.hero h1 em { color: var(--blue); font-style: normal; }
.hero-lede { max-width: 620px; margin: 26px 0 0; color: var(--muted); font-size: clamp(18px, 2vw, 21px); line-height: 1.58; }
.hero-actions { margin-top: 32px; display: flex; align-items: center; gap: 26px; }
.button { min-height: 50px; padding: 0 22px; border: 0; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; text-decoration: none; font-weight: 700; cursor: pointer; transition: transform .18s ease, background .18s ease, box-shadow .18s ease; }
.button-primary { color: #fff; background: var(--blue); box-shadow: 0 13px 28px -14px rgba(36, 85, 214, .75); }
.button-primary:hover { background: var(--blue-dark); transform: translateY(-1px); }
.button:disabled { opacity: .65; cursor: wait; transform: none; }
.text-link { min-height: 44px; display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 700; }
.text-link span { color: var(--blue); }
.microcopy { margin: 16px 0 0; color: #78869b; font-size: 13px; }

.product-scene { position: relative; min-height: 520px; isolation: isolate; }
.scene-glow { position: absolute; inset: 4% 0 0; z-index: -1; border-radius: 50%; background: radial-gradient(circle, rgba(36,85,214,.13), transparent 66%); filter: blur(24px); }
.app-window, .conversation-card { position: absolute; background: rgba(255,255,255,.96); border: 1px solid rgba(206,218,235,.94); box-shadow: var(--shadow); }
.app-window { top: 76px; right: 0; width: 80%; min-height: 386px; border-radius: 20px; overflow: hidden; transform: rotate(1.2deg); }
.conversation-card { top: 10px; left: 0; width: 48%; min-width: 285px; z-index: 2; padding: 20px; border-radius: 18px; transform: rotate(-1.4deg); }
.mini-brand { display: flex; align-items: center; gap: 8px; font-family: Manrope, sans-serif; font-weight: 800; font-size: 14px; }
.mini-brand img { width: 18px; height: 20px; object-fit: contain; }
.message { margin: 14px 0 0; padding: 11px 13px; border-radius: 12px; font-size: 13px; line-height: 1.45; }
.hephy-message { margin-right: 28px; background: var(--pale); }
.user-message { margin-left: 25px; background: var(--blue); color: #fff; }
.thinking-line { margin-top: 15px; display: flex; align-items: center; gap: 4px; color: var(--muted); font-size: 11px; font-weight: 700; }
.thinking-line span { width: 4px; height: 4px; border-radius: 50%; background: var(--blue); animation: breathe 1.3s infinite ease-in-out; }
.thinking-line span:nth-child(2) { animation-delay: .15s; }.thinking-line span:nth-child(3) { animation-delay: .3s; margin-right: 4px; }
.window-bar { height: 47px; padding: 0 17px; display: flex; align-items: center; gap: 6px; background: #f2f5fa; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 11px; font-weight: 700; }
.window-bar i { width: 7px; height: 7px; border-radius: 50%; background: #c5cede; }.window-bar span { margin-left: auto; }
.window-body { display: grid; grid-template-columns: 118px 1fr; min-height: 340px; }
.window-body aside { padding: 26px 15px; display: flex; flex-direction: column; gap: 19px; background: #f8fafc; border-right: 1px solid var(--line); color: var(--muted); font-size: 11px; }
.window-body aside b { color: var(--blue); }
.window-main { padding: 38px 30px; }
.window-main > small { color: var(--blue); letter-spacing: .12em; font-weight: 800; font-size: 9px; }
.window-main h2 { margin: 8px 0 23px; font-family: Manrope, sans-serif; font-size: 24px; letter-spacing: -.04em; }
.preview-row { min-height: 66px; margin-top: 10px; padding: 10px 12px; display: grid; grid-template-columns: 34px 1fr auto; align-items: center; gap: 10px; border: 1px solid var(--line); border-radius: 11px; font-size: 11px; }
.preview-row > span { width: 32px; height: 32px; border-radius: 9px; background: var(--pale); position: relative; }
.preview-row > span:after { content:''; position:absolute; inset:9px; border:2px solid var(--blue); border-radius:2px; }
.preview-row div { display: flex; flex-direction: column; gap: 3px; }.preview-row div small { color: var(--muted); }.preview-row > i { padding: 6px 8px; border-radius: 7px; color: var(--blue); background: var(--pale); font-style: normal; font-weight: 700; }
.forge-chip { position: absolute; right: 6%; bottom: 13px; padding: 10px 14px; z-index: 3; border: 1px solid var(--line); border-radius: 999px; background: #fff; box-shadow: var(--shadow); color: var(--muted); font-size: 11px; font-weight: 700; }.forge-chip span { color: var(--ember); }

.statement { width: min(960px, calc(100% - 48px)); margin: 40px auto 0; padding: 110px 0; border-top: 1px solid var(--line); text-align: center; }
.section-number { color: var(--blue); font-size: 11px; font-weight: 800; letter-spacing: .13em; }
.statement h2 { max-width: 860px; margin: 24px auto 0; font-size: clamp(36px, 5vw, 58px); line-height: 1.1; }
.statement > p:last-child { max-width: 680px; margin: 28px auto 0; color: var(--muted); font-size: 18px; line-height: 1.65; }
.journey { width: min(1140px, calc(100% - 48px)); margin: 0 auto 120px; display: grid; grid-template-columns: repeat(3,1fr); border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.journey article { min-height: 260px; padding: 34px; }.journey article + article { border-left: 1px solid var(--line); }
.step-number { color: var(--blue); font-family: Manrope, sans-serif; font-weight: 800; font-size: 13px; }
.journey h3 { margin: 52px 0 10px; font-family: Manrope, sans-serif; font-size: 22px; letter-spacing: -.035em; }.journey p { margin: 0; color: var(--muted); line-height: 1.65; }

.beta { padding: 118px max(24px, calc((100vw - 1140px)/2)); display: grid; grid-template-columns: .84fr 1.16fr; gap: clamp(50px, 8vw, 105px); background: #172033; color: #fff; }
.beta h2 { font-size: clamp(40px, 5vw, 60px); line-height: 1.08; }.beta-copy > p:not(.eyebrow) { color: #b9c4d5; font-size: 18px; line-height: 1.65; }
.beta-note { margin-top: 35px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.13); display: grid; gap: 8px; }.beta-note strong { font-size: 14px; }.beta-note span { color: #aeb9ca; font-size: 14px; line-height: 1.55; }
.beta-form { padding: 30px; border-radius: 18px; background: #fff; color: var(--ink); box-shadow: 0 30px 70px -35px #000; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.beta-form label:not(.consent), .privacy-form label { display: grid; gap: 8px; margin-bottom: 18px; font-size: 13px; font-weight: 700; }
.beta-form label small, .beta-form legend small { color: var(--muted); font-weight: 500; }
input[type=text], input[type=email], textarea, select { width: 100%; border: 1px solid #ced8e7; border-radius: 10px; background: #fff; color: var(--ink); padding: 12px 13px; transition: border .15s, box-shadow .15s; }
input[type=text], input[type=email], select { min-height: 47px; } textarea { resize: vertical; line-height: 1.5; }
input:focus, textarea:focus, select:focus { outline: 0; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(36,85,214,.12); }
fieldset { margin: 0 0 18px; padding: 0; border: 0; } legend { margin-bottom: 9px; font-size: 13px; font-weight: 700; }
.check-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }.check-grid label { margin: 0 !important; }.check-grid input { position: absolute; opacity: 0; }.check-grid span { min-height: 39px; display: flex; align-items: center; justify-content: center; border: 1px solid #d4ddea; border-radius: 9px; color: var(--muted); cursor: pointer; font-size: 12px; font-weight: 700; }.check-grid input:checked + span { border-color: var(--blue); color: var(--blue); background: var(--pale); }.check-grid input:focus-visible + span { outline: 3px solid rgba(36,85,214,.25); }
.consent { margin: 4px 0 20px; display: grid; grid-template-columns: 18px 1fr; gap: 10px; align-items: start; color: var(--muted); font-size: 12px; line-height: 1.5; }.consent input { width: 17px; height: 17px; margin: 1px 0 0; accent-color: var(--blue); }.consent a { color: var(--blue); }.form-submit { width: 100%; }.form-status { min-height: 22px; margin: 13px 0 0; color: var(--muted); text-align: center; font-size: 13px; }.form-status strong { color: var(--blue); }.hidden-field { position: absolute; left: -10000px; }

footer { min-height: 110px; padding: 28px max(24px, calc((100vw - 1140px)/2)); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; background: #111827; color: #8896aa; border-top: 1px solid rgba(255,255,255,.06); font-size: 12px; }.footer-brand { color: #fff; }.footer-brand span { font-size: 18px; } footer p { margin: 0; } footer div { display:flex; justify-content:flex-end; gap:20px; } footer a { text-decoration: none; }

.privacy-main { width: min(760px, calc(100% - 48px)); margin: 0 auto; padding: 95px 0 120px; }.privacy-main h1 { font-size: clamp(44px, 7vw, 68px); }.privacy-updated { color: var(--muted); }.privacy-main section { padding: 34px 0; border-top: 1px solid var(--line); }.privacy-main h2 { font: 800 23px Manrope, sans-serif; letter-spacing: -.03em; }.privacy-main section > p { color: var(--muted); line-height: 1.7; }.privacy-form { margin-top: 25px; padding: 25px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }

.js [data-reveal] { opacity: 0; transform: translateY(15px); transition: opacity .6s ease, transform .6s ease; }.js [data-reveal].is-visible { opacity: 1; transform: none; }
@keyframes breathe { 0%,100%{transform:translateY(0);opacity:.35}50%{transform:translateY(-2px);opacity:1} }

@media (max-width: 920px) {
  .hero { grid-template-columns: 1fr; padding-top: 64px; }.hero-copy { max-width: 720px; }.product-scene { width: min(680px,100%); margin: 0 auto; }.beta { grid-template-columns: 1fr; }.beta-copy { max-width: 720px; }.journey { grid-template-columns: 1fr; }.journey article { min-height: auto; }.journey article + article { border-left: 0; border-top: 1px solid var(--line); }.journey h3 { margin-top: 26px; }
}
@media (max-width: 600px) {
  .site-header, .hero, .statement, .journey { width: min(100% - 32px, 1240px); }.site-header { min-height: 68px; }.header-cta { font-size: 12px; }.hero { min-height: 0; padding: 62px 0 70px; gap: 48px; }.hero h1 { font-size: clamp(42px, 13vw, 58px); }.hero-lede { font-size: 17px; }.hero-actions { align-items: stretch; flex-direction: column; gap: 10px; }.text-link { justify-content: center; }.microcopy { text-align: center; }.product-scene { min-height: 480px; }.conversation-card { width: 76%; min-width: 0; }.app-window { top: 154px; width: 96%; }.window-body { grid-template-columns: 76px 1fr; }.window-body aside { padding: 21px 9px; }.window-main { padding: 28px 14px; }.window-main h2 { font-size: 19px; }.preview-row { grid-template-columns: 28px 1fr; }.preview-row > i { display:none; }.forge-chip { right: 2%; }.statement { padding: 82px 0; }.statement h2 { font-size: 38px; }.journey { margin-bottom: 80px; }.journey article { padding: 28px; }.beta { padding: 82px 16px; }.beta-form { padding: 22px 17px; }.field-row { grid-template-columns: 1fr; gap: 0; }.check-grid { grid-template-columns: repeat(2,1fr); } footer { grid-template-columns: 1fr auto; } footer p { display: none; } footer div { gap: 12px; }
}
@media (prefers-reduced-motion: reduce) { html{scroll-behavior:auto} *,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important} .js [data-reveal]{opacity:1;transform:none} }
