:root {
  color-scheme: light;
  --ink: #0b2238;
  --muted: #4d6378;
  --faint: #6c8195;
  --line: rgba(11, 34, 56, .09);
  --blue: #0b65ad;
  --blue-ink: #0a5690;
  --navy: #082b4a;
  --orange: #f28c28;
  --orange-ink: #a24f08;
  --font: Inter, system-ui, -apple-system, sans-serif;
  font-family: var(--font);
  color: var(--ink);
  background: #fff;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}
* { box-sizing: border-box; }
body { margin: 0; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { cursor: pointer; }
h1, h2, h3, p, dl, dd, ol, ul, figure { margin: 0; }
:focus-visible { outline: 3px solid #5aa2dc; outline-offset: 3px; }
.wrap { width: min(1200px, calc(100% - 64px)); margin-inline: auto; }
.skip-link { position: absolute; z-index: 30; left: 16px; top: 10px; transform: translateY(-160%); padding: 11px 15px; background: #fff; color: var(--ink); border-radius: 8px; }
.skip-link:focus { transform: none; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 20; border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, .78); -webkit-backdrop-filter: blur(18px) saturate(160%); backdrop-filter: blur(18px) saturate(160%); }
.top-nav { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; align-items: center; min-height: 44px; }
.brand-logo { display: block; width: 40px; height: 40px; }
.nav-links { display: flex; gap: 30px; color: #34495d; font-size: 14.5px; font-weight: 500; }
.nav-links a { display: inline-flex; align-items: center; min-height: 44px; }
.nav-links a:hover { color: var(--ink); }
.nav-actions { display: flex; gap: 8px; align-items: center; }

/* Buttons: one accent, no gradients */
.button { display: inline-flex; justify-content: center; align-items: center; gap: 8px; min-height: 42px; padding: 0 16px; border: 1px solid rgba(11, 34, 56, .14); border-radius: 11px; color: var(--ink); background: #fff; font-size: 14.5px; font-weight: 600; transition: background-color .15s ease, border-color .15s ease; }
.button:hover { border-color: rgba(11, 34, 56, .28); }
.button.primary { border-color: var(--blue); color: #fff; background: var(--blue); }
.button.primary:hover { border-color: var(--blue-ink); background: var(--blue-ink); }
.button.large { min-height: 52px; padding: 0 24px; border-radius: 999px; font-size: 16px; }
.button.small { min-height: 40px; }
.button svg { width: 18px; height: 18px; }
.button.accent { border-color: var(--blue); color: #fff; background: var(--blue); }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 92px 0 0; text-align: center; }
.hero-copy { display: grid; justify-items: center; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border: 1px solid var(--line); border-radius: 999px; color: #34495d; background: #fff; font-size: 13.5px; font-weight: 500; }
.pill span { width: 7px; height: 7px; border-radius: 50%; background: var(--orange); }
.hero h1 { margin-top: 26px; font-size: clamp(44px, 7.2vw, 96px); font-weight: 800; line-height: .98; letter-spacing: -.055em; }
.hero h1 em { color: var(--blue); font-style: normal; }
.lead { max-width: 640px; margin-top: 26px; color: var(--muted); font-size: clamp(17px, 1.6vw, 20px); line-height: 1.6; }
.actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 32px; }
.hero-note { margin-top: 14px; color: var(--faint); font-size: 13.5px; }

/* Product in a glass window */
.product { position: relative; margin-top: 64px; padding-bottom: 72px; }
.glow {
  position: absolute;
  inset: 10% -12% 0;
  z-index: -1;
  background:
    radial-gradient(36% 46% at 24% 58%, rgba(94, 165, 230, .45), transparent 70%),
    radial-gradient(30% 40% at 80% 40%, rgba(255, 178, 112, .5), transparent 70%),
    radial-gradient(50% 50% at 50% 100%, rgba(11, 101, 173, .18), transparent 70%);
  filter: blur(10px);
}
.window {
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, .8);
  border-radius: 24px;
  background: rgba(255, 255, 255, .45);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .9) inset, 0 50px 90px -50px rgba(8, 43, 74, .55), 0 0 0 1px rgba(11, 34, 56, .06);
  -webkit-backdrop-filter: blur(24px) saturate(170%);
  backdrop-filter: blur(24px) saturate(170%);
}
.window-bar { position: relative; display: flex; align-items: center; gap: 7px; padding: 6px 8px 12px; }
.window-bar span { width: 11px; height: 11px; border-radius: 50%; background: #d7dfe7; }
.window-bar b { position: absolute; left: 50%; transform: translateX(-50%); min-width: 280px; padding: 5px 14px; border: 1px solid var(--line); border-radius: 8px; color: var(--faint); background: rgba(255, 255, 255, .7); font-size: 12.5px; font-weight: 500; }
.window-shot { display: block; overflow: hidden; border: 1px solid var(--line); border-radius: 16px; }
.window-shot img { display: block; width: 100%; height: auto; }
.window figcaption { padding: 10px 6px 2px; color: var(--faint); font-size: 12.5px; text-align: right; }

/* How it works */
.how { padding: 96px 0 40px; border-top: 1px solid var(--line); }
.how h2, .try h2, .assistant-copy h2, .cta h2 { font-size: clamp(30px, 4vw, 48px); font-weight: 800; line-height: 1.05; letter-spacing: -.045em; }
.how h2 { max-width: 640px; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; margin-top: 48px; padding: 0; list-style: none; }
.steps li { padding-top: 22px; border-top: 1px solid var(--ink); }
.steps span { color: var(--blue); font: 600 13px ui-monospace, "SF Mono", Menlo, monospace; }
.steps h3 { margin-top: 14px; font-size: 21px; font-weight: 700; letter-spacing: -.025em; }
.steps p { margin-top: 8px; color: var(--muted); font-size: 16px; line-height: 1.6; }

/* Interactive example */
.try { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: center; padding: 80px 0 104px; }
.try-copy p { max-width: 420px; margin-top: 16px; color: var(--muted); font-size: 17px; line-height: 1.6; }
.text-link { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; margin-top: 14px; color: var(--blue-ink); font-size: 15.5px; font-weight: 600; }
.text-link:hover span { transform: translateX(3px); }
.text-link span { transition: transform .15s ease; }
.demo-board { min-width: 0; scroll-margin-top: 90px; padding: 16px; border: 1px solid var(--line); border-radius: 22px; color: var(--ink); background: #f6f9fc; box-shadow: 0 40px 70px -50px rgba(8, 43, 74, .5); }
.board-head, .board-brand, .board-footer, .case-heading, .panel-label { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.board-head { padding: 2px 2px 14px; }
.board-brand { justify-content: flex-start; }
.board-brand .brand-logo { width: 34px; height: 34px; }
.board-brand small, .panel-label { color: var(--faint); font-size: 11px; font-weight: 600; letter-spacing: .06em; }
.board-brand h2 { font-size: 18px; font-weight: 700; letter-spacing: -.02em; }
.sample { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; color: var(--orange-ink); background: #fff1e2; font-size: 12px; font-weight: 600; white-space: nowrap; }
.sample span, .board-footer i { width: 6px; height: 6px; border-radius: 50%; background: var(--orange); }
.demo-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; padding: 4px; border-radius: 12px; background: #e8eef4; }
.demo-tabs button { min-height: 42px; border: 0; border-radius: 9px; color: #3d5368; background: transparent; font-size: 14px; font-weight: 600; }
.demo-tabs button:hover { color: var(--ink); }
.demo-tabs button[aria-selected="true"] { color: var(--ink); background: #fff; box-shadow: 0 1px 3px rgba(11, 34, 56, .12); }
.demo-panel { min-height: 236px; margin-top: 10px; padding: 18px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.case-heading { margin-top: 6px; }
.case-heading h3 { font-size: 22px; font-weight: 700; letter-spacing: -.03em; }
.status { flex-shrink: 0; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; }
.approved { color: #12694f; background: #e3f5ed; }
.review { color: var(--orange-ink); background: #fff1e2; }
.case-metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 14px; padding: 12px 0; border-block: 1px solid var(--line); }
.case-metrics div + div { padding-left: 12px; border-left: 1px solid var(--line); }
.case-metrics dt { color: var(--faint); font-size: 12px; font-weight: 500; }
.case-metrics dd { margin-top: 4px; font-size: 21px; font-weight: 700; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.next-step { display: flex; align-items: flex-start; gap: 10px; margin-top: 12px; color: #1d3850; font-size: 14px; line-height: 1.5; }
.next-step b { display: block; }
.step-icon { flex: 0 0 auto; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 7px; color: var(--blue-ink); background: #e5f0fa; font-size: 15px; }
.sample-source summary, .schedule-link { min-height: 44px; align-content: center; color: var(--blue-ink); font-size: 14px; font-weight: 600; cursor: pointer; }
.sample-source p { color: var(--muted); font-size: 14px; line-height: 1.55; }
.schedule-link { display: inline-flex; align-items: center; gap: 5px; }
.board-footer { padding: 12px 2px 0; color: var(--faint); font-size: 12px; font-weight: 500; }
.board-footer span:first-child { display: inline-flex; align-items: center; gap: 6px; }

/* Dia Assistant: dark band with glass */
.assistant-band { position: relative; overflow: hidden; padding: 104px 0; color: #eaf2f9; background: #061a2e; isolation: isolate; }
.assistant-band::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(34rem 26rem at 78% 30%, rgba(11, 101, 173, .55), transparent 70%),
    radial-gradient(24rem 20rem at 94% 86%, rgba(242, 140, 40, .32), transparent 70%),
    radial-gradient(30rem 24rem at 8% 0%, rgba(30, 90, 150, .35), transparent 70%);
}
.assistant-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.band-label { color: #ffb878; font-size: 14px; font-weight: 600; }
.assistant-copy h2 { margin-top: 14px; color: #fff; }
.assistant-copy > p:not(.band-label) { max-width: 480px; margin-top: 18px; color: #b9cbdb; font-size: 17px; line-height: 1.6; }
.assistant-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 36px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .14); }
.assistant-facts dt { color: #fff; font-size: 15px; font-weight: 600; }
.assistant-facts dd { margin-top: 6px; color: #a9bdcf; font-size: 14.5px; line-height: 1.55; }
.chat-glass {
  display: grid;
  gap: 12px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 24px;
  background: rgba(255, 255, 255, .07);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), 0 40px 80px -40px rgba(0, 0, 0, .6);
  -webkit-backdrop-filter: blur(24px) saturate(150%);
  backdrop-filter: blur(24px) saturate(150%);
}
.bubble { padding: 14px 16px; border-radius: 18px; font-size: 14.5px; line-height: 1.55; }
.bubble.you { justify-self: end; max-width: 80%; border-radius: 18px 18px 6px 18px; color: #fff; background: var(--blue); }
.bubble.dia { border: 1px solid rgba(255, 255, 255, .14); border-radius: 18px 18px 18px 6px; color: #e3edf6; background: rgba(255, 255, 255, .09); }
.bubble.dia > b { display: flex; align-items: center; gap: 8px; color: #fff; font-size: 13.5px; font-weight: 600; }
.lead-line { margin-top: 8px; color: #fff; font-weight: 600; }
.bubble .label { display: flex; align-items: center; gap: 7px; margin-top: 14px; padding-top: 12px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 12.5px; font-weight: 600; }
.bubble .label::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.bubble .label.fact { color: #8cc4f2; }
.bubble .label.suggestion { color: #ffb878; }
.bubble ul { margin: 6px 0 0; padding-left: 18px; }
.bubble .label + p { margin-top: 6px; }
.bubble-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.bubble-actions span { padding: 6px 12px; border: 1px solid rgba(255, 255, 255, .2); border-radius: 10px; color: #fff; font-size: 12.5px; font-weight: 600; }
.chat-note { color: #8ea4b8; font-size: 12.5px; }

/* CTA + footer */
.cta { display: grid; justify-items: center; padding: 112px 0; text-align: center; }
.cta p { margin-top: 14px; color: var(--muted); font-size: 17px; }
.footer { display: flex; align-items: center; gap: 16px; padding: 22px 0; border-top: 1px solid var(--line); color: var(--faint); font-size: 14px; }
.footer .brand-logo { width: 32px; height: 32px; }
.footer > div { display: flex; gap: 24px; margin-left: auto; }
.footer > div a { display: inline-flex; align-items: center; min-height: 44px; color: var(--muted); font-weight: 500; }
.footer a:hover { color: var(--ink); }

/* Sign-in dialog */
dialog { width: min(440px, calc(100% - 24px)); max-height: calc(100dvh - 24px); padding: 24px; border: 1px solid rgba(255, 255, 255, .8); border-radius: 22px; color: var(--ink); background: rgba(255, 255, 255, .92); box-shadow: 0 40px 90px -30px rgba(8, 43, 74, .5); -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px); }
dialog::backdrop { background: rgba(6, 26, 46, .4); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.dialog-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.dialog-heading .brand { gap: 10px; font-size: 15px; font-weight: 600; }
.dialog-heading .brand-logo { width: 36px; height: 36px; }
.icon-button, .text-button { border: 0; background: transparent; color: var(--blue-ink); font-weight: 600; }
.icon-button { width: 44px; height: 44px; border-radius: 10px; font-size: 25px; }
.icon-button:hover, .text-button:hover { background: #f1f5f9; }
dialog h2 { font-size: 24px; font-weight: 700; letter-spacing: -.03em; }
.form-copy { margin: 6px 0 18px; color: var(--muted); font-size: 14.5px; }
dialog label { display: grid; gap: 6px; margin-bottom: 12px; font-size: 14px; font-weight: 600; }
dialog input { width: 100%; min-height: 46px; padding: 9px 12px; border: 1px solid rgba(11, 34, 56, .18); border-radius: 11px; color: var(--ink); background: #fff; }
dialog .password-field input { padding-right: 73px; }
.form-submit { width: 100%; margin-top: 4px; }
.text-button { min-height: 44px; padding: 7px 4px; border-radius: 8px; font-size: 13.5px; }
.form-message { margin-top: 10px; padding: 10px; border-radius: 10px; color: #89370e; background: #fff1e4; font-size: 14px; }
.form-message.success { color: #245b42; background: #e4f5ec; }

/* Responsive */
@media (max-width: 900px) {
  .try, .assistant-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 28px; }
  .nav-links { display: none; }
  .window-bar b { display: none; }
}
@media (max-width: 580px) {
  .wrap { width: calc(100% - 32px); }
  .top-nav { min-height: 64px; }
  .nav-actions .button:not(.primary) { display: none; }
  .hero { padding-top: 56px; }
  .hero h1 { font-size: clamp(40px, 12vw, 52px); }
  .lead { font-size: 16.5px; }
  .actions { width: 100%; }
  .actions .button { flex: 1 1 100%; }
  .product { margin-top: 44px; padding-bottom: 48px; }
  .window { padding: 6px; border-radius: 16px; }
  .window-bar { padding: 4px 6px 8px; }
  .window-shot { border-radius: 10px; }
  .how { padding-top: 64px; }
  .try { padding: 56px 0 72px; }
  .demo-board { padding: 10px; }
  .demo-panel { padding: 13px; }
  .assistant-band { padding: 72px 0; }
  .assistant-facts { grid-template-columns: 1fr; }
  .chat-glass { padding: 12px; border-radius: 18px; }
  .cta { padding: 80px 0; }
  .footer { flex-wrap: wrap; }
  .footer > p { display: none; }
}
@media (prefers-reduced-motion: no-preference) {
  .hero [data-enter] { animation: landing-enter 420ms cubic-bezier(.22, 1, .36, 1) both; }
  .hero .product { animation-delay: 90ms; }
  @keyframes landing-enter { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; } }
