/* Linkwren marketing site — shared stylesheet
   Calm, editorial layout: white ground, hairline rules, rust used sparingly. */

:root {
  color-scheme: light;
  --rust: #C4532A;
  --rust-deep: #A8431F;
  --ink: #1C1B1A;
  --text: #3B3733;
  --muted: #5E5953;
  --paper: #F7F4EE;
  --paper-2: #F0EBE2;
  --soft: #F7F6F3;
  --ground: #FFFFFF;
  --sand: #F1E2D6;
  --moss: #2F4A3A;
  --white: #FFFFFF;
  --line: #E2DBCF;
  --line-strong: #CFC6B8;
  --on-dark: #D9D3C9;
  --on-dark-muted: #A9A196;
  --font-display: "Bricolage Grotesque", "Arial Rounded MT Bold", Arial, sans-serif;
  --font-body: "Plus Jakarta Sans", "Segoe UI", Arial, sans-serif;
  --wrap: 1160px;
  --gutter-l: max(20px, env(safe-area-inset-left, 0px));
  --gutter-r: max(20px, env(safe-area-inset-right, 0px));
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ground);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--rust-deep); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 2px solid var(--rust); outline-offset: 3px; border-radius: 4px; }
[hidden] { display: none !important; }

.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: var(--white); padding: 10px 16px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 16px; }

/* ---------- Type ---------- */
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--ink); margin: 0; text-wrap: balance; }
h1 { font-size: clamp(40px, 5.2vw, 66px); line-height: 1.03; font-weight: 700; letter-spacing: -0.03em; }
h2 { font-size: clamp(30px, 3.4vw, 44px); line-height: 1.08; font-weight: 700; letter-spacing: -0.025em; }
h3 { font-size: 21px; line-height: 1.3; font-weight: 600; letter-spacing: -0.01em; }
h4 { font-size: 17px; line-height: 1.4; font-weight: 600; }
p { margin: 0; }
p + p { margin-top: 1em; }
strong { color: var(--ink); font-weight: 600; }

.kicker { display: block; font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--rust-deep); margin-bottom: 18px; }
.lede { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.6; color: var(--text); max-width: 58ch; }
.muted { color: var(--muted); }
.small { font-size: 14.5px; line-height: 1.6; color: var(--muted); }
.fine { font-size: 13px; line-height: 1.55; color: var(--muted); }
.prose { max-width: 64ch; }
.prose h3 { margin: 1.6em 0 0.4em; }
.prose ul, .prose ol { padding-left: 1.2em; margin: 1em 0; }
.prose li + li { margin-top: 0.4em; }
.center { text-align: center; }
.center .lede { margin-left: auto; margin-right: auto; }

/* ---------- Layout ---------- */
.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: var(--gutter-l); padding-right: var(--gutter-r); }
.wrap-narrow { max-width: 820px; }
.sec { padding-block: 104px; }
.sec-tight { padding-block: 72px; }
.sec + .sec > .wrap > .rule-top, .rule-top { border-top: 1px solid var(--line); padding-top: 72px; }
.sec-tint { background: var(--paper); }
.sec-white { background: var(--white); }
.head { max-width: 680px; margin-bottom: 56px; }
.head p { margin-top: 18px; }
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 72px; align-items: start; }
.split-even { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 80px; align-items: center; }
.split-even > * { min-width: 0; }
.split-media { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 80px; align-items: center; }
.split > *, .split-media > * { min-width: 0; }
.sticky { position: sticky; top: 110px; }
.stack > * + * { margin-top: 18px; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 34px; }

