:root {
  color-scheme: light dark;
  --background: #f7f3e9;
  --surface: #eeece4;
  --surface-raised: #fffdf8;
  --surface-blue: #e4eee8;
  --surface-indigo: #e9efe9;
  --surface-orange: #f1e7df;
  --ink: #14221d;
  --muted: #53635c;
  --subtle: #78847e;
  --line: rgba(20, 34, 29, 0.11);
  --line-strong: rgba(20, 34, 29, 0.2);
  --accent: #0f725b;
  --accent-hover: #0a5947;
  --accent-soft: rgba(15, 114, 91, 0.14);
  --indigo: #477965;
  --orange: #d9785d;
  --green: #2b8063;
  --red: #bd513f;
  --radius: 20px;
  --shadow: 0 34px 90px rgba(30, 48, 40, 0.15), 0 9px 24px rgba(30, 48, 40, 0.09);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--background); font-size: 17px; line-height: 1.58; text-rendering: optimizeLegibility; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 0.2em; }
button, input, select, textarea { font: inherit; }
button, .button { -webkit-tap-highlight-color: transparent; }

.wrap { width: min(1140px, calc(100% - 48px)); margin-inline: auto; }
.skip-link { position: fixed; z-index: 100; top: 10px; left: 10px; padding: 10px 14px; border-radius: 10px; color: white; background: var(--accent); transform: translateY(-160%); }
.skip-link:focus { transform: none; }

.site-header { position: sticky; z-index: 20; top: 0; border-bottom: 1px solid color-mix(in srgb, var(--line) 72%, transparent); background: color-mix(in srgb, var(--background) 88%, transparent); -webkit-backdrop-filter: blur(20px) saturate(1.4); backdrop-filter: blur(20px) saturate(1.4); }
.nav-wrap { min-height: 70px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-size: 21px; font-weight: 680; letter-spacing: -0.035em; text-decoration: none; }
.brand-symbol { width: 34px; height: auto; }
.site-header nav { display: flex; align-items: center; gap: 29px; font-size: 14px; font-weight: 540; }
.site-header nav a { color: var(--muted); text-decoration: none; transition: color 140ms ease; }
.site-header nav a:hover { color: var(--accent); }
.site-header nav .nav-cta { padding: 9px 15px; color: white; border-radius: 10px; background: var(--accent); }
.site-header nav .nav-cta:hover { color: white; background: var(--accent-hover); }
.menu-button, .site-header .mobile-nav, .site-header .mobile-nav[hidden] { display: none; }

.hero { padding: clamp(76px, 9vw, 124px) 0 clamp(84px, 10vw, 142px); overflow: hidden; background: radial-gradient(circle at 78% 18%, rgba(119, 165, 142, 0.16), transparent 33%), radial-gradient(circle at 15% 7%, rgba(231, 133, 104, 0.1), transparent 26%); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 850px); gap: 56px; }
.hero-with-visual .hero-grid { grid-template-columns: minmax(0, 1fr); justify-items: center; width: min(1240px, calc(100% - 48px)); gap: clamp(48px, 7vw, 82px); }
.hero-copy { max-width: 850px; }
.hero-with-visual .hero-copy { margin-inline: auto; text-align: center; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-weight: 650; letter-spacing: -0.042em; line-height: 1.06; }
h1 { max-width: 940px; margin-bottom: 24px; font-size: clamp(49px, 6vw, 76px); }
.hero-with-visual h1 { margin-inline: auto; }
h2 { max-width: 830px; margin-bottom: 19px; font-size: clamp(36px, 4.3vw, 58px); }
h3 { margin-bottom: 9px; font-size: 20px; font-weight: 650; line-height: 1.24; letter-spacing: -0.022em; }
.lead { max-width: 760px; margin-bottom: 30px; color: var(--muted); font-size: clamp(20px, 2vw, 25px); line-height: 1.5; letter-spacing: -0.015em; }
.hero-with-visual .lead { margin-inline: auto; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 31px 0 21px; }
.hero-with-visual .hero-actions { justify-content: center; }
.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; padding: 12px 19px; border: 1px solid var(--line-strong); border-radius: 11px; font-size: 15px; font-weight: 650; line-height: 1.3; text-align: center; text-decoration: none; transition: border-color 140ms ease, background 140ms ease, color 140ms ease, transform 140ms ease, box-shadow 140ms ease; }
.button:hover { transform: translateY(-1px); }
.button-primary { color: white; border-color: var(--accent); background: var(--accent); box-shadow: 0 8px 22px rgba(15, 114, 91, 0.2); }
.button-primary:hover { border-color: var(--accent-hover); background: var(--accent-hover); box-shadow: 0 10px 26px rgba(15, 114, 91, 0.25); }
.button-secondary { color: var(--ink); background: var(--surface-raised); }
.button-secondary:hover { border-color: var(--accent); color: var(--accent); }
.hero-note { display: flex; max-width: 650px; align-items: flex-start; gap: 9px; margin: 0; color: var(--subtle); font-size: 13px; line-height: 1.5; }
.hero-with-visual .hero-note { justify-content: center; margin-inline: auto; }
.hero-note > span { flex: 0 0 auto; width: 7px; height: 7px; margin-top: 6px; border-radius: 50%; background: var(--green); }

