
:root {
  --paper: #ffffff;
  --mist: #f5f5f7;
  --ink: #1d1d1f;
  --ink-2: #6e6e73;
  --ink-3: #86868b;
  --hair: rgba(0, 0, 0, 0.09);
  --signal: #2457f5;
  --signal-press: #1b44c8;
  --signal-soft: rgba(36, 87, 245, 0.08);
  --good: #1a8f4c;
  --warn: #b26b00;
  --bad: #c9372c;
  
  --c-ki: #8b5cf6;
  --c-mkt: #22a55b;
  --c-proz: #ef8a1a;
  --c-web: #2f7bf6;
  --r-xl: 32px;
  --r-lg: 24px;
  --r-md: 18px;
  --r-sm: 12px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", "Segoe UI Variable Display", "Segoe UI", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --glass-fill: linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.58));
  --glass-blur: blur(22px) saturate(185%);
  --glass-ring: inset 0 1px 0 rgba(255, 255, 255, 0.95), inset 0 -1px 0 rgba(0, 0, 0, 0.035), inset 0 0 0 0.5px rgba(0, 0, 0, 0.07);
  --glass-drop: 0 10px 34px rgba(0, 0, 0, 0.09), 0 1px 3px rgba(0, 0, 0, 0.05);
  --nav-h: 52px;
  --wrap: 1200px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 130px; }
