/* ================================================================
   FitMeWear — premium editorial UI
   Live shirt-collar logo · Signature Violet #5A2EE0 + lime spark
   Display: Archivo · Body: Hanken Grotesk · Data: Space Mono
   ================================================================ */

:root {
  --ink:      #1A1712;
  --ink-2:    #3B342B;
  --paper:    #F5F3EE;
  --paper-2:  #FCFBF8;
  --bone:     #EAE5D9;
  --line:     #DBD5C7;
  --line-2:   #C6BEAC;
  --stone:    #5E5849;
  --stone-2:  #8A8271;

  --accent:   #5A2EE0;   /* Signature Violet — from the FitMeWear logo */
  --accent-2: #4A1FB8;   /* deep violet — hover / pressed */
  --accent-tint: #ECE6FB;
  --lime:     #DBF546;   /* logo lime — rare spark on dark surfaces */
  --lime-ink: #3f4d00;
  --gold:     #D99A2E;   /* star ratings */

  --ok:       #1A7F37;
  --bad:      #C0392B;

  --disp: "Archivo", system-ui, sans-serif;
  --body: "Hanken Grotesk", system-ui, sans-serif;
  --mono: "Space Mono", ui-monospace, monospace;

  --r: 4px;
  --r-2: 8px;
  --r-lg: 14px;
  --ease: cubic-bezier(.22,1,.36,1);
  --shadow: 0 30px 60px -38px rgba(26,23,18,.5);
  --shadow-lg: 0 40px 80px -30px rgba(26,23,18,.55);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--body);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: none; }
h1, h2, h3, h4, h5 { font-family: var(--disp); font-weight: 800; letter-spacing: -.02em; line-height: 1.05; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }

.container { width: min(1240px, 92%); margin-inline: auto; }
.ic { width: 20px; height: 20px; flex: 0 0 auto; }

.eyebrow, .eyebrow--c {
  display: inline-flex; align-items: center;
  font-family: var(--mono); font-size: .72rem; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase; color: var(--accent);
}
.eyebrow::before {
  content: ""; width: 20px; height: 1px; background: currentColor; margin-right: .7rem; opacity: .7;
}

/* ================= Buttons ================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-family: var(--mono); font-weight: 700; font-size: .78rem;
  letter-spacing: .04em; text-transform: uppercase;
  padding: .95rem 1.4rem; border: 1px solid var(--ink); border-radius: var(--r);
  background: var(--paper-2); color: var(--ink);
  transition: background .25s, color .25s, border-color .25s, transform .1s;
}
.btn svg, .btn .ic { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }
.btn--lg { padding: 1.1rem 1.8rem; font-size: .8rem; }
.btn--sm { padding: .6rem 1rem; font-size: .72rem; }
.btn--block { width: 100%; }
.btn--violet { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn--violet:hover { background: var(--accent-2); border-color: var(--accent-2); }
.btn--dark { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn--dark:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn--lime { background: var(--lime); color: var(--lime-ink); border-color: var(--ink); }
.btn--lime:hover { background: #cfec2f; }
.btn--outline { background: transparent; }
.btn--outline:hover { background: var(--ink); color: var(--paper); }
.btn--paper { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn--paper:hover { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none !important; }

.textlink {
  display: inline-flex; align-items: center; gap: .45rem;
  font-weight: 600; font-size: .96rem; color: var(--ink);
  padding-bottom: 3px; box-shadow: inset 0 -1px 0 var(--ink); transition: color .2s, box-shadow .2s;
}
.textlink svg { width: 15px; height: 15px; transition: transform .25s var(--ease); }
.textlink:hover { color: var(--accent); box-shadow: inset 0 -1px 0 var(--accent); }
.textlink:hover svg { transform: translateX(3px); }
.link-btn { background: none; border: none; color: var(--accent); font-weight: 700; font-family: var(--body); font-size: .88rem; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }

/* ================= Ticker ================= */
.ticker { background: var(--ink); color: var(--paper); overflow: hidden; }
.ticker__track {
  display: flex; align-items: center; gap: 1.6rem; width: max-content; padding: .55rem 0;
  white-space: nowrap; font-family: var(--mono); font-size: .68rem; letter-spacing: .16em;
  animation: slide-x 36s linear infinite;
}
.ticker__track i { color: var(--lime); font-style: normal; }
.ticker__track span { opacity: .92; }
@keyframes slide-x { to { transform: translateX(-50%); } }

/* ================= Nav ================= */
.nav {
  position: sticky; top: 0; z-index: 60;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.2rem; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: .55rem; }
.brand__logo { display: inline-flex; }
.brand__logo svg { display: block; }
.brand__name { font-family: var(--disp); font-weight: 800; font-size: 1.2rem; letter-spacing: .02em; }
.nav__links { display: flex; gap: 1.9rem; }
.nav__links a { font-weight: 600; font-size: .95rem; color: var(--ink-2); position: relative; padding: .3rem 0; transition: color .2s; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -2px; height: 1.5px; background: var(--accent); transition: right .28s var(--ease); }
.nav__links a:hover { color: var(--ink); }
.nav__links a:hover::after { right: 0; }
.nav__actions { display: flex; align-items: center; gap: .4rem; }

