/* MichoCart landing — Ankara palette, one family (Bricolage Grotesque, self-hosted, OFL) */
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  font-stretch: 75% 100%;
  src: url(../fonts/bricolage-grotesque-latin-ext-wdth-normal.woff2) format('woff2-variations');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  font-stretch: 75% 100%;
  src: url(../fonts/bricolage-grotesque-latin-wdth-normal.woff2) format('woff2-variations');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
:root {
  --indigo: #191919;   /* MichoCart main colour */
  --indigo-2: #2B2B2B;
  --marigold: #FF8A1F;
  --leaf: #EA580C;     /* logo orange (calls to action) */
  --leaf-dark: #C2410C;
  --ink: #191919;
  --ink-2: #4A4A4A;
  --mist: #F6F4F2;
  --paper: #FFFFFF;
  --line: #E7E2DD;
  --chat: #ECE5DC;
  --bubble-out: #FFE9D9;
  --radius-lg: 22px;
  --radius-md: 14px;
  --radius-sm: 8px;
  --font: "Bricolage Grotesque", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--mist); color: var(--ink);
  font-family: var(--font); font-size: 17px; line-height: 1.55;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg { display: block; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--marigold); outline-offset: 2px; border-radius: 6px; }
.wrap { width: min(1160px, 100% - 40px); margin: 0 auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--paper); padding: 8px 12px; border-radius: 8px; z-index: 50; }
.skip:focus { left: 12px; }

h1, h2, h3 { font-family: var(--font); margin: 0; letter-spacing: -0.02em; }
h1 { font-size: clamp(44px, 6.4vw, 82px); line-height: .95; font-weight: 800; font-variation-settings: "wdth" 78; letter-spacing: -0.03em; }
h2 { font-size: clamp(30px, 3.6vw, 46px); line-height: 1.04; font-weight: 750; font-variation-settings: "wdth" 82; max-width: 22ch; }
h3 { font-size: 20px; line-height: 1.2; font-weight: 700; font-variation-settings: "wdth" 92; }
p { margin: 0; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 20px;
  border-radius: 999px; background: var(--leaf); color: #fff; font-weight: 650; text-decoration: none; border: 2px solid var(--leaf);
  transition: background .15s, border-color .15s, color .15s; white-space: nowrap;
}
.btn:hover { background: var(--leaf-dark); border-color: var(--leaf-dark); }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn.ghost:hover { border-color: var(--ink); }
.btn.big { height: 54px; padding: 0 26px; font-size: 18px; }
.btn.wide { width: 100%; }
.btn.light { background: var(--paper); color: var(--indigo); border-color: var(--paper); }
.btn.light:hover { background: var(--marigold); border-color: var(--marigold); color: var(--ink); }

/* Nav */
.nav { position: sticky; top: 0; z-index: 20; background: rgba(246, 244, 242, .9); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; }
.nav-in { display: flex; align-items: center; gap: 28px; height: 72px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 21px; text-decoration: none; font-variation-settings: "wdth" 85; letter-spacing: -0.02em; }
.logo svg { width: 34px; height: 34px; border-radius: 10px; }
.logo img { height: 34px; width: auto; display: block; }
.links { display: flex; gap: 26px; margin-left: 12px; }
.links a { text-decoration: none; color: var(--ink-2); font-weight: 550; }
.links a:hover { color: var(--ink); }
.nav-cta { margin-left: auto; display: flex; gap: 10px; }

