/* Webella mini-site page. Structure mirrors schooliner.com/styliner section by section;
 * dark throughout (no white sections), Webella brand colours (webella.site Elementor kit) incl. the lime-yellow.
 * Fluid tokens 375 -> 1920 (OpsManager/docs/fluid-tokens-1920.md). */
@font-face { font-family: 'Polin'; src: url('/assets/fonts/polin-r.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Polin'; src: url('/assets/fonts/polin-b.woff2') format('woff2'); font-weight: 700; font-display: swap; }

:root {
  --bg: #03172C;          /* primary */
  --bg-2: #001B39;
  --panel: #0A223F;
  --panel-2: #103661;     /* secondary */
  --peri: #8AA2F0;        /* logo periwinkle */
  --peri-2: #91A0E2;
  --peri-3: #7083D9;
  --purple: #6245A1;
  --purple-2: #954AA1;
  --pink: #F36A8D;
  --blue: #397CF2;
  --lime: #D2E23D;
  --fg: #FFFFFF;
  --fg-2: #C9D2EA;
  --fg-3: #9FAACB;
  --line: rgba(138,162,240,.18);

  --display: clamp(2.5rem, 1.5291rem + 4.1424vw, 6.5rem);     /* 40 -> 104 */
  --h2: clamp(1.875rem, 1.4199rem + 1.9417vw, 3.75rem);        /* 30 -> 60 */
  --h3: clamp(1.25rem, 1.0680rem + 0.7767vw, 2rem);            /* 20 -> 32 */
  --lead: clamp(1.0625rem, 0.9563rem + 0.4531vw, 1.5rem);      /* 17 -> 24 */
  --body: clamp(1rem, 0.9393rem + 0.2589vw, 1.25rem);          /* 16 -> 20 */
  --small: clamp(0.875rem, 0.8447rem + 0.1294vw, 1rem);        /* 14 -> 16 */
  --num: clamp(4.5rem, 3.4078rem + 4.6602vw, 9rem);            /* 72 -> 144 */
  --space-section: clamp(4.5rem, 3.0437rem + 6.2136vw, 10.5rem);
  --space-block: clamp(2.5rem, 1.6505rem + 3.6246vw, 6rem);
  --space-l: clamp(1.5rem, 1.1359rem + 1.5534vw, 3rem);
  --space-m: clamp(1rem, 0.7573rem + 1.0356vw, 2rem);
  --gutter: clamp(1rem, -0.3956rem + 5.9547vw, 6.75rem);
  --rail: 84px;
  --maxw: 1320px;
  --ease: cubic-bezier(.2,.7,.2,1);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--fg); font-family: 'Polin', 'Assistant', 'Heebo', system-ui, sans-serif; font-size: var(--body); line-height: 1.6; overflow-x: hidden; }
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.12; letter-spacing: -.01em; text-wrap: balance; }
p { margin: 0 0 1em; text-wrap: pretty; }
.num { unicode-bidi: isolate; direction: ltr; display: inline-block; font-variant-numeric: tabular-nums; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; top: -80px; inset-inline-start: 1rem; z-index: 200; background: var(--lime); color: var(--bg); padding: .7rem 1rem; border-radius: 10px; font-weight: 700; }
.skip:focus { top: 1rem; }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; border-radius: 6px; }
.ic { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.wrap { width: 100%; max-width: calc(var(--maxw) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
main, .foot { padding-inline-start: var(--rail); }

/* spaced eyebrow, as on the reference */
.sp { font-size: var(--small); letter-spacing: .35em; color: var(--peri); margin: 0 0 .5em; font-weight: 400; }
.center-head { text-align: center; max-width: 820px; margin: 0 auto var(--space-block); }
.center-head h2 { font-size: var(--h2); }
.center-head .sub { color: var(--fg-2); margin-top: .8em; font-size: var(--body); }

/* ---------- promo bar (sticky) ---------- */
.promo { position: sticky; top: 0; z-index: 60; background: linear-gradient(90deg, #0B1E3A, #142B57); border-bottom: 1px solid var(--line); padding-inline-start: var(--rail); }
.promo-in { display: flex; align-items: center; justify-content: center; gap: .6rem 1.4rem; flex-wrap: wrap; min-height: 64px; padding: .5rem var(--gutter); }
.promo-badge { font-weight: 700; line-height: 1.05; font-size: .875rem; color: var(--bg); background: var(--lime); padding: .45em .8em; border-radius: 10px; text-align: center; }
.promo-txt { font-size: var(--small); color: var(--fg); }
.promo-txt b { color: var(--peri); }
.promo-txt s { color: var(--fg-3); }
.promo-biz { display: none; }
.has-coupon .promo-reg { display: none; }
.has-coupon .promo-biz { display: inline; }
.has-coupon .promo-badge { background: var(--pink); color: #fff; }
.countdown { display: inline-flex; gap: .35rem; direction: ltr; }
.countdown[hidden] { display: none; }
.cd-cell { background: var(--panel-2); border-radius: 8px; min-width: 46px; padding: .2em .4em; text-align: center; line-height: 1.1; }
.cd-cell b { display: block; font-size: 1.1rem; }
.cd-cell small { font-size: .6875rem; color: var(--fg-3); }
.promo-btn { background: #fff; color: var(--bg); text-decoration: none; font-weight: 700; font-size: .875rem; padding: .55em 1.1em; border-radius: 999px; min-height: 44px; display: inline-flex; align-items: center; gap: .3em; }

/* ---------- side rail (fixed) ---------- */
.rail { position: fixed; inset-block: 0; inset-inline-start: 0; width: var(--rail); z-index: 70; background: rgba(16,25,58,.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-inline-end: 1px solid var(--line); display: flex; flex-direction: column; align-items: center; gap: .4rem; padding-top: 1rem; }
.rail-logo { margin-bottom: 1rem; }
.rail a:not(.rail-logo) { display: flex; flex-direction: column; align-items: center; gap: .25rem; width: 72px; padding: .6rem .2rem; text-decoration: none; color: var(--fg-2); font-size: .75rem; text-align: center; line-height: 1.2; border-radius: 12px; }
.rail a:not(.rail-logo):hover { background: var(--panel-2); color: #fff; }
.rail .ic { color: var(--peri); }
.top-btn { position: fixed; top: 80px; inset-inline-end: 1rem; z-index: 65; display: inline-flex; align-items: center; gap: .4rem; background: #13304F; color: #fff; text-decoration: none; font-weight: 700; font-size: .875rem; padding: .55em 1em; border-radius: 999px; border: 1px solid var(--line); min-height: 44px; }
.top-btn .ic { color: #5BE38C; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; background: radial-gradient(900px 600px at 15% 30%, rgba(98,69,161,.45), transparent 60%), var(--bg-2); padding-block: var(--space-block) var(--space-section); min-height: min(860px, 92vh); display: flex; align-items: center; }
.hero-art { position: absolute; inset-block: 0; inset-inline-end: -4%; width: 58%; display: flex; align-items: center; pointer-events: none; }
.hero-art img { width: 100%; height: auto; mask-image: radial-gradient(70% 70% at 45% 50%, #000 55%, transparent 100%); -webkit-mask-image: radial-gradient(70% 70% at 45% 50%, #000 55%, transparent 100%); opacity: .9; }
.hero-in { position: relative; z-index: 1; }
.hero-in > * { max-width: 640px; }
.hero-eyebrow { display: flex; align-items: center; gap: .55rem; font-size: var(--small); color: var(--fg-2); margin-bottom: 1.4rem; }
.hero-eyebrow b { color: #fff; font-size: 1.1em; }
.hero h1 { font-size: var(--display); line-height: 1.02; margin-bottom: .45em; }
.hero h1 .u { background: linear-gradient(transparent 62%, var(--purple) 62%, var(--purple) 92%, transparent 92%); padding-inline: .05em; }
.by { display: flex; align-items: center; gap: .6rem; font-weight: 700; margin-bottom: 1.1rem; }
.by img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; object-position: top; background: var(--panel-2); }
.hero-lead { color: var(--fg-2); font-size: var(--body); }
.hero-lead b { color: #fff; }
.hero-price { display: flex; align-items: baseline; gap: .5rem; flex-wrap: wrap; margin: 1.2rem 0 1rem; color: var(--fg-2); }
.hero-price b { font-size: clamp(1.75rem, 1.3rem + 1.5vw, 2.6rem); color: #fff; }
.hero-price s { color: var(--pink); font-size: 1.1rem; }
.btn-main { display: inline-flex; align-items: center; justify-content: center; gap: .4em; min-height: 58px; padding: .9em 2.2em; border-radius: 14px; background: linear-gradient(135deg, var(--peri-3), var(--purple)); color: #fff; font-weight: 700; font-size: var(--lead); text-decoration: none; box-shadow: 0 18px 40px -18px rgba(112,131,217,.9); transition: transform .25s var(--ease), box-shadow .25s; }
.btn-main:hover { transform: translateY(-3px); box-shadow: 0 24px 46px -18px rgba(112,131,217,1); }
.hero-proof { margin-top: 1.1rem; font-size: var(--small); color: var(--fg-2); }
.hero-proof b { color: #fff; }
.hero-proof .star { color: var(--lime); }
.hero-proof a { color: var(--peri); display: inline-block; padding-block: 10px; }
.hero-credits { font-size: var(--small); color: var(--lime); font-weight: 700; }

/* ---------- works marquee ---------- */
.works { position: relative; padding-block: var(--space-m) var(--space-l); overflow: hidden; }
.works-bg { position: absolute; inset-inline: 0; top: 50%; transform: translateY(-50%); white-space: nowrap; font-size: clamp(4rem, 2rem + 8vw, 11rem); font-weight: 700; color: transparent; -webkit-text-stroke: 1.5px rgba(138,162,240,.22); direction: ltr; pointer-events: none; display: flex; animation: bgSlide 60s linear infinite; }
.works-bg span { padding-inline-end: .3em; }
.mq { position: relative; display: grid; gap: var(--space-m); transform: perspective(1400px) rotateX(10deg) rotateZ(-3deg); }
.mq-row { list-style: none; margin: 0; padding: 0; display: flex; gap: var(--space-m); width: max-content; direction: ltr; }
.mq-row li { width: clamp(220px, 12rem + 8vw, 360px); flex: none; }
.mq-row img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 14px; box-shadow: 0 20px 40px -20px rgba(0,0,0,.8); border: 1px solid var(--line); }
.r1 { animation: mqL 120s linear infinite; }
.r2 { animation: mqR 130s linear infinite; }
.mq:hover .mq-row { animation-play-state: paused; }
@keyframes mqL { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes mqR { from { transform: translateX(-50%); } to { transform: translateX(0); } }
@keyframes bgSlide { from { transform: translate(0, -50%); } to { transform: translate(-50%, -50%); } }
.works-cap { text-align: center; margin: var(--space-m) 0 0; font-size: var(--small); }
.works-cap a { color: var(--peri); display: inline-block; padding-block: 10px; }

/* ---------- 3 parts (staggered, big outline numbers) ---------- */
.parts { padding-block: var(--space-section) var(--space-block); }
.parts-in { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-l); align-items: start; }
.part:nth-child(2) { margin-top: clamp(2rem, 1rem + 4vw, 6rem); }
.part:nth-child(3) { margin-top: clamp(4rem, 2rem + 8vw, 12rem); }
.pn { display: block; font-size: var(--num); font-weight: 700; line-height: .85; color: transparent; -webkit-text-stroke: 2px var(--peri); direction: ltr; text-align: right; }
.part .sp { margin-top: -.4em; }
.part h3 { font-size: var(--h3); margin-bottom: .5em; }
.part p:not(.sp) { color: var(--fg-2); font-size: var(--small); }

/* ---------- quote ---------- */
.quote { position: relative; padding-block: var(--space-block); overflow: hidden; text-align: center; }
.quote-bg { position: absolute; inset: 0; display: grid; place-items: center; font-size: clamp(5rem, 2rem + 14vw, 18rem); font-weight: 700; color: transparent; -webkit-text-stroke: 1.5px rgba(243,106,141,.25); white-space: nowrap; direction: ltr; pointer-events: none; }
.quote blockquote { position: relative; margin: 0 auto; max-width: 980px; }
.quote p { font-size: clamp(1.5rem, 1.1rem + 1.7vw, 3rem); line-height: 1.3; margin-bottom: .4em; }
.quote cite { font-style: normal; color: var(--pink); font-weight: 700; }

/* ---------- outcomes (sticky head + list) ---------- */
.outcomes { padding-block: var(--space-section); }
.out-in { display: grid; grid-template-columns: 1fr 1.5fr; gap: var(--space-block); align-items: start; }
.out-head { position: sticky; top: 110px; }
.out-head h2 { font-size: var(--h2); }
.out-list { display: grid; gap: var(--space-l); }
.out-list h3 { font-size: var(--h3); color: var(--peri); margin-bottom: .35em; }
.out-list p { color: var(--fg-2); margin: 0; }

/* ---------- video in laptop ---------- */
.video { padding-block: var(--space-section) var(--space-block); }
.laptop { margin: 0 auto; max-width: 1000px; }
.laptop-screen { position: relative; background: linear-gradient(145deg, #F4F6F9, #B9C0CB 45%, #E6E9EE); padding: 1.8% 1.8% 2.2%; border-radius: 18px 18px 6px 6px; box-shadow: 0 40px 80px -30px rgba(0,0,0,.8); }
.laptop-screen video { width: 100%; border-radius: 6px; background: #000; aspect-ratio: 16 / 9; object-fit: cover; }
.laptop-base { height: 16px; margin-inline: -5%; background: linear-gradient(180deg, #E8EBF0, #A9B1BD); border-radius: 0 0 20px 20px; }
.laptop figcaption { text-align: center; color: var(--fg-3); font-size: var(--small); margin-top: 1rem; }
.laptop figcaption a { color: var(--peri); display: inline-block; padding-block: 10px; }
.vid-toggle { position: absolute; bottom: 6%; inset-inline-start: 4%; font: inherit; font-size: .8125rem; background: rgba(3,23,44,.8); color: #fff; border: 1px solid var(--line); border-radius: 999px; padding: .4em 1em; min-height: 44px; cursor: pointer; }

/* ---------- what you get (syllabus cards) ---------- */
.what { padding-block: var(--space-block) var(--space-section); }
.syl { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-m); align-items: start; }
.syl-card { background: linear-gradient(180deg, var(--panel), rgba(10,34,63,.4)); border: 1px solid var(--line); border-radius: 20px; padding: var(--space-l); }
.syl-card header { position: relative; margin-bottom: 1rem; }
.syl-card .pn { font-size: clamp(3.5rem, 2.8rem + 3vw, 6rem); position: absolute; inset-inline-end: 0; top: -.15em; opacity: .9; }
.syl-card h3 { font-size: var(--h3); }
.syl-list { list-style: none; margin: 0; padding: 0; }
.syl-list li { display: flex; justify-content: space-between; gap: 1rem; padding: .7em 0; border-bottom: 1px solid var(--line); font-size: var(--small); color: var(--fg-2); }
.syl-list em { font-style: normal; color: var(--peri); font-size: .8125rem; white-space: nowrap; }
.syl-note { font-size: .8125rem; color: var(--fg-3); margin: 1em 0 0; }

/* ---------- CTA strip ---------- */
.strip { padding-block: var(--space-l); }
.strip-box { position: relative; display: flex; align-items: center; gap: var(--space-l); flex-wrap: wrap; background: linear-gradient(110deg, var(--purple) 0%, var(--peri-3) 60%, var(--pink) 130%); border-radius: 24px; padding: var(--space-l) var(--space-block); padding-inline-start: clamp(150px, 10rem + 10vw, 300px); min-height: 220px; overflow: visible; }
.strip-ella { position: absolute; bottom: 0; inset-inline-start: clamp(10px, 2vw, 40px); width: clamp(120px, 6rem + 8vw, 240px); height: auto; filter: drop-shadow(0 10px 20px rgba(0,0,0,.35)); }
.strip-txt { flex: 1 1 260px; }
.strip-kick { margin: 0 0 .2em; color: #fff; font-size: var(--small); }
.strip h2 { font-size: var(--h2); }
.strip-benefit { margin: .5em 0 0; display: inline-block; background: var(--lime); color: var(--bg); font-weight: 700; font-size: .875rem; padding: .3em .9em; border-radius: 999px; }
.btn-ghost { display: inline-flex; align-items: center; gap: .4em; min-height: 56px; padding: .8em 1.8em; border-radius: 14px; border: 2px solid #fff; color: #fff; text-decoration: none; font-weight: 700; font-size: var(--body); transition: background .2s, color .2s; }
.btn-ghost:hover { background: #fff; color: var(--purple); }

/* ---------- concept gallery ---------- */
.gallery { padding-block: var(--space-section) var(--space-block); }
.gal { columns: 3 300px; column-gap: var(--space-m); }
.gal a { display: block; break-inside: avoid; margin-bottom: var(--space-m); border-radius: 16px; overflow: hidden; border: 1px solid var(--line); position: relative; text-decoration: none; }
.gal img { width: 100%; transition: transform .6s var(--ease); }
.gal a:hover img { transform: scale(1.03); }
.gal .cap { position: absolute; inset-inline: 0; bottom: 0; padding: 1.6rem 1rem .7rem; background: linear-gradient(transparent, rgba(3,23,44,.92)); font-size: var(--small); font-weight: 700; }
.gal .cap span { color: var(--peri); font-weight: 400; }

/* ---------- reviews (screenshots, CSS-only reveal) ---------- */
.reviews-sec { padding-block: var(--space-block) var(--space-section); }
.reviews-sec .center-head h2 { font-size: var(--h2); }
.reviews { columns: 3 300px; column-gap: var(--space-m); }
.rv { break-inside: avoid; margin: 0 0 var(--space-m); border-radius: 14px; overflow: hidden; border: 1px solid var(--line); background: #fff; transform-origin: 50% 0; }
.rv img { width: 100%; }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .rv { animation: rvOpen linear both; animation-timeline: view(); animation-range: entry 5% cover 28%; }
  }
}
@keyframes rvOpen { from { opacity: 0; transform: translateY(28px) scale(.94); clip-path: inset(0 0 55% 0 round 14px); } to { opacity: 1; transform: none; clip-path: inset(0 0 0 0 round 14px); } }

/* ---------- bio ---------- */
.bio { padding-block: var(--space-section); background: radial-gradient(600px 400px at 50% 20%, rgba(243,106,141,.16), transparent 70%), var(--bg-2); }
.bio-in { max-width: 760px; text-align: center; }
.bio-img { width: 220px; margin: 0 auto 1rem; mask-image: linear-gradient(#000 75%, transparent); -webkit-mask-image: linear-gradient(#000 75%, transparent); }
.bio h2 { font-size: var(--h2); margin-bottom: .6em; }
.bio p:not(.sp) { color: var(--fg-2); }
.bio b { color: #fff; }
.bio-last { margin-top: 1.4em; font-size: var(--lead); }

/* ---------- next ---------- */
.next { padding-block: var(--space-section); }
.next-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-m); }
.nx { background: var(--panel); border: 1px solid var(--line); border-radius: 20px; padding: var(--space-l); text-align: center; display: flex; flex-direction: column; align-items: center; }
.nx-ic { width: 88px; height: 88px; margin-bottom: 1rem; }
.nx h3 { font-size: var(--h3); margin-bottom: .5em; }
.nx p { color: var(--fg-2); font-size: var(--small); }
.nx-price { color: var(--fg-3) !important; margin-top: auto; }
.nx-price b { color: #fff; font-size: 1.4em; }
.nx-price s { color: var(--pink); }
.nx-link { margin-top: .6rem; color: var(--lime); font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; background: linear-gradient(var(--lime), var(--lime)) bottom / 100% 2px no-repeat; }

/* ---------- faq (open, two columns) ---------- */
.faq { padding-block: var(--space-section) var(--space-block); }
.faq-head { margin-bottom: var(--space-block); }
.faq-head h2 { font-size: var(--h2); }
.faq-grid { columns: 2 340px; column-gap: var(--space-block); }
.qa { break-inside: avoid; margin-bottom: var(--space-l); }
.qa h3 { font-size: var(--lead); margin-bottom: .4em; }
.qa p { color: var(--fg-2); font-size: var(--small); margin: 0; }
.qa a { color: var(--peri); }
.coupon-box { margin-top: var(--space-m); padding-top: var(--space-m); border-top: 1px solid var(--line); }
.coupon-box summary { cursor: pointer; color: var(--peri); font-weight: 700; display: inline-block; padding: .6em 0; }
.coupon-form { display: flex; gap: .5rem; flex-wrap: wrap; margin-top: .4rem; }
.coupon-form input { font: inherit; min-height: 44px; padding: .5em 1em; border: 1px solid var(--line); border-radius: 999px; background: var(--panel); color: #fff; width: 220px; text-transform: uppercase; }
.coupon-form button { font: inherit; font-weight: 700; min-height: 44px; padding: .5em 1.2em; border-radius: 999px; border: 0; background: var(--peri); color: var(--bg); cursor: pointer; }
.coupon-msg { margin: .5em 0 0; font-size: var(--small); min-height: 1.4em; }
.coupon-msg.ok { color: var(--lime); font-weight: 700; }
.coupon-msg.err { color: #FF9DB3; font-weight: 700; }
.coupon-applied { font-size: var(--small); color: var(--fg-2); }
.link-btn { background: none; border: 0; font: inherit; color: var(--peri); text-decoration: underline; cursor: pointer; min-height: 44px; }
.has-coupon #coupon-details summary { display: none; }

/* ---------- footer ---------- */
.foot { background: #020F1E; border-top: 1px solid var(--line); padding-block: var(--space-l) calc(var(--space-l) + 90px); font-size: var(--small); color: var(--fg-3); }
.foot-in { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: var(--space-l); }
.foot h3 { font-size: var(--small); color: #fff; margin-bottom: .6rem; }
.foot a { display: block; color: var(--fg-2); text-decoration: none; padding-block: 10px; }
.foot a:hover { color: #fff; }

.sticky-cta { display: none; }
.reveal { transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.pre { opacity: 0; transform: translateY(18px); }

/* ---------- layout breakpoints ---------- */
@media (max-width: 1100px) {
  .hero-art { width: 70%; opacity: .45; }
  .syl, .next-grid { grid-template-columns: 1fr; max-width: 620px; margin-inline: auto; }
  .out-in { grid-template-columns: 1fr; }
  .out-head { position: static; }
}
@media (max-width: 900px) {
  :root { --rail: 0px; }
  .rail { display: none; }
  .parts-in { grid-template-columns: 1fr; }
  .part:nth-child(n) { margin-top: 0; }
  .foot-in { grid-template-columns: 1fr 1fr; }
  .top-btn { display: none; }
  .sticky-cta { display: flex; position: fixed; inset-inline: 0; bottom: 0; z-index: 80; padding: .6rem var(--gutter) calc(.6rem + env(safe-area-inset-bottom)); background: rgba(3,23,44,.95); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-top: 1px solid var(--line); }
  .sticky-cta .btn-main { flex: 1; min-height: 52px; font-size: var(--body); padding-inline: 1em; }
}
@media (max-width: 640px) {
  .hero { min-height: 0; padding-top: var(--space-m); }
  .hero-art { position: relative; inset: auto; width: 115%; margin: 0 -7.5% -2rem; opacity: 1; order: 2; }
  .hero { flex-direction: column; align-items: stretch; }
  .hero-in { order: 1; }
  .btn-main { width: 100%; }
  .promo-in { gap: .4rem .7rem; min-height: 56px; }
  .promo-badge { font-size: .75rem; }
  .strip-box { padding: var(--space-l); padding-top: 170px; justify-content: center; text-align: center; }
  .strip-ella { inset-inline-start: 50%; transform: translateX(50%); bottom: auto; top: -30px; width: 130px; }
  .btn-ghost { width: 100%; justify-content: center; }
  .faq-grid { columns: 1; }
  .mq { transform: perspective(900px) rotateX(8deg) rotateZ(-3deg); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal.pre { opacity: 1; transform: none; }
  .mq-row { flex-wrap: wrap; width: auto; justify-content: center; }
  .mq { transform: none; }
}

/* round 1 fixes */
.mq { direction: ltr; }
.hero-art { width: 46%; inset-inline-end: 1%; }
.strip-ella { width: clamp(130px, 7rem + 7vw, 230px); }
@media (max-width: 1280px) { .hero-art { opacity: .35; width: 55%; } }
@media (max-width: 640px) { .hero-art { width: 115%; opacity: 1; } }
/* round 2: card numbers in flow, phone strip layout */
.syl-card .pn { position: static; text-align: start; margin-bottom: -.15em; }
@media (max-width: 640px) {
  .strip-box { padding: 0 var(--space-l) var(--space-l); flex-direction: column; text-align: center; overflow: hidden; }
  .strip-ella { position: static; transform: none; width: 150px; margin: -10px auto 0; }
  .strip-txt { flex: none; }
}
.hero-proof a, .works-cap a, .laptop figcaption a, .foot a { padding-block: 12px; }
@media (min-width: 1281px) { .hero-art { width: 40%; inset-inline-end: 2%; } .hero-in > * { max-width: 600px; } }