/* ---------- Buttons and links ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 26px; border-radius: 999px; font-family: var(--font-body); font-size: 16px; font-weight: 600; text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: background .15s, color .15s, border-color .15s; white-space: nowrap; }
.btn-primary { background: var(--rust); color: var(--white); }
.btn-primary:hover { background: var(--rust-deep); color: var(--white); }
.btn-line { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-line:hover { border-color: var(--ink); color: var(--ink); }
.btn-ink { background: var(--ink); color: var(--white); }
.btn-ink:hover { background: #000; color: var(--white); }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: 15px; }
.arrow { font-weight: 600; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line-strong); padding-bottom: 2px; }
.arrow::after { content: " \2192"; color: var(--rust); }
.arrow:hover { border-color: var(--ink); color: var(--ink); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, 0.95); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); padding-top: env(safe-area-inset-top, 0px); }
.site-header .wrap { display: flex; align-items: center; gap: 28px; min-height: 72px; }
.logo { display: inline-flex; flex: none; }
.logo img { height: 30px; width: auto; }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav > ul { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav-link, .nav-trigger { display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; font: 500 15px/1 var(--font-body); color: var(--ink); text-decoration: none; background: none; border: 0; border-radius: 999px; cursor: pointer; }
.nav-link:hover, .nav-trigger:hover { background: var(--soft); color: var(--ink); }
.nav-link[aria-current="page"], .nav-trigger[aria-current="page"] { color: var(--rust-deep); }
.nav-trigger svg { width: 10px; height: 10px; transition: transform .15s; }
.has-menu { position: relative; }
.has-menu.open .nav-trigger svg { transform: rotate(180deg); }
.menu { position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%); width: 320px; background: var(--white); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 18px 40px -18px rgba(28, 27, 26, .25); padding: 10px; list-style: none; margin: 0; display: none; }
.has-menu.open .menu { display: block; }
.menu a { display: block; padding: 11px 14px; border-radius: 12px; text-decoration: none; color: var(--ink); font-weight: 600; font-size: 15px; line-height: 1.35; }
.menu a span { display: block; font-weight: 400; font-size: 13.5px; color: var(--muted); margin-top: 2px; }
.menu a:hover { background: var(--soft); }
.nav-cta { display: flex; align-items: center; gap: 10px; margin-left: 16px; }
.menu-toggle { display: none; margin-left: auto; width: 44px; height: 44px; border: 1px solid var(--line-strong); border-radius: 12px; background: transparent; cursor: pointer; align-items: center; justify-content: center; }
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after { display: block; width: 18px; height: 1.5px; background: var(--ink); position: relative; content: ""; }
.menu-toggle span::before { position: absolute; top: -6px; }
.menu-toggle span::after { position: absolute; top: 6px; }

/* ---------- Hero ---------- */
.hero { padding-block: 88px 104px; }
.hero h1 { max-width: 15ch; }
.hero .lede { margin-top: 26px; }
.hero-note { margin-top: 22px; font-size: 14.5px; color: var(--muted); }
.hero-sm { padding-block: 80px 56px; }
.hero-sm h1 { max-width: 18ch; }
.hero-sm .lede { margin-top: 22px; }

/* ---------- Text structures ---------- */
.rows { border-top: 1px solid var(--line); }
.row-item { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 40px; padding: 30px 0; border-bottom: 1px solid var(--line); }
.row-item h3 { font-size: 20px; }
.row-item p { color: var(--text); }
.row-item .num { font-family: var(--font-display); font-size: 15px; color: var(--rust-deep); font-weight: 600; display: block; margin-bottom: 6px; }

.cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; }
.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 36px; }
.col { border-top: 1px solid var(--ink); padding-top: 22px; min-width: 0; }
.col h3 { margin-bottom: 10px; }
.col .num { display: block; font-family: var(--font-display); font-weight: 600; color: var(--rust-deep); font-size: 15px; margin-bottom: 14px; }
.col p { font-size: 16px; line-height: 1.65; }

.statement { font-family: var(--font-display); font-weight: 500; font-size: clamp(26px, 3vw, 38px); line-height: 1.25; letter-spacing: -0.02em; color: var(--ink); max-width: 30ch; text-wrap: balance; }
.statement em { font-style: normal; color: var(--rust-deep); }

.ticks { list-style: none; padding: 0; margin: 0; }
.ticks li { position: relative; padding-left: 30px; }
.ticks li + li { margin-top: 12px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 14px; height: 8px; border-left: 1.5px solid var(--moss); border-bottom: 1.5px solid var(--moss); transform: rotate(-45deg); }
.dashes { list-style: none; padding: 0; margin: 0; }
.dashes li { position: relative; padding-left: 28px; color: var(--muted); }
.dashes li + li { margin-top: 12px; }
.dashes li::before { content: ""; position: absolute; left: 2px; top: 0.85em; width: 12px; height: 1.5px; background: var(--muted); }

