:root {
  --bg: #f7f8f5;
  --surface: #ffffff;
  --surface-muted: #eef2ed;
  --ink: #17201d;
  --muted: #5f6b66;
  --line: #dce2dd;
  --accent: #166b4e;
  --accent-dark: #0e4f39;
  --accent-soft: #dff3e8;
  --warm: #fff8e8;
  --warning: #7a4b00;
  --radius: 16px;
  --shadow: 0 22px 60px rgba(23, 32, 29, 0.10);
  --max-width: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 16px; line-height: 1.65; }
a { color: var(--accent); text-underline-offset: 0.18em; }
a:hover { color: var(--accent-dark); }
a:focus-visible, .button:focus-visible { outline: 3px solid #f2a900; outline-offset: 4px; border-radius: 4px; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.1; letter-spacing: -0.025em; }
h1 { font-size: clamp(2.8rem, 7vw, 5.6rem); margin-bottom: 1.4rem; }
h2 { font-size: clamp(2rem, 4vw, 3.35rem); margin-bottom: 1rem; }
h3 { font-size: 1.2rem; margin-bottom: 0.55rem; }
.container { width: min(calc(100% - 40px), var(--max-width)); margin-inline: auto; }
.narrow { max-width: 780px; text-align: center; }
.skip-link { position: fixed; z-index: 100; top: 12px; left: 12px; transform: translateY(-160%); background: var(--ink); color: white; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { transform: none; }

.site-header { position: relative; z-index: 10; border-bottom: 1px solid rgba(220, 226, 221, 0.85); background: rgba(247, 248, 245, 0.92); }
.nav-wrap { min-height: 76px; display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 750; font-size: 1.1rem; text-decoration: none; letter-spacing: -0.02em; }
.brand:hover { color: var(--ink); }
.brand-mark { position: relative; display: inline-block; width: 31px; height: 34px; border: 2px solid var(--accent); border-radius: 7px; background: var(--surface); box-shadow: 3px 3px 0 var(--accent-soft); }
.brand-mark::before, .brand-mark::after, .brand-mark span::before { content: ""; position: absolute; left: 6px; height: 2px; background: var(--accent); border-radius: 2px; }
.brand-mark::before { top: 8px; width: 15px; }
.brand-mark::after { top: 14px; width: 10px; }
.brand-mark span::before { top: 20px; width: 14px; }
.brand-mark-small { width: 25px; height: 27px; border-radius: 6px; }
.brand-mark-small::before { top: 6px; width: 12px; left: 5px; }
.brand-mark-small::after { top: 11px; width: 8px; left: 5px; }
.brand-mark-small span::before { top: 16px; width: 11px; left: 5px; }
nav { display: flex; align-items: center; gap: clamp(18px, 3vw, 34px); }
nav a { color: var(--ink); font-size: 0.94rem; font-weight: 600; text-decoration: none; }
nav a:hover, nav a[aria-current="page"] { color: var(--accent); }

.hero { padding: clamp(70px, 10vw, 130px) 0; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 0.94fr 1.06fr; align-items: center; gap: clamp(48px, 7vw, 90px); }
.eyebrow { margin-bottom: 18px; color: var(--accent); font-size: 0.76rem; font-weight: 800; letter-spacing: 0.13em; text-transform: uppercase; }
.hero-lead { max-width: 600px; color: #3d4945; font-size: clamp(1.2rem, 2vw, 1.45rem); line-height: 1.5; }
.trust-line { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 28px 0 32px; color: var(--muted); font-size: 0.93rem; font-weight: 650; }
.trust-line span { display: inline-flex; align-items: center; gap: 8px; }
.trust-line span::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.hero-actions, .cta-links { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 24px; }
.status-badge { display: inline-flex; align-items: center; min-height: 46px; padding: 0 18px; border: 1px solid #b8d4c6; border-radius: 999px; background: var(--accent-soft); color: var(--accent-dark); font-weight: 750; }
.text-link { font-weight: 700; text-decoration: none; }

.product-preview { position: relative; min-width: 0; border: 1px solid #ccd5cf; border-radius: 18px; background: var(--surface); box-shadow: var(--shadow); transform: rotate(1deg); }
.product-preview::before { content: ""; position: absolute; z-index: -1; width: 190px; height: 190px; right: -52px; top: -58px; border-radius: 50%; background: var(--accent-soft); }
.product-preview::after { content: ""; position: absolute; z-index: -1; width: 120px; height: 120px; left: -40px; bottom: -45px; border: 1px solid #b9ccc0; border-radius: 24px; transform: rotate(-12deg); }
.browser-bar { height: 48px; display: flex; align-items: center; gap: 7px; padding: 0 14px; border-bottom: 1px solid var(--line); background: #f4f5f3; border-radius: 18px 18px 0 0; }
.browser-bar > span { width: 9px; height: 9px; border-radius: 50%; background: #c8d0cb; }
.address-bar { flex: 1; max-width: 230px; margin-left: 8px; padding: 5px 12px; border: 1px solid var(--line); border-radius: 6px; background: white; color: #829089; font-size: 0.65rem; }
.preview-content { position: relative; min-height: 445px; padding: 34px; background: linear-gradient(145deg, #fafbf9, #f0f3ef); border-radius: 0 0 18px 18px; }
.form-panel { width: 70%; }
.mini-label { margin-bottom: 12px; color: #7b8882; font-size: 0.6rem; font-weight: 800; letter-spacing: 0.1em; }
.field { margin-bottom: 16px; padding: 10px 13px; border: 1px solid #d7ddd9; border-radius: 7px; background: white; }
.field small { display: block; color: #84908b; font-size: 0.65rem; }
.field strong { font-size: 0.77rem; font-weight: 600; }
.field.short { width: 75%; }
.extension-card { position: absolute; right: 24px; bottom: 25px; width: 61%; padding: 20px; border: 1px solid #cbd6d0; border-radius: 12px; background: white; box-shadow: 0 18px 38px rgba(23, 32, 29, 0.16); }
.extension-title { display: flex; align-items: center; gap: 8px; margin-bottom: 20px; }
.extension-title strong { font-size: 0.84rem; }
.preset { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 8px; padding: 9px 10px; border: 1px solid var(--line); border-radius: 7px; font-size: 0.7rem; }
.preset.active { border-color: #9dc5b2; background: #f0faf5; }
.preset b { color: var(--accent); font-size: 0.65rem; }
.saved-note { margin-top: 15px; padding-top: 12px; border-top: 1px solid var(--line); color: #78857f; font-size: 0.61rem; }

.section { padding: clamp(72px, 9vw, 112px) 0; }
.section-tint { background: var(--surface-muted); }
.section-heading { max-width: 720px; margin-bottom: 48px; }
.section-heading h2 { margin-bottom: 0; }
.split-heading { max-width: none; display: grid; grid-template-columns: 1.1fr 0.65fr; gap: 80px; align-items: end; }
.split-heading > p { margin: 0 0 8px; color: var(--muted); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; padding: 0; margin: 0; list-style: none; counter-reset: steps; }
.steps li { position: relative; min-height: 210px; padding: 28px 38px 28px 0; border-top: 1px solid var(--ink); }
.steps li:not(:last-child)::after { content: ""; position: absolute; top: 28px; right: 22px; width: 8px; height: 8px; border-top: 1px solid var(--accent); border-right: 1px solid var(--accent); transform: rotate(45deg); }
.step-number { display: block; margin-bottom: 36px; color: var(--accent); font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 0.8rem; }
.steps p, .feature-card p, .use-case-list p { color: var(--muted); }
.section-note { width: fit-content; margin: 20px auto 0; padding: 8px 14px; border-radius: 999px; background: var(--surface-muted); color: var(--muted); font-size: 0.86rem; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid #bdc8c1; border-left: 1px solid #bdc8c1; }
.feature-card { min-height: 250px; padding: 32px; border-right: 1px solid #bdc8c1; border-bottom: 1px solid #bdc8c1; background: rgba(255,255,255,0.42); }
.feature-card p { margin-bottom: 0; }
.feature-icon { display: grid; place-items: center; width: 38px; height: 38px; margin-bottom: 48px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font-weight: 800; }
.use-case-layout { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(50px, 9vw, 120px); }
.sticky-heading { margin-bottom: 0; align-self: start; }
.use-case-list { border-top: 1px solid var(--line); }
.use-case-list article { display: grid; grid-template-columns: 60px 1fr; gap: 10px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.use-case-list article > span { color: var(--accent); font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 0.8rem; }
.use-case-list p { margin-bottom: 0; }

.privacy-band { background: var(--accent-dark); color: white; }
.privacy-grid { display: grid; grid-template-columns: 1fr 0.75fr; gap: clamp(50px, 9vw, 120px); align-items: center; }
.privacy-grid h2 { max-width: 650px; }
.privacy-grid p:not(.eyebrow) { max-width: 610px; color: #c7ddd3; font-size: 1.08rem; }
.light-eyebrow { color: #9fd4bc; }
.privacy-list { margin: 0; padding: 0; list-style: none; }
.privacy-list li { display: flex; gap: 13px; padding: 15px 0; border-bottom: 1px solid rgba(255,255,255,0.15); font-weight: 650; }
.privacy-list span { color: #91d3b5; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 20px; border: 1px solid var(--accent); border-radius: 8px; background: var(--accent); color: white; font-weight: 750; text-decoration: none; }
.button:hover { background: var(--accent-dark); color: white; }
.button-light { margin-top: 16px; border-color: white; background: white; color: var(--accent-dark); }
.button-light:hover { background: var(--accent-soft); color: var(--accent-dark); }
.button-secondary { background: transparent; color: var(--accent); }
.button-secondary:hover { background: var(--accent-soft); color: var(--accent-dark); }
.limitations { background: var(--surface); }
.limitation-card { display: grid; grid-template-columns: 0.55fr 1.45fr; gap: 60px; padding: clamp(30px, 5vw, 60px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--warm); }
.limitation-card h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); }
.limitation-card p { margin-bottom: 0; color: #5e5a4e; }
.limitation-label { color: var(--warning); font-size: 0.76rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.limitation-label span { display: inline-grid; place-items: center; width: 24px; height: 24px; margin-right: 8px; border: 1px solid #b58b43; border-radius: 50%; }
.final-cta p:not(.eyebrow) { color: var(--muted); font-size: 1.08rem; }
.final-cta .cta-links { justify-content: center; margin-top: 28px; }

.site-footer { padding: 54px 0; border-top: 1px solid var(--line); background: #f0f2ef; }
.footer-wrap { display: flex; justify-content: space-between; align-items: flex-start; gap: 50px; }
.footer-brand { margin-bottom: 10px; }
.footer-wrap p { margin-bottom: 0; color: var(--muted); font-size: 0.9rem; }
.site-footer nav { flex-wrap: wrap; justify-content: flex-end; }

.legal-main { padding: clamp(65px, 9vw, 110px) 0; }
.article-layout { display: grid; grid-template-columns: 0.72fr 1.28fr; gap: clamp(55px, 10vw, 140px); align-items: start; }
.article-intro { position: sticky; top: 40px; }
.article-intro h1 { font-size: clamp(2.7rem, 5vw, 4.4rem); }
.updated { color: var(--muted); font-size: 0.9rem; }
.intro-summary { margin-top: 34px; padding-top: 25px; border-top: 1px solid var(--line); color: #3f4d47; font-size: 1.06rem; }
.policy-content section { padding: 0 0 34px; margin-bottom: 34px; border-bottom: 1px solid var(--line); }
.policy-content section:last-child { margin-bottom: 0; }
.policy-content h2 { font-size: 1.55rem; }
.policy-content p:last-child, .policy-content ul:last-child { margin-bottom: 0; }

.support-hero { padding: clamp(72px, 10vw, 125px) 0; background: linear-gradient(180deg, var(--accent-soft), var(--bg)); }
.support-hero h1 { margin-bottom: 20px; }
.support-hero .button { margin-top: 20px; }
.two-column { display: grid; grid-template-columns: 1fr 0.85fr; gap: clamp(50px, 8vw, 100px); align-items: start; }
.check-list { padding: 0; margin: 30px 0 0; list-style: none; }
.check-list li { position: relative; padding: 11px 0 11px 30px; border-bottom: 1px solid var(--line); }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 800; }
.warning-card { display: flex; gap: 20px; padding: 32px; border: 1px solid #dfc28f; border-radius: var(--radius); background: var(--warm); }
.warning-card h2 { font-size: 1.5rem; }
.warning-card p:last-child { margin-bottom: 0; color: var(--warning); font-weight: 700; }
.warning-icon { flex: 0 0 auto; display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid #b98934; border-radius: 50%; color: var(--warning); font-weight: 900; }
.faq-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 55px; border-top: 1px solid #bdc8c1; }
.faq-grid article { padding: 26px 0; border-bottom: 1px solid #bdc8c1; }
.faq-grid p { margin-bottom: 0; color: var(--muted); }

@media (max-width: 880px) {
  .hero-grid, .privacy-grid, .article-layout { grid-template-columns: 1fr; }
  .hero-copy { max-width: 700px; }
  .product-preview { max-width: 650px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .split-heading { grid-template-columns: 1fr; gap: 18px; }
  .use-case-layout, .two-column { grid-template-columns: 1fr; }
  .article-intro { position: static; }
  .article-layout { gap: 60px; }
}

@media (max-width: 640px) {
  .container { width: min(calc(100% - 30px), var(--max-width)); }
  .nav-wrap { min-height: 68px; align-items: flex-start; padding-block: 16px; }
  .nav-wrap nav { gap: 14px; padding-top: 5px; }
  .nav-wrap nav a:first-child { display: none; }
  .hero { padding-top: 62px; }
  h1 { font-size: clamp(2.7rem, 14vw, 4rem); }
  .preview-content { min-height: 390px; padding: 24px 18px; }
  .form-panel { width: 84%; }
  .extension-card { width: calc(100% - 36px); right: 18px; bottom: 18px; }
  .steps { grid-template-columns: 1fr; }
  .steps li { min-height: 0; padding: 22px 0 28px; }
  .steps li:not(:last-child)::after { display: none; }
  .step-number { margin-bottom: 20px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card { min-height: 0; }
  .feature-icon { margin-bottom: 28px; }
  .limitation-card { grid-template-columns: 1fr; gap: 28px; }
  .faq-grid { grid-template-columns: 1fr; }
  .footer-wrap { flex-direction: column; }
  .site-footer nav { align-items: flex-start; flex-direction: column; gap: 12px; }
  .cta-links .button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