.icon-btn { position: relative; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 999px; color: var(--ink); border: none; background: none; transition: background .2s; }
.icon-btn:hover { background: var(--bone); }
.icon-btn .ic { width: 20px; height: 20px; }
.mini-count { position: absolute; top: 2px; right: 0; min-width: 17px; height: 17px; padding: 0 4px; display: grid; place-items: center; border-radius: 999px; background: var(--accent); color: #fff; font-family: var(--mono); font-size: .58rem; font-weight: 700; }

.cart-btn { display: inline-flex; align-items: center; gap: .5rem; }
.cart-btn .ic { width: 18px; height: 18px; }
.cart-count { min-width: 20px; height: 20px; padding: 0 5px; display: inline-grid; place-items: center; border-radius: 999px; background: var(--lime); color: var(--lime-ink); font-family: var(--mono); font-size: .66rem; font-weight: 700; }

.pin-pill {
  display: inline-flex; align-items: center; gap: .4rem; padding: .5rem .8rem;
  border: 1px solid var(--line-2); border-radius: 999px; background: var(--paper-2); color: var(--ink);
  font-family: var(--mono); font-size: .72rem; letter-spacing: .04em; text-transform: uppercase;
  cursor: pointer; transition: border-color .2s, color .2s; white-space: nowrap;
}
.pin-pill .ic { width: 15px; height: 15px; color: var(--accent); }
.pin-pill:hover { border-color: var(--accent); color: var(--accent); }
.pin-pill.is-ok { border-color: color-mix(in srgb, var(--accent) 40%, transparent); background: var(--accent-tint); color: var(--accent-2); }
.pin-pill.is-bad { border-color: #e6b9b3; background: #fbeeec; color: var(--bad); }

.nav__burger { display: none; }

/* Account (nav) */
.account-area { display: flex; align-items: center; position: relative; }
.account { display: flex; align-items: center; gap: .5rem; cursor: pointer; border: 1px solid var(--line-2); border-radius: 999px; padding: .28rem .8rem .28rem .32rem; background: var(--paper-2); transition: border-color .2s; }
.account:hover { border-color: var(--accent); }
.account__avatar { width: 30px; height: 30px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; font-family: var(--disp); font-weight: 800; font-size: .9rem; }
.account__name { font-weight: 700; font-size: .9rem; }
.account__menu { position: absolute; top: 118%; right: 0; background: var(--paper-2); border: 1px solid var(--line-2); border-radius: var(--r-2); box-shadow: var(--shadow); padding: .5rem; min-width: 230px; display: none; z-index: 60; }
.account__menu.open { display: block; }
.account__hi { padding: .6rem .7rem; font-weight: 700; font-size: .9rem; border-bottom: 1px solid var(--line); margin-bottom: .4rem; }
.account__hi small { display: block; font-weight: 500; color: var(--stone); font-size: .76rem; margin-top: .2rem; }
.account__menu button { display: flex; align-items: center; gap: .6rem; width: 100%; text-align: left; padding: .6rem .7rem; font-family: var(--body); font-weight: 600; font-size: .9rem; color: var(--ink); border-radius: var(--r); transition: background .15s; }
.account__menu button svg { width: 18px; height: 18px; color: var(--stone); }
.account__menu button:hover { background: var(--accent-tint); }

/* Mobile menu */
.mobile-menu { display: none; position: absolute; top: calc(100% + 8px); left: 4%; right: 4%; background: var(--paper-2); border: 1px solid var(--line-2); border-radius: var(--r-2); box-shadow: var(--shadow); padding: .5rem; z-index: 50; }
.mobile-menu.open { display: block; }
.mobile-menu a { display: flex; align-items: center; gap: .7rem; padding: .9rem 1rem; font-weight: 700; font-size: 1rem; border-radius: var(--r); transition: background .15s; }
.mobile-menu a svg { width: 19px; height: 19px; color: var(--accent); }
.mobile-menu a:hover { background: var(--accent-tint); }

/* ================= Hero ================= */
.hero { position: relative; padding: clamp(2.5rem, 6vw, 5.5rem) 0 clamp(3rem, 6vw, 5rem); }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(var(--line-2) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-2) 1px, transparent 1px);
  background-size: 38px 38px; opacity: .26;
  -webkit-mask-image: radial-gradient(125% 92% at 74% 36%, #000 0%, transparent 68%);
          mask-image: radial-gradient(125% 92% at 74% 36%, #000 0%, transparent 68%);
}
.hero__inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.02fr .98fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero__title { font-family: var(--disp); font-weight: 800; letter-spacing: -.03em; line-height: .95; font-size: clamp(3rem, 8.2vw, 6.2rem); margin: 1.3rem 0 0; }
.hero__title em { font-style: normal; color: var(--accent); position: relative; white-space: nowrap; }
.hero__title em::after { content: ""; position: absolute; left: .02em; right: .14em; bottom: .02em; height: 5px; background-image: repeating-linear-gradient(90deg, var(--accent) 0 4px, transparent 4px 9px); opacity: .5; }
.hero__sub { color: var(--stone); font-size: 1.1rem; line-height: 1.65; max-width: 46ch; margin: 1.5rem 0 2rem; }
.hero__cta { display: flex; align-items: center; gap: 1.4rem; flex-wrap: wrap; }
.hero__stats { display: flex; gap: 2.2rem; list-style: none; margin-top: 2.6rem; }
.hero__stats li { display: flex; flex-direction: column; gap: .1rem; }
.hero__stats b { font-family: var(--disp); font-weight: 800; font-size: 1.7rem; letter-spacing: -.02em; }
.hero__stats b .s { color: var(--accent); }
.hero__stats span { font-family: var(--mono); font-size: .64rem; letter-spacing: .1em; text-transform: uppercase; color: var(--stone-2); }

.hero__media { position: relative; }
.shot { position: relative; aspect-ratio: 4/5; border: 1px solid var(--ink); border-radius: var(--r-2); overflow: hidden; background: var(--bone); box-shadow: var(--shadow); }
.shot img { width: 100%; height: 100%; object-fit: cover; }
.shot__file { position: absolute; left: .8rem; bottom: .8rem; z-index: 2; font-family: var(--mono); font-size: .62rem; letter-spacing: .1em; background: var(--paper); color: var(--ink); padding: .3rem .55rem; border: 1px solid var(--ink); }
.anno { position: absolute; z-index: 3; display: flex; flex-direction: column; line-height: 1.1; background: var(--paper-2); border: 1px solid var(--ink); border-radius: var(--r); padding: .5rem .7rem; box-shadow: 0 10px 22px -14px rgba(26,23,18,.5); }
.anno i { font-family: var(--mono); font-style: normal; font-size: .58rem; letter-spacing: .12em; text-transform: uppercase; color: var(--stone-2); }
.anno b { font-family: var(--disp); font-weight: 800; font-size: 1.15rem; }
.anno b u { text-decoration: none; font-size: .62rem; color: var(--accent); margin-left: 1px; }
.anno::after { content: ""; position: absolute; width: 7px; height: 7px; border-radius: 999px; background: var(--accent); border: 2px solid var(--paper); }
.anno::before { content: ""; position: absolute; top: 50%; width: 15px; height: 1px; background: var(--accent); opacity: .55; }
.anno--a { top: 7%; left: -5%; } .anno--a::after { right: -18px; top: 50%; } .anno--a::before { right: -15px; }
.anno--b { top: 27%; right: -6%; text-align: right; } .anno--b::after { left: -18px; top: 50%; } .anno--b::before { left: -15px; }
.anno--c { bottom: 22%; right: -3%; text-align: right; } .anno--c::after { left: -18px; top: 50%; } .anno--c::before { left: -15px; }
.anno--d { bottom: 6%; left: -4%; } .anno--d::after { right: -18px; top: 50%; } .anno--d::before { right: -15px; }

/* ================= Trust strip ================= */
.trust { border-block: 1px solid var(--line); background: var(--paper); }
.trust__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; padding: 1.15rem 0; }
.trust__item { display: inline-flex; align-items: center; gap: .6rem; font-family: var(--mono); font-size: .74rem; letter-spacing: .04em; text-transform: uppercase; }
.trust__item .ic { width: 19px; height: 19px; color: var(--accent); }

/* ================= Ruler divider ================= */
.rule {
  position: relative; height: 34px; border-top: 1px solid var(--line-2);
  background-image:
    repeating-linear-gradient(90deg, var(--line-2) 0 1px, transparent 1px 14px),
    repeating-linear-gradient(90deg, color-mix(in srgb, var(--accent) 55%, transparent) 0 1.5px, transparent 1.5px 70px);
  background-size: 14px 8px, 70px 14px; background-repeat: repeat-x, repeat-x; background-position: top, top;
}
.rule__num { position: absolute; top: -.72rem; left: 50%; transform: translateX(-50%); background: var(--paper); padding: 0 .9rem; font-family: var(--mono); font-size: .64rem; letter-spacing: .2em; color: var(--stone-2); }

/* ================= Sections ================= */
.sec { padding: clamp(4rem, 9vw, 7rem) 0; }
.sec--bone { background: var(--bone); }
.sec--ink { background: var(--ink); color: var(--paper); }
.sec__head { max-width: 32ch; margin-bottom: clamp(2rem, 4vw, 3.2rem); }
.sec__head .sec__title { margin-top: 1rem; }
.sec__head--row { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; max-width: none; }
.sec__title { font-size: clamp(1.9rem, 4.2vw, 3.15rem); }
.sec__intro { color: var(--stone); font-size: 1.05rem; max-width: 42ch; }
.sec__head--row .sec__intro { margin-bottom: .3rem; }

/* Steps */
.steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; }
.step { position: relative; padding: 2rem 1.7rem 1.9rem; background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--r-2); transition: border-color .25s, transform .25s var(--ease); }
.step:hover { border-color: var(--ink); transform: translateY(-4px); }
.step__n { font-family: var(--mono); font-weight: 700; font-size: .82rem; letter-spacing: .12em; color: var(--accent); }
.step__ic { display: grid; place-items: center; width: 52px; height: 52px; margin: 1.1rem 0 1.2rem; border: 1px solid var(--ink); border-radius: var(--r); color: var(--ink); }
.step__ic svg { width: 24px; height: 24px; }
.step h3 { font-size: 1.35rem; margin-bottom: .5rem; }
.step p { color: var(--stone); font-size: .96rem; }