body.ag {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.5 var(--font);
  letter-spacing: -0.012em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
:where(.ag) :where(img) { max-width: 100%; display: block; }
:where(.ag) :where(a) { color: inherit; }
:where(.ag) :where(button) { font: inherit; color: inherit; }

:where(.ag) :where(h1, h2, h3, h4, p, ul, ol, figure, dl, dd) { margin: 0; }
:where(.ag) :where(ul[role="list"], ol[role="list"]) { list-style: none; padding: 0; }
.ag [hidden] { display: none !important; }   
.ag :focus-visible { outline: 3px solid rgba(36, 87, 245, 0.55); outline-offset: 3px; border-radius: 10px; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 2000; padding: 10px 16px; border-radius: 999px; background: var(--ink); color: #fff !important; text-decoration: none; }
.skip-link:focus { top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }


.display { font-size: clamp(44px, 7.4vw, 96px); font-weight: 700; line-height: 1.02; letter-spacing: -0.038em; }
.h2 { font-size: clamp(34px, 5vw, 64px); font-weight: 700; line-height: 1.04; letter-spacing: -0.032em; }
.h3 { font-size: clamp(23px, 2.3vw, 30px); font-weight: 650; line-height: 1.14; letter-spacing: -0.022em; }
.h4 { font-size: 19px; font-weight: 650; line-height: 1.25; letter-spacing: -0.016em; }
.lead { font-size: clamp(19px, 1.7vw, 24px); line-height: 1.42; color: var(--ink-2); letter-spacing: -0.016em; max-width: 34em; }
.kicker { font-size: clamp(17px, 1.4vw, 21px); font-weight: 650; letter-spacing: -0.012em; color: var(--kicker, var(--signal)); }
.muted { color: var(--ink-2); }
.small { font-size: 14px; line-height: 1.45; color: var(--ink-2); }
.center { text-align: center; margin-inline: auto; }
.balance { text-wrap: balance; }


.wrap { width: min(var(--wrap), 100% - 44px); margin-inline: auto; }
.wrap--narrow { width: min(820px, 100% - 44px); margin-inline: auto; }
.section { padding-block: clamp(72px, 10vw, 140px); }
.section--mist { background: var(--mist); }
.section--tight { padding-block: clamp(56px, 7vw, 96px); }
.stack > * + * { margin-top: var(--gap, 18px); }
.split { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }


.glass {
  position: relative;
  background: var(--glass-fill);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  box-shadow: var(--glass-ring), var(--glass-drop);
  isolation: isolate;
}
.glass::before {           
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(140% 90% at 30% -40%, rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0) 55%);
  opacity: 0.7;
  z-index: -1;
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .glass { background: rgba(255, 255, 255, 0.96); }
}


.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 24px; border-radius: 999px; border: 0;
  font-size: 17px; font-weight: 550; letter-spacing: -0.012em; text-decoration: none; cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s var(--ease), box-shadow 0.2s ease, color 0.2s ease;
}
.btn:active { transform: scale(0.97); }
.btn--signal { background: var(--signal); color: #fff !important; }
.btn--signal:hover { background: var(--signal-press); }
.btn--ink { background: var(--ink); color: #fff !important; }
.btn--ink:hover { background: #000; }
.btn--quiet { background: rgba(0, 0, 0, 0.05); color: var(--ink) !important; }
.btn--quiet:hover { background: rgba(0, 0, 0, 0.08); }
.btn--glass { color: var(--ink) !important; }
.btn--sm { min-height: 36px; padding: 0 16px; font-size: 14px; }
.btn--xs { min-height: 30px; padding: 0 14px; font-size: 13px; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: 0.45; pointer-events: none; }
.link { color: var(--signal) !important; text-decoration: none; font-weight: 500; display: inline-flex; align-items: center; gap: 4px; }
.link:hover { text-decoration: underline; text-underline-offset: 3px; }
.link .chev { width: 8px; height: 12px; flex: none; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.cta-row.center { justify-content: center; }


.gnav { position: fixed; z-index: 1000; top: 12px; left: 50%; transform: translateX(-50%); width: min(1120px, 100% - 24px); }
.gnav-bar {
  height: var(--nav-h); border-radius: 999px; padding: 0 8px 0 22px;
  display: flex; align-items: center; gap: 18px;
}
.gnav-logo { font-size: 18px; font-weight: 700; letter-spacing: -0.03em; text-decoration: none; white-space: nowrap; margin-right: auto; }
.gnav-links { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.gnav-links a {
  display: block; padding: 7px 13px; border-radius: 999px; font-size: 14px; color: rgba(0, 0, 0, 0.62); text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.gnav-links a:hover { color: var(--ink); background: rgba(0, 0, 0, 0.05); }
.gnav-links a[aria-current="page"] { color: var(--ink); background: rgba(0, 0, 0, 0.065); font-weight: 550; }
.gnav-cta { margin-left: 6px; }
.gnav-burger { display: none; width: 40px; height: 40px; border: 0; border-radius: 999px; background: transparent; cursor: pointer; position: relative; }
.gnav-burger span { position: absolute; left: 12px; right: 12px; height: 1.6px; border-radius: 2px; background: var(--ink); transition: transform 0.3s var(--ease), top 0.3s var(--ease); }
.gnav-burger span:nth-child(1) { top: 16px; }
.gnav-burger span:nth-child(2) { top: 23px; }
.gnav-burger[aria-expanded="true"] span:nth-child(1) { top: 19.5px; transform: rotate(45deg); }
.gnav-burger[aria-expanded="true"] span:nth-child(2) { top: 19.5px; transform: rotate(-45deg); }
.gnav-menu { margin-top: 8px; border-radius: 26px; padding: 10px; }
.gnav-menu[hidden] { display: none; }
.gnav-menu a { display: block; padding: 13px 16px; border-radius: 16px; font-size: 19px; font-weight: 550; text-decoration: none; }
.gnav-menu a:hover, .gnav-menu a[aria-current="page"] { background: rgba(0, 0, 0, 0.05); }
@media (max-width: 960px) {
  .gnav-links, .gnav-cta { display: none; }
  .gnav-burger { display: block; }
  .gnav-bar { padding-right: 6px; }
}


.lnav { position: fixed; z-index: 990; top: calc(12px + var(--nav-h) + 8px); left: 50%; width: min(1120px, 100% - 24px);
  transform: translate(-50%, -10px); opacity: 0; pointer-events: none; transition: opacity 0.35s var(--ease), transform 0.35s var(--ease); }
.lnav.is-on { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.lnav-bar { height: 46px; border-radius: 999px; padding: 0 6px 0 20px; display: flex; align-items: center; gap: 6px; }
.lnav-title { font-size: 15px; font-weight: 650; letter-spacing: -0.016em; white-space: nowrap; margin-right: auto; }
.lnav-links { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; }
.lnav-links::-webkit-scrollbar { display: none; }
.lnav-links a { padding: 6px 12px; border-radius: 999px; font-size: 13px; color: rgba(0, 0, 0, 0.6); text-decoration: none; white-space: nowrap; }
.lnav-links a:hover { color: var(--ink); background: rgba(0, 0, 0, 0.05); }
.lnav-links a.is-here { color: var(--ink); background: rgba(0, 0, 0, 0.065); }
@media (max-width: 760px) { .lnav-links { display: none; } }


.hero { padding-top: calc(12px + var(--nav-h) + clamp(56px, 9vw, 120px)); padding-bottom: clamp(48px, 7vw, 96px); }
.hero .kicker { margin-bottom: 14px; }
.hero .lead { margin-top: 22px; }
.hero .cta-row { margin-top: 34px; }
.hero--center { text-align: center; }
.hero--center .lead { margin-inline: auto; }
.hero--center .cta-row { justify-content: center; }
.hero-stage { margin-top: clamp(44px, 6vw, 80px); }


.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 20px; }
.tile {
  position: relative; overflow: hidden; background: var(--paper); border-radius: var(--r-xl);
  padding: clamp(26px, 3vw, 40px); min-height: 400px; display: flex; flex-direction: column;
}
.section--mist .tile { background: var(--paper); }
.section:not(.section--mist) .tile { background: var(--mist); }
.tile--4 { grid-column: span 4; }
.tile--3 { grid-column: span 3; }
.tile--2 { grid-column: span 2; }
.tile--6 { grid-column: span 6; }
.tile--short { min-height: 300px; border-radius: var(--r-lg); }
.tile--dark { background: #0b0d12 !important; color: #f5f5f7; }
.tile--dark .muted, .tile--dark .tile-text { color: rgba(245, 245, 247, 0.7); }
.tile-kicker { font-size: 15px; font-weight: 650; color: var(--kicker, var(--ink-2)); margin-bottom: 8px; }
.tile-title { font-size: clamp(24px, 2.4vw, 32px); font-weight: 700; line-height: 1.1; letter-spacing: -0.026em; max-width: 16em; }
.tile-text { margin-top: 10px; color: var(--ink-2); max-width: 30em; }
.tile-art { margin-top: auto; padding-top: 26px; display: flex; justify-content: center; align-items: flex-end; }
.tile a.tile-link::after { content: ""; position: absolute; inset: 0; }
@media (max-width: 1000px) { .tile--4, .tile--3, .tile--2 { grid-column: span 3; } }
@media (max-width: 700px) { .bento { grid-template-columns: 1fr; } .tile--4, .tile--3, .tile--2, .tile--6 { grid-column: auto; } .tile { min-height: 0; } }


.plus {
  position: absolute; right: 18px; bottom: 18px; z-index: 2;
  width: 40px; height: 40px; border-radius: 999px; border: 0; cursor: pointer;
  display: grid; place-items: center; color: var(--ink);
  transition: transform 0.25s var(--ease);
}
.plus:hover { transform: scale(1.08); }
.plus svg { width: 16px; height: 16px; }
.tile--dark .plus { color: var(--ink); }


dialog.sheet {
  padding: 0; border: 0; background: transparent; color: var(--ink);
  width: min(880px, 100% - 24px); max-width: none; max-height: calc(100dvh - 40px); margin: auto; overflow: visible;
}
dialog.sheet::backdrop { background: rgba(10, 12, 16, 0.32); -webkit-backdrop-filter: blur(14px) saturate(120%); backdrop-filter: blur(14px) saturate(120%); }
.sheet-card {
  position: relative; background: var(--paper); border-radius: 30px; padding: clamp(32px, 5vw, 64px);
  max-height: calc(100dvh - 40px); overflow-y: auto; overscroll-behavior: contain;
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.25);
}
dialog.sheet[open] .sheet-card { animation: sheet-in 0.42s var(--ease) both; }
dialog.sheet.is-closing .sheet-card { animation: sheet-out 0.22s ease-in both; }
@keyframes sheet-in { from { opacity: 0; transform: translateY(24px) scale(0.97); } to { opacity: 1; transform: none; } }
@keyframes sheet-out { to { opacity: 0; transform: translateY(12px) scale(0.98); } }
.sheet-close { position: sticky; float: right; top: 0; margin: -14px -14px 0 12px; width: 40px; height: 40px; border-radius: 999px; border: 0; cursor: pointer; display: grid; place-items: center; z-index: 3; }
.sheet-close svg { width: 14px; height: 14px; }
.sheet .kicker { margin-bottom: 10px; }
.sheet h2 { font-size: clamp(30px, 4vw, 48px); font-weight: 700; line-height: 1.06; letter-spacing: -0.03em; max-width: 15em; }
.sheet .lead { margin-top: 16px; }
.sheet-grid { margin-top: 36px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 40px; }
.sheet-grid h3 { font-size: 19px; font-weight: 650; letter-spacing: -0.016em; }
.sheet-grid p { margin-top: 6px; color: var(--ink-2); }
.sheet-foot { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--hair); }
@media (max-width: 640px) { .sheet-grid { grid-template-columns: 1fr; } dialog.sheet { width: 100%; margin-bottom: 0; } .sheet-card { border-radius: 26px 26px 0 0; } }


.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.pcard { text-decoration: none; display: block; }
.pcard-pic { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 5; background: var(--mist); }
.pcard-pic img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.pcard:hover .pcard-pic img { transform: scale(1.03); }
.pcard h3 { margin-top: 14px; font-size: 19px; font-weight: 650; letter-spacing: -0.016em; }
.pcard p { margin-top: 4px; color: var(--ink-2); font-size: 16px; }
@media (max-width: 860px) { .cards { grid-template-columns: 1fr; } .pcard-pic { aspect-ratio: 16 / 10; } }


.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; list-style: none; padding: 0; margin: 0; }
.step { background: var(--paper); border-radius: var(--r-lg); padding: 28px 26px 30px; counter-increment: step; }
.section:not(.section--mist) .step { background: var(--mist); }
.step::before { content: counter(step); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 15px; font-weight: 650; margin-bottom: 22px; }
.step h3 { font-size: 19px; font-weight: 650; letter-spacing: -0.016em; line-height: 1.25; }
.step p { margin-top: 8px; color: var(--ink-2); font-size: 16px; }
@media (max-width: 980px) {
  .steps { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(260px, 78%); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; scrollbar-width: none; }
  .steps::-webkit-scrollbar { display: none; }
  .step { scroll-snap-align: start; }
}


.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 48px; }
.fact h3 { font-size: 19px; font-weight: 650; letter-spacing: -0.016em; }
.fact p { margin-top: 8px; color: var(--ink-2); }
.fact-icon { width: 36px; height: 36px; margin-bottom: 16px; color: var(--kicker, var(--signal)); }
@media (max-width: 900px) { .facts { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .facts { grid-template-columns: 1fr; } }


.faq { border-top: 1px solid var(--hair); }
.faq details { border-bottom: 1px solid var(--hair); }
.faq summary { list-style: none; cursor: pointer; padding: 24px 44px 24px 0; position: relative; font-size: 19px; font-weight: 600; letter-spacing: -0.016em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; margin-top: -8px; border-right: 2px solid var(--ink-3); border-bottom: 2px solid var(--ink-3); transform: rotate(45deg); transition: transform 0.3s var(--ease), margin 0.3s var(--ease); }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details p { padding: 0 44px 26px 0; color: var(--ink-2); max-width: 46em; }


.closer { text-align: center; }
.closer .h2 { max-width: 14em; margin-inline: auto; }
.closer .lead { margin: 20px auto 0; }
.closer .cta-row { justify-content: center; margin-top: 34px; }
.closer-pic { margin: 0 auto 40px; width: min(560px, 100%); border-radius: var(--r-lg); overflow: hidden; }


.gfoot { background: var(--mist); color: var(--ink-2); font-size: 13px; line-height: 1.5; padding: 56px 0 40px; }
.gfoot-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.gfoot h2 { font-size: 13px; font-weight: 650; color: var(--ink); margin-bottom: 10px; letter-spacing: -0.01em; }
.gfoot ul { list-style: none; padding: 0; margin: 0; }
.gfoot li + li { margin-top: 7px; }
.gfoot a { color: var(--ink-2); text-decoration: none; }
.gfoot a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }
.gfoot-base { margin-top: 40px; padding-top: 18px; border-top: 1px solid var(--hair); display: flex; flex-wrap: wrap; gap: 8px 28px; justify-content: space-between; }
@media (max-width: 760px) { .gfoot-cols { grid-template-columns: 1fr 1fr; } }


.ag #chat-trigger { bottom: calc(22px + env(safe-area-inset-bottom, 0px)); background: var(--glass-fill); border: 0; box-shadow: var(--glass-ring), var(--glass-drop); }
.ag #chat-trigger::before { opacity: 0; }
.ag .chat-trigger-icon { color: rgba(0, 0, 0, 0.72); }
.ag .chat-trigger-label { color: var(--ink); }
.ag #chat-panel { bottom: calc(86px + env(safe-area-inset-bottom, 0px)); background: rgba(255, 255, 255, 0.86); border: 0; box-shadow: var(--glass-ring), 0 30px 80px rgba(0, 0, 0, 0.18); color: var(--ink); }
.ag #chat-panel::before { opacity: 0; }
.ag .chat-header { border-bottom-color: var(--hair); }
.ag .chat-header-avatar, .ag .msg-bot-avatar { background: var(--ink); color: #fff; }
.ag .chat-header-name { color: var(--ink); }
.ag .chat-status-text { color: var(--ink-2); }
.ag .chat-close { color: var(--ink); background: rgba(0, 0, 0, 0.05); }
.ag .msg-bot-bubble { background: var(--mist); color: var(--ink); }
.ag .msg-bot-bubble a { color: var(--signal); }
.ag .msg-user-bubble { background: var(--signal); color: #fff; }
.ag .typing-dot { background: rgba(0, 0, 0, 0.35); }
.ag .chat-chip { color: var(--ink); background: rgba(0, 0, 0, 0.05); border-color: rgba(0, 0, 0, 0.08); }
.ag .chat-chip:hover { background: rgba(0, 0, 0, 0.09); }
.ag .chat-input-row { border-top-color: var(--hair); }
.ag .chat-input { color: var(--ink); background: rgba(0, 0, 0, 0.04); border-color: rgba(0, 0, 0, 0.08); }
.ag .chat-input::placeholder { color: var(--ink-3); }
.ag .chat-send { color: #fff; background: var(--signal); }
@media (max-width: 700px) { .ag #chat-trigger .chat-trigger-label { display: none; } .ag #chat-trigger { padding: 0 15px; } }


.frame { border-radius: var(--r-xl); overflow: hidden; background: var(--mist); }
.frame img { width: 100%; height: auto; }
.caption { margin-top: 12px; font-size: 14px; color: var(--ink-3); }


.rise { opacity: 0; transform: translateY(18px); animation: rise 0.9s var(--ease) forwards; }
.rise-2 { animation-delay: 0.08s; } .rise-3 { animation-delay: 0.16s; } .rise-4 { animation-delay: 0.28s; }
@keyframes rise { to { opacity: 1; transform: none; } }

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