/* Arewify — shared styles */
:root {
  --bg: #F7F8FA;
  --surface: #FFFFFF;
  --line: #E5E7EB;
  --line-2: #EEF0F3;
  --text: #0F172A;
  --text-2: #475569;
  --text-3: #64748B;
  --accent: #4F5BD5;
  --accent-top: #6874E8;
  --accent-bottom: #4450C8;
  --accent-soft: #EEF0FD;
  --accent-text: #3E49B8;
  --green-soft: #EAF6EE;
  --green: #2F7D4F;
  --amber-soft: #FDF4E7;
  --amber: #A2620E;
  --rose-soft: #FCEEEE;
  --rose: #B4413C;

  --font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --page: 1200px;
  --gutter: clamp(20px, 4vw, 40px);
  --radius: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 2px rgb(15 23 42 / 0.06);
  --shadow: 0 1px 2px rgb(15 23 42 / 0.05), 0 8px 24px -12px rgb(15 23 42 / 0.12);
  --shadow-lg: 0 2px 4px rgb(15 23 42 / 0.04), 0 30px 60px -30px rgb(15 23 42 / 0.28);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.6;
  color: var(--text); background: var(--bg);
  -webkit-font-smoothing: antialiased; font-feature-settings: "cv11", "ss01";
}
img, svg { display: block; max-width: 100%; }
a { color: var(--accent-text); text-underline-offset: 3px; }
a:hover { color: var(--accent-bottom); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
::selection { background: #D9DCFB; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: -9999px; top: 10px; z-index: 100; background: var(--surface); color: var(--text); padding: 10px 16px; border-radius: 8px; box-shadow: var(--shadow); }
.skip-link:focus { left: 12px; }
.wrap { max-width: var(--page); margin: 0 auto; padding: 0 var(--gutter); }

/* Type */
h1, h2, h3, h4 { margin: 0; color: var(--text); font-weight: 700; }
h1 { font-size: clamp(40px, 6vw, 64px); line-height: 1.06; letter-spacing: -0.035em; }
h2 { font-size: clamp(30px, 3.6vw, 42px); line-height: 1.12; letter-spacing: -0.03em; }
h3 { font-size: 18px; line-height: 1.35; letter-spacing: -0.01em; font-weight: 600; }
p { margin: 0 0 16px; }
.accent-line { display: block; color: var(--accent); }
.lead { font-size: clamp(17px, 1.5vw, 19px); line-height: 1.6; color: var(--text-2); }
.muted { color: var(--text-3); }
.center { text-align: center; }
.section-head { max-width: 640px; margin: 0 auto 48px; text-align: center; }
.section-head h2 { margin-bottom: 12px; }
.section-head p { color: var(--text-2); font-size: 17px; margin: 0; }

/* Pill badge */
.pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px 5px 8px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  font-size: 13.5px; font-weight: 500; color: var(--text-2); text-decoration: none;
}
.pill__dot { width: 20px; height: 20px; border-radius: 999px; background: var(--accent-soft); display: grid; place-items: center; color: var(--accent); }
a.pill:hover { border-color: #C9CEF5; color: var(--text); }

/* Buttons */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 20px; border-radius: 10px; border: 1px solid transparent;
  font: inherit; font-size: 15px; font-weight: 600; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background .15s, box-shadow .15s, color .15s, border-color .15s;
}
.button--lg { height: 50px; padding: 0 24px; font-size: 16px; }
.button--primary {
  color: #fff; background: linear-gradient(var(--accent-top), var(--accent-bottom));
  box-shadow: 0 1px 2px rgb(15 23 42 / 0.12), inset 0 1px 0 rgb(255 255 255 / 0.18);
}
.button--primary:hover { color: #fff; background: linear-gradient(#5D69E0, #3B46B8); }
.button--secondary { background: var(--surface); color: var(--text); border-color: var(--line); box-shadow: var(--shadow-sm); }
.button--secondary:hover { color: var(--text); border-color: #CBD0D8; }
.button--text { color: var(--text); padding: 0 8px; }
.button--text:hover { color: var(--accent-text); }
.button--white { background: #fff; color: var(--accent-bottom); }
.button--white:hover { background: #EEF0FD; color: var(--accent-bottom); }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.button-row--center { justify-content: center; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgb(255 255 255 / 0.82); backdrop-filter: saturate(1.6) blur(12px); border-bottom: 1px solid var(--line); }
.site-header__inner { height: 64px; display: flex; align-items: center; gap: 28px; }
.logo { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; color: var(--text); font-weight: 700; font-size: 18px; letter-spacing: -0.02em; }
.logo:hover { color: var(--text); }
.logo svg { width: 30px; height: 30px; }
.nav { display: flex; gap: 4px; }
.nav a { color: var(--text-2); text-decoration: none; font-size: 14.5px; font-weight: 500; padding: 6px 12px; border-radius: 8px; }
.nav a:hover { color: var(--text); background: var(--bg); }
.nav a[aria-current="page"] { color: var(--text); background: var(--bg); }
.site-header__actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.site-header .button { height: 38px; padding: 0 16px; font-size: 14px; }

/* Hero with grid background */
.grid-bg { position: relative; isolation: isolate; }
.grid-bg::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(to right, rgb(15 23 42 / 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgb(15 23 42 / 0.05) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 40%, transparent 85%);
          mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 40%, transparent 85%);
}
.grid-bg::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(600px 300px at 50% 0%, rgb(104 116 232 / 0.12), transparent 70%);
}
.hero { padding: clamp(56px, 9vw, 104px) 0 0; text-align: center; }
.hero .pill { margin-bottom: 26px; }
.hero h1 { max-width: 860px; margin: 0 auto 22px; }
.hero .lead { max-width: 620px; margin: 0 auto 32px; }
.hero__visual { margin-top: clamp(48px, 7vw, 72px); position: relative; max-height: 600px; overflow: hidden; padding: 0 2px; -webkit-mask-image: linear-gradient(#000 72%, transparent); mask-image: linear-gradient(#000 72%, transparent); }

/* Browser frame */
.browser { container-type: inline-size; background: var(--surface); border-radius: 14px; border: 1px solid var(--line); box-shadow: var(--shadow-lg); overflow: hidden; }
.browser__bar { height: 38px; display: flex; align-items: center; gap: 7px; padding: 0 14px; background: #FBFBFC; border-bottom: 1px solid var(--line-2); }
.browser__bar i { width: 10px; height: 10px; border-radius: 50%; background: #E2E5EA; }
.browser__url { margin-left: 12px; height: 22px; flex: 1; max-width: 360px; border-radius: 6px; background: var(--bg); border: 1px solid var(--line-2); font-size: 12px; color: var(--text-3); display: flex; align-items: center; padding: 0 10px; }

/* Phone frame */
.phone { width: 220px; border-radius: 34px; background: #0F172A; padding: 9px; box-shadow: var(--shadow-lg); }
.phone__screen { border-radius: 26px; overflow: hidden; background: #fff; container-type: inline-size; }

/* Stats band */
.stats { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface); }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 32px 16px; text-align: center; }
.stat + .stat { border-left: 1px solid var(--line-2); }
.stat b { display: block; font-size: 34px; letter-spacing: -0.03em; line-height: 1.1; }
.stat span { color: var(--text-3); font-size: 14.5px; }

/* Blocks */
.block { padding: clamp(72px, 9vw, 112px) 0; }
.block--white { background: var(--surface); }
.block--line { border-top: 1px solid var(--line); }

/* Feature cards */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.cards--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 24px; box-shadow: var(--shadow-sm); }
.card h3 { margin: 16px 0 6px; }
.card p { margin: 0; color: var(--text-2); font-size: 15px; }
.icon-tile { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); }
.icon-tile--green { background: var(--green-soft); color: var(--green); }
.icon-tile--amber { background: var(--amber-soft); color: var(--amber); }
.icon-tile--rose { background: var(--rose-soft); color: var(--rose); }
.icon-tile svg { width: 20px; height: 20px; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; counter-reset: step; }
.step { position: relative; padding: 28px 24px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; counter-increment: step; }
.step::before { content: counter(step); display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--text); color: #fff; font-weight: 700; font-size: 14px; margin-bottom: 16px; }
.step p { margin: 6px 0 0; color: var(--text-2); font-size: 15px; }

/* Theme card (home) */
.theme-card { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.theme-card__visual { background: linear-gradient(160deg, #EEF0FD, #F7F8FA 60%); padding: 36px 0 0 36px; display: flex; align-items: flex-end; overflow: hidden; }
.theme-card__visual .browser { border-radius: 12px 0 0 0; border-right: 0; border-bottom: 0; width: 120%; }
.theme-card__body { padding: clamp(28px, 4vw, 44px); display: flex; flex-direction: column; gap: 14px; }
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { font-size: 13px; font-weight: 500; padding: 4px 10px; border-radius: 999px; background: var(--bg); border: 1px solid var(--line); color: var(--text-2); }
.tag--status { background: var(--amber-soft); border-color: #F3DDB8; color: var(--amber); }
.check-list { list-style: none; padding: 0; margin: 4px 0 8px; display: grid; gap: 8px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; color: var(--text-2); font-size: 15px; }
.check-list svg { flex: none; margin-top: 3px; color: var(--accent); }

/* CTA */
.cta { position: relative; overflow: hidden; border-radius: 24px; padding: clamp(40px, 6vw, 72px) 24px; text-align: center; color: #fff; background: linear-gradient(160deg, #5E6BE3, #3D48B8); }
.cta::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(to right, rgb(255 255 255 / 0.08) 1px, transparent 1px), linear-gradient(to bottom, rgb(255 255 255 / 0.08) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%); mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
}
.cta > * { position: relative; }
.cta h2 { color: #fff; margin-bottom: 12px; }
.cta p { color: #DEE1FF; max-width: 520px; margin: 0 auto 28px; font-size: 17px; }
.cta .button--text { color: #fff; }
.cta .button--text:hover { color: #DEE1FF; }

/* Footer */
.site-footer { background: var(--surface); border-top: 1px solid var(--line); padding: 56px 0 32px; font-size: 14.5px; }
.site-footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.site-footer p { color: var(--text-3); }
.site-footer__title { font-weight: 600; color: var(--text); margin: 0 0 12px; font-size: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer ul a { color: var(--text-2); text-decoration: none; }
.site-footer ul a:hover { color: var(--text); }
.site-footer__bottom { margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line-2); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; color: var(--text-3); font-size: 13.5px; }
.site-footer__bottom a { color: var(--text-2); }

/* ---------- Alcove storefront mockup (pure CSS) ---------- */
.al {
  --u: clamp(0.5px, 0.132cqw, 1.5px);
  --a-bg: #F7F7F5; --a-surface: #FFFFFF; --a-muted: #ECECE7; --a-line: #DADAD4;
  --a-text: #1D211E; --a-text-2: #5F625C; --a-primary: #23362B; --a-accent: #B4532A;
  --a-room: #E6E5DF; --a-sofa: #8C9A90; --a-sofa-2: #A3B0A7; --a-wood: #B79E80;
  --a-head: "DM Sans", var(--font); --a-r: calc(12 * var(--u));
  font-family: "DM Sans", var(--font); color: var(--a-text); background: var(--a-bg); font-size: calc(10 * var(--u)); line-height: 1.4; text-align: left;
}
.al--warm {
  --a-bg: #F4EFE7; --a-surface: #FFFDF9; --a-muted: #EAE2D6; --a-line: #DCD1C1;
  --a-text: #2B231D; --a-text-2: #6A5D51; --a-primary: #5A3A28; --a-accent: #A85C34;
  --a-room: #E9E0D2; --a-sofa: #B9A48C; --a-sofa-2: #CDBBA4; --a-wood: #7E5A3F;
  --a-head: "Lora", Georgia, serif; --a-r: calc(7 * var(--u));
}
.al--nordic {
  --a-bg: #F9F9F7; --a-surface: #FFFFFF; --a-muted: #EDEEEC; --a-line: #D9DCDD;
  --a-text: #1B2530; --a-text-2: #56616D; --a-primary: #22405F; --a-accent: #3A6591;
  --a-room: #E7ECF0; --a-sofa: #A9B8C6; --a-sofa-2: #C3CFDA; --a-wood: #D2BC98;
  --a-head: "Jost", "Futura", var(--font); --a-r: 0px;
}
.al--nordic :is(.al__search, .al__cart, .al__btn, .al__add, .al__badge) { border-radius: 0; }
.al__announce { background: var(--a-primary); color: #fff; text-align: center; padding: calc(6 * var(--u)); font-size: calc(9 * var(--u)); }
.al__header { display: flex; align-items: center; gap: calc(14 * var(--u)); padding: calc(10 * var(--u)) calc(16 * var(--u)); }
.al__logo { font-family: var(--a-head); font-weight: 700; font-size: calc(14 * var(--u)); letter-spacing: -0.02em; }
.al__search { flex: 1; height: calc(22 * var(--u)); border-radius: calc(999 * var(--u)); background: var(--a-surface); box-shadow: inset 0 0 0 calc(1 * var(--u)) var(--a-line); }
.al__cart { width: calc(34 * var(--u)); height: calc(22 * var(--u)); border-radius: calc(999 * var(--u)); background: var(--a-primary); }
.al__nav { display: flex; gap: calc(14 * var(--u)); padding: 0 calc(16 * var(--u)) calc(10 * var(--u)); font-size: calc(9.5 * var(--u)); color: var(--a-text-2); }
.al__nav span:last-child { color: var(--a-accent); }
.al__hero { position: relative; margin: 0 calc(12 * var(--u)); border-radius: var(--a-r); background: var(--a-room); aspect-ratio: 16 / 7.6; overflow: hidden; }
.al__sofa { position: absolute; left: 12%; bottom: 14%; width: 44%; height: 25%; border-radius: var(--a-r); background: var(--a-sofa); }
.al__sofa::before { content: ""; position: absolute; left: 5%; right: 5%; top: -46%; height: 56%; border-radius: var(--a-r); background: var(--a-sofa-2); }
.al__table { position: absolute; left: 30%; bottom: 7%; width: 18%; height: 7%; border-radius: calc(4 * var(--u)); background: var(--a-wood); }
.al__lamp { position: absolute; left: 53%; top: 16%; width: 6%; aspect-ratio: 1; border-radius: 50%; background: var(--a-accent); }
.al__lamp::after { content: ""; position: absolute; left: 46%; top: 100%; width: 8%; height: 400%; background: #9C9C95; }
.al__card { position: absolute; left: 4%; bottom: 8%; background: var(--a-surface); border-radius: var(--a-r); padding: calc(10 * var(--u)) calc(12 * var(--u)); width: 34%; }
.al__card small { color: var(--a-accent); font-size: calc(7.5 * var(--u)); font-weight: 700; }
.al__card b { display: block; font-family: var(--a-head); font-size: calc(15 * var(--u)); line-height: 1.08; letter-spacing: -0.02em; margin: calc(3 * var(--u)) 0 calc(7 * var(--u)); }
.al__btn { display: inline-block; background: var(--a-primary); color: #fff; border-radius: calc(999 * var(--u)); padding: calc(4 * var(--u)) calc(9 * var(--u)); font-size: calc(8 * var(--u)); }
.al__list { position: absolute; right: 4%; top: 9%; width: 30%; background: var(--a-surface); border-radius: var(--a-r); padding: calc(8 * var(--u)); display: grid; gap: calc(5 * var(--u)); }
.al__list b { font-size: calc(8.5 * var(--u)); }
.al__row { display: flex; align-items: center; gap: calc(6 * var(--u)); font-size: calc(7.5 * var(--u)); }
.al__row i { width: calc(16 * var(--u)); height: calc(16 * var(--u)); border-radius: calc(4 * var(--u)); background: var(--a-muted); flex: none; }
.al__row em { margin-left: auto; width: calc(12 * var(--u)); height: calc(12 * var(--u)); border-radius: 50%; box-shadow: inset 0 0 0 calc(1 * var(--u)) var(--a-line); }
.al__add { margin-top: calc(2 * var(--u)); text-align: center; background: var(--a-accent); color: #fff; border-radius: calc(999 * var(--u)); padding: calc(4 * var(--u)); font-size: calc(7.5 * var(--u)); font-weight: 700; }
.al__pin { position: absolute; width: calc(16 * var(--u)); height: calc(16 * var(--u)); border-radius: 50%; background: #fff; display: grid; place-items: center; font-size: calc(8 * var(--u)); font-weight: 700; box-shadow: 0 0 0 calc(4 * var(--u)) rgb(255 255 255 / 0.35); }
.al__products { display: grid; grid-template-columns: repeat(4, 1fr); gap: calc(8 * var(--u)); padding: calc(12 * var(--u)); }
.al__product { background: var(--a-surface); border-radius: calc(var(--a-r) - calc(4 * var(--u))); padding: calc(6 * var(--u)); }
.al__product i { display: block; aspect-ratio: 1; border-radius: calc(var(--a-r) - calc(6 * var(--u))); background: var(--a-muted); margin-bottom: calc(5 * var(--u)); }
.al--warm .al__product i { aspect-ratio: 4 / 5; }
.al__product b { display: block; font-size: calc(7.5 * var(--u)); }
.al__product span { font-size: calc(7 * var(--u)); color: var(--a-text-2); }
.al__badge { display: inline-block; font-size: calc(6 * var(--u)); background: var(--a-surface); border-radius: calc(999 * var(--u)); padding: calc(1 * var(--u)) calc(5 * var(--u)); margin-bottom: calc(3 * var(--u)); box-shadow: inset 0 0 0 calc(1 * var(--u)) var(--a-line); }

/* Mobile storefront */
.alm { --u: 0.46cqw; font-size: calc(9 * var(--u)); }
.alm .al__hero { margin: 0 calc(8 * var(--u)); aspect-ratio: 4 / 4.6; }
.alm .al__card { left: 6%; right: 6%; width: auto; top: 6%; bottom: auto; }
.alm .al__card b { font-size: calc(14 * var(--u)); }
.alm .al__sofa { left: 10%; width: 70%; bottom: 12%; height: 18%; }
.alm .al__lamp { left: 74%; top: 56%; width: 11%; }
.alm .al__lamp::after { height: 220%; }
.alm .al__table { left: 34%; bottom: 5%; width: 28%; }
.alm .al__header { padding: calc(9 * var(--u)) calc(12 * var(--u)); }
.alm .al__products { grid-template-columns: 1fr 1fr; padding: calc(10 * var(--u)) calc(8 * var(--u)); }
.alm .al__products .al__product:nth-child(n+3) { display: none; }

/* ---------- Alcove page ---------- */
.theme-hero { padding: clamp(48px, 7vw, 88px) 0 0; }
.theme-hero__head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: end; }
.theme-hero__title { display: flex; align-items: center; gap: 18px; margin-bottom: 14px; }
.theme-hero__icon { width: 64px; height: 64px; border-radius: 16px; background: #23362B; display: grid; place-items: center; box-shadow: var(--shadow); flex: none; }
.theme-hero h1 { font-size: clamp(48px, 7vw, 76px); }
.theme-hero .lead { max-width: 600px; margin: 0; }
.theme-hero__meta { display: grid; gap: 12px; justify-items: end; }
.theme-stage { position: relative; margin-top: 44px; padding: clamp(28px, 5vw, 56px) clamp(16px, 5vw, 56px) 0; border-radius: 24px 24px 0 0; background: linear-gradient(180deg, #E3E9E4, #EEF1EE); overflow: hidden; }
.theme-stage .browser { border-radius: 14px 14px 0 0; border-bottom: 0; }
.theme-stage .phone { position: absolute; right: clamp(16px, 6vw, 72px); bottom: -40px; width: clamp(150px, 19vw, 220px); }

.subnav { position: sticky; top: 64px; z-index: 40; background: rgb(255 255 255 / 0.88); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.subnav__inner { display: flex; align-items: center; gap: 6px; height: 54px; overflow-x: auto; scrollbar-width: none; }
.subnav__inner::-webkit-scrollbar { display: none; }
.subnav a { color: var(--text-2); text-decoration: none; font-size: 14px; font-weight: 500; padding: 6px 12px; border-radius: 8px; white-space: nowrap; }
.subnav a:hover { color: var(--text); background: var(--bg); }
.subnav__cta { margin-left: auto; }
.subnav .button { height: 36px; font-size: 14px; padding: 0 14px; }

.presets { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.preset-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); }
.preset-card__visual { padding: 28px 28px 0; background: var(--pv-bg, #EEF1EE); height: clamp(220px, 26vw, 320px); overflow: hidden; }
.preset-card__visual .browser { border-radius: 10px 10px 0 0; border-bottom: 0; box-shadow: var(--shadow); }
.preset-card__body { padding: 20px 24px 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.preset-card__body p { margin: 2px 0 0; color: var(--text-3); font-size: 14.5px; }
.swatches { display: flex; }
.swatches span { width: 22px; height: 22px; border-radius: 50%; border: 2px solid #fff; margin-left: -6px; box-shadow: 0 0 0 1px var(--line); }

.highlights { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: var(--surface); }
.highlight { padding: 24px; border-right: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); }
.highlight:nth-child(4n) { border-right: 0; }
.highlight:nth-last-child(-n+4) { border-bottom: 0; }
.highlight h3 { font-size: 15.5px; margin: 14px 0 4px; }
.highlight p { margin: 0; color: var(--text-2); font-size: 14px; line-height: 1.55; }
.highlight .icon-tile { width: 36px; height: 36px; border-radius: 9px; }
.highlight .icon-tile svg { width: 18px; height: 18px; }

.feature-row { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.feature-row + .feature-row { margin-top: clamp(64px, 9vw, 112px); }
.feature-row--flip { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); }
.feature-row--flip > :first-child { order: 2; }
.feature-row h2 { margin: 14px 0 14px; }
.feature-row .lead { margin-bottom: 8px; }
.kicker { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--accent-text); }
.demo-panel { container-type: inline-size; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(18px, 3vw, 28px); box-shadow: var(--shadow); }
.demo-panel--tint { background: linear-gradient(160deg, #EEF1EE, #F7F8F6); }

.specs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; }
.spec { display: flex; justify-content: space-between; gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.spec span:first-child { color: var(--text-3); }
.spec span:last-child { text-align: right; font-weight: 500; }

.industries { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.industries span { padding: 8px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: 14.5px; color: var(--text-2); }

.faq { max-width: 760px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; padding: 20px 0; font-weight: 600; font-size: 16.5px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 10px; height: 10px; margin-top: 6px; border-right: 2px solid var(--text-3); border-bottom: 2px solid var(--text-3); transform: rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(225deg); margin-top: 10px; }
.faq details p { margin: 0 0 20px; color: var(--text-2); }

/* Contact */
.contact { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: clamp(32px, 6vw, 72px); align-items: start; }
.contact h1 { font-size: clamp(40px, 5vw, 56px); margin: 18px 0 16px; }
.info-card { display: flex; gap: 14px; align-items: flex-start; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; margin-top: 14px; box-shadow: var(--shadow-sm); }
.info-card h3 { font-size: 15.5px; }
.info-card p { margin: 2px 0 0; color: var(--text-2); font-size: 15px; }
.email-line { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 4px; }
.email-line a { font-weight: 600; color: var(--text); text-decoration: none; font-size: 17px; }
.chip-button { border: 1px solid var(--line); background: var(--bg); border-radius: 8px; padding: 4px 10px; font: inherit; font-size: 13.5px; color: var(--text-2); cursor: pointer; }
.chip-button:hover { border-color: #CBD0D8; color: var(--text); }
.form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 36px); box-shadow: var(--shadow); }
.form h2 { font-size: 24px; letter-spacing: -0.02em; margin-bottom: 6px; }
.form__intro { color: var(--text-3); font-size: 15px; margin-bottom: 24px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: start; }
.field { display: grid; gap: 6px; margin-bottom: 16px; }
.field label { font-size: 14px; font-weight: 600; }
.field input, .field select, .field textarea {
  font: inherit; font-size: 15px; color: var(--text); background: var(--surface); border: 1px solid var(--line);
  border-radius: 10px; padding: 10px 12px; width: 100%; box-shadow: var(--shadow-sm);
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:not([type="file"]), .field select { min-height: 46px; }
.field select {
  -webkit-appearance: none; appearance: none; cursor: pointer; padding-right: 42px; line-height: 1.4;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23667085' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; background-size: 12px 8px;
}
.field select::-ms-expand { display: none; }
/* Custom dropdown (site.js): same box as the inputs, with our own option list. */
.select { position: relative; }
.select__button {
  display: flex; align-items: center; width: 100%; min-height: 46px; padding: 10px 42px 10px 12px;
  font: inherit; font-size: 15px; line-height: 1.4; text-align: left; color: var(--text); cursor: pointer;
  background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23667085' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 16px center / 12px 8px;
  border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow-sm);
}
.select__button:focus-visible, .select__button[aria-expanded="true"] { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px #DDE0FA; }
.select__list {
  position: absolute; z-index: 20; inset-inline: 0; top: calc(100% + 6px); max-height: 260px; overflow-y: auto;
  margin: 0; padding: 6px; list-style: none; background: var(--surface);
  border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-lg);
}
.select__option {
  position: relative; padding: 9px 36px 9px 10px; border-radius: 8px; font-size: 15px; line-height: 1.4;
  color: var(--text); cursor: pointer;
}
.select__option.is-active { background: var(--accent-soft); color: var(--accent-text); }
.select__option[aria-selected="true"] { font-weight: 600; }
.select__option[aria-selected="true"]::after {
  content: ""; position: absolute; right: 12px; top: 50%; width: 12px; height: 7px; margin-top: -5px;
  border: solid currentColor; border-width: 0 0 2px 2px; transform: rotate(-45deg);
}
@media (forced-colors: active) {
  .select__button { background-image: none; }
  .select__option.is-active { outline: 2px solid Highlight; }
}
@media (forced-colors: active) { .field select { -webkit-appearance: auto; appearance: auto; background-image: none; padding-right: 12px; } }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px #DDE0FA; }
.field__optional { font-weight: 400; color: var(--text-3); }
.field__hint { color: var(--text-3); font-size: 13px; margin: 0; }
.field input[type="file"] { padding: 8px; font-size: 14px; }
.field input[type="file"]::file-selector-button { font: inherit; font-weight: 600; margin-right: 12px; padding: 6px 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--bg, #F6F7F9); color: var(--text); cursor: pointer; }
.field [aria-invalid="true"] { border-color: #B3261E; }
.form__error { color: #B3261E; font-size: 14px; margin: 0 0 12px; }
.form__error:empty { display: none; }
.form__note { font-size: 13.5px; color: var(--text-3); margin: 12px 0 0; text-align: center; }

/* Responsive */
@media (max-width: 1024px) {
  .highlights { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .highlight:nth-child(4n) { border-right: 1px solid var(--line-2); }
  .highlight:nth-child(2n) { border-right: 0; }
  .highlight:nth-last-child(-n+4) { border-bottom: 1px solid var(--line-2); }
  .highlight:nth-last-child(-n+2) { border-bottom: 0; }
  .cards--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .theme-card, .feature-row, .feature-row--flip, .contact, .theme-hero__head { grid-template-columns: 1fr; }
  .feature-row--flip > :first-child { order: 0; }
  .theme-hero__meta { justify-items: start; }
  .cards, .steps, .presets { grid-template-columns: 1fr; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line-2); }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
  .site-footer__grid > :first-child { grid-column: 1 / -1; }
  .specs { grid-template-columns: 1fr; }
  .theme-stage .phone { display: none; }
}
@media (max-width: 640px) {
  .site-header__actions { display: none; }
  .nav { margin-left: auto; }
  .nav a { padding: 6px 10px; }
  .cards--4, .highlights { grid-template-columns: 1fr; }
  .highlight { border-right: 0 !important; border-bottom: 1px solid var(--line-2) !important; }
  .highlight:last-child { border-bottom: 0 !important; }
  .field-row { grid-template-columns: 1fr; }
  .al__products { grid-template-columns: repeat(2, 1fr); }
  .al__products .al__product:nth-child(n+3) { display: none; }
  .al__list { display: none; }
  .al__card { width: 50%; }
  .al__hero { aspect-ratio: 4 / 3.2; }
  .theme-card__visual { padding: 24px 0 0 24px; }
}

/* Buttons inside the sub navigation keep their own colors */
.subnav a.button--primary, .subnav a.button--primary:hover { color: #fff; background: linear-gradient(var(--accent-top), var(--accent-bottom)); }

/* Phones see the phone mockup instead of the desktop one */
.hero__phone { display: none; }
@media (max-width: 640px) {
  .hero__visual { max-height: 520px; }
  .hero__visual > .browser { display: none; }
  .hero__phone { display: flex; justify-content: center; padding-bottom: 8px; }
  .hero__phone .phone { width: 240px; box-shadow: 0 20px 40px -20px rgb(15 23 42 / 0.4); }
  .theme-stage { padding-top: 28px; }
  .theme-stage > .browser { display: none; }
  .theme-stage .phone { display: block; position: static; width: 240px; margin: 0 auto -48px; }
}
.info-card .icon-tile { flex: none; }
.nowrap { white-space: nowrap; }
@media (max-width: 380px) {
  .site-header__inner { gap: 12px; }
  .nav { gap: 0; }
  .nav a { padding: 6px 8px; font-size: 14px; }
  .site-footer__grid { grid-template-columns: 1fr; }
}

/* ---------- Photos from the demo stores ---------- */
/* Room photo with product pins, drawn like the theme's own hotspots. */
.room-shot { position: relative; overflow: hidden; border-radius: 18px; background: #E4E2DB; aspect-ratio: var(--shot-ratio, 16 / 10); }
.room-shot > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--shot-focus, 50% 50%); }
.room-shot__pin {
  position: absolute; left: var(--x); top: var(--y); translate: -50% -50%;
  display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px 0 4px;
  border-radius: 999px; background: #fff; color: #1D211E; font-size: 14px; font-weight: 700; white-space: nowrap;
  box-shadow: 0 6px 18px -6px rgb(15 23 42 / 0.35);
}
.room-shot__pin::before {
  content: ""; width: 30px; height: 30px; border-radius: 50%; flex: none;
  background: var(--pin, #23362B) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 6v12M6 12h12' stroke='%23fff' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E") center / 16px no-repeat;
}
.room-figure { position: relative; margin: 0; }
.room-shot__card {
  position: absolute; right: 16px; bottom: 16px; z-index: 2; width: min(280px, 40%); padding: 16px; border-radius: 14px;
  background: rgb(255 255 255 / 0.96); box-shadow: var(--shadow-lg); font-size: 14px; color: #1D211E;
}
.room-shot__card b { display: block; margin-bottom: 10px; font-size: 15px; }
.room-shot__card ul { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 8px; }
.room-shot__card li { display: flex; align-items: center; gap: 10px; }
.room-shot__card li img { width: 40px; height: 50px; border-radius: 8px; object-fit: cover; background: #F1F0EC; flex: none; }
.room-shot__card li span { display: grid; line-height: 1.3; }
.room-shot__card li small { color: #5F625C; }
.room-shot__card--top { top: 16px; bottom: auto; }
.room-shot__card--left { left: 16px; right: auto; }
.room-shot__add { display: block; padding: 10px; border-radius: 999px; background: var(--pin, #23362B); color: #fff; font-weight: 700; font-size: 13px; text-align: center; }
@media (max-width: 760px) {
  .room-shot__card { position: static; width: auto; margin-top: 12px; box-shadow: var(--shadow); }
  .room-shot__pin { height: 30px; font-size: 12.5px; gap: 6px; padding-right: 10px; }
  .room-shot__pin::before { width: 22px; height: 22px; background-size: 12px; }
}

.theme-stage--photo { padding-bottom: clamp(28px, 5vw, 56px); border-radius: 24px; }
.theme-stage--photo .room-shot { box-shadow: var(--shadow-lg); }

/* Preset cards with the demo store's own room photo */
.preset-card__photo { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--pv-bg, #EEF1EE); }
.preset-card__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.preset-card:hover .preset-card__photo img { transform: scale(1.03); }
@media (prefers-reduced-motion: reduce) { .preset-card__photo img { transition: none; } .preset-card:hover .preset-card__photo img { transform: none; } }
.preset-card__body--stack { display: grid; gap: 14px; align-items: start; }
.preset-card__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.preset-card__link { font-weight: 600; font-size: 14.5px; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.preset-card__link svg { width: 14px; height: 14px; }
.demo-note { margin: 24px auto 0; max-width: 640px; text-align: center; color: var(--text-3); font-size: 14.5px; }
.demo-note code, .faq code { font: 600 14px/1 ui-monospace, SFMono-Regular, Menlo, monospace; padding: 3px 7px; border-radius: 6px; background: var(--surface); border: 1px solid var(--line); color: var(--text); }

/* Product thumbnails inside demo panels */
.thumb { width: 38px; height: 48px; border-radius: 8px; object-fit: cover; background: #F1F0EC; flex: none; }

/* Everything included: grouped checklists */
.included { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.included__group { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow-sm); }
.included__group h3 { display: flex; align-items: center; gap: 10px; font-size: 16px; margin-bottom: 14px; }
.included__group h3 .icon-tile { width: 32px; height: 32px; border-radius: 8px; }
.included__group h3 .icon-tile svg { width: 16px; height: 16px; }
.included__group ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.included__group li { position: relative; padding-left: 22px; font-size: 14.5px; line-height: 1.5; color: var(--text-2); }
.included__group li::before {
  content: ""; position: absolute; left: 2px; top: 7px; width: 10px; height: 6px;
  border: solid var(--accent); border-width: 0 0 2px 2px; transform: rotate(-45deg);
}
.included__group li b { color: var(--text); font-weight: 600; }
.tag--new { background: var(--accent-soft); border-color: #D9DCFB; color: var(--accent-text); font-size: 11.5px; padding: 1px 7px; margin-left: 4px; vertical-align: 1px; }
@media (max-width: 1024px) { .included { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .included { grid-template-columns: 1fr; } }

/* FAQ page */
.faq-hero { padding-top: clamp(48px, 7vw, 88px); padding-bottom: clamp(32px, 5vw, 56px); }
.faq-group__title { max-width: 760px; margin: 0 auto 8px; font-size: clamp(22px, 2.4vw, 28px); }
.faq-group { scroll-margin-top: 130px; padding: clamp(40px, 5vw, 64px) 0; }

/* Home hero: the three presets */
.hero-trio { display: grid; grid-template-columns: 1fr 1.25fr 1fr; align-items: center; gap: clamp(12px, 2vw, 24px); margin-top: clamp(44px, 6vw, 64px); padding-bottom: clamp(48px, 7vw, 80px); text-align: left; }
.hero-trio__item { position: relative; display: block; margin: 0; border-radius: 18px; overflow: hidden; box-shadow: var(--shadow-lg); }
.hero-trio__item--side { aspect-ratio: 3 / 4; }
.hero-trio__item--side img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.hero-trio__item--side:hover img { transform: scale(1.03); }
.hero-trio__item--main { overflow: visible; box-shadow: none; }
.hero-trio__item--main .room-shot { box-shadow: var(--shadow-lg); }
.hero-trio__label {
  position: absolute; left: 14px; top: 14px; z-index: 2; padding: 5px 12px; border-radius: 999px;
  background: rgb(255 255 255 / 0.94); color: var(--text); font-size: 13px; font-weight: 600; box-shadow: var(--shadow-sm);
}
@media (prefers-reduced-motion: reduce) { .hero-trio__item--side img { transition: none; } .hero-trio__item--side:hover img { transform: none; } }
@media (max-width: 760px) {
  .hero-trio { grid-template-columns: 1fr 1fr; }
  .hero-trio__item--main { grid-column: 1 / -1; order: -1; }
  .hero-trio__item--side { aspect-ratio: 4 / 3; }
}

/* Home theme card with a real room photo */
.theme-card__visual--photo { position: relative; padding: 0; display: block; min-height: 340px; }
.theme-card__visual--photo > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.theme-card__room {
  position: absolute; left: 20px; bottom: 20px; display: grid; gap: 8px; padding: 14px; width: min(250px, 70%);
  border-radius: 14px; background: rgb(255 255 255 / 0.95); box-shadow: var(--shadow-lg); color: #1D211E; font-size: 13.5px;
}
.theme-card__room b { font-size: 14px; }
.theme-card__room > span { display: flex; align-items: center; gap: 10px; }
.theme-card__room > span img { width: 34px; height: 42px; border-radius: 7px; object-fit: cover; background: #F1F0EC; }
.theme-card__room em { margin-left: auto; font-style: normal; color: #5F625C; }

/* Preset cards: the demo store's home page on desktop, with the phone view in front */
.preset-card__shots { position: relative; aspect-ratio: 4 / 3.3; padding: 22px 22px 0; overflow: hidden; }
.preset-card__shots img { transition: transform .5s ease; }
.preset-card__shots .preset-card__desktop { width: 86%; height: auto; border-radius: 10px 10px 0 0; box-shadow: var(--shadow); object-fit: initial; }
.preset-card__shots .preset-card__mobile {
  position: absolute; right: 16px; bottom: -40px; width: 27%; height: auto; border-radius: 14px;
  border: 4px solid #0F172A; box-shadow: var(--shadow-lg); background: #0F172A;
}
.preset-card:hover .preset-card__shots img { transform: translateY(-4px); }
@media (prefers-reduced-motion: reduce) { .preset-card:hover .preset-card__shots img { transform: none; } }

/* About page */
.about-hero { padding-top: clamp(48px, 7vw, 88px); }
.about-hero__inner { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(28px, 5vw, 56px); align-items: center; max-width: 960px; }
.about-hero__avatar { width: clamp(120px, 16vw, 180px); height: auto; filter: drop-shadow(0 18px 30px rgb(68 80 200 / 0.28)); }
.about-hero h1 { margin: 16px 0 14px; font-size: clamp(36px, 5vw, 56px); }
.about-hero .lead { max-width: 38em; }
.about-story { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(28px, 6vw, 80px); align-items: start; }
.about-story h2 { margin-top: 12px; }
.about-story__text p { color: var(--text-2); max-width: 40em; }
.about-story__text .lead { color: var(--text); }
.about-support { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 24px; align-items: start; max-width: 860px; }
.about-support h2 { margin-bottom: 12px; font-size: clamp(26px, 3vw, 34px); }
@media (max-width: 900px) { .about-story { grid-template-columns: 1fr; } }
@media (max-width: 640px) {
  .about-hero__inner, .about-support { grid-template-columns: 1fr; }
}

/* Phones: five header links fit when the logo shows only its mark (the name stays in the link for screen readers). */
.logo svg { flex: none; }
@media (max-width: 640px) {
  .site-header__inner { gap: 8px; }
  .logo { font-size: 0; gap: 0; }
  .nav { gap: 0; }
  .nav a { padding: 6px 8px; font-size: 14px; }
}
@media (max-width: 360px) {
  .nav a { padding: 6px 6px; font-size: 13.5px; }
}

/* Header: Alcove dropdown */
.nav { align-items: center; }
.nav__group { position: relative; }
.nav__toggle {
  display: inline-flex; align-items: center; gap: 4px; padding: 6px 10px 6px 12px; border: 0; border-radius: 8px; background: none;
  font: inherit; font-size: 14.5px; font-weight: 500; color: var(--text-2); cursor: pointer; -webkit-tap-highlight-color: transparent;
}
.nav__toggle:hover, .nav__toggle.is-current, .nav__toggle[aria-expanded="true"] { color: var(--text); background: var(--bg); }
.nav__chevron { flex: none; width: 12px; height: 12px; transition: transform .2s; }
.nav__toggle[aria-expanded="true"] .nav__chevron { transform: rotate(180deg); }
.nav__menu {
  display: none; position: absolute; left: 0; top: calc(100% + 8px); z-index: 60; width: 270px; margin: 0; padding: 8px; list-style: none;
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg);
}
/* A gap-bridging strip so the pointer can travel from the button to the menu. */
.nav__menu::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
.nav__group.is-open .nav__menu { display: block; }
html:not(.js) .nav__group:focus-within .nav__menu { display: block; }
.nav__menu a { display: grid; gap: 1px; padding: 10px 12px; border-radius: 10px; }
.nav__menu a b { font-size: 14.5px; font-weight: 600; color: var(--text); }
.nav__menu a small { font-size: 13px; color: var(--text-3); font-weight: 400; }
.nav__menu a:hover, .nav__menu a[aria-current="page"] { background: var(--bg); }
@media (prefers-reduced-motion: reduce) { .nav__chevron { transition: none; } }
@media (max-width: 640px) {
  .nav__toggle { padding: 6px 6px 6px 8px; font-size: 14px; }
  /* Phones: the menu spans the screen under the header. */
  .nav__menu { position: fixed; left: 16px; right: 16px; top: 60px; width: auto; }
  .nav__menu::before { display: none; }
}

/* Sections gallery */
.sec-hero { padding-bottom: 40px; }
.sec-filter { position: sticky; top: 64px; z-index: 40; background: rgb(255 255 255 / 0.9); backdrop-filter: blur(12px); border-block: 1px solid var(--line); }
.sec-filter__inner { display: flex; align-items: center; gap: 16px; min-height: 58px; }
.sec-filter__buttons { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-block: 10px; flex: 1; }
.sec-filter__buttons::-webkit-scrollbar { display: none; }
.chip { flex: none; height: 34px; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--text-2); font: inherit; font-size: 14px; font-weight: 500; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.chip:hover { color: var(--text); border-color: #CBD0D8; }
.chip[aria-pressed="true"] { background: var(--text); border-color: var(--text); color: #fff; }
.chip:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.sec-filter__count { flex: none; margin: 0; font-size: 14px; color: var(--text-3); }
.sec-list { padding-top: 48px; scroll-margin-top: 90px; }
.sec-group { scroll-margin-top: 140px; }
.sec-group + .sec-group { margin-top: 48px; }
.sec-group[hidden] { display: none; }
.sec-group__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 24px; }
.sec-group__head h2 { margin: 0 0 6px; font-size: 26px; }
.sec-group__head p { margin: 0; color: var(--text-2); max-width: 46em; }
.sec-group__doc { flex: none; font-size: 14px; font-weight: 600; white-space: nowrap; }
.sec-grid { columns: 2 440px; column-gap: 24px; }
.sec-card { break-inside: avoid; margin: 0 0 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); }
.sec-card__shot { background: var(--line-2); border-bottom: 1px solid var(--line); }
.sec-card__shot img { display: block; width: 100%; height: auto; }
.sec-card--phone .sec-card__shot { padding: 24px; }
.sec-card--phone .sec-card__shot img { width: auto; max-width: 100%; max-height: 520px; margin-inline: auto; border-radius: 22px; box-shadow: var(--shadow); }
.sec-card figcaption { display: grid; gap: 3px; padding: 14px 18px 16px; font-size: 14px; color: var(--text-2); }
.sec-card figcaption b { color: var(--text); font-size: 15px; font-weight: 600; }
.sec-card__preset { justify-self: start; display: inline-flex; align-items: center; gap: 6px; margin-bottom: 4px; font-size: 12px; font-weight: 600; color: var(--text-3); }
.sec-card__preset::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--dot, var(--text-3)); }
.sec-card__preset--alcove { --dot: #23362B; }
.sec-card__preset--warm { --dot: #A85C34; }
.sec-card__preset--nordic { --dot: #22405F; }
.sec-cta { text-align: center; max-width: 640px; }
.sec-cta h2 { margin-bottom: 10px; }
.sec-cta p { color: var(--text-2); margin: 0 0 24px; }
.sec-cta__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
@media (max-width: 640px) {
  .sec-filter__count { display: none; }
  .sec-group__head { flex-direction: column; align-items: flex-start; gap: 10px; }
  .sec-group + .sec-group { margin-top: 36px; }
}
.sec-also__title { margin: 8px 0 16px; font-size: 18px; }
.sec-also__note { margin: 0 0 20px; color: var(--text-2); font-size: 15px; max-width: 46em; }
.sec-card--also { border-style: dashed; border-color: #C9CEE0; }
.sec-card__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 4px; }
.sec-card__meta .sec-card__preset { margin-bottom: 0; }
.tag--also { font-size: 12px; font-weight: 600; padding: 2px 8px; background: var(--accent-soft); border-color: #D9DCFA; color: var(--accent-text); }