/* ================= Products ================= */
.products { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.pcard { display: flex; flex-direction: column; background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--r-2); overflow: hidden; transition: border-color .25s, transform .25s var(--ease); }
.pcard.is-hidden { display: none; }
.pcard:hover { border-color: var(--ink); transform: translateY(-4px); }
.pcard__media { position: relative; aspect-ratio: 4/5; overflow: hidden; background: var(--bone); }
.pcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.pcard:hover .pcard__media img { transform: scale(1.05); }
.pcard__media--fallback { display: grid; place-items: center; font-size: 3.5rem; }
.pcard__like { position: absolute; top: .7rem; right: .8rem; z-index: 2; width: 38px; height: 38px; border-radius: 999px; display: grid; place-items: center; background: var(--paper); border: 1px solid var(--ink); color: var(--ink); transition: background .2s, color .2s; }
.pcard__like svg { width: 18px; height: 18px; }
.pcard__like:hover { background: var(--accent-tint); }
.pcard__like.is-on { background: var(--accent); color: #fff; border-color: var(--accent); }
.pcard__body { display: flex; flex-direction: column; gap: .5rem; padding: 1.3rem 1.4rem 1.5rem; flex: 1; }
.pcard__tags { display: flex; gap: .4rem; flex-wrap: wrap; }
.pcard__chip { font-family: var(--mono); font-size: .6rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; background: var(--accent-tint); color: var(--accent-2); padding: .22rem .55rem; border-radius: 999px; }
.pcard__body h3 { font-size: 1.35rem; }
.pcard__desc { color: var(--stone); font-size: .93rem; flex: 1; }
/* Link from a product card to that shirt's own landing page (/formal-shirt).
   Gives Google a crawlable path to the page and gives shoppers the detail
   (fabric, measurements, care) before they commit to the order form. */
.pcard__more { align-self: flex-start; margin-top: .5rem; font-size: .85rem; font-weight: 600; color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.pcard__more:hover { text-decoration-thickness: 2px; }
.pcard__foot { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: .5rem; }
.pcard__price { display: flex; flex-direction: column; }
.pcard__price span { font-family: var(--mono); font-size: .6rem; letter-spacing: .1em; text-transform: uppercase; color: var(--stone-2); }
.pcard__price b { font-family: var(--mono); font-weight: 700; font-size: 1.3rem; }

/* ================= The fit / AI ================= */
.fit__inner { display: grid; grid-template-columns: 1fr 1.02fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.fit__media { position: relative; aspect-ratio: 5/6; border: 1px solid var(--ink); border-radius: var(--r-2); overflow: hidden; }
.fit__media img { width: 100%; height: 100%; object-fit: cover; }
.fit__scan { position: absolute; inset: 0; pointer-events: none; }
.fit__scan-line { position: absolute; left: 0; right: 0; top: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--accent), transparent); box-shadow: 0 0 18px 2px color-mix(in srgb, var(--accent) 50%, transparent); animation: scan 3.6s var(--ease) infinite; }
@keyframes scan { 0% { top: 6%; } 50% { top: 92%; } 100% { top: 6%; } }
.fit__pt { position: absolute; width: 10px; height: 10px; border-radius: 999px; border: 2px solid var(--paper); background: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 22%, transparent); }
.fit__pt--1 { top: 22%; left: 40%; } .fit__pt--2 { top: 40%; left: 62%; } .fit__pt--3 { top: 58%; left: 34%; } .fit__pt--4 { top: 74%; left: 55%; }
.badge-ai { display: inline-flex; align-items: center; gap: .5rem; margin-bottom: 1.3rem; font-family: var(--mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-2); background: var(--accent-tint); border: 1px solid color-mix(in srgb, var(--accent) 25%, transparent); padding: .4rem .75rem; border-radius: 999px; }
.badge-ai svg { width: 16px; height: 16px; }
.fit__body .sec__intro { max-width: 48ch; margin: 1.2rem 0 0; }
.fit__list { list-style: none; margin: 1.6rem 0 2rem; display: grid; gap: .8rem; }
.fit__list li { display: flex; align-items: center; gap: .7rem; font-size: 1.02rem; color: var(--ink-2); }
.fit__list svg { flex: 0 0 auto; width: 20px; height: 20px; color: var(--accent); }