.fit { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.fit > div { padding: 36px 40px 36px 0; min-width: 0; }
.fit > div + div { padding: 36px 0 36px 40px; border-left: 1px solid var(--line); }
.fit h3 { margin-bottom: 18px; font-size: 19px; }

.steps { list-style: none; padding: 0; margin: 0; counter-reset: s; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; }
.steps li { counter-increment: s; min-width: 0; }
.steps li::before { content: counter(s); display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 1px solid var(--line-strong); border-radius: 50%; font-family: var(--font-display); font-weight: 600; color: var(--rust-deep); margin-bottom: 20px; }
.steps h3 { margin-bottom: 8px; }
.steps p { font-size: 16px; }

.index { border-top: 1px solid var(--line); }
.index-item { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 6fr) 190px; gap: 36px; align-items: baseline; padding: 32px 0; border-bottom: 1px solid var(--line); color: inherit; text-decoration: none; }
.index-item h3 { font-size: 24px; transition: color .15s; }
.index-item p { color: var(--muted); }
.index-item .go { text-align: right; font-weight: 600; color: var(--ink); white-space: nowrap; font-size: 15px; }
.index-item .go::after { content: " \2192"; color: var(--rust); }
a.index-item:hover h3 { color: var(--rust-deep); }
.index-item .meta { display: block; font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; font-family: var(--font-body); font-weight: 600; }

.pull { border-left: 0; padding: 0; margin: 0; }
.pull p { font-family: var(--font-display); font-size: clamp(22px, 2.2vw, 28px); line-height: 1.35; color: var(--ink); letter-spacing: -0.01em; }

.note-box { background: var(--soft); border-radius: 20px; padding: 28px 32px; }
.note-box h3 { font-size: 18px; margin-bottom: 8px; }

/* ---------- Figures and the phone ---------- */
.figure { margin: 0; }
.stage { background: var(--soft); border: 1px solid #EEEBE6; border-radius: 32px; padding: 56px 32px; display: flex; justify-content: center; align-items: center; }
.figure figcaption { margin-top: 14px; font-size: 13.5px; color: var(--muted); text-align: center; }
.phone { width: 280px; max-width: 100%; background: var(--white); border: 9px solid var(--ink); border-radius: 44px; padding: 34px 20px 22px; box-shadow: 0 30px 60px -30px rgba(28, 27, 26, 0.35); text-align: center; }
.phone .av { width: 68px; height: 68px; border-radius: 50%; margin: 0 auto 12px; background: #EFECE7; color: var(--ink); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 700; font-size: 22px; }
.phone .nm { font-family: var(--font-display); font-weight: 600; font-size: 17px; color: var(--ink); }
.phone .bio { font-size: 12.5px; line-height: 1.45; color: var(--muted); margin: 4px 0 18px; }
.phone .lk { display: block; border: 1px solid var(--line); border-radius: 14px; padding: 11px 12px; font-size: 13px; font-weight: 600; color: var(--ink); margin-top: 8px; text-align: center; background: var(--white); }
.phone .lk.main { background: var(--ink); border-color: var(--ink); color: var(--white); }
.phone .tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 10px; }
.phone .tiles i { aspect-ratio: 1; border-radius: 10px; background: #EFECE7; }
.phone .soc { display: flex; justify-content: center; gap: 10px; margin-top: 16px; }
.phone .soc i { width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid var(--line-strong); }
.phone .dom { margin-top: 14px; font-size: 11.5px; color: var(--muted); }

.phone-sm { width: 210px; border-width: 7px; border-radius: 34px; padding: 24px 14px 16px; }
.phone-sm .av { width: 48px; height: 48px; font-size: 16px; margin-bottom: 8px; }
.phone-sm .nm { font-size: 14px; }
.phone-sm .bio { font-size: 11px; margin-bottom: 12px; }
.phone-sm .lk { font-size: 11.5px; padding: 8px; border-radius: 10px; margin-top: 6px; }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; border-top: 1px solid var(--ink); }
table { width: 100%; border-collapse: collapse; font-size: 15.5px; min-width: 560px; }
th, td { text-align: left; padding: 16px 18px 16px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { font-weight: 600; color: var(--ink); font-size: 14px; }
tbody th { font-weight: 500; color: var(--ink); }
.us { color: var(--ink); font-weight: 600; }
thead .us { color: var(--rust-deep); }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 24px; padding: 24px 0; font-family: var(--font-display); font-weight: 600; font-size: 19px; color: var(--ink); line-height: 1.35; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 12px; height: 12px; margin-top: 7px; border-right: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink); transform: rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: 12px; }
.faq details > div, .faq details > p { padding: 0 48px 26px 0; color: var(--text); max-width: 66ch; }

