/* PyWorks Commerce — premium landing stylesheet
   Tokens → base → layout → sections. No decorative backdrops, no blur layers. */

:root {
  --paper: #F5F6F4;
  --surface: #FFFFFF;
  --ink: #10131F;
  --ink-2: #4A5062;
  --ink-3: #6E7487;
  --line: #DDE0E6;
  --line-soft: #E9EBEF;
  --emerald: #0B6B4F;
  --emerald-deep: #07422F;
  --emerald-tint: #E3F1EB;
  --marigold: #E8A317;
  --radius: 10px;
  --maxw: 1160px;
  --gutter: clamp(18px, 4vw, 40px);
  --display: 'Bricolage Grotesque', 'Segoe UI', system-ui, sans-serif;
  --text: 'Figtree', 'Segoe UI', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--text);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
:focus-visible { outline: 2px solid var(--emerald); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--emerald-tint); }

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.028em;
  line-height: 1.06;
  text-wrap: balance;
}
p { text-wrap: pretty; color: var(--ink-2); }

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

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section + .section { border-top: 1px solid var(--line); }

.kicker { font-size: .875rem; font-weight: 600; color: var(--emerald); margin-bottom: 14px; }
.section-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head h2 { font-size: clamp(2rem, 4.6vw, 3.4rem); }
.section-head p { margin-top: 18px; font-size: 1.125rem; max-width: 60ch; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 600; font-size: 1rem; line-height: 1;
  padding: 16px 26px; border-radius: 999px;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn-solid { background: var(--ink); color: #fff; }
.btn-solid:hover { background: var(--emerald-deep); }
.btn-line { border: 1.5px solid var(--ink); color: var(--ink); }
.btn-line:hover { background: var(--ink); color: #fff; }
.btn-sm { padding: 11px 20px; font-size: .9375rem; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--emerald-tint); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(245, 246, 244, .94);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { height: 28px; width: auto; }
.brand b { font-family: var(--display); font-size: 1.2rem; letter-spacing: -.03em; }
.brand small { display: block; font-size: .625rem; letter-spacing: .32em; color: var(--ink-3); margin-top: 2px; font-weight: 600; }
.nav-links { display: none; gap: 30px; font-size: .9375rem; font-weight: 500; color: var(--ink-2); }
.nav-links a:hover { color: var(--ink); }
.nav-actions { display: none; align-items: center; gap: 18px; font-size: .9375rem; font-weight: 500; }
.menu-btn { width: 44px; height: 44px; display: grid; place-content: center; gap: 5px; border: 1px solid var(--line); border-radius: 50%; background: #fff; }
.menu-btn span { width: 18px; height: 2px; background: var(--ink); transition: transform .25s, opacity .2s; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-menu { display: none; border-top: 1px solid var(--line); background: var(--paper); }
.mobile-menu.open { display: block; }
.mobile-menu a { display: block; padding: 16px var(--gutter); font-family: var(--display); font-size: 1.5rem; font-weight: 600; border-bottom: 1px solid var(--line-soft); }
@media (min-width: 960px) {
  .nav-links, .nav-actions { display: flex; }
  .menu-btn, .mobile-menu { display: none !important; }
}

/* ---------- Hero ---------- */
.hero { padding: clamp(40px, 6vw, 88px) 0 clamp(48px, 7vw, 96px); }
.hero-grid { display: grid; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(2.6rem, 7.4vw, 5.4rem); letter-spacing: -.04em; line-height: .98; }
.hero .lede { margin-top: 26px; font-size: clamp(1.125rem, 2vw, 1.3rem); max-width: 34em; color: var(--ink-2); }
.hero-cta { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero-note { margin-top: 18px; font-size: .9375rem; color: var(--ink-3); }

.hero-stage { position: relative; height: 470px; max-width: 560px; margin: 0 auto; width: 100%; }
.phone {
  position: absolute; top: 0; width: 210px; aspect-ratio: 236 / 480;
  background: var(--ink); border-radius: 34px; padding: 7px;
  box-shadow: 0 30px 60px -24px rgba(16, 19, 31, .38);
}
.phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 28px; }
.phone.p-left { left: 0; top: 56px; transform: rotate(-5deg); }
.phone.p-mid { left: 50%; margin-left: -105px; top: 0; z-index: 2; }
.phone.p-right { right: 0; top: 56px; transform: rotate(5deg); }
.order-note {
  position: absolute; z-index: 3; left: 50%; bottom: 4px; transform: translateX(-50%);
  display: flex; align-items: center; gap: 12px; white-space: nowrap;
  background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 12px 16px;
  box-shadow: 0 16px 34px -14px rgba(16, 19, 31, .3);
  animation: arrive 1s .5s cubic-bezier(.2, .8, .2, 1) both;
}
.order-note i { width: 36px; height: 36px; border-radius: 10px; background: #25D366; display: grid; place-content: center; flex: none; }
.order-note b { display: block; font-size: .9375rem; line-height: 1.25; }
.order-note span { font-size: .8125rem; color: var(--ink-3); }
@keyframes arrive { from { opacity: 0; transform: translate(-50%, 18px); } to { opacity: 1; transform: translate(-50%, 0); } }

@media (max-width: 599px) {
  .phone { width: 150px; border-radius: 26px; padding: 5px; }
  .phone img { border-radius: 21px; }
  .phone.p-mid { margin-left: -75px; }
  .hero-stage { height: 360px; }
  .phone.p-left, .phone.p-right { top: 44px; }
}
@media (min-width: 960px) {
  .hero-grid { grid-template-columns: 1.05fr .95fr; gap: 40px; }
  .hero-stage { height: 560px; margin: 0 0 0 auto; }
  .phone { width: 240px; }
  .phone.p-mid { margin-left: -120px; }
}

/* ---------- Proof strip ---------- */
.proof { border-block: 1px solid var(--line); background: var(--surface); }
.proof-row { display: grid; grid-template-columns: repeat(2, 1fr); }
.proof-row > div { padding: 22px 0; display: flex; flex-direction: column; gap: 2px; }
.proof-row b { font-family: var(--display); font-size: 1.6rem; letter-spacing: -.03em; line-height: 1.1; }
.proof-row span { font-size: .875rem; color: var(--ink-3); }
.proof-row > div:nth-child(even) { padding-left: 20px; border-left: 1px solid var(--line); }
.proof-row > div:nth-child(n+3) { border-top: 1px solid var(--line); }
@media (min-width: 860px) {
  .proof-row { grid-template-columns: repeat(4, 1fr); }
  .proof-row > div { padding: 28px 0 28px 28px; border-left: 1px solid var(--line); border-top: 0 !important; }
  .proof-row > div:first-child { padding-left: 0; border-left: 0; }
}

/* ---------- Problem / solution ---------- */
.contrast { display: grid; gap: 28px; }
.dms { display: grid; gap: 10px; align-content: start; }
.dms p { max-width: 24em; padding: 13px 18px; border: 1px solid var(--line); border-radius: 16px 16px 16px 4px; background: var(--surface); color: var(--ink); font-size: 1.0625rem; font-weight: 500; }
.dms p:nth-child(even) { justify-self: end; border-radius: 16px 16px 4px 16px; background: #EDEFF3; }
.dms h3 { font-size: 1.1rem; color: var(--ink-2); margin-bottom: 8px; font-family: var(--text); font-weight: 600; letter-spacing: 0; }
.fix { background: var(--ink); color: #fff; border-radius: 20px; padding: clamp(26px, 4vw, 44px); }
.fix h3 { font-size: 1.1rem; font-family: var(--text); font-weight: 600; letter-spacing: 0; color: #9FD8C2; margin-bottom: 20px; }
.fix li { font-family: var(--display); font-size: clamp(1.4rem, 2.6vw, 1.9rem); font-weight: 600; letter-spacing: -.02em; padding: 14px 0; border-top: 1px solid rgba(255, 255, 255, .14); line-height: 1.2; }
.fix li:first-child { border-top: 0; padding-top: 0; }
@media (min-width: 900px) { .contrast { grid-template-columns: 1fr 1.1fr; gap: 56px; } }

/* ---------- Steps ---------- */
.steps { display: grid; gap: 0; counter-reset: s; }
.steps li { display: grid; grid-template-columns: 56px 1fr; gap: 8px 18px; padding: 28px 0; border-top: 1px solid var(--line); counter-increment: s; }
.steps li:last-child { border-bottom: 1px solid var(--line); }
.steps li::before { content: counter(s); font-family: var(--display); font-size: 2.4rem; font-weight: 700; color: var(--emerald); line-height: 1; grid-row: span 2; }
.steps h3 { font-size: 1.5rem; }
.steps p { max-width: 46ch; }
@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(3, 1fr); gap: 40px; }
  .steps li { grid-template-columns: 1fr; border-top: 2px solid var(--ink); border-bottom: 0 !important; padding: 22px 0 0; }
  .steps li::before { grid-row: auto; margin-bottom: 14px; }
}

/* ---------- Storefront gallery ---------- */
.gallery-wrap { overflow: hidden; }
.gallery { display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px var(--gutter) 28px; scrollbar-width: thin; scrollbar-color: var(--line) transparent; }
@media (min-width: 1200px) { .gallery { padding-left: calc((100vw - var(--maxw)) / 2 + var(--gutter)); } }
.shop { flex: none; width: 232px; scroll-snap-align: start; }
.shop .phone-lite { aspect-ratio: 236 / 480; background: var(--ink); border-radius: 30px; padding: 6px; }
.shop img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 25px; }
.shop h3 { font-size: 1.15rem; margin-top: 16px; letter-spacing: -.015em; }
.shop p { font-size: .9375rem; margin-top: 4px; color: var(--ink-3); line-height: 1.45; }
.shop span { display: block; font-size: .8125rem; color: var(--emerald); font-weight: 600; margin-top: 8px; }

/* ---------- Features ---------- */
.features { display: grid; gap: 0; }
.feature { display: grid; gap: 8px; padding: 30px 0; border-top: 1px solid var(--line); }
.feature:last-child { border-bottom: 1px solid var(--line); }
.feature h3 { font-size: 1.45rem; }
.feature p { max-width: 52ch; }
.tag { display: inline-block; font-size: .75rem; font-weight: 700; border: 1px solid var(--line); border-radius: 999px; padding: 3px 10px; margin-left: 8px; vertical-align: middle; color: var(--ink-2); letter-spacing: 0; font-family: var(--text); }
.tag.pro { background: var(--ink); border-color: var(--ink); color: #fff; }
.feature video { width: 100%; max-width: 520px; height: auto; aspect-ratio: 1022 / 856; border-radius: 14px; border: 1px solid var(--line); margin-top: 14px; background: #fff; }
@media (min-width: 900px) {
  .feature { grid-template-columns: 5fr 7fr; gap: 40px; padding: 38px 0; align-items: start; }
  .feature .f-body { grid-column: 2; }
}

/* ---------- Industries ---------- */
.industries { display: grid; gap: 0; }
.industries li { display: grid; gap: 4px; padding: 22px 0; border-top: 1px solid var(--line); }
.industries li:last-child { border-bottom: 1px solid var(--line); }
.industries h3 { font-size: 1.3rem; }
@media (min-width: 800px) {
  .industries { grid-template-columns: 1fr 1fr; column-gap: 56px; }
  .industries li:nth-last-child(2) { border-bottom: 1px solid var(--line); }
}

/* ---------- Payments ---------- */
.pay-grid { display: grid; gap: 40px; }
.methods li { display: flex; flex-direction: column; gap: 4px; padding: 22px 0; border-top: 1px solid var(--line); }
.methods li:last-child { border-bottom: 1px solid var(--line); }
.methods h3 { font-size: 1.3rem; }
.methods em { font-style: normal; font-size: .8125rem; font-weight: 600; color: var(--emerald); }
.settle { background: var(--emerald-tint); border-radius: 20px; padding: clamp(26px, 4vw, 40px); align-self: start; }
.settle h3 { font-size: 1.8rem; margin-bottom: 14px; }
.settle ul { margin: 20px 0 26px; display: grid; gap: 12px; }
.settle li { padding-left: 26px; position: relative; color: var(--ink); }
.settle li::before { content: ''; position: absolute; left: 0; top: .5em; width: 12px; height: 6px; border-left: 2px solid var(--emerald); border-bottom: 2px solid var(--emerald); transform: rotate(-45deg); }
@media (min-width: 900px) { .pay-grid { grid-template-columns: 1.1fr 1fr; gap: 64px; } }

/* ---------- Pricing ---------- */
.plans { display: grid; gap: 20px; }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: clamp(24px, 3.4vw, 38px); display: flex; flex-direction: column; }
.plan.pro { background: var(--ink); color: #fff; border-color: var(--ink); }
.plan.pro p, .plan.pro li { color: #C8CCD8; }
.plan h3 { font-size: 1.5rem; }
.price { font-family: var(--display); font-size: clamp(2.6rem, 5vw, 3.6rem); font-weight: 700; letter-spacing: -.04em; line-height: 1; margin: 18px 0 6px; }
.price small { font-size: 1rem; font-weight: 500; letter-spacing: 0; color: var(--ink-3); font-family: var(--text); }
.plan.pro .price small { color: #9AA0B2; }
.plan .sub { margin-bottom: 22px; }
.plan ul { display: grid; gap: 11px; margin: 4px 0 30px; flex: 1; }
.plan li { padding-left: 26px; position: relative; font-size: 1rem; color: var(--ink-2); }
.plan li::before { content: ''; position: absolute; left: 0; top: .5em; width: 12px; height: 6px; border-left: 2px solid var(--emerald); border-bottom: 2px solid var(--emerald); transform: rotate(-45deg); }
.plan.pro li::before { border-color: #7FD4B4; }
.plan .lead-in { font-size: .875rem; font-weight: 600; color: var(--ink-3); margin-bottom: 14px; }
.plan.pro .lead-in { color: #9AA0B2; }
.addons { margin-top: 20px; display: grid; gap: 0; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); }
.addons > div { padding: 24px 28px; }
.addons > div + div { border-top: 1px solid var(--line); }
.addons h3 { font-size: 1.2rem; margin-bottom: 6px; }
.addons small { display: block; margin-top: 8px; font-size: .875rem; font-weight: 600; color: var(--ink-3); }
@media (min-width: 900px) {
  .plans { grid-template-columns: 1fr 1fr; }
  .addons { grid-template-columns: 1fr 1fr; }
  .addons > div + div { border-top: 0; border-left: 1px solid var(--line); }
}

/* ---------- Reviews ---------- */
.reviews-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 18px; margin-bottom: 40px; }
.reviews-head h2 { font-size: clamp(2rem, 4.6vw, 3.4rem); max-width: 14em; }
.reviews { display: grid; gap: 0; }
.review { padding: 28px 0; border-top: 1px solid var(--line); display: grid; gap: 14px; }
.review blockquote { font-family: var(--display); font-size: clamp(1.2rem, 2.2vw, 1.55rem); font-weight: 500; letter-spacing: -.015em; line-height: 1.3; color: var(--ink); }
.review figcaption { display: flex; align-items: center; gap: 12px; font-size: .9375rem; color: var(--ink-3); }
.review figcaption img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; }
.review figcaption b { color: var(--ink); font-weight: 600; }
@media (min-width: 900px) {
  .reviews { grid-template-columns: 1fr 1fr; column-gap: 64px; }
  .review:nth-last-child(-n+2) { border-bottom: 1px solid var(--line); }
}

/* ---------- FAQ ---------- */
.faq-group + .faq-group { margin-top: 48px; }
.faq-group h3 { font-size: 1.3rem; margin-bottom: 8px; }
details { border-top: 1px solid var(--line); }
.faq-group details:last-child { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; list-style: none; padding: 20px 0; font-weight: 600; font-size: 1.0625rem; display: flex; justify-content: space-between; gap: 20px; align-items: center; color: var(--ink); }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; font-size: 1.6rem; line-height: 1; font-weight: 400; color: var(--emerald); transition: transform .25s; flex: none; }
details[open] summary::after { transform: rotate(45deg); }
details p { padding: 0 0 22px; max-width: 62ch; }
.faq-layout { display: grid; gap: 40px; }
@media (min-width: 960px) { .faq-layout { grid-template-columns: 4fr 7fr; gap: 72px; } .faq-layout .section-head { position: sticky; top: 100px; align-self: start; margin: 0; } }

/* ---------- Final CTA ---------- */
.final { background: var(--ink); color: #fff; padding: clamp(72px, 10vw, 128px) 0; }
.final h2 { font-size: clamp(2.4rem, 6.4vw, 4.8rem); letter-spacing: -.04em; max-width: 12em; color: #fff; }
.final p { margin: 24px 0 36px; color: #B7BCCB; font-size: 1.2rem; max-width: 32em; }

/* ---------- Footer ---------- */
.site-footer { background: var(--paper); padding: 64px 0 36px; font-size: .9375rem; }
.foot-grid { display: grid; gap: 40px; padding-bottom: 40px; }
.foot-grid h2 { font-family: var(--text); font-size: .875rem; font-weight: 700; letter-spacing: 0; margin-bottom: 16px; color: var(--ink); }
.foot-grid li + li { margin-top: 10px; }
.foot-grid a { color: var(--ink-2); }
.foot-grid a:hover { color: var(--emerald); }
.foot-about p { margin: 16px 0; max-width: 30ch; }
.foot-about address { font-style: normal; color: var(--ink-2); line-height: 1.75; }
.foot-base { border-top: 1px solid var(--line); padding-top: 24px; color: var(--ink-3); font-size: .875rem; }
@media (min-width: 860px) { .foot-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .order-note { animation: none; }
  * { transition: none !important; }
}

/* ---------- Ticker ---------- */
.ticker { border-top: 1px solid var(--line); overflow: hidden; padding: 14px 0; background: var(--paper); }
.ticker-row { overflow: hidden; }
.ticker-row + .ticker-row { margin-top: 8px; }
.ticker-track { display: flex; width: max-content; gap: 44px; padding-right: 44px; animation: tick 48s linear infinite; }
.ticker-track.rev { animation-direction: reverse; animation-duration: 56s; }
.ticker-track span { font-family: var(--display); font-size: 1.15rem; font-weight: 600; letter-spacing: -.015em; color: var(--ink-3); white-space: nowrap; }
.ticker-row:first-child .ticker-track span { color: var(--ink); }
.ticker:hover .ticker-track { animation-play-state: paused; }
@keyframes tick { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker-track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; } .ticker-track span[aria-hidden] { display: none; } }

/* ---------- Gallery filters ---------- */
.filters { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 22px; scrollbar-width: none; }
.filters::-webkit-scrollbar { display: none; }
.chip { flex: none; padding: 9px 18px; border: 1.5px solid var(--line); border-radius: 999px; font-size: .9375rem; font-weight: 600; color: var(--ink-2); background: transparent; transition: background .2s, color .2s, border-color .2s; }
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.shop[hidden] { display: none; }

/* ---------- Speed ---------- */
.speed { display: grid; gap: 36px; align-items: center; }
.gauge { position: relative; width: 200px; height: 200px; }
.gauge svg { transform: rotate(-90deg); }
.g-bg { fill: none; stroke: var(--line); stroke-width: 10; }
.g-fill { fill: none; stroke: var(--emerald); stroke-width: 10; stroke-linecap: round; }
.g-val { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.g-val b { font-family: var(--display); font-size: 3.6rem; line-height: 1; letter-spacing: -.04em; }
.g-val span { font-size: .875rem; color: var(--ink-3); }
.vitals { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.vitals > div { padding: 20px 0; border-bottom: 1px solid var(--line); }
.vitals > div:nth-child(odd) { padding-right: 20px; }
.vitals > div:nth-child(even) { padding-left: 20px; border-left: 1px solid var(--line); }
.vitals dd { font-family: var(--display); font-size: 2rem; font-weight: 700; letter-spacing: -.03em; }
.vitals dt { font-size: .875rem; color: var(--ink-3); order: 2; }
.vitals > div { display: flex; flex-direction: column; }
.speed-note { margin-top: 22px; font-size: .875rem; color: var(--ink-3); }
@media (min-width: 860px) { .speed { grid-template-columns: 220px 1fr; gap: 64px; } }

/* ---------- Sticky mobile CTA ---------- */
.sticky-cta { display: none; }
@media (max-width: 859px) {
  .sticky-cta { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; align-items: center; justify-content: space-between; gap: 12px; padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom, 0px)); background: var(--ink); color: #fff; transform: translateY(110%); transition: transform .3s ease; }
  .sticky-cta.on { transform: none; }
  .sticky-cta span { font-size: .9375rem; font-weight: 600; }
  .sticky-cta .btn { background: #fff; color: var(--ink); white-space: nowrap; }
  .site-footer { padding-bottom: 96px; }
}
@media (prefers-reduced-motion: reduce) { .sticky-cta { transition: none; } }

/* ---------- Store showcase: desktop frame + phone ---------- */
.duos { display: grid; gap: 56px 40px; }
.duo[hidden] { display: none; }
.duo-link { display: block; }
.duo-media { position: relative; padding-bottom: 36px; }
.frame { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--surface); box-shadow: 0 24px 50px -30px rgba(16, 19, 31, .35); transition: transform .35s ease; }
.frame-bar { padding: 9px 14px; border-bottom: 1px solid var(--line); background: #FAFAF9; font-size: .75rem; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.frame img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.duo-phone { position: absolute; right: 5%; bottom: 0; width: 24%; max-width: 150px; aspect-ratio: 236 / 480; background: var(--ink); border-radius: 22px; padding: 4px; box-shadow: 0 18px 36px -14px rgba(16, 19, 31, .5); transition: transform .35s ease; }
.duo-phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 18px; }
.duo-link:hover .frame { transform: translateY(-4px); }
.duo-link:hover .duo-phone { transform: translateY(-8px); }
.duo h3 { font-size: 1.5rem; margin-top: 8px; }
.duo p { margin-top: 6px; max-width: 44ch; }
.duo-cat { display: inline-block; margin-top: 10px; font-size: .875rem; font-weight: 600; color: var(--emerald); }
@media (min-width: 860px) { .duos { grid-template-columns: 1fr 1fr; } }
@media (prefers-reduced-motion: reduce) { .duo-link:hover .frame, .duo-link:hover .duo-phone { transform: none; } }

/* ---------- Hero buttons: always one row ---------- */
.hero-cta { flex-wrap: nowrap; gap: 10px; }
.hero-cta .btn { flex: 1 1 0; min-width: 0; white-space: nowrap; padding: 15px 10px; font-size: clamp(.8125rem, 3.7vw, 1rem); }
@media (min-width: 600px) { .hero-cta .btn { flex: none; padding: 16px 26px; font-size: 1rem; } }

/* ---------- Mobile menu: full-screen overlay ---------- */
.mobile-menu { position: fixed; left: 0; right: 0; top: 69px; bottom: 0; z-index: 49; overflow-y: auto; -webkit-overflow-scrolling: touch; padding-bottom: calc(24px + env(safe-area-inset-bottom, 0px)); display: none; flex-direction: column; border-top: 0; }
.mobile-menu.open { display: flex; }
.mm-cta { margin-top: auto; padding: 28px var(--gutter) 0; }
.mm-cta .btn { width: 100%; }
body.menu-open { overflow: hidden; }

/* ---------- Proof strip: 5 items + trust line ---------- */
.proof-row > div a { display: flex; flex-direction: column; gap: 2px; }
.proof-row > div:last-child:nth-child(odd) { grid-column: 1 / -1; border-top: 1px solid var(--line); }
.proof-trust { padding: 12px 0 18px; font-size: .875rem; color: var(--ink-3); border-top: 1px solid var(--line); text-align: center; }
@media (min-width: 860px) {
  .proof-row { grid-template-columns: repeat(5, 1fr); }
  .proof-row > div:last-child:nth-child(odd) { grid-column: auto; }
  .proof-row > div { padding-left: 24px; }
  .proof-trust { border-top: 0; padding-top: 0; margin-top: 10px; padding-bottom: 22px; text-align: center; }
}