/* ================= Reviews ================= */
.voice { text-align: center; max-width: 26ch; margin: 0 auto; }
.voice__stars { display: inline-flex; gap: .15rem; color: var(--gold); }
.voice__stars svg { width: 20px; height: 20px; }
.voice__stars--sm svg { width: 15px; height: 15px; }
.voice blockquote { font-family: var(--disp); font-weight: 700; letter-spacing: -.02em; line-height: 1.12; font-size: clamp(1.7rem, 4vw, 2.9rem); margin: 1.1rem 0 1.3rem; }
.voice blockquote em { font-style: normal; color: var(--accent); }
.voice figcaption { font-family: var(--mono); font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; }
.voice figcaption span { color: var(--stone-2); }
.voice__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.3rem; max-width: 820px; margin: 3.2rem auto 0; }
/* Honest footnote under the promise cards (we don't fake review counts). */
.voice__note { max-width: 62ch; margin: 2.2rem auto 0; text-align: center; color: var(--stone); font-size: .95rem; line-height: 1.7; }
.voice__note a { color: var(--accent); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.vcard { background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--r-2); padding: 1.6rem; }
.vcard blockquote { font-size: 1.05rem; line-height: 1.5; color: var(--ink-2); margin: .8rem 0 1rem; }
.vcard figcaption { font-family: var(--mono); font-size: .72rem; letter-spacing: .05em; text-transform: uppercase; }
.vcard figcaption span { color: var(--stone-2); }

/* ================= FAQ ================= */
.faq { max-width: 820px; margin: 0 auto; border-top: 1px solid var(--ink); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 1.35rem 0; font-family: var(--disp); font-weight: 700; font-size: 1.15rem; letter-spacing: -.01em; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary svg { flex: 0 0 auto; width: 22px; height: 22px; color: var(--accent); transition: transform .3s var(--ease); }
.faq__item[open] summary svg { transform: rotate(45deg); }
.faq__item p { color: var(--stone); padding: 0 0 1.4rem; max-width: 64ch; }

/* ================= CTA ================= */
.cta { background: var(--ink); color: var(--paper); }
.cta__inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; padding: clamp(3.5rem, 8vw, 6rem) 0; }
.cta .eyebrow { color: var(--lime); }
.cta__title { font-family: var(--disp); font-weight: 800; letter-spacing: -.02em; line-height: 1; font-size: clamp(2.2rem, 6vw, 4.2rem); margin-top: 1rem; color: var(--paper); }