/* ---------- Pricing ---------- */
.toggle { display: inline-flex; border: 1px solid var(--line-strong); border-radius: 999px; padding: 4px; gap: 4px; }
.toggle button { border: 0; background: transparent; padding: 9px 18px; border-radius: 999px; font: 600 14.5px var(--font-body); color: var(--muted); cursor: pointer; }
.toggle button[aria-pressed="true"] { background: var(--ink); color: var(--white); }
.toggle .save { font-weight: 500; color: inherit; opacity: 0.8; }
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; margin-top: 44px; }
.plan { background: var(--white); border: 1px solid var(--line); border-radius: 24px; padding: 40px; display: flex; flex-direction: column; min-width: 0; }
.plan h2, .plan h3 { font-size: 28px; }
.plan .for { color: var(--muted); margin-top: 8px; font-size: 16px; }
.plan .price { display: flex; align-items: baseline; gap: 8px; margin: 28px 0 4px; }
.plan .price b { font-family: var(--font-display); font-size: 56px; line-height: 1; font-weight: 700; color: var(--ink); letter-spacing: -0.03em; }
.plan .price span { color: var(--muted); font-size: 15px; }
.plan .alt { font-size: 14px; color: var(--muted); min-height: 1.6em; }
.plan .btn { margin: 28px 0 30px; }
.plan .label { font-size: 12.5px; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 600; color: var(--rust-deep); margin-left: 10px; vertical-align: middle; }
.plan .ticks { font-size: 16px; padding-top: 26px; border-top: 1px solid var(--line); }

.bars { display: grid; gap: 22px; }
.bar-row { display: grid; gap: 8px; }
.bar-row .lbl { display: flex; justify-content: space-between; font-size: 15px; color: var(--ink); }
.bar-row .lbl b { font-family: var(--font-display); font-weight: 600; }
.bar { height: 12px; border-radius: 999px; background: var(--line); }
.bar span { display: block; height: 100%; border-radius: 999px; background: var(--muted); }
.bar.us span { background: var(--rust); }

