:root {
  color-scheme: light;
  --green: #10b981;
  --green-dark: #059669;
  --green-soft: #dffaf0;
  --blue: #0ea5e9;
  --violet: #8b5cf6;
  --ink: #101827;
  --muted: #667085;
  --line: #e3e8ef;
  --surface: #ffffff;
  --canvas: #f5f7f9;
  --navy: #09131f;
  --radius: 20px;
  --shadow: 0 24px 70px rgba(16, 24, 39, .12);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }
img { display: block; max-width: 100%; }

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

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  border-bottom: 1px solid rgba(227, 232, 239, .8);
  background: rgba(255, 255, 255, .82);
  backdrop-filter: blur(18px);
}

.nav {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 780;
  text-decoration: none;
}

.brand img {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(16, 185, 129, .15);
  border-radius: 11px;
  box-shadow: 0 8px 20px rgba(16, 185, 129, .13);
}

.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links > a { color: var(--muted); font-size: 14px; font-weight: 650; text-decoration: none; }
.nav-links > a:hover { color: var(--ink); }

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 19px;
  border: 1px solid transparent;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  box-shadow: 0 10px 24px rgba(16, 185, 129, .22);
  color: white !important;
  font-size: 14px;
  font-weight: 760;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease;
}

.button:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(16, 185, 129, .28); }
.button.secondary { border-color: var(--line); background: white; box-shadow: none; color: var(--ink) !important; }
.button.secondary:hover { border-color: #bbc5d2; box-shadow: 0 8px 24px rgba(16, 24, 39, .07); }

.hero {
  position: relative;
  overflow: hidden;
  padding: 92px 0 78px;
  background:
    radial-gradient(circle at 12% 20%, rgba(16, 185, 129, .16), transparent 27%),
    radial-gradient(circle at 86% 18%, rgba(139, 92, 246, .11), transparent 25%),
    linear-gradient(180deg, #fff 0%, #f7faf9 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .3;
  pointer-events: none;
  background-image: linear-gradient(rgba(16, 24, 39, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(16, 24, 39, .04) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: linear-gradient(to bottom, black, transparent 78%);
}

.hero-grid { position: relative; display: grid; grid-template-columns: .92fr 1.08fr; align-items: center; gap: 70px; }
.eyebrow, .pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(16, 185, 129, .2);
  border-radius: 999px;
  background: rgba(255, 255, 255, .8);
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .045em;
  padding: 8px 11px;
  text-transform: uppercase;
}

.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 5px rgba(16, 185, 129, .12); }

h1 {
  max-width: 760px;
  margin: 24px 0 20px;
  font-size: clamp(48px, 6vw, 78px);
  line-height: .98;
  letter-spacing: -.065em;
}

.gradient-text { background: linear-gradient(115deg, var(--green-dark), var(--blue) 55%, var(--violet)); background-clip: text; color: transparent; }
.hero-copy > p { max-width: 610px; margin: 0; color: var(--muted); font-size: 19px; line-height: 1.7; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.microcopy { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 25px; color: #475467; font-size: 12px; font-weight: 650; }
.microcopy span::before { content: "✓"; margin-right: 7px; color: var(--green-dark); font-weight: 900; }

.product-stage { position: relative; min-width: 0; }
.product-stage::after { content: ""; position: absolute; z-index: -1; inset: 12% -8% -8% 10%; border-radius: 50%; background: rgba(16, 185, 129, .15); filter: blur(40px); }
.browser-frame { overflow: hidden; border: 1px solid rgba(16, 24, 39, .13); border-radius: 22px; background: white; box-shadow: 0 35px 80px rgba(16, 24, 39, .2); transform: rotate(1deg); }
.browser-bar { display: flex; align-items: center; gap: 7px; height: 42px; padding: 0 15px; border-bottom: 1px solid var(--line); background: #fbfcfd; }
.browser-bar i { width: 8px; height: 8px; border-radius: 50%; background: #d2d8e0; }
.browser-bar span { width: 48%; height: 18px; margin-left: 10px; border-radius: 6px; background: #eef1f4; }
.browser-frame img { width: 100%; aspect-ratio: 1.6; object-fit: cover; object-position: center; }
.float-card { position: absolute; right: -24px; bottom: -30px; display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 1px solid rgba(16, 185, 129, .2); border-radius: 15px; background: rgba(255, 255, 255, .95); box-shadow: var(--shadow); font-size: 12px; font-weight: 760; }
.float-card b { display: block; color: var(--green-dark); font-size: 14px; }
.float-icon { display: grid; width: 36px; height: 36px; place-items: center; border-radius: 10px; background: var(--green-soft); color: var(--green-dark); font-size: 18px; }

.trust-bar { border-block: 1px solid var(--line); background: white; }
.trust-row { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-item { padding: 27px 20px; border-right: 1px solid var(--line); text-align: center; }
.trust-item:last-child { border: 0; }
.trust-item strong { display: block; font-size: 15px; }
.trust-item span { color: var(--muted); font-size: 12px; }

.section { padding: 108px 0; }
.section.white { background: white; }
.section.dark { overflow: hidden; background: var(--navy); color: white; }
.section-head { max-width: 690px; margin-bottom: 48px; }
.section-head.center { margin-inline: auto; text-align: center; }
.kicker { color: var(--green-dark); font-size: 12px; font-weight: 850; letter-spacing: .11em; text-transform: uppercase; }
.section h2 { margin: 13px 0 16px; font-size: clamp(34px, 4vw, 52px); line-height: 1.05; letter-spacing: -.045em; }
.section-head p { margin: 0; color: var(--muted); font-size: 17px; line-height: 1.7; }
.dark .section-head p { color: #9ca9b8; }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature-card { min-height: 250px; padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: white; box-shadow: 0 2px 8px rgba(16, 24, 39, .025); }
.feature-card.featured { border-color: rgba(16, 185, 129, .25); background: linear-gradient(145deg, #fff, #effcf7); }
.feature-icon { display: grid; width: 46px; height: 46px; place-items: center; border-radius: 13px; background: var(--green-soft); color: var(--green-dark); font-size: 20px; }
.feature-card:nth-child(3n+2) .feature-icon { background: #e7f6fe; color: #0284c7; }
.feature-card:nth-child(3n+3) .feature-icon { background: #f0eafe; color: #7c3aed; }
.feature-card h3 { margin: 26px 0 10px; font-size: 19px; letter-spacing: -.02em; }
.feature-card p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.65; }

.onboarding-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.onboarding-card { display: flex; gap: 17px; padding: 23px; border: 1px solid var(--line); border-radius: 18px; background: white; }
.onboarding-number { display: grid; flex: 0 0 38px; width: 38px; height: 38px; place-items: center; border-radius: 11px; background: var(--green-soft); color: var(--green-dark); font-size: 13px; font-weight: 850; }
.onboarding-card h3 { margin: 2px 0 7px; font-size: 16px; }
.onboarding-card p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.6; }
.guide-callout { display: flex; align-items: center; justify-content: space-between; gap: 30px; margin-top: 20px; padding: 30px; border: 1px solid rgba(16, 185, 129, .22); border-radius: 22px; background: linear-gradient(120deg, white, #effcf7); box-shadow: 0 14px 40px rgba(16, 185, 129, .08); }
.guide-callout h3 { margin: 17px 0 7px; font-size: 23px; letter-spacing: -.025em; }
.guide-callout p { max-width: 700px; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.6; }

.workflow { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.steps { display: grid; gap: 12px; }
.step { display: grid; grid-template-columns: 42px 1fr; gap: 15px; padding: 18px; border: 1px solid #223244; border-radius: 15px; background: rgba(255, 255, 255, .035); }
.step-num { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 12px; background: rgba(16, 185, 129, .13); color: #5ee5b8; font-weight: 850; }
.step h3 { margin: 0 0 5px; font-size: 15px; }
.step p { margin: 0; color: #9ca9b8; font-size: 13px; line-height: 1.5; }
.code-window { padding: 13px; border: 1px solid #223244; border-radius: 22px; background: #0e1b29; box-shadow: 0 30px 70px rgba(0, 0, 0, .28); }
.code-window img { border-radius: 13px; }

.privacy-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 64px; align-items: center; }
.privacy-card { padding: 28px; border: 1px solid var(--line); border-radius: 22px; background: white; box-shadow: var(--shadow); }
.privacy-mode { display: flex; align-items: center; gap: 13px; padding: 17px 0; border-bottom: 1px solid var(--line); }
.privacy-mode:last-child { border: 0; }
.privacy-mode span:first-child { display: grid; flex: 0 0 38px; width: 38px; height: 38px; place-items: center; border-radius: 10px; background: var(--green-soft); }
.privacy-mode strong { display: block; font-size: 14px; }
.privacy-mode small { color: var(--muted); line-height: 1.45; }

.cta { padding: 42px; border-radius: 28px; background: linear-gradient(125deg, #0b3128, #0b1d2b 62%, #22183c); color: white; box-shadow: var(--shadow); }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.cta h2 { margin: 0 0 10px; max-width: 620px; font-size: clamp(30px, 4vw, 45px); letter-spacing: -.045em; }
.cta p { margin: 0; color: #a7b8b3; }

.site-footer { padding: 42px 0; border-top: 1px solid var(--line); background: white; }
.footer-row { display: flex; align-items: center; justify-content: space-between; gap: 25px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 20px; }
.footer-links a, .copyright { color: var(--muted); font-size: 12px; text-decoration: none; }

.legal-hero { padding: 78px 0 54px; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, #fff, #f7faf9); }
.legal-hero h1 { max-width: 800px; margin: 18px 0; font-size: clamp(42px, 6vw, 66px); }
.legal-hero p { max-width: 700px; color: var(--muted); font-size: 17px; line-height: 1.7; }
.legal-layout { display: grid; grid-template-columns: 245px minmax(0, 760px); justify-content: center; gap: 62px; padding: 70px 0 110px; }
.legal-toc { position: sticky; top: 100px; align-self: start; padding: 20px; border: 1px solid var(--line); border-radius: 16px; background: white; }
.legal-toc strong { display: block; margin-bottom: 13px; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.legal-toc a { display: block; padding: 7px 0; color: var(--muted); font-size: 12px; text-decoration: none; }
.legal-toc a:hover { color: var(--green-dark); }
.legal-content { min-width: 0; }
.legal-content section { scroll-margin-top: 100px; padding-bottom: 34px; margin-bottom: 34px; border-bottom: 1px solid var(--line); }
.legal-content section:last-child { border: 0; }
.legal-content h2 { margin: 0 0 14px; font-size: 25px; letter-spacing: -.025em; }
.legal-content h3 { margin: 24px 0 8px; font-size: 16px; }
.legal-content p, .legal-content li { color: #4b5565; font-size: 14px; line-height: 1.75; }
.legal-content ul { padding-left: 21px; }
.legal-note { padding: 18px 20px; border-left: 3px solid var(--green); border-radius: 0 12px 12px 0; background: var(--green-soft); }
.legal-table { width: 100%; border-collapse: collapse; overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: white; font-size: 13px; }
.legal-table th, .legal-table td { padding: 13px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.legal-table th { background: #f8fafb; color: #344054; }
.legal-table tr:last-child td { border-bottom: 0; }

.guide-hero { padding: 76px 0 62px; background: radial-gradient(circle at 80% 20%, rgba(139, 92, 246, .10), transparent 27%), radial-gradient(circle at 12% 10%, rgba(16, 185, 129, .13), transparent 28%), white; }
.guide-hero-grid { display: grid; grid-template-columns: 1fr .85fr; align-items: center; gap: 65px; }
.guide-hero h1 { margin: 20px 0 18px; font-size: clamp(44px, 6vw, 68px); }
.guide-hero p { color: var(--muted); font-size: 17px; line-height: 1.7; }
.guide-preview { padding: 10px; border: 1px solid var(--line); border-radius: 20px; background: white; box-shadow: var(--shadow); transform: rotate(1deg); }
.guide-preview img { border-radius: 13px; }
.guide-layout { display: grid; grid-template-columns: 250px minmax(0, 820px); justify-content: center; gap: 56px; padding: 70px 0 110px; }
.guide-nav { position: sticky; top: 96px; align-self: start; padding: 19px; border: 1px solid var(--line); border-radius: 16px; background: white; }
.guide-nav strong { display: block; margin-bottom: 11px; font-size: 11px; letter-spacing: .09em; text-transform: uppercase; }
.guide-nav a { display: flex; align-items: center; gap: 9px; padding: 8px 0; color: var(--muted); font-size: 12px; text-decoration: none; }
.guide-nav a span { display: grid; width: 22px; height: 22px; place-items: center; border-radius: 7px; background: #eef2f5; color: #475467; font-size: 10px; font-weight: 800; }
.guide-content { min-width: 0; }
.guide-section { scroll-margin-top: 98px; padding-bottom: 54px; margin-bottom: 54px; border-bottom: 1px solid var(--line); }
.guide-section:last-child { border: 0; }
.guide-step-heading { display: grid; grid-template-columns: 48px 1fr; gap: 16px; align-items: center; margin-bottom: 20px; }
.guide-step-heading > span { display: grid; width: 48px; height: 48px; place-items: center; border-radius: 14px; background: var(--green-soft); color: var(--green-dark); font-weight: 850; }
.guide-step-heading small { display: block; margin-bottom: 3px; color: var(--green-dark); font-size: 10px; font-weight: 850; letter-spacing: .09em; text-transform: uppercase; }
.guide-step-heading h2 { margin: 0; font-size: 28px; letter-spacing: -.035em; }
.guide-content p, .guide-content li { color: #4b5565; font-size: 14px; line-height: 1.75; }
.guide-content ol, .guide-content ul { padding-left: 22px; }
.guide-image { margin: 24px 0; padding: 9px; border: 1px solid var(--line); border-radius: 18px; background: white; box-shadow: 0 14px 38px rgba(16, 24, 39, .08); }
.guide-image img { border-radius: 11px; }
.guide-image.portrait { width: min(100%, 500px); margin-inline: auto; }
.choice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; margin: 22px 0; }
.choice-card { padding: 20px; border: 1px solid var(--line); border-radius: 15px; background: white; }
.choice-card.recommended { border-color: rgba(16, 185, 129, .3); background: linear-gradient(140deg, white, #effcf7); }
.choice-card strong { display: block; margin-bottom: 7px; font-size: 15px; }
.choice-card p { margin: 0; font-size: 12px; }
.prompt-list { display: grid; gap: 9px; margin: 20px 0; }
.prompt-example { padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: #fbfcfd; color: #344054; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12px; line-height: 1.5; }
.tip { padding: 18px 20px; border-radius: 14px; background: #eaf8ff; color: #075985; font-size: 13px; line-height: 1.6; }
.warning { padding: 18px 20px; border-radius: 14px; background: #fff7e6; color: #92400e; font-size: 13px; line-height: 1.6; }
.faq { border: 1px solid var(--line); border-radius: 14px; background: white; }
.faq details { padding: 17px 19px; border-bottom: 1px solid var(--line); }
.faq details:last-child { border: 0; }
.faq summary { cursor: pointer; font-size: 14px; font-weight: 750; }
.faq details p { margin-bottom: 0; }

:focus-visible { outline: 3px solid rgba(16, 185, 129, .4); outline-offset: 3px; }

@media (max-width: 900px) {
  .hero { padding-top: 70px; }
  .hero-grid, .workflow, .privacy-grid, .guide-hero-grid { grid-template-columns: 1fr; }
  .hero-grid { gap: 55px; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .legal-layout { grid-template-columns: 1fr; gap: 30px; }
  .legal-toc { position: static; }
  .onboarding-grid { grid-template-columns: 1fr; }
  .guide-layout { grid-template-columns: 1fr; gap: 30px; }
  .guide-nav { position: static; }
}

@media (max-width: 680px) {
  .shell { width: min(100% - 28px, 1160px); }
  .nav { min-height: 64px; }
  .nav-links > a:not(.button) { display: none; }
  .nav-links { gap: 8px; }
  .nav-links .button { min-height: 39px; padding: 0 12px; font-size: 12px; }
  .brand span { display: none; }
  .hero { padding: 60px 0; }
  h1 { font-size: 48px; }
  .hero-copy > p { font-size: 16px; }
  .float-card { right: 10px; bottom: -38px; }
  .trust-row { grid-template-columns: 1fr 1fr; }
  .trust-item:nth-child(2) { border-right: 0; }
  .trust-item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .section { padding: 78px 0; }
  .feature-grid { grid-template-columns: 1fr; }
  .guide-callout { align-items: flex-start; flex-direction: column; }
  .choice-grid { grid-template-columns: 1fr; }
  .cta { padding: 28px; }
  .cta-inner, .footer-row { align-items: flex-start; flex-direction: column; }
  .legal-hero { padding: 55px 0 40px; }
  .legal-layout { padding-top: 42px; }
  .legal-table { display: block; overflow-x: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