.product-visual { margin: 0; }
.product-visual figcaption { margin-top: 14px; color: var(--subtle); font-size: 12px; text-align: center; }
.hero-product { width: min(1120px, 100%); min-width: 0; }
.wide { margin-top: 50px; }

.mail-demo { overflow: hidden; color: #1c2924; border: 1px solid rgba(20, 34, 29, 0.17); border-radius: 22px; background: #fbfaf6; box-shadow: var(--shadow); text-align: left; }
.demo-titlebar { position: relative; display: grid; grid-template-columns: 1fr auto 1fr; height: 42px; align-items: center; padding: 0 15px; color: #78837d; border-bottom: 1px solid #d9ddd8; background: #f2f1ec; font-size: 11px; font-weight: 650; }
.demo-titlebar > span:nth-child(2) { color: #4b5a53; }
.demo-lights { display: flex; gap: 7px; }
.demo-lights i { width: 10px; height: 10px; border: 1px solid rgba(20, 34, 29, 0.12); border-radius: 50%; background: #dd8a72; }
.demo-lights i:nth-child(2) { background: #d7b66f; }
.demo-lights i:nth-child(3) { background: #79aa8e; }
.demo-local { justify-self: end; }
.demo-local::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 6px; border-radius: 50%; background: #4c9575; }
.demo-app { display: grid; grid-template-columns: 58px 190px 300px minmax(0, 1fr); min-height: 595px; }
.demo-rail { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 18px 9px; color: #68766f; border-right: 1px solid #d9ddd8; background: #e7eee9; }
.demo-rail img { width: 31px; margin-bottom: 10px; }
.demo-rail b { display: grid; width: 32px; height: 32px; place-items: center; border-radius: 9px; font-size: 11px; font-weight: 680; }
.demo-rail b.active { color: white; background: #175f4d; }
.demo-rail span { flex: 1; }
.demo-folders { position: relative; padding: 17px 13px; border-right: 1px solid #d9ddd8; background: #f3f2ed; }
.demo-account { display: grid; grid-template-columns: 32px 1fr auto; gap: 9px; align-items: center; padding: 3px 4px 18px; }
.demo-account > span { display: grid; width: 32px; height: 32px; place-items: center; color: #f7f5ef; border-radius: 10px; background: #2f594c; font-size: 9px; font-weight: 750; }
.demo-account div { display: grid; }
.demo-account strong { font-size: 12px; }
.demo-account small { color: #87918c; font-size: 9px; }
.demo-account b { color: #7b8781; font-size: 10px; }
.demo-compose { display: flex; justify-content: space-between; margin-bottom: 16px; padding: 10px 11px; color: white; border-radius: 9px; background: #17654f; font-size: 11px; font-weight: 680; }
.demo-compose span { color: rgba(255, 255, 255, 0.68); font-size: 9px; font-weight: 550; }
.demo-folder { display: flex; min-height: 34px; align-items: center; justify-content: space-between; padding: 0 10px; color: #53635c; border-radius: 8px; font-size: 11px; }
.demo-folder.active { color: #153d32; background: #dce8e0; font-weight: 680; }
.demo-folder b { color: #2f8065; font-size: 10px; }
.demo-storage { position: absolute; right: 15px; bottom: 17px; left: 15px; display: flex; align-items: center; gap: 7px; color: #76817b; font-size: 9px; }
.demo-storage i { width: 7px; height: 7px; border-radius: 50%; background: #4c9575; }
.demo-threads { min-width: 0; border-right: 1px solid #d9ddd8; background: #fbfaf6; }
.demo-search { display: flex; height: 48px; align-items: center; justify-content: space-between; margin: 12px; padding: 0 12px; color: #8b948f; border: 1px solid #dce0dc; border-radius: 9px; background: #f2f2ed; font-size: 10px; }
.demo-search span { padding: 2px 5px; border: 1px solid #d5dad6; border-radius: 5px; font-size: 8px; }
.demo-list-heading { display: flex; align-items: end; justify-content: space-between; padding: 4px 16px 12px; border-bottom: 1px solid #e1e3df; }
.demo-list-heading div { display: grid; }
.demo-list-heading strong { font-size: 17px; letter-spacing: -0.025em; }
.demo-list-heading span { color: #8b948f; font-size: 9px; }
.demo-list-heading b { color: #7d8882; font-size: 9px; font-weight: 550; }
.demo-thread { position: relative; display: grid; grid-template-columns: 30px 1fr auto; gap: 9px; min-height: 88px; align-items: start; padding: 14px 12px; border-bottom: 1px solid #e7e7e2; }
.demo-thread.active { background: #e4eee8; }
.demo-thread.active::before { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 3px; background: #18715a; }
.demo-avatar { display: grid; width: 30px; height: 30px; place-items: center; border-radius: 10px; font-size: 8px; font-weight: 750; }
.demo-avatar.coral { color: #754131; background: #f2c9ba; }
.demo-avatar.green { color: #285545; background: #cce1d4; }
.demo-avatar.gold { color: #705827; background: #ede0b6; }
.demo-avatar.blue { color: #355764; background: #cfdee2; }
.demo-avatar.moss { color: #4b5b35; background: #dce3cb; }
.demo-thread > div { min-width: 0; display: grid; }
.demo-thread strong { color: #405049; font-size: 10px; }
.demo-thread b { overflow: hidden; margin-top: 2px; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.demo-thread p { overflow: hidden; margin: 2px 0 0; color: #818b86; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.demo-thread time { color: #939b97; font-size: 8px; }
.demo-reader { position: relative; min-width: 0; background: #fffdfa; }
.demo-toolbar { display: flex; height: 48px; align-items: center; gap: 18px; padding: 0 18px; color: #5d6a64; border-bottom: 1px solid #e0e2de; font-size: 9px; font-weight: 620; }
.demo-toolbar i { flex: 1; }
.demo-message-heading { display: grid; grid-template-columns: 38px 1fr auto; gap: 11px; align-items: start; padding: 25px 25px 20px; border-bottom: 1px solid #ecece7; }
.demo-message-heading .demo-avatar { width: 38px; height: 38px; border-radius: 12px; font-size: 9px; }
.demo-message-heading h3 { margin: 0 0 4px; font-size: 18px; }
.demo-message-heading p { margin: 0; color: #79837e; font-size: 9px; }
.demo-message-heading time { color: #929a96; font-size: 8px; }
.demo-message-body { max-width: 510px; padding: 24px 28px 90px; color: #4d5a54; font-size: 11px; line-height: 1.65; }
.demo-message-body p { margin-bottom: 15px; }
.demo-attachment { display: grid; grid-template-columns: 39px 1fr auto; gap: 11px; align-items: center; margin: 21px 0; padding: 13px; border: 1px solid #dfe2de; border-radius: 11px; background: #f4f4ef; }
.demo-attachment > span { display: grid; width: 39px; height: 39px; place-items: center; color: #93523f; border-radius: 8px; background: #f0d4ca; font-size: 8px; font-weight: 750; }
.demo-attachment div { display: grid; }
.demo-attachment strong { color: #34433c; font-size: 10px; }
.demo-attachment small { color: #89928d; font-size: 8px; }
.demo-attachment b { color: #17654f; font-size: 9px; }
.demo-reply { position: absolute; right: 25px; bottom: 24px; left: 25px; display: flex; height: 46px; align-items: center; justify-content: space-between; padding: 0 14px; color: #8c9590; border: 1px solid #d9ddd9; border-radius: 10px; font-size: 10px; }
.demo-reply span { font-size: 8px; }

.section { width: 100%; max-width: none; padding: clamp(82px, 10vw, 132px) max(24px, calc((100vw - 1140px) / 2)); }
.section-copy { max-width: 790px; }
.section-copy > p { max-width: 730px; color: var(--muted); font-size: 18px; }
.feature-section:nth-of-type(odd), .providers-section:nth-of-type(odd), .table-section:nth-of-type(odd), .prose-section:nth-of-type(odd) { background: var(--surface); }
.feature-section:nth-of-type(even), .providers-section:nth-of-type(even), .table-section:nth-of-type(even), .prose-section:nth-of-type(even) { background: var(--background); }
.visual-section { background: var(--surface); }
.visual-section .section-copy { margin-inline: auto; text-align: center; }
.visual-section .section-copy > p { margin-inline: auto; }
.demo-sequence { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; max-width: 1140px; margin: 50px auto 0; }
.demo-sequence article { min-height: 190px; padding: 25px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface-raised); box-shadow: 0 8px 24px rgba(30, 48, 40, 0.045); }
.feature-accent { display: block; width: 28px; height: 7px; margin-bottom: 34px; border-radius: 99px; background: var(--accent); }
.demo-sequence h3 { margin-bottom: 8px; }
.demo-sequence p { margin: 0; color: var(--muted); font-size: 14px; }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; max-width: 1140px; margin-top: 52px; }
.feature-grid article { min-height: 240px; padding: 30px; border: 1px solid color-mix(in srgb, var(--accent) 15%, var(--line)); border-radius: var(--radius); background: var(--surface-raised); }
.feature-grid p { margin-bottom: 0; color: var(--muted); font-size: 15px; }

.terminal-section { color: #f7f5ef; background: #14231d; }
.terminal-layout { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(440px, 1.15fr); gap: clamp(48px, 8vw, 100px); align-items: start; width: min(1140px, calc(100% - 48px)); }
.terminal-section .section-copy > p { color: #aeb5c2; }
.terminal-window { min-width: 0; overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 18px; background: #0b120f; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28); }
.terminal-title { padding: 11px 17px; color: #8fa198; border-bottom: 1px solid rgba(255, 255, 255, 0.1); background: #101b17; font-size: 12px; font-weight: 650; }
.terminal-window pre { margin: 0; padding: 24px; overflow-x: auto; font: 13px/1.9 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; }
.terminal-window code { display: grid; }
.terminal-window code span { white-space: nowrap; }
.terminal-window b { color: #76bea2; font-weight: 700; }
.terminal-points { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.terminal-points article { padding-top: 24px; border-top: 3px solid var(--accent); }
.terminal-points p { margin: 0; color: #aeb5c2; font-size: 15px; }

.local-section { color: var(--ink); background: var(--surface-blue); }
.local-section .section-copy > p { color: var(--muted); }
.local-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(380px, 0.78fr); gap: 90px; align-items: start; width: min(1140px, calc(100% - 48px)); }
.local-layout dl { margin: 0; }
.local-layout dl div { display: grid; grid-template-columns: 130px 1fr; gap: 22px; padding: 17px 0; }
.local-layout dt { color: var(--accent); font-size: 13px; font-weight: 700; }
.local-layout dd { margin: 0; color: var(--muted); font-size: 14px; }

.table-wrap { max-width: 1140px; margin-top: 48px; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface-raised); box-shadow: 0 10px 30px rgba(30, 48, 40, 0.045); }
table { width: 100%; border-collapse: collapse; text-align: left; }
th, td { padding: 21px 24px; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { color: var(--subtle); background: var(--surface); font-size: 12px; font-weight: 650; letter-spacing: 0.06em; text-transform: uppercase; }
tbody th { width: 22%; font-size: 15px; }
tbody td { color: var(--muted); font-size: 15px; }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0; }
.status { display: inline-block; color: var(--accent); font-weight: 680; }
.comparison-table th:first-child { width: 18%; }
.comparison-table td { width: 41%; }

.prose-panel { max-width: 920px; padding: clamp(31px, 5vw, 64px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface-raised); }
.prose-panel.comparison { border-color: color-mix(in srgb, var(--accent) 16%, var(--line)); background: var(--surface-blue); }
.prose-panel.stay { border-left: 4px solid var(--orange); background: var(--surface-orange); }
.prose-panel.privacy, .prose-panel.architecture { max-width: 850px; }
.text-link { color: var(--accent); font-weight: 650; text-decoration: none; }

.final-cta { padding: clamp(82px, 10vw, 132px) 0; color: white; background: #123f34; text-align: center; }
.final-cta .wrap { display: flex; flex-direction: column; align-items: center; }
.final-cta h2 { max-width: 780px; }
.final-cta p { max-width: 640px; color: rgba(255,255,255,0.82); }
.final-cta .button { margin-top: 18px; color: #0f5f4b; border-color: white; background: white; box-shadow: 0 10px 28px rgba(0,0,0,0.12); }
.final-cta small { margin-top: 16px; color: rgba(255,255,255,0.68); }

.pricing-choice { padding: 0 0 clamp(88px, 10vw, 132px); }
.price-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 42px; }
.price-grid article { display: flex; min-height: 330px; flex-direction: column; align-items: flex-start; padding: clamp(29px, 4vw, 46px); border: 1px solid color-mix(in srgb, var(--accent) 16%, var(--line)); border-radius: var(--radius); background: var(--surface-raised); }
.price-grid article:nth-child(2) { background: var(--surface-blue); }
.price-grid h3 { margin-bottom: 26px; color: var(--accent); }
.price { display: flex; align-items: baseline; gap: 8px; margin-bottom: 15px; }
.price strong { font-size: clamp(54px, 7vw, 78px); font-weight: 680; letter-spacing: -0.055em; }
.price span, .price-grid article > p:not(.price) { color: var(--muted); }
.price-grid .button { margin-top: auto; }

.preview-layout { display: grid; grid-template-columns: minmax(260px, 0.58fr) minmax(520px, 1fr); gap: clamp(50px, 8vw, 104px); align-items: start; padding-bottom: clamp(96px, 11vw, 150px); }
.preview-context { position: sticky; top: 104px; }
.preview-context h2 { font-size: clamp(38px, 4.4vw, 56px); }
.preview-context > p { color: var(--muted); }
.small { color: var(--muted); font-size: 13px; }
.preview-form { position: relative; display: grid; gap: 25px; padding: clamp(29px, 4vw, 46px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.field { display: grid; gap: 8px; font-size: 14px; font-weight: 650; }
.field small, legend small { color: var(--muted); font-weight: 400; }
input[type="email"], select, textarea { width: 100%; min-height: 48px; padding: 11px 13px; color: var(--ink); border: 1px solid var(--line-strong); border-radius: 10px; outline: none; background: var(--surface-raised); }
textarea { resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
legend { margin-bottom: 10px; font-size: 14px; font-weight: 650; }
.option-row, .check-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.option-row label, .check-grid label { position: relative; cursor: pointer; }
.option-row input, .check-grid input { position: absolute; opacity: 0; }
.option-row span, .check-grid span { display: block; padding: 9px 13px; border: 1px solid var(--line-strong); border-radius: 999px; background: var(--surface-raised); font-size: 13px; }
.option-row input:checked + span, .check-grid input:checked + span { color: white; border-color: var(--accent); background: var(--accent); }
.option-row input:focus-visible + span, .check-grid input:focus-visible + span { outline: 3px solid var(--accent-soft); outline-offset: 2px; }
.two-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.consent { display: grid; grid-template-columns: 18px 1fr; gap: 10px; align-items: start; color: var(--muted); font-size: 13px; }
.consent input { width: 17px; height: 17px; margin: 3px 0 0; accent-color: var(--accent); }
.submit-button { justify-self: start; cursor: pointer; }
.submit-button[disabled] { cursor: wait; opacity: 0.68; }
.form-status { min-height: 1.5em; margin: -10px 0 0; color: var(--muted); font-size: 14px; }
.form-status.error { color: var(--red); }
.form-status.success { color: var(--green); font-weight: 650; }
.preview-form.completed > :not(.form-status) { display: none; }
.preview-form.completed .form-status { min-height: 160px; display: grid; place-items: center; margin: 0; font-size: 18px; text-align: center; }
.honeypot { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }

.site-footer { padding: 72px 0 25px; color: #dce5e0; background: #0d1713; }
.footer-grid { display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: 50px; padding-bottom: 68px; }
.footer-grid .brand { color: white; }
.footer-grid p { color: #95a49c; font-size: 14px; }
.footer-grid h2 { margin: 6px 0 17px; color: #8c9c94; font-size: 12px; font-weight: 650; letter-spacing: 0.08em; text-transform: uppercase; }
.footer-grid > div:not(:first-child) { display: flex; flex-direction: column; align-items: flex-start; gap: 9px; }
.footer-grid a:not(.brand) { color: #c8d3cd; font-size: 14px; text-decoration: none; }
.footer-grid a:hover { color: white; }
.footer-base { display: flex; justify-content: space-between; gap: 20px; padding-top: 22px; color: #75877e; font-size: 11px; }

@media (prefers-color-scheme: dark) {
  :root {
    --background: #101713;
    --surface: #17211d;
    --surface-raised: #1e2a25;
    --surface-blue: #193027;
    --surface-indigo: #203028;
    --surface-orange: #30251f;
    --ink: #f4f1e8;
    --muted: #b4c0b9;
    --subtle: #899790;
    --line: rgba(255, 255, 255, 0.1);
    --line-strong: rgba(255, 255, 255, 0.19);
    --accent: #70b89c;
    --accent-hover: #8ac8af;
    --accent-soft: rgba(112, 184, 156, 0.2);
    --indigo: #75a78f;
    --orange: #ed977b;
    --green: #79c4a5;
    --red: #f08a74;
    --shadow: 0 36px 90px rgba(0, 0, 0, 0.48), 0 8px 24px rgba(0, 0, 0, 0.3);
  }
  .button-primary { color: white; }
  .final-cta { background: #0b3026; }
  .site-footer { background: #080f0c; }
}

@media (max-width: 1000px) {
  .demo-app { grid-template-columns: 54px 170px 270px minmax(0, 1fr); min-height: 550px; }
  .demo-toolbar { gap: 11px; }
  .local-layout { grid-template-columns: 1fr; gap: 54px; }
  .terminal-layout { grid-template-columns: 1fr; gap: 42px; }
  .preview-layout { grid-template-columns: minmax(230px, 0.45fr) minmax(470px, 1fr); gap: 42px; }
}

@media (max-width: 760px) {
  .wrap, .hero-with-visual .hero-grid { width: min(100% - 30px, 1140px); }
  .section { padding-inline: 15px; }
  .site-header .nav-wrap > nav { display: none; }
  .menu-button { display: inline-flex; padding: 8px 0; color: var(--ink); border: 0; background: transparent; font-size: 14px; font-weight: 650; }
  .site-header .mobile-nav { display: grid; gap: 0; padding: 0 15px 16px; background: var(--background); }
  .site-header .mobile-nav[hidden] { display: none; }
  .site-header .mobile-nav a { padding: 12px 0; color: var(--ink); border-bottom: 1px solid var(--line); }
  .hero { padding: 64px 0 82px; }
  .hero-with-visual .hero-grid { gap: 46px; }
  .demo-app { grid-template-columns: 52px 270px minmax(0, 1fr); }
  .demo-folders { display: none; }
  h1 { font-size: clamp(43px, 12vw, 62px); }
  h2 { font-size: clamp(35px, 9vw, 50px); }
  .lead { font-size: 20px; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .feature-grid, .price-grid { grid-template-columns: 1fr; }
  .terminal-layout { width: min(100% - 30px, 1140px); }
  .terminal-points { grid-template-columns: 1fr; }
  .demo-sequence { grid-template-columns: 1fr; }
  .demo-sequence article, .feature-grid article { min-height: auto; }
  .local-layout { width: min(100% - 30px, 1140px); }
  .local-layout dl div { grid-template-columns: 1fr; gap: 6px; }
  th, td { min-width: 170px; padding: 16px; }
  .preview-layout { grid-template-columns: 1fr; }
  .preview-context { position: static; }
  .two-fields { grid-template-columns: 1fr; }
  .submit-button { width: 100%; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .footer-base { flex-direction: column; }
}

@media (max-width: 600px) {
  .mail-demo { border-radius: 16px; }
  .demo-titlebar { grid-template-columns: 1fr auto; }
  .demo-local { display: none; }
  .demo-app { grid-template-columns: 46px minmax(0, 1fr); min-height: 460px; max-height: 460px; }
  .demo-rail { padding-inline: 7px; }
  .demo-rail b { width: 30px; height: 30px; }
  .demo-threads { border-right: 0; }
  .demo-reader { display: none; }
  .demo-thread:nth-child(n + 6) { display: none; }
}

@media (max-width: 430px) {
  body { font-size: 16px; }
  .feature-grid article, .table-wrap, .prose-panel, .preview-form, .price-grid article { border-radius: 16px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid > div:first-child { grid-column: auto; }
}

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