/* ================= Footer (rendered by JS into #siteFooter.footer) ================= */
.footer { background: var(--bone); border-top: 1px solid var(--line-2); }
.footer__inner { display: grid; grid-template-columns: 1.4fr 1.6fr; gap: 2.5rem; padding: clamp(3rem, 6vw, 4.5rem) 0 2.5rem; }
.footer__brand .brand { margin-bottom: 1rem; }
.footer__brand p { color: var(--stone); font-size: .95rem; max-width: 34ch; margin: 0 0 .8rem; }
.footer__contact { font-family: var(--mono); font-size: .8rem; letter-spacing: .02em; color: var(--ink-2); line-height: 1.9; }
.footer__cols { display: flex; gap: 2.5rem; flex-wrap: wrap; }
.footer__cols h5 { font-family: var(--mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--stone-2); margin-bottom: 1rem; font-weight: 700; }
.footer__cols a { display: block; color: var(--ink-2); padding: .32rem 0; font-size: .95rem; transition: color .2s; }
.footer__cols a:hover { color: var(--accent); }
.socials { display: flex; gap: .6rem; margin-top: 1rem; }
.socials a { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid var(--line-2); border-radius: 999px; color: var(--ink); transition: background .2s, color .2s, border-color .2s; }
.socials a:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.footer__bottom { border-top: 1px solid var(--line-2); padding: 1.4rem 0; font-family: var(--mono); font-size: .68rem; letter-spacing: .06em; text-transform: uppercase; color: var(--stone); text-align: center; }

/* ================= Modals ================= */
.modal { position: fixed; inset: 0; z-index: 100; display: none; align-items: flex-start; justify-content: center; padding: 2.5rem 1rem; background: rgba(26,23,18,.55); backdrop-filter: blur(4px); overflow-y: auto; }
.modal.open { display: flex; }
.modal__box { position: relative; width: min(640px, 100%); background: var(--paper-2); border: 1px solid var(--ink); border-radius: var(--r-lg); padding: 2.1rem; box-shadow: var(--shadow-lg); animation: pop .25s var(--ease); }
.modal__box--sm { max-width: 460px; }
@keyframes pop { from { transform: translateY(16px); opacity: 0; } to { transform: none; opacity: 1; } }
.modal__close { position: absolute; top: 1.1rem; right: 1.1rem; width: 38px; height: 38px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--paper); display: grid; place-items: center; color: var(--ink); transition: background .2s, transform .25s; }
.modal__close::before { content: "\00d7"; font-size: 1.3rem; line-height: 1; }
.modal__close:hover { background: var(--accent-tint); transform: rotate(90deg); }
.modal__head { margin-bottom: 1.2rem; }
.modal__head h3 { font-size: 1.7rem; margin-top: .35rem; }
.modal__head p { color: var(--stone); font-size: .92rem; margin-top: .3rem; }

/* Forms */
label { display: flex; flex-direction: column; gap: .45rem; font-size: .82rem; font-weight: 600; color: var(--ink); }
input, select, textarea { font-family: var(--body); font-size: .96rem; padding: .75rem .85rem; border: 1px solid var(--line-2); border-radius: var(--r); background: var(--paper-2); color: var(--ink); transition: border-color .2s, box-shadow .2s; }
textarea { resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-tint); }
.mform__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.mform__row { margin-top: 1rem; }
.mform__row .full, label.full { width: 100%; }
.mform__foot { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 1.3rem; margin-top: 1.3rem; }
.mform__price span { display: block; font-family: var(--mono); font-size: .64rem; letter-spacing: .1em; text-transform: uppercase; color: var(--stone-2); }
.mform__price b { font-family: var(--disp); font-weight: 800; font-size: 1.7rem; color: var(--accent); }