/* ---------- Product illustrations ---------- */
.board { background: var(--white); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; box-shadow: 0 30px 60px -36px rgba(28, 27, 26, .3); }
.board-head { display: flex; justify-content: space-between; align-items: center; padding: 18px 22px; border-bottom: 1px solid var(--line); font-weight: 600; color: var(--ink); font-size: 15px; }
.board-head span { font-weight: 500; color: var(--muted); font-size: 13.5px; }
.board-row { display: flex; justify-content: space-between; gap: 16px; padding: 16px 22px; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.board-row b { display: block; color: var(--ink); font-weight: 600; }
.board-row small { color: var(--muted); font-size: 13px; }
.board-row .n { color: var(--ink); font-weight: 600; white-space: nowrap; }
.board-foot { padding: 16px 22px; font-size: 14px; color: var(--muted); }

.import { background: var(--white); border: 1px solid var(--line); border-radius: 22px; padding: 28px; box-shadow: 0 30px 60px -36px rgba(28, 27, 26, .3); }
.import label { display: block; font-weight: 600; color: var(--ink); font-size: 15px; margin-bottom: 10px; }
.import .field-row { display: flex; gap: 10px; }
.import .fake-input { flex: 1; min-width: 0; border: 1px solid var(--line-strong); border-radius: 12px; padding: 12px 14px; font-size: 14.5px; color: var(--muted); background: var(--soft); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.import ul { margin-top: 22px; }

/* ---------- Templates ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 40px; }
.chip { border: 1px solid var(--line-strong); background: transparent; border-radius: 999px; padding: 8px 16px; font: 500 14.5px var(--font-body); color: var(--ink); cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--white); }
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 56px 36px; }
.tpl { min-width: 0; }
.tpl .stage { padding: 36px 20px; border-radius: 26px; }
.tpl h3 { margin-top: 20px; font-size: 20px; }
.tpl p { font-size: 15.5px; color: var(--muted); margin-top: 6px; }
.tpl .arrow { display: inline-block; margin-top: 12px; font-size: 15px; }

/* ---------- Forms ---------- */
.form { display: grid; gap: 20px; }
.field label { display: block; font-weight: 600; font-size: 15px; color: var(--ink); margin-bottom: 8px; }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: var(--white); border: 1px solid var(--line-strong); border-radius: 12px; padding: 13px 14px; }
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--rust); outline-offset: 1px; border-color: transparent; }
.form-status { font-weight: 600; color: var(--moss); min-height: 1.5em; }
.search { display: flex; gap: 10px; max-width: 560px; }
.search input { flex: 1; min-width: 0; font: inherit; font-size: 16px; border: 1px solid var(--line-strong); border-radius: 999px; padding: 14px 22px; background: var(--white); color: var(--ink); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Article (guides, compare) ---------- */
.article-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 22px; font-size: 14.5px; color: var(--muted); }
.toc { font-size: 15px; display: flex; flex-wrap: wrap; gap: 8px 22px; padding: 20px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.toc a { color: var(--ink); text-decoration: none; font-weight: 500; }
.toc a:hover { color: var(--rust-deep); }
.article h2 { font-size: clamp(26px, 2.6vw, 34px); margin: 0 0 18px; }
.article section + section { margin-top: 72px; }
.article ol, .article ul { padding-left: 1.2em; margin: 18px 0 0; }
.article li + li { margin-top: 8px; }
.tip { margin-top: 28px; padding: 22px 26px; border-left: 2px solid var(--rust); background: var(--white); border-radius: 0 16px 16px 0; }
.tip h4 { margin-bottom: 6px; }

/* ---------- Closing CTA ---------- */
.cta-end { padding-block: 120px; text-align: center; }
.cta-end .wrap > div { border-top: 1px solid var(--line); padding-top: 104px; }
.cta-end h2 { font-size: clamp(34px, 4.2vw, 54px); max-width: 16ch; margin: 0 auto; }
.cta-end p { margin: 22px auto 0; max-width: 46ch; color: var(--text); font-size: 18px; }
.cta-end .actions { justify-content: center; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--on-dark); padding: 80px 0 calc(40px + env(safe-area-inset-bottom, 0px)); font-size: 15px; }
.footer-top { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 64px; }
.footer-brand img { height: 30px; width: auto; }
.footer-brand p { margin-top: 18px; max-width: 32ch; color: var(--on-dark-muted); line-height: 1.6; }
.footer-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.footer-cols h2 { font-family: var(--font-body); font-size: 13px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--white); margin-bottom: 16px; }
.footer-cols ul { list-style: none; margin: 0; padding: 0; }
.footer-cols li + li { margin-top: 10px; }
.footer-cols a { color: var(--on-dark); text-decoration: none; }
.footer-cols a:hover { color: var(--white); text-decoration: underline; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 64px; padding-top: 28px; border-top: 1px solid #3A3733; color: var(--on-dark-muted); font-size: 14px; }


/* ---------- Feature list and promises ---------- */
.flist { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 48px; border-top: 1px solid var(--line); }
.flist > div { padding: 22px 0; border-bottom: 1px solid var(--line); min-width: 0; }
.flist h4 { margin-bottom: 4px; }
.flist p { font-size: 15.5px; line-height: 1.6; color: var(--muted); }
.promises { list-style: none; margin: 0; padding: 0; counter-reset: p; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 56px; }
.promises li { counter-increment: p; display: grid; grid-template-columns: 44px minmax(0, 1fr); padding: 22px 0; border-top: 1px solid var(--line-strong); }
.promises li::before { content: counter(p, decimal-leading-zero); font-family: var(--font-display); font-weight: 600; color: var(--rust-deep); font-size: 15px; padding-top: 2px; }
.promises b { display: block; font-family: var(--font-display); font-weight: 600; font-size: 18px; color: var(--ink); margin-bottom: 4px; }
.promises span { color: var(--text); font-size: 15.5px; }
.promises.big li { padding: 34px 0; grid-template-columns: 64px minmax(0, 1fr); }
.promises.big li::before { font-size: 22px; }
.promises.big b { font-size: 24px; margin-bottom: 10px; }
.promises.big span { font-size: 16.5px; }
@media (max-width: 720px) { .flist, .promises { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Responsive ---------- */
@media (max-width: 1040px) {
  .menu-toggle { display: inline-flex; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); border-bottom: 1px solid var(--line); padding: 12px var(--gutter-r) 24px var(--gutter-l); flex-direction: column; align-items: stretch; max-height: calc(100vh - 72px); overflow-y: auto; background: var(--white); }
  .nav.open { display: flex; }
  .nav > ul { flex-direction: column; align-items: stretch; }
  .nav-link, .nav-trigger { width: 100%; justify-content: space-between; padding: 14px 4px; font-size: 17px; border-radius: 0; border-bottom: 1px solid var(--line); }
  .menu { position: static; transform: none; width: auto; box-shadow: none; border: 0; padding: 4px 0 8px; background: transparent; }
  .nav-cta { margin: 18px 0 0; }
  .nav-cta .btn { flex: 1; }
  .site-header .wrap { position: relative; }
}
@media (max-width: 900px) {
  .split, .split-even, .split-media { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .sticky { position: static; }
  .cols, .cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .index-item { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .index-item .go { text-align: left; }
  .footer-top { grid-template-columns: minmax(0, 1fr); gap: 48px; }
}
@media (max-width: 720px) {
  body { font-size: 16.5px; }
  .sec { padding-block: 72px; }
  .rule-top, .sec + .sec > .wrap > .rule-top { padding-top: 56px; }
  .hero { padding-block: 48px 24px; }
  .hero-sm { padding-block: 56px 40px; }
  .head { margin-bottom: 40px; }
  .cols, .cols-2, .cols-4 { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .row-item { grid-template-columns: minmax(0, 1fr); gap: 8px; padding: 24px 0; }
  .fit { grid-template-columns: minmax(0, 1fr); }
  .fit > div, .fit > div + div { padding: 28px 0; border-left: 0; }
  .fit > div + div { border-top: 1px solid var(--line); }
  .plans { grid-template-columns: minmax(0, 1fr); }
  .plan { padding: 30px 24px; }
  .gallery { grid-template-columns: minmax(0, 1fr); }
  .stage { padding: 40px 20px; border-radius: 24px; }
  .footer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 24px; }
  .cta-end { padding-block: 80px; }
  .cta-end .wrap > div { padding-top: 72px; }
  .faq details > div, .faq details > p { padding-right: 0; }
  .note-box { padding: 24px; }
}

/* ---------- Anchors land below the sticky header ---------- */
html { scroll-padding-top: 96px; }

/* ---------- Form states (sign-up, log-in, contact) ---------- */
.btn-block { width: 100%; }
.btn.is-loading { pointer-events: none; opacity: 0.7; }
.field-hint { margin-top: 8px; font-size: 13.5px; line-height: 1.5; color: var(--muted); }
.field-error { margin-top: 8px; font-size: 13.5px; line-height: 1.5; font-weight: 600; color: #B3261E; }
.field input[aria-invalid="true"] { border-color: #B3261E; }

/* ---------- Sign-up and log-in dialogs ---------- */
html:has(dialog[open]) { overflow: hidden; }
.modal { width: min(460px, calc(100% - 32px)); max-height: calc(100dvh - 32px); padding: 0; border: 0; border-radius: 24px; background: var(--white); color: var(--text); box-shadow: 0 40px 80px -24px rgba(28, 27, 26, .45); overflow: auto; }
.modal::backdrop { background: rgba(28, 27, 26, .5); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.modal[open] { animation: modal-in .35s cubic-bezier(.22, 1, .36, 1); }
@keyframes modal-in { from { opacity: 0; transform: translateY(12px); } }
.modal-inner { position: relative; padding: 40px; }
.modal-close { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: 50%; background: var(--soft); color: var(--ink); cursor: pointer; }
.modal-close:hover { background: var(--paper-2); }
.modal-close svg, .modal-tick svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.modal-mark { width: 46px; height: auto; margin-bottom: 22px; }
.modal h2 { font-size: 30px; padding-right: 36px; }
.modal-lead { margin-top: 12px; color: var(--muted); font-size: 16px; line-height: 1.6; }
.modal-form { display: grid; gap: 20px; margin-top: 28px; }
.modal-done { text-align: center; }
.modal-done h2 { padding-right: 0; }
.modal-done .btn { margin-top: 28px; }
.modal-tick { display: inline-flex; align-items: center; justify-content: center; width: 60px; height: 60px; margin-bottom: 22px; border-radius: 50%; background: var(--moss); color: var(--white); }
.modal-tick svg { width: 28px; height: 28px; stroke-width: 2.5; }
@media (max-width: 720px) { .modal-inner { padding: 32px 22px 26px; } .modal h2 { font-size: 26px; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .modal[open] { animation: none; } }
