/* Hemstig site — mobile-first, matches the app palette (cream, ink, orange) */
:root {
  --bg: #F6F3EC;
  --bg2: #EEE8DB;
  --card: #FFFFFF;
  --ink: #2B261E;
  --ink2: #5B5447;
  --muted: #7C7464;
  --line: rgba(43, 38, 30, .12);
  --accent: #F15A24;
  --accent-hover: #D94A17;
  --accent-soft: #FDE5D9;
  --accent-on: #FFFFFF;
  --shadow: 0 1px 2px rgba(43, 38, 30, .06), 0 8px 28px rgba(43, 38, 30, .08);
  --radius: 22px;
  --maxw: 1160px;
  --gutter: clamp(20px, 5vw, 48px);
  --sans: 'Commissioner', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #17140F;
    --bg2: #1F1B15;
    --card: #26211A;
    --ink: #F4EFE5;
    --ink2: #C9C1B1;
    --muted: #9A9281;
    --line: rgba(244, 239, 229, .12);
    --accent: #F15A24;
    --accent-hover: #FF7440;
    --accent-soft: rgba(241, 90, 36, .16);
    --accent-on: #1B140E;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 28px rgba(0, 0, 0, .35);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: 10px; z-index: 999; }
.skip:focus { left: 8px; }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(64px, 9vw, 120px); }
.eyebrow {
  display: inline-block;
  font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.h2 {
  font-size: clamp(30px, 5vw, 52px);
  line-height: 1.08; font-weight: 800; letter-spacing: -.025em;
  text-wrap: balance;
}
.lead { font-size: clamp(17px, 2vw, 20px); color: var(--ink2); max-width: 60ch; margin-top: 16px; text-wrap: pretty; }
.sec-head { margin-bottom: clamp(32px, 5vw, 56px); }

/* ───────── Header ───────── */
.hdr {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--line);
}
.hdr-in { display: flex; align-items: center; gap: 12px; height: 64px; }
.logo { display: flex; align-items: center; margin-right: auto; }
.logo img { height: 26px; width: auto; }
.nav { display: none; gap: 28px; }
.nav a { text-decoration: none; font-weight: 600; font-size: 15px; color: var(--ink2); padding: 8px 2px; }
.nav a:hover { color: var(--accent); }

details.dd { position: relative; }
details.dd > summary {
  list-style: none; cursor: pointer; user-select: none;
  display: flex; align-items: center; gap: 6px;
  height: 44px; padding: 0 14px;
  border: 1px solid var(--line); border-radius: 12px;
  font-weight: 700; font-size: 14px; background: var(--card);
}
details.dd > summary::-webkit-details-marker { display: none; }
details.dd > summary svg { width: 14px; height: 14px; opacity: .6; transition: transform .2s; }
details.dd[open] > summary svg { transform: rotate(180deg); }
.dd-panel {
  position: absolute; right: 0; top: calc(100% + 8px); z-index: 120;
  min-width: 190px; padding: 6px;
  background: var(--card); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow);
}
.dd-panel a { display: flex; justify-content: space-between; align-items: center; padding: 11px 14px; border-radius: 10px; text-decoration: none; font-weight: 600; font-size: 15px; }
.dd-panel a:hover { background: var(--bg2); }
.dd-panel a[aria-current="true"] { color: var(--accent); }
.menu-btn svg { width: 20px; height: 20px; }
.menu-panel a { font-size: 17px; padding: 14px 16px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 20px; border-radius: 12px;
  background: var(--accent); color: var(--accent-on);
  font-weight: 700; font-size: 15px; text-decoration: none; border: 0; cursor: pointer;
  transition: background .15s, transform .15s;
}
.btn:hover { background: var(--accent-hover); }
.btn:active { transform: translateY(1px); }
.btn-ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--line); }
.btn-ghost:hover { background: var(--bg2); border-color: var(--ink2); }
.btn-lg { height: 54px; padding: 0 26px; font-size: 16px; border-radius: 14px; }
.hdr .btn { display: none; }