.profile-pick { background: var(--accent-tint); border: 1px solid color-mix(in srgb, var(--accent) 22%, var(--line)); border-radius: var(--r-2); padding: 1rem 1.1rem; margin-bottom: 1.1rem; }
.unit-toggle { display: flex; align-items: center; gap: .8rem; margin-bottom: 1.1rem; }
.unit-toggle__label { font-family: var(--mono); font-weight: 700; font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--stone); }
.segment { display: inline-flex; background: var(--bone); border: 1px solid var(--line-2); border-radius: 999px; padding: 3px; gap: 2px; }
.segment__btn { font-family: var(--mono); font-weight: 700; font-size: .78rem; padding: .4rem 1.1rem; border: none; background: transparent; color: var(--stone); border-radius: 999px; cursor: pointer; transition: all .2s; }
.segment__btn.is-active { background: var(--accent); color: #fff; }

.calc { background: var(--accent-tint); border: 1px solid color-mix(in srgb, var(--accent) 20%, var(--line)); border-radius: var(--r-2); padding: 1.3rem; margin-bottom: 1.3rem; }
.ai-measure { background: var(--paper); border: 1px solid var(--line-2); border-radius: var(--r-2); padding: 1.3rem; margin-bottom: 1.3rem; }
.calc__head { display: flex; flex-direction: column; gap: .2rem; margin-bottom: 1rem; }
.calc__head b { font-family: var(--disp); font-size: 1.05rem; }
.calc__head span { font-size: .84rem; color: var(--stone); }
.calc__grid { display: grid; grid-template-columns: 1fr 1fr 1fr auto; gap: .7rem; align-items: end; }
.calc__btn { padding: .72rem 1.1rem; }
.calc__note { display: block; margin-top: .7rem; color: var(--stone); font-size: .78rem; }
/* Selector must be at least as specific as ".calc__head span" above, or the
   badge inherits that muted --stone colour and turns unreadable on violet. */
.calc__head .ai-badge { background: var(--accent); color: #fff; font-family: var(--mono); font-size: .66rem; font-weight: 700; letter-spacing: .04em; padding: .2rem .55rem; border-radius: 999px; vertical-align: middle; margin-left: .35rem; white-space: nowrap; }

.ai-upload { flex-direction: row; align-items: center; justify-content: center; gap: .5rem; background: var(--paper-2); border: 1px dashed var(--accent); border-radius: var(--r); padding: .8rem 1rem; font-size: .88rem; font-weight: 700; cursor: pointer; text-align: center; transition: background .2s; }
.ai-upload:hover { background: var(--accent-tint); }
.ai-upload--alt { border-color: var(--line-2); }
.ai-canvas { display: block; width: min(240px, 100%); margin: 1rem auto 0; border: 1px solid var(--ink); border-radius: var(--r); }
.ai-canvas[hidden] { display: none; }

/* ---- AI photo measure: two-shot (front + side) ---- */
.calc__head .ai-badge--beta { background: var(--gold); color: #2b1c00; }
.ai-beta { display: flex; gap: .5rem; align-items: flex-start; background: #FFF6E5; border: 1px solid #F0D9A8; border-radius: var(--r); padding: .65rem .75rem; margin: 0 0 .9rem; font-size: .8rem; line-height: 1.5; color: #6b4e12; }
.ai-beta svg { flex: 0 0 auto; margin-top: .15rem; }
.ai-guide { list-style: none; margin: .2rem 0 .9rem; display: flex; flex-direction: column; gap: .28rem; }
.ai-guide li { position: relative; padding-left: 1.1rem; font-size: .8rem; color: var(--stone); line-height: 1.45; }
.ai-guide li::before { content: ""; position: absolute; left: .28rem; top: .52em; width: 5px; height: 5px; border-radius: 999px; background: var(--accent); }
.ai-shots { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.ai-shot { border: 1px solid var(--line-2); border-radius: var(--r-2); background: var(--paper-2); padding: .8rem; display: flex; flex-direction: column; }
.ai-shot__head { display: flex; align-items: center; justify-content: space-between; gap: .4rem; margin-bottom: .6rem; }
.ai-shot__head b { font-family: var(--mono); font-size: .72rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.ai-shot__badge { font-family: var(--mono); font-size: .58rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; padding: .18rem .45rem; border-radius: 999px; background: var(--line); color: var(--ink); white-space: nowrap; }
.ai-shot__badge.is-wait { background: var(--bone); color: var(--stone); }
.ai-shot__badge.is-ok { background: #C8F5D0; color: #166534; }
.ai-shot__badge.is-bad { background: #F6D9D5; color: #8a2818; }
.ai-shot__ph { flex: 1 1 auto; min-height: 104px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .35rem; text-align: center; border: 1px dashed var(--line-2); border-radius: var(--r); color: var(--stone-2); font-size: .76rem; line-height: 1.35; padding: .5rem; }
.ai-shot__ph[hidden] { display: none; }
.ai-shot .ai-canvas { width: 100%; margin: 0; }
.ai-shot__btns { display: grid; grid-template-columns: 1fr 1fr; gap: .4rem; margin-top: .7rem; }
.ai-shot__btns .ai-upload { padding: .5rem .35rem; font-size: .74rem; gap: .3rem; }
.ai-run { width: 100%; margin-top: .9rem; }
@media (max-width: 560px) {
  .ai-shots { grid-template-columns: 1fr; }
}

.mfield label { position: relative; }
.mfield small { font-weight: 500; color: var(--stone-2); font-size: .74rem; line-height: 1.4; }
.u-sym { color: var(--accent); font-family: var(--mono); font-weight: 700; font-size: .7rem; }
.mtype { font-family: var(--mono); font-size: .56rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; padding: .1rem .4rem; border-radius: 999px; vertical-align: middle; }
.mtype--round { background: var(--accent-tint); color: var(--accent-2); }
.mtype--length { background: var(--bone); color: var(--ink-2); }
.save-profile { flex-direction: row; align-items: center; gap: .6rem; margin: 1.3rem 0; font-weight: 600; font-size: .9rem; cursor: pointer; color: var(--ink-2); }
.save-profile input { width: 18px; height: 18px; accent-color: var(--accent); }

/* Checkout */
.co-loc { display: block; }
.co-geo { margin: .5rem 0 0; font-size: .85rem; color: var(--stone); }
.co-geo a { color: var(--accent); font-weight: 600; }
.co-geo.is-ok { color: var(--ok); font-weight: 600; }
.co-geo.is-bad { color: var(--bad); font-weight: 600; }
.co-hint { color: var(--stone-2); font-weight: 400; font-size: .82rem; }
.co-check { display: flex; align-items: center; gap: .5rem; cursor: pointer; font-size: .9rem; }
.co-check input { width: auto; }
.co-summary { margin-top: 1.1rem; padding-top: .9rem; border-top: 1px dashed var(--line-2); }
.co-sum__row { display: flex; justify-content: space-between; gap: 1rem; font-size: .9rem; padding: .25rem 0; color: var(--stone); }
.co-sum__row b { color: var(--ink); }
.co-sum__total { display: flex; justify-content: space-between; margin-top: .5rem; padding-top: .55rem; border-top: 1px solid var(--line); font-size: 1.05rem; font-weight: 700; }
.co-sum__total b { color: var(--accent); font-family: var(--mono); }
.co-foot { display: block; text-align: center; margin-top: .7rem; color: var(--stone-2); font-size: .8rem; }

/* ================= Drawers ================= */
.drawer { position: fixed; inset: 0; z-index: 110; display: none; }
.drawer.open { display: block; }
.drawer::before { content: ""; position: absolute; inset: 0; background: rgba(26,23,18,.5); backdrop-filter: blur(3px); }
.drawer__panel { position: absolute; right: 0; top: 0; height: 100%; width: min(430px, 100%); background: var(--paper-2); display: flex; flex-direction: column; box-shadow: var(--shadow-lg); border-left: 1px solid var(--ink); animation: slide-in .3s var(--ease); }
@keyframes slide-in { from { transform: translateX(100%); } to { transform: none; } }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 1.3rem 1.4rem; border-bottom: 1px solid var(--line); }
.drawer__head h3 { font-size: 1.35rem; }
.drawer__items { flex: 1; overflow-y: auto; padding: 1.2rem 1.4rem; display: flex; flex-direction: column; gap: 1rem; }
.drawer__foot { border-top: 1px solid var(--line); padding: 1.4rem; display: flex; flex-direction: column; gap: .9rem; }
.drawer__total { display: flex; justify-content: space-between; font-size: 1.05rem; font-weight: 700; }
.drawer__total b { color: var(--accent); font-family: var(--mono); font-size: 1.4rem; }
.drawer__foot small { text-align: center; color: var(--stone-2); font-size: .78rem; }
.cart-empty { text-align: center; color: var(--stone); padding: 4rem 1rem; line-height: 1.8; }

.citem { border: 1px solid var(--line); border-radius: var(--r-2); padding: 1rem; transition: border-color .2s; }
.citem:hover { border-color: var(--accent); }
.citem__top { display: flex; justify-content: space-between; gap: .5rem; font-weight: 700; }
.citem__top b { font-family: var(--mono); }
.citem__meta { font-size: .78rem; color: var(--stone); margin-top: .4rem; line-height: 1.6; }
.citem__who { display: inline-block; background: var(--accent-tint); color: var(--accent-2); font-family: var(--mono); font-weight: 700; font-size: .64rem; padding: .12rem .5rem; border-radius: 999px; margin-bottom: .3rem; }
.citem__rm { color: var(--bad); font-size: .8rem; font-weight: 700; margin-top: .6rem; }
.citem__actions { display: flex; gap: .6rem; align-items: center; margin-top: .5rem; }
.mini-cta { background: var(--accent); color: #fff; border: 1px solid var(--accent); border-radius: var(--r); padding: .35rem .7rem; font-family: var(--mono); font-weight: 700; font-size: .72rem; text-transform: uppercase; cursor: pointer; }

/* ================= My Orders + tracker ================= */
.myorders { display: flex; flex-direction: column; gap: 1rem; }
.myorder { border: 1px solid var(--line); border-radius: var(--r-2); padding: 1.1rem; }
.myorder__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; }
.myorder__top b { font-family: var(--mono); }
.myorder__top small { display: block; color: var(--stone-2); font-size: .78rem; margin-top: .15rem; }
.myorder__thumbs { display: flex; gap: .5rem; margin: .7rem 0; flex-wrap: wrap; }
.myorder__thumbs img { width: 54px; height: 66px; object-fit: cover; border: 1px solid var(--line); border-radius: var(--r); }
.myorder__emoji { width: 54px; height: 66px; display: grid; place-items: center; font-size: 1.6rem; border: 1px solid var(--line); border-radius: var(--r); }
.myorder__items { font-size: .86rem; color: var(--ink-2); margin: .5rem 0; }
.myorder__foot { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-top: .3rem; }
.myorder__foot b { font-family: var(--mono); font-size: 1.15rem; color: var(--accent); }
.myorder__actions { display: flex; gap: .5rem; align-items: center; flex-wrap: wrap; }
.status { font-family: var(--mono); font-size: .64rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: .28rem .6rem; border-radius: 999px; white-space: nowrap; }
.status--new { background: var(--lime); color: var(--lime-ink); }
.status--in-production { background: #FFE9A8; color: #7a5a00; }
.status--shipped { background: #CFE0FF; color: #1e40af; }
.status--out-for-delivery { background: var(--accent-tint); color: var(--accent-2); }
.status--delivered { background: #C8F5D0; color: #166534; }
.status--cancelled { background: #F6D9D5; color: #8a2818; }
.status--return-requested { background: #FFE0C2; color: #8a4b12; }
.track { display: flex; align-items: flex-start; margin: .9rem 0 .4rem; }
.track__step { display: flex; flex-direction: column; align-items: center; gap: .35rem; flex: 0 0 auto; text-align: center; }
.track__dot { width: 15px; height: 15px; border-radius: 999px; background: var(--paper-2); border: 2px solid var(--line-2); transition: background .2s, border-color .2s; }
.track__step.is-done .track__dot { background: var(--accent); border-color: var(--accent); }
.track__step.is-now .track__dot { box-shadow: 0 0 0 4px var(--accent-tint); }
.track__lbl { font-family: var(--mono); font-size: .58rem; letter-spacing: .02em; color: var(--stone-2); max-width: 66px; line-height: 1.2; }
.track__step.is-done .track__lbl { color: var(--ink); }
.track__line { flex: 1 1 auto; height: 2px; background: var(--line-2); margin-top: 7px; }
.track__info { font-size: .8rem; color: var(--ink-2); margin-bottom: .3rem; }
.track__info a { color: var(--accent); font-weight: 600; }
.track__note--bad { background: #F6D9D5; color: #8a2818; border-radius: var(--r); padding: .6rem .8rem; font-weight: 600; }
.track__note--warn { background: #FFE0C2; color: #8a4b12; border-radius: var(--r); padding: .6rem .8rem; font-weight: 600; }

/* ================= Profiles ================= */
.profiles-list { display: flex; flex-direction: column; gap: .7rem; }
.profile-item { display: flex; align-items: center; justify-content: space-between; gap: .8rem; border: 1px solid var(--line); border-radius: var(--r-2); padding: .9rem 1rem; }
.profile-item__info b { display: block; font-size: 1rem; }
.profile-item__info small { color: var(--stone-2); font-size: .78rem; }
.profile-item__del { color: var(--bad); font-weight: 700; font-size: .82rem; }
.profiles-hint { margin-top: 1rem; color: var(--stone-2); font-size: .84rem; text-align: center; }
.profiles-empty { text-align: center; color: var(--stone); padding: 2rem 1rem; line-height: 1.7; }

/* ================= Auth ================= */
.auth-switch { text-align: center; margin-top: 1.1rem; font-size: .88rem; color: var(--stone); }
.auth-switch + .auth-switch { margin-top: .45rem; }
.auth-otp-hint { text-align: center; margin: .7rem 0 0; font-size: .85rem; color: var(--stone); }

/* ================= PIN gate ================= */
.pin-box { max-width: 460px; text-align: center; }
.pin-logo { display: inline-flex; margin-bottom: .5rem; }
.pin-badge { display: inline-block; font-family: var(--mono); font-weight: 700; font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; background: var(--accent-tint); color: var(--accent-2); padding: .3rem .7rem; border-radius: 999px; margin-bottom: .7rem; }
.pin-hero h3 { font-size: 1.5rem; margin: 0 0 .4rem; }
.pin-hero p { color: var(--stone); font-size: .92rem; margin: 0 auto 1.2rem; max-width: 360px; }
.pin-form { display: flex; gap: .5rem; }
.pin-form input { flex: 1; min-width: 0; font-family: var(--mono); font-size: 1.1rem; letter-spacing: .15em; text-align: center; }
.pin-form .btn { padding-inline: 1.4rem; }
.pin-result { margin-top: 1rem; font-size: .92rem; font-weight: 600; min-height: 1.2em; }
.pin-result.is-ok { color: var(--ok); }
.pin-result.is-bad { color: var(--bad); }
.pin-cities { display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem; margin-top: 1.2rem; }
.pin-cities span { font-family: var(--mono); font-size: .66rem; letter-spacing: .04em; text-transform: uppercase; color: var(--stone); background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: .25rem .7rem; }

/* ================= Bottom nav (mobile) ================= */
.bottomnav { display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; background: color-mix(in srgb, var(--paper-2) 92%, transparent); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-top: 1px solid var(--line); padding: .35rem .4rem calc(.35rem + env(safe-area-inset-bottom)); }
.bottomnav__btn { position: relative; flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px; font-family: var(--mono); font-size: .58rem; letter-spacing: .04em; text-transform: uppercase; color: var(--stone-2); padding: .4rem 0 .25rem; border-radius: var(--r); transition: color .2s, transform .15s; }
.bottomnav__btn svg { width: 22px; height: 22px; }
.bottomnav__btn:active { transform: scale(.92); }
.bottomnav__btn.is-active { color: var(--accent); }
.bnav-badge { position: absolute; top: 0; left: calc(50% + 6px); background: var(--accent); color: #fff; font-family: var(--mono); font-style: normal; font-size: .58rem; font-weight: 700; min-width: 16px; height: 16px; border-radius: 999px; display: grid; place-items: center; padding: 0 4px; border: 2px solid var(--paper-2); }

/* ================= Toast ================= */
.toast { position: fixed; left: 50%; bottom: 2rem; transform: translate(-50%, 24px); background: var(--ink); color: var(--paper); padding: .85rem 1.3rem; border-radius: var(--r); font-size: .9rem; font-weight: 500; box-shadow: var(--shadow-lg); opacity: 0; pointer-events: none; transition: opacity .3s, transform .3s var(--ease); z-index: 200; border: 1px solid var(--accent); max-width: 90%; text-align: center; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ================= Reveal ================= */
[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s var(--ease); }
[data-reveal].in { opacity: 1; transform: none; }
section[id], footer[id] { scroll-margin-top: 82px; }

/* ================= Responsive ================= */
@media (max-width: 960px) {
  .nav__links { display: none; }
  .nav__burger { display: grid; }
  .pin-pill span { display: none; }
  .pin-pill { padding: .5rem; }
  .hero__inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero__media { order: -1; max-width: 440px; margin-inline: auto; width: 100%; }
  .fit__inner { grid-template-columns: 1fr; }
  .fit__media { max-width: 460px; }
  .footer__inner { grid-template-columns: 1fr; gap: 2rem; }
}
@media (max-width: 720px) {
  .steps { grid-template-columns: 1fr; }
  .sec__head--row { flex-direction: column; align-items: flex-start; gap: .8rem; }
  .voice__grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  html { scroll-padding-top: 76px; }
  body:has(.bottomnav) { padding-bottom: calc(70px + env(safe-area-inset-bottom)); }
  .bottomnav { display: flex; }
  .nav__actions .cart-btn, .nav__actions .icon-btn[data-hide-m] { display: none; }
  .ticker__track { font-size: .62rem; gap: 1.2rem; }
  .hero__stats { gap: 1.4rem; }
  .hero__stats b { font-size: 1.4rem; }
  .cta__inner { flex-direction: column; align-items: flex-start; }
  .anno b { font-size: 1rem; } .anno { padding: .4rem .55rem; }
  .anno--a { left: 3%; top: 4%; } .anno--b { right: 3%; top: 20%; } .anno--c { right: 3%; bottom: 20%; } .anno--d { left: 3%; bottom: 4%; }
  .anno::after, .anno::before { display: none; }
  /* Modals → bottom sheets */
  .modal { padding: 3rem 0 0; align-items: flex-end; }
  .modal__box, .modal__box--sm { width: 100%; max-width: 100%; border-radius: var(--r-lg) var(--r-lg) 0 0; border-left: none; border-right: none; border-bottom: none; padding: 1.2rem 1.15rem calc(1.5rem + env(safe-area-inset-bottom)); max-height: 100%; overflow-y: auto; }
  .modal__box::before { content: ""; display: block; width: 42px; height: 5px; border-radius: 999px; background: var(--line-2); margin: 0 auto .9rem; }
  .mform__grid { gap: .75rem; }
  .calc__grid { grid-template-columns: 1fr 1fr; }
  .calc__btn { grid-column: 1 / -1; }
  .ai-measure__grid { grid-template-columns: 1fr; }
  .drawer__panel { width: 100%; border-left: none; }
  input, select, textarea { font-size: 16px; }
  .toast { bottom: calc(86px + env(safe-area-inset-bottom)); }
}
@media (max-width: 400px) {
  .hero__stats { flex-wrap: wrap; }
  .account__name { display: none; }
  .mform__grid { grid-template-columns: 1fr; }
  .calc__grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1; transform: none; }
}