/* Hero */
.hero { padding: 48px 0 88px; }
.hero-in { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero-copy h1 { max-width: 11ch; color: var(--indigo); }
.lead { margin-top: 26px; font-size: 20px; line-height: 1.55; color: var(--ink-2); max-width: 34em; }
.lead em { font-style: normal; font-weight: 700; color: var(--ink); background: linear-gradient(transparent 62%, rgba(244, 180, 26, .45) 62%); }
.cta-row { display: flex; gap: 12px; margin-top: 32px; flex-wrap: wrap; }
.fine { margin-top: 16px; font-size: 15px; color: var(--ink-2); }

.stage { position: relative; display: grid; place-items: center; padding: 40px 0 0; }
.stage .print { position: absolute; inset: 0 0 64px 12%; border-radius: var(--radius-lg); overflow: hidden; }
.stage-note { position: relative; margin-top: 14px; font-size: 14px; color: var(--ink-2); text-align: center; }

/* Phone */
.phone {
  position: relative; width: min(360px, 100%); height: 600px; background: var(--chat); border-radius: 40px;
  border: 10px solid var(--ink); box-shadow: 0 30px 60px -20px rgba(21, 24, 51, .45); overflow: hidden;
  display: flex; flex-direction: column; transform: rotate(-2deg);
}
.ph-head { display: flex; align-items: center; gap: 10px; padding: 14px 14px 12px; background: #191919; color: #fff; }
.ph-head b { display: block; font-size: 15px; font-weight: 650; line-height: 1.2; }
.ph-head small { font-size: 12px; opacity: .85; }
.ph-av { width: 36px; height: 36px; border-radius: 50%; background: #E76F51; display: grid; place-items: center; font-size: 19px; flex: none; }
.ph-cart { margin-left: auto; background: #fff; color: #191919; font-weight: 750; font-size: 13px; padding: 4px 10px; border-radius: 99px; }
.ph-body { flex: 1; overflow-y: auto; padding: 12px; display: flex; flex-direction: column; gap: 8px; scrollbar-width: none; }
.ph-body::-webkit-scrollbar { display: none; }
.bub { max-width: 84%; padding: 7px 10px; border-radius: 10px; font-size: 14.5px; line-height: 1.35; background: #fff; box-shadow: 0 1px .5px rgba(0, 0, 0, .13); }
.bub i { display: block; font-style: normal; font-weight: 650; font-size: 12.5px; color: #D3396D; }
.bub.out { align-self: flex-end; background: var(--bubble-out); }
.post { width: 86%; background: #fff; border-radius: 10px; padding: 4px; box-shadow: 0 1px .5px rgba(0, 0, 0, .13); }
.post-img { aspect-ratio: 1 / .82; border-radius: 7px; overflow: hidden; background: #fbe9e2; }
.post-img svg { width: 100%; height: 100%; object-fit: cover; }
.post-cap { padding: 8px 6px 6px; font-size: 14px; }
.post-cap b { display: block; font-size: 15px; }
.price { color: #191919; font-weight: 750; }
.price s { color: #8696A0; font-weight: 400; font-size: 13px; margin-left: 4px; }
.opt { display: flex; gap: 8px; margin-top: 8px; flex-wrap: wrap; }
.sw { width: 28px; height: 28px; border-radius: 50%; background: var(--c); border: 2px solid #fff; box-shadow: 0 0 0 1px rgba(0, 0, 0, .2); padding: 0; }
.sw.on { box-shadow: 0 0 0 2px #fff, 0 0 0 4px #EA580C; }
.chip { min-width: 38px; height: 30px; padding: 0 10px; border-radius: 16px; border: 1px solid #DCE0E3; background: #fff; font-weight: 600; font-size: 13px; }
.chip.on { background: #FFE9D9; border-color: #EA580C; color: #191919; }
.add { margin-top: 10px; width: 100%; height: 38px; border: 0; border-top: 1px solid #EEF0F2; background: none; color: #027EB5; font-weight: 650; font-size: 14.5px; border-radius: 0 0 8px 8px; }
.add:hover { background: #F5F6F6; }
.receipt { display: grid; gap: 1px; font-size: 13.5px; }
.receipt b { font-size: 14.5px; margin-bottom: 2px; }
.receipt .tot { font-weight: 750; margin-top: 3px; }
.receipt .paid { color: #191919; font-weight: 650; font-size: 12.5px; }
.receipt.pop { animation: pop .35s cubic-bezier(.2, .9, .3, 1.3); }
@keyframes pop { from { transform: translateY(14px) scale(.96); opacity: 0; } }

/* The one load sequence */
.play .seq { animation: rise .5s ease both; animation-delay: calc(var(--d) * .45s + .2s); }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } }

/* Generic blocks */
.block { padding: 96px 0; }
.block + .block { border-top: 1px solid var(--line); }

/* Before / after */
.ba { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin-top: 44px; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); }
.ba-col { padding: 36px 36px 32px; }
.ba-col.old { background: var(--paper); }
.ba-col.new { background: var(--indigo); color: #fff; }
.ba-col h3 { font-size: 22px; }
.ba-col.new h3 { color: var(--marigold); }
.ba ol { margin: 20px 0 0; padding: 0; list-style: none; counter-reset: s; display: grid; gap: 10px; }
.ba li { counter-increment: s; display: grid; grid-template-columns: 30px 1fr; align-items: baseline; font-size: 17px; }
.ba li::before { content: counter(s); font-weight: 750; font-variant-numeric: tabular-nums; color: var(--ink-2); }
.ba .new li::before { color: var(--marigold); }
.ba .old li { color: var(--ink-2); }
.ba em { font-style: normal; font-weight: 700; }
.ba-sum { margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--line); font-weight: 600; }
.ba .new .ba-sum { border-color: rgba(255, 255, 255, .2); }

/* How */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; margin-top: 48px; }
.step .n { display: block; font-size: 64px; line-height: 1; font-weight: 800; color: var(--marigold); font-variation-settings: "wdth" 75; margin-bottom: 14px; -webkit-text-stroke: 1.5px var(--indigo); }
.step p { margin-top: 10px; color: var(--ink-2); }

/* Features */
.feat-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: start; }
.feat-hero p { margin-top: 18px; color: var(--ink-2); font-size: 18px; max-width: 32em; }
.mini-orders { margin-top: 32px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-md); }
.mini-orders div { display: grid; grid-template-columns: 90px 1fr auto; align-items: center; gap: 12px; padding: 16px 20px; font-size: 15.5px; }
.mini-orders div + div { border-top: 1px solid var(--line); }
.mini-orders span { color: var(--ink-2); }
.st { font-style: normal; font-size: 13px; font-weight: 700; padding: 3px 10px; border-radius: 99px; }
.st.ok { background: #E3F7EF; color: #0A7D62; }
.st.warn { background: #FFF1D6; color: #8A5300; }
.st.info { background: #E6ECFA; color: var(--indigo-2); }
.feat-list { list-style: none; margin: 0; padding: 0; }
.feat-list li { padding: 20px 0; border-bottom: 1px solid var(--line); }
.feat-list li:first-child { padding-top: 6px; }
.feat-list p { margin-top: 6px; color: var(--ink-2); font-size: 16px; }

/* Pricing */
.pricing { background: var(--paper); }
.pr-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.billing { display: inline-flex; padding: 4px; background: var(--mist); border: 1px solid var(--line); border-radius: 999px; }
.billing button { border: 0; background: none; padding: 9px 16px; border-radius: 999px; font-weight: 600; color: var(--ink-2); }
.billing button.on { background: var(--indigo); color: #fff; }
.plans { display: grid; grid-template-columns: 1fr 1.12fr 1fr; gap: 20px; margin-top: 44px; align-items: start; }
.plan { position: relative; padding: 30px 28px 28px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--paper); overflow: hidden; }
.plan.featured { background: var(--indigo); color: #fff; border-color: var(--indigo); padding-top: 54px; margin-top: -16px; box-shadow: 0 24px 50px -24px rgba(31, 43, 108, .6); }
.plan-print { position: absolute; left: 0; right: 0; top: 0; height: 22px; }
.plan h3 { font-size: 26px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.pop { font-size: 13px; font-weight: 700; letter-spacing: 0; background: var(--marigold); color: var(--ink); padding: 3px 10px; border-radius: 99px; }
.pitch { margin-top: 6px; color: var(--ink-2); font-size: 16px; }
.featured .pitch { color: rgba(255, 255, 255, .78); }
.amount { margin: 22px 0 22px; display: flex; align-items: baseline; gap: 8px; }
.amount .big { font-size: 46px; font-weight: 800; line-height: 1; letter-spacing: -0.03em; font-variation-settings: "wdth" 80; font-variant-numeric: tabular-nums; }
.amount .per { color: var(--ink-2); font-size: 15px; }
.featured .amount .per { color: rgba(255, 255, 255, .78); }
.featured .btn { background: var(--marigold); border-color: var(--marigold); color: var(--ink); }
.featured .btn:hover { background: #ffc93f; border-color: #ffc93f; }
.plan ul { list-style: none; margin: 24px 0 0; padding: 22px 0 0; border-top: 1px solid var(--line); display: grid; gap: 10px; font-size: 15.5px; }
.featured ul { border-color: rgba(255, 255, 255, .2); }
.plan li { display: grid; grid-template-columns: 22px 1fr; }
.plan li::before { content: "✓"; color: var(--leaf); font-weight: 800; }
.featured li::before { color: var(--marigold); }
.pr-note { margin-top: 26px; color: var(--ink-2); font-size: 15px; }
.compare { margin-top: 28px; border: 1px solid var(--line); border-radius: var(--radius-md); }
.compare summary { padding: 16px 20px; font-weight: 650; cursor: pointer; }
.tbl-wrap { overflow-x: auto; }
.compare table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 560px; }
.compare th, .compare td { text-align: left; padding: 12px 20px; border-top: 1px solid var(--line); }
.compare thead th { font-weight: 700; color: var(--ink-2); }
.compare tbody th { font-weight: 500; }
.yes { color: var(--leaf); font-weight: 800; }
.no { color: #A0A4B8; }

/* Shoppers */
.shop-in { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: start; }
.shop-in p { margin-top: 18px; color: var(--ink-2); font-size: 18px; max-width: 34em; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.checks li { display: grid; grid-template-columns: 30px 1fr; font-size: 18px; font-weight: 550; }
.checks li::before { content: ""; width: 18px; height: 18px; margin-top: 5px; border-radius: 50%; background: radial-gradient(circle, var(--marigold) 0 4px, var(--indigo) 5px 100%); }

/* FAQ */
.faq-in { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; }
.qs details { border-bottom: 1px solid var(--line); }
.qs details:first-child { border-top: 1px solid var(--line); }
.qs summary { list-style: none; cursor: pointer; padding: 20px 40px 20px 0; font-size: 19px; font-weight: 650; position: relative; }
.qs summary::-webkit-details-marker { display: none; }
.qs summary::after { content: "+"; position: absolute; right: 4px; top: 16px; font-size: 26px; font-weight: 400; color: var(--indigo); transition: transform .2s; }
.qs details[open] summary::after { transform: rotate(45deg); }
.qs details p { padding: 0 0 22px; color: var(--ink-2); max-width: 38em; }

/* Closing */
.closing { position: relative; overflow: hidden; color: #fff; }
.closing .print { position: absolute; inset: 0; }
.closing-in { position: relative; padding: 110px 0; display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.closing h2 { background: var(--indigo); padding: 18px 26px 22px; border-radius: var(--radius-md); max-width: 14ch; font-size: clamp(34px, 4.4vw, 58px); }
.closing .btn.light { height: 60px; padding: 0 30px; font-size: 19px; box-shadow: 0 0 0 6px var(--indigo); }

.foot { background: var(--ink); color: rgba(255, 255, 255, .72); font-size: 15px; }
.foot-in { display: flex; justify-content: space-between; gap: 20px; padding: 28px 0; flex-wrap: wrap; }
.foot nav { display: flex; gap: 20px; }
.foot a { text-decoration: none; }
.foot a:hover { color: #fff; }

/* Responsive */
@media (max-width: 980px) {
  .links { display: none; }
  .hero-in, .feat-grid, .shop-in, .faq-in { grid-template-columns: 1fr; gap: 40px; }
  .plans { grid-template-columns: 1fr; max-width: 520px; }
  .plan.featured { margin-top: 0; }
  .steps { grid-template-columns: 1fr; gap: 32px; }
  .ba { grid-template-columns: 1fr; }
  .stage .print { inset: 0 6% 64px 6%; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .nav-in { height: 64px; gap: 12px; }
  .nav-cta .btn.ghost { display: none; }
  .nav-cta .btn { height: 40px; padding: 0 16px; font-size: 15px; }
  .hero { padding: 28px 0 64px; }
  .lead { font-size: 18px; }
  .btn.big { width: 100%; }
  .block { padding: 68px 0; }
  .ba-col { padding: 26px 22px; }
  .phone { height: 560px; transform: none; }
  .mini-orders div { grid-template-columns: 1fr auto; }
  .mini-orders div span { grid-column: 1; grid-row: 2; }
  .closing-in { padding: 72px 0; }
  .closing .btn.light { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .play .seq, .receipt.pop { animation: none; }
  .btn, .qs summary::after { transition: none; }
}

/* ---------- Get the app ---------- */
.get-app { display: flex; gap: 10px; flex-wrap: wrap; }
.store-btn { display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 18px 0 14px; border-radius: 12px; background: #111; color: #fff; text-decoration: none; border: 1px solid #333; transition: transform .15s, background .15s; }
.store-btn:hover { background: #000; transform: translateY(-1px); }
.store-btn span { display: flex; flex-direction: column; line-height: 1.1; font-size: 18px; font-weight: 600; }
.store-btn small { font-size: 10px; letter-spacing: .06em; font-weight: 500; opacity: .85; }
.hero-app { margin-top: 22px; display: flex; flex-direction: column; gap: 10px; }
.hero-app > span { font-size: 15px; color: var(--ink-2); }
.get-app.on-light { margin-top: 18px; }
.closing-app { justify-content: center; }
.closing-app .store-btn { background: #111; border-color: rgba(255,255,255,.6); box-shadow: 0 0 0 6px var(--indigo); }