@media (min-width: 920px) {
  .nav { display: flex; }
  .hdr .btn { display: inline-flex; }
  .menu { display: none; }
}

/* ───────── Hero ───────── */
.hero { padding-block: clamp(36px, 7vw, 88px) clamp(40px, 6vw, 72px); position: relative; overflow: hidden; }
.hero::before {
  content: ''; position: absolute; z-index: -1; right: -12%; top: -10%;
  width: min(900px, 90vw); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(closest-side, var(--accent-soft), transparent 70%);
}
.hero-grid { display: grid; gap: 40px; align-items: center; }
.hero h1 {
  font-size: clamp(40px, 8.4vw, 82px);
  line-height: 1.02; font-weight: 900; letter-spacing: -.035em;
  text-wrap: balance;
}
.hero h1 em { font-style: normal; color: var(--accent); }
.hero .lead { margin-top: 22px; font-size: clamp(17px, 2.2vw, 21px); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; align-items: center; }
.badges { display: flex; flex-wrap: wrap; gap: 12px; }
.badge {
  display: inline-flex; align-items: center; gap: 12px;
  background: #1E1A14; color: #fff;
  padding: 9px 20px 9px 14px; border-radius: 14px; min-height: 56px;
  border: 1px solid rgba(255, 255, 255, .14);
}
.badge svg { width: 28px; height: 28px; flex: none; }
.badge small { display: block; font-size: 11px; font-weight: 600; opacity: .72; line-height: 1.1; letter-spacing: .02em; }
.badge strong { display: block; font-size: 18px; font-weight: 700; line-height: 1.2; letter-spacing: -.01em; }
a.badge { text-decoration: none; transition: transform .15s ease, border-color .15s ease; }
a.badge:hover { transform: translateY(-2px); border-color: var(--accent); }
a.badge:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
@media (prefers-color-scheme: dark) { .badge { background: #2C261D; } }

.hero-visual { position: relative; display: flex; justify-content: center; align-items: flex-start; }
.phone {
  width: min(64vw, 280px);
  padding: 8px; border-radius: 42px;
  background: #1E1A14;
  box-shadow: 0 30px 60px -20px rgba(43, 38, 30, .45), 0 0 0 1px rgba(255, 255, 255, .08) inset;
}
.phone img { width: 100%; height: auto; border-radius: 34px; background: var(--bg2); }
.hero-visual .phone.p-main { position: relative; z-index: 2; }
.hero-visual .phone.p-back {
  position: absolute; z-index: 1; width: min(54vw, 238px);
  left: 50%; top: 36px; margin-left: -150%;
  transform: rotate(-7deg); opacity: .98;
}
.hero-visual .phone.p-back2 {
  position: absolute; z-index: 1; width: min(54vw, 238px);
  left: 50%; top: 50px; margin-left: 32%;
  transform: rotate(6deg);
}
.hero-visual .phone.p-back, .hero-visual .phone.p-back2 { display: none; }

@media (min-width: 640px) {
  .hero-visual .phone.p-back, .hero-visual .phone.p-back2 { display: block; }
  .hero-visual .phone.p-back { margin-left: -112%; }
  .hero-visual .phone.p-back2 { margin-left: 10%; }
}
@media (min-width: 920px) {
  .hero-grid { grid-template-columns: 1.08fr .92fr; gap: 56px; }
  .phone { width: 296px; }
  .hero-visual .phone.p-back, .hero-visual .phone.p-back2 { width: 236px; }
  .hero-visual .phone.p-back { margin-left: -196px; top: 54px; }
  .hero-visual .phone.p-back2 { margin-left: 18px; top: 72px; }
}

/* ───────── Stats ───────── */
.stats { border-block: 1px solid var(--line); background: var(--bg2); }
.stats ul { display: grid; grid-template-columns: repeat(3, 1fr); }
.stats li { padding: 22px 8px; text-align: center; }
.stats li + li { border-left: 1px solid var(--line); }
.stats b { display: block; font-size: clamp(24px, 4.6vw, 44px); font-weight: 900; letter-spacing: -.03em; line-height: 1.1; color: var(--accent); }
.stats span { display: block; margin-top: 4px; font-size: clamp(12px, 1.8vw, 15px); color: var(--ink2); font-weight: 600; line-height: 1.3; }

/* ───────── How ───────── */
.steps { display: grid; gap: 16px; counter-reset: s; }
.step {
  position: relative; background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px 24px 26px;
}
.step::before {
  counter-increment: s; content: counter(s);
  display: grid; place-items: center;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--accent); color: var(--accent-on);
  font-weight: 800; font-size: 18px; margin-bottom: 18px;
}
.step h3 { font-size: 20px; font-weight: 800; letter-spacing: -.01em; line-height: 1.25; }
.step p { margin-top: 8px; color: var(--ink2); font-size: 16px; }
@media (max-width: 639px) {
  .step { display: grid; grid-template-columns: 44px 1fr; column-gap: 16px; padding: 20px; }
  .step::before { grid-row: span 2; margin-bottom: 0; }
  .step p { margin-top: 4px; }
  .feat { padding: 22px 20px; }
  .feat .ic { width: 46px; height: 46px; }
}
@media (min-width: 640px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .steps { grid-template-columns: repeat(4, 1fr); gap: 20px; } }

/* ───────── Features ───────── */
.bento { display: grid; gap: 14px; }
.feat {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px; display: flex; flex-direction: column; gap: 10px;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.feat:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--accent) 40%, var(--line)); }
.feat .ic {
  width: 52px; height: 52px; border-radius: 15px; background: var(--accent-soft); color: var(--accent);
  display: grid; place-items: center; margin-bottom: 6px;
}
.feat .ic svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.feat h3 { font-size: 20px; line-height: 1.25; font-weight: 800; letter-spacing: -.01em; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.feat p { color: var(--ink2); font-size: 16px; }
.tag-prem {
  font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
  color: var(--accent); border: 1.5px solid currentColor; border-radius: 99px; padding: 1px 9px; line-height: 1.6;
}
.feat.hl { background: var(--ink); border-color: transparent; color: var(--bg); }
.feat.hl p { color: color-mix(in srgb, var(--bg) 78%, transparent); }
.feat.hl .ic { background: rgba(255, 255, 255, .12); color: #fff; }
@media (prefers-color-scheme: dark) {
  .feat.hl { background: var(--accent); color: var(--accent-on); }
  .feat.hl p { color: color-mix(in srgb, var(--accent-on) 80%, transparent); }
  .feat.hl .ic { background: rgba(0, 0, 0, .15); color: var(--accent-on); }
}
@media (min-width: 680px) { .bento { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) {
  .bento { grid-template-columns: repeat(6, 1fr); }
  .feat { grid-column: span 2; }
  .feat.w3 { grid-column: span 3; }
  .feat.w4 { grid-column: span 4; }
}

/* ───────── Gallery ───────── */
.gallery { background: var(--bg2); border-block: 1px solid var(--line); overflow: hidden; }
.rail {
  display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 8px var(--gutter) 28px; margin-inline: calc(var(--gutter) * -1);
  scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.rail::-webkit-scrollbar { display: none; }
.shot { flex: none; width: min(68vw, 270px); scroll-snap-align: center; }
.shot .phone { width: 100%; }
.shot p { margin-top: 18px; text-align: center; font-weight: 700; font-size: 16px; line-height: 1.3; text-wrap: balance; padding-inline: 8px; }
@media (min-width: 1100px) {
  .rail { justify-content: center; overflow: visible; margin-inline: 0; padding-inline: 0; }
  .shot { width: 100%; max-width: 270px; }
}

/* ───────── Where (photo band) ───────── */
.where {
  color: #fff; position: relative; isolation: isolate;
  background: #1E1A14 url('/img/rynek.webp') center 35% / cover no-repeat;
}
.where::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(20, 16, 10, .78), rgba(20, 16, 10, .9)); }
.where .eyebrow { color: #FF8A5C; }
.where .lead { color: rgba(255, 255, 255, .82); }
.regions { display: grid; gap: 14px; margin-top: 8px; }
.region {
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-radius: var(--radius); padding: 26px 24px;
}
.region h3 { font-size: 22px; font-weight: 800; letter-spacing: -.01em; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.chip { padding: 7px 14px; border-radius: 99px; background: rgba(255, 255, 255, .14); font-weight: 600; font-size: 15px; }
.chip.more { background: transparent; border: 1px dashed rgba(255, 255, 255, .4); color: rgba(255, 255, 255, .8); }
@media (min-width: 800px) { .regions { grid-template-columns: repeat(3, 1fr); } }

/* ───────── Pricing ───────── */
.price-grid { display: grid; gap: 16px; }
.pcard { background: var(--card); border: 1px solid var(--line); border-radius: 26px; padding: clamp(26px, 4vw, 40px); display: flex; flex-direction: column; }
.pcard h3 { font-size: 26px; font-weight: 900; letter-spacing: -.02em; }
.pcard > p { margin-top: 10px; color: var(--ink2); }
.pcard ul { margin-top: 22px; display: grid; gap: 12px; }
.pcard li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; font-size: 16px; line-height: 1.4; }
.pcard li::before {
  content: ''; flex: none; width: 22px; height: 22px; margin-top: 1px; border-radius: 50%;
  background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F15A24' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.pcard .note { margin-top: auto; padding-top: 22px; color: var(--muted); font-size: 14px; font-weight: 600; }
.pcard.prem { background: var(--ink); color: var(--bg); border-color: transparent; }
.pcard.prem > p, .pcard.prem .note { color: color-mix(in srgb, var(--bg) 70%, transparent); }
@media (prefers-color-scheme: dark) {
  .pcard.prem { background: #2E271D; border-color: color-mix(in srgb, var(--accent) 50%, transparent); color: var(--ink); }
  .pcard.prem > p, .pcard.prem .note { color: var(--ink2); }
}
.tokens { display: flex; gap: 10px; margin-top: 24px; }
.tok { flex: 1; text-align: center; background: var(--bg2); border-radius: 18px; padding: 16px 6px; }
.tok b { display: block; font-size: 38px; line-height: 1; font-weight: 900; color: var(--accent); letter-spacing: -.03em; }
.tok span { display: block; font-size: 12px; font-weight: 700; color: var(--muted); margin-top: 6px; text-transform: uppercase; letter-spacing: .05em; }
@media (min-width: 820px) { .price-grid { grid-template-columns: 1fr 1fr; } }

/* ───────── Blog cards ───────── */
.cards { display: grid; gap: 18px; }
.acard { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; transition: transform .2s, box-shadow .2s; }
.acard:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.acard-img { aspect-ratio: 16 / 10; background: var(--bg2); position: relative; overflow: hidden; }
.acard-img img { width: 100%; height: 100%; object-fit: cover; }
.acard-img.ph { display: grid; place-items: center; background: linear-gradient(135deg, var(--accent-soft), var(--bg2)); }
.acard-img.ph img { width: 54px; height: auto; opacity: .85; }
.acard-body { padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.acard-meta { font-size: 13px; font-weight: 700; color: var(--accent); letter-spacing: .04em; text-transform: uppercase; }
.acard h3 { font-size: 21px; line-height: 1.25; font-weight: 800; letter-spacing: -.015em; text-wrap: balance; }
.acard p { color: var(--ink2); font-size: 15.5px; }
.acard .more { margin-top: auto; padding-top: 6px; font-weight: 700; color: var(--accent); font-size: 15px; }
.sec-row { display: flex; align-items: end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: clamp(28px, 4vw, 48px); }
.sec-row .sec-head { margin: 0; }
@media (min-width: 700px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .cards { grid-template-columns: repeat(3, 1fr); } }

/* ───────── FAQ ───────── */
.faq { max-width: 820px; margin-inline: auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 40px 22px 0; position: relative;
  font-size: 19px; font-weight: 700; line-height: 1.35; letter-spacing: -.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ''; position: absolute; right: 4px; top: 50%; width: 22px; height: 22px; margin-top: -11px;
  background: currentColor; opacity: .55; transition: transform .2s;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") center / contain no-repeat;
}
.faq details[open] summary::after { transform: rotate(180deg); }
.faq .ans { padding: 0 0 24px; color: var(--ink2); max-width: 66ch; }
.faq .ans a { color: var(--accent); }

/* ───────── CTA ───────── */
.cta { text-align: center; }
.cta-box {
  background: var(--ink); color: var(--bg); border-radius: 34px;
  padding: clamp(40px, 7vw, 84px) clamp(22px, 5vw, 60px);
  position: relative; overflow: hidden; isolation: isolate;
}
.cta-box::before {
  content: ''; position: absolute; z-index: -1; right: -80px; bottom: -120px; width: 380px; height: 380px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(241, 90, 36, .55), transparent 72%);
}
.cta-box .h2 { max-width: 20ch; margin-inline: auto; }
.cta-box p { margin: 16px auto 0; color: color-mix(in srgb, var(--bg) 74%, transparent); max-width: 46ch; font-size: 18px; }
.cta-box .badges { justify-content: center; margin-top: 30px; }
@media (prefers-color-scheme: dark) {
  .cta-box { background: #2A231A; border: 1px solid var(--line); color: var(--ink); }
  .cta-box p { color: var(--ink2); }
}

/* ───────── Footer ───────── */
.ftr { border-top: 1px solid var(--line); padding-block: 44px 56px; color: var(--ink2); font-size: 15px; }
.ftr-grid { display: grid; gap: 28px; }
.ftr .logo img { height: 24px; }
.ftr p.tag { margin-top: 12px; max-width: 34ch; }
.ftr ul { display: flex; flex-wrap: wrap; gap: 10px 26px; }
.ftr a { text-decoration: none; font-weight: 600; }
.ftr a:hover { color: var(--accent); }
.ftr .copy { color: var(--muted); font-size: 14px; }
@media (min-width: 820px) { .ftr-grid { grid-template-columns: 1.2fr 1.4fr; align-items: start; } .ftr .copy { grid-column: 1 / -1; } }

/* ───────── Blog index + article ───────── */
.page-head { padding-block: clamp(40px, 7vw, 84px) 12px; }
.page-head h1 { font-size: clamp(38px, 7vw, 68px); line-height: 1.04; font-weight: 900; letter-spacing: -.03em; text-wrap: balance; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; font-weight: 600; color: var(--muted); margin-bottom: 22px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--accent); }
.crumbs span[aria-hidden] { opacity: .5; }
.note-box { background: var(--accent-soft); border-radius: 16px; padding: 14px 18px; font-weight: 600; margin-bottom: 28px; }

.art-head { padding-block: clamp(36px, 6vw, 72px) 28px; max-width: 820px; margin-inline: auto; }
.art-head h1 { font-size: clamp(32px, 5.6vw, 56px); line-height: 1.08; font-weight: 900; letter-spacing: -.03em; text-wrap: balance; }
.art-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 20px; font-size: 14px; font-weight: 600; color: var(--muted); }
.art-meta .t { color: var(--accent); }
.art-hero { max-width: 1000px; margin: 8px auto 0; }
.art-hero img { width: 100%; border-radius: 26px; aspect-ratio: 16 / 9; object-fit: cover; box-shadow: var(--shadow); }
.art-hero figcaption { font-size: 13px; color: var(--muted); margin-top: 10px; padding-inline: 6px; }
.prose { max-width: 720px; margin-inline: auto; padding-block: 36px 24px; font-size: 19px; line-height: 1.75; }
.prose > * + * { margin-top: 1.15em; }
.prose h2 { font-size: clamp(25px, 3.6vw, 32px); line-height: 1.2; font-weight: 800; letter-spacing: -.02em; margin-top: 2em; text-wrap: balance; }
.prose h3 { font-size: 22px; font-weight: 800; margin-top: 1.6em; }
.prose p, .prose li { color: color-mix(in srgb, var(--ink) 90%, transparent); text-wrap: pretty; }
.prose a { color: var(--accent); text-underline-offset: 3px; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li + li { margin-top: .5em; }
.prose li::marker { color: var(--accent); }
.prose blockquote { border-left: 4px solid var(--accent); padding: 4px 0 4px 20px; font-size: 21px; font-style: italic; color: var(--ink2); }
.prose strong { font-weight: 800; }
.walk-cta {
  max-width: 720px; margin: 24px auto 0; background: var(--card); border: 1px solid var(--line);
  border-radius: 26px; padding: clamp(24px, 4vw, 36px); display: grid; gap: 18px;
}
.walk-cta h2 { font-size: 26px; font-weight: 900; letter-spacing: -.02em; line-height: 1.15; }
.walk-cta p { color: var(--ink2); }
.walk-cta .badge { min-height: 52px; }
.related { padding-block: 56px 8px; }
.related h2 { font-size: 24px; font-weight: 800; margin-bottom: 20px; letter-spacing: -.015em; }

/* ───────── 404 ───────── */
.nf { min-height: 62vh; display: grid; place-content: center; text-align: center; gap: 18px; padding: 60px var(--gutter); }
.nf b { font-size: clamp(80px, 22vw, 180px); font-weight: 900; line-height: 1; color: var(--accent); letter-spacing: -.05em; }

/* ───────── Motion ───────── */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .feat, .acard, .btn { transition: none; }
}

.citynav { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.chipnav { padding: 8px 16px; border-radius: 99px; border: 1.5px solid var(--line); background: var(--card); font-weight: 700; font-size: 15px; text-decoration: none; }
.chipnav span { color: var(--accent); margin-left: 4px; }
.chipnav:hover { border-color: var(--accent); }
.city-block + .city-block { margin-top: 56px; }
.city-h { font-size: clamp(26px, 4vw, 36px); font-weight: 900; letter-spacing: -.02em; margin-bottom: 20px; }

.art-hero.portrait img { width: auto; max-width: min(100%, 380px); max-height: 520px; aspect-ratio: auto; margin-inline: auto; object-fit: contain; }
.art-hero.portrait { text-align: center; }
.art-hero figcaption { text-align: center; }
.art-hero figcaption a { color: inherit; text-underline-offset: 2px; }
.acard-img img { object-position: center 18%; }

/* live web app in a phone frame */
.live-wrap { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.phone.live { position: relative; width: min(78vw, 320px); padding: 8px; }
.phone.live iframe { display: block; width: 100%; aspect-ratio: 9 / 19; border: 0; border-radius: 34px; background: #F6F3EC; }
.live-start { display: none; position: absolute; inset: 8px; border: 0; border-radius: 34px; cursor: pointer; background: rgba(30, 26, 20, .35); color: #fff; font: 800 17px/1.3 var(--sans); align-items: flex-end; justify-content: center; padding: 0 20px 36px; text-align: center; }
.live-start span { background: var(--accent); color: var(--accent-on); padding: 12px 20px; border-radius: 99px; }
.touch .live-start { display: flex; }
.live-note { font-size: 14px; color: var(--muted); font-weight: 600; text-align: center; max-width: 30ch; }
@media (min-width: 920px) { .phone.live { width: 340px; } .hero-visual { align-items: flex-start; } }

.inline-fig { float: right; width: min(46%, 230px); margin: 4px 0 14px 22px; }
.inline-fig img { width: 100%; height: auto; border-radius: 16px; box-shadow: var(--shadow); }
.inline-fig.wide { float: none; width: 100%; max-width: 680px; margin: 22px 0; }
.inline-fig.wide img { max-height: 460px; object-fit: cover; }
.inline-fig figcaption { font-size: 12.5px; line-height: 1.4; color: var(--muted); margin-top: 8px; }
.inline-fig figcaption a { color: inherit; text-underline-offset: 2px; }
.prose h3 { clear: both; }
.prose h2 { clear: both; }
.toc { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 18px 22px; font-size: 16px; clear: both; }
.toc ol { margin: 10px 0 0; padding-left: 1.3em; list-style: decimal; columns: 1; }
.toc li { margin: 4px 0; }
.toc a { color: var(--accent); text-decoration: none; }
.toc a:hover { text-decoration: underline; }
@media (max-width: 560px) { .inline-fig.wide { width: 100%; max-width: none; } .inline-fig { float: none; width: min(70%, 260px); margin: 8px auto 14px; } }

/* Flyer gift banner */
.gift { background: var(--accent); color: var(--accent-on); padding-block: 14px; }
.gift[hidden] { display: none; }
.gift .wrap { display: flex; flex-wrap: wrap; gap: 10px 20px; align-items: center; justify-content: space-between; }
.gift b { display: block; font-size: 17px; }
.gift span { font-size: 14px; opacity: .92; }
.gift code { font: 700 22px/1 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .12em; background: rgba(255,255,255,.18); padding: 10px 16px; border-radius: 10px; }

/* /app/ — web app landing page */
.webapp { padding: 28px 0 56px; }
.webapp-grid { display: grid; gap: 28px; align-items: start; }
.webapp-text h1 { font-size: clamp(30px, 5vw, 46px); font-weight: 900; letter-spacing: -.02em; margin-bottom: 12px; }
.webapp-text .lead { margin-bottom: 16px; }
.ticks { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 8px; font-weight: 700; }
.ticks li::before { content: "✓"; color: var(--accent); font-weight: 900; margin-right: 10px; }
.webapp-text p { margin: 0 0 14px; }
.webapp-frame { display: flex; justify-content: center; }
.webapp .phone.live { width: min(100%, 390px); }
.webapp .phone.live iframe { aspect-ratio: auto; height: min(78dvh, 760px); min-height: 520px; }
@media (min-width: 920px) {
  .webapp-grid { grid-template-columns: 1fr 420px; gap: 64px; align-items: center; padding-top: 12px; }
  .webapp .phone.live { width: 390px; }
}
@media (max-width: 560px) {
  .webapp { padding-top: 12px; }
  .webapp .phone.live { padding: 0; background: none; border: 0; box-shadow: none; width: 100%; }
  .webapp .phone.live iframe { border-radius: 18px; height: 82dvh; }
}

/* cookie banner (only when Google tag IDs are configured) */
.consent { position: fixed; z-index: 60; left: 12px; right: 12px; bottom: 12px; max-width: 620px; margin-inline: auto; display: flex; gap: 14px; align-items: center; flex-wrap: wrap; justify-content: space-between; background: var(--card); color: var(--ink, inherit); border: 1px solid var(--line); border-radius: 18px; padding: 14px 16px; box-shadow: var(--shadow); font-size: 14.5px; font-weight: 600; }
.consent p { margin: 0; flex: 1 1 260px; }
.consent div { display: flex; gap: 8px; }
.consent .btn { padding: 9px 16px; font-size: 14.5px; }
