/* MagicListr marketing site. Palette and type match the app: purple gradient, cream ground,
   Playfair Display for headings, DM Sans for everything else. */
:root {
  --ink: #2E2A35;
  --muted: #6B6575;
  --ground: #FBF8F4;
  --line: #ECE5EE;
  --lilac: #B8A9E3;
  --violet: #7B68C4;
  --deep: #3F2F86;
  --gold: #F7E8A8;
  --display: 'Playfair Display', Georgia, serif;
  --body: 'DM Sans', system-ui, -apple-system, sans-serif;
  --gradient: linear-gradient(135deg, #8E78E0 0%, #6A55C4 48%, #4B3A9E 100%);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ground); color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.5; overflow-x: hidden; }
img { max-width: 100%; height: auto; }
a { color: #5B48A8; }
a:hover { color: var(--deep); }
h1, h2, h3 { margin: 0; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--violet); outline-offset: 3px; border-radius: 6px; }
[id] { scroll-margin-top: 16px; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 10px 14px; border-radius: 10px; z-index: 10; }
.skip:focus { left: 8px; }

/* Motion (all of it stops under Reduce Motion) */
.tw { position: absolute; animation: twinkle 2.6s ease-in-out infinite; }
.tw.d1 { animation-delay: .5s; } .tw.d2 { animation-delay: 1.1s; } .tw.d3 { animation-delay: 1.7s; }
.tw-inline { flex: none; animation: twinkle 2.6s ease-in-out infinite; }
.float { animation: float 6s ease-in-out infinite; }
.float.slow { animation-duration: 8s; animation-delay: 1s; }
.lift { transition: transform .25s ease, box-shadow .25s ease; }
.lift:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(75,58,158,.16); }
.shimmer { font-style: italic; color: var(--gold); background: linear-gradient(100deg,#F7E8A8 0%,#FFF6D6 22%,#FFD966 40%,#FFF3C4 52%,#F7E8A8 70%,#FFE08A 86%,#F7E8A8 100%); background-size: 250% 100%; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; animation: shimmer 14s ease-in-out infinite; padding-right: .08em; }
@keyframes shimmer { 0%,100% { background-position: 100% 50%; } 50% { background-position: 0% 50%; } }
@keyframes twinkle { 0%,100% { opacity: .35; transform: scale(.75) rotate(-8deg); } 50% { opacity: 1; transform: scale(1.1) rotate(14deg); } }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .tw, .tw-inline, .float, .shimmer { animation: none; }
  .lift, .btn { transition: none; }
}

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 22px; border-radius: 999px; font-weight: 700; font-size: 16px; text-decoration: none; text-align: center; transition: transform .15s ease, box-shadow .2s ease; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(75,58,158,.28); }
.btn-lg { min-height: 54px; padding: 16px 28px; font-size: 18px; }
.btn-white { background: #fff; color: var(--deep); }
.btn-white:hover { color: var(--deep); }
.btn-lilac { background: var(--lilac); color: var(--ink); }
.btn-lilac:hover { color: var(--ink); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { color: #fff; }
.btn-soft { background: #ECE7FA; color: var(--deep); }

/* Ribbon + header */
.ribbon { background: var(--ink); color: #F3EFF7; padding: 10px 20px; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px 14px; font-size: 15px; text-align: center; }
.ribbon a { color: var(--gold); font-weight: 700; }
/* Pinned while she scrolls (she had to scroll back up for the menu). Its background runs the full
   width (::before, behind it); a soft line under it once the page has moved (::after). Both span
   exactly the screen (50% - 50vw): a wider span widened the page on phones. Nothing is clipped, so
   the phone menu still drops down below it. */
.top { max-width: 1200px; margin: 0 auto; padding: 16px 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; position: sticky; top: 0; z-index: 50; transition: padding .2s ease; }
.top::before { content: ""; position: absolute; top: 0; bottom: 0; left: calc(50% - 50vw); right: calc(50% - 50vw); background: var(--ground); z-index: -1; }
.top::after { content: ""; position: absolute; left: calc(50% - 50vw); right: calc(50% - 50vw); bottom: 0; height: 1px; background: rgba(46,42,53,.08); box-shadow: 0 6px 18px rgba(46,42,53,.08); opacity: 0; transition: opacity .2s ease; pointer-events: none; }
.top.scrolled { padding-top: 10px; padding-bottom: 10px; }
.top.scrolled::after { opacity: 1; }
html { scroll-padding-top: 96px; }
.brand { display: flex; align-items: center; min-height: 44px; }
.brand img { display: block; height: 40px; width: auto; }
.nav { display: flex; align-items: center; gap: 6px 26px; font-weight: 500; }
.nav a { color: var(--ink); text-decoration: none; padding: 10px 0; }
.nav a:hover { color: var(--violet); }
.nav .nav-signin, .nav .nav-cta, .ribbon .short { display: none; }
.btn, .chip { white-space: nowrap; }
.top-actions { display: flex; align-items: center; gap: 12px; }
.signin { color: var(--ink); font-weight: 600; text-decoration: none; padding: 12px 6px; }
.menu { display: none; width: 48px; height: 48px; border: 0; border-radius: 14px; background: #fff; color: var(--ink); align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 2px 8px rgba(46,42,53,.08); }

/* Hero */
.hero-wrap { padding: 8px 24px 0; }
.hero { max-width: 1200px; margin: 0 auto; border-radius: 36px; background: var(--gradient); color: #fff; position: relative; overflow: hidden; padding: clamp(36px, 6vw, 72px) clamp(24px, 5vw, 64px); display: flex; flex-wrap: wrap; align-items: center; gap: 48px; }
.hero-text { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 22px; position: relative; }
.badge { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.3); padding: 8px 14px; border-radius: 999px; font-size: 14px; font-weight: 600; letter-spacing: .02em; }
.hero h1 { font-family: var(--display); font-weight: 700; font-size: clamp(40px, 5.6vw, 72px); line-height: 1.04; letter-spacing: -.01em; }
.lead { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.55; color: #F1EBFF; max-width: 34rem; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px 16px; align-items: center; }
.link-light { color: #fff; font-weight: 600; font-size: 17px; padding: 14px 6px; }
.link-light:hover { color: var(--gold); }
.fine { font-size: 15px; color: #E6DCFF; }
.counters { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(170px, 100%), 1fr)); gap: 12px; max-width: 34rem; }
.counter { background: rgba(23,18,31,.28); border-radius: 20px; padding: 16px 18px; display: flex; flex-direction: column; gap: 4px; }
.counter .num { font-family: var(--display); font-size: 34px; line-height: 1.1; font-weight: 700; color: var(--gold); }
.counter .num small { font-family: var(--body); font-size: 16px; font-weight: 600; color: #F1EBFF; }
.counter .label { font-size: 14px; font-weight: 600; color: #F1EBFF; }
.meter { height: 8px; border-radius: 4px; background: rgba(255,255,255,.18); overflow: hidden; margin-top: 6px; }
.meter div { height: 8px; border-radius: 4px; background: var(--gold); width: 0; transition: width .8s ease; }

/* Phone mockup */
.phone-area { flex: 1 1 340px; min-width: 0; display: flex; justify-content: center; position: relative; }
.phone-scale { position: relative; width: 340px; height: 600px; flex: none; }
.phone { width: 300px; height: 600px; margin: 0 auto; border-radius: 46px; background: #17121F; padding: 12px; box-shadow: 0 40px 80px rgba(23,18,31,.45); }
.screen { width: 100%; height: 100%; border-radius: 36px; background: #141118; overflow: hidden; display: flex; flex-direction: column; color: #F3EFF7; }
.shot { height: 250px; margin: 40px 14px 0; border-radius: 22px; background: #F5F0EA; display: flex; align-items: center; justify-content: center; position: relative; }
.shot img { width: 170px; }
.screen .card { margin: 12px 14px 0; background: #1E1A24; border-radius: 18px; padding: 13px 16px; display: flex; flex-direction: column; gap: 5px; }
.screen .row { display: flex; justify-content: space-between; align-items: center; font-size: 11px; color: #B9B1C4; }
.screen .sure { background: #17302A; color: #7FD3AA; border-radius: 999px; padding: 3px 9px; font-weight: 700; }
.screen .title { font-family: var(--display); font-size: 18px; line-height: 1.2; font-weight: 700; }
.screen .sub { font-size: 11px; color: #B9B1C4; }
.screen .price { font-family: var(--display); font-size: 34px; font-weight: 700; color: #7FD3AA; line-height: 1.1; }
.list-it { margin: auto 14px 16px; background: var(--lilac); color: var(--ink); border-radius: 999px; text-align: center; padding: 12px; font-weight: 700; font-size: 15px; }
.chip { position: absolute; background: #fff; color: var(--ink); border-radius: 16px; padding: 10px 14px; display: flex; align-items: center; gap: 10px; box-shadow: 0 14px 30px rgba(23,18,31,.25); font-size: 14px; font-weight: 600; white-space: nowrap; }
.dot { width: 26px; height: 26px; border-radius: 13px; display: inline-flex; align-items: center; justify-content: center; }
.dot.mint { background: #E6F5EE; } .dot.lilac { background: #ECE7FA; }

/* Sections */
.wrap { max-width: 1200px; margin: 0 auto; padding: 88px 24px; }
.pad-x { padding: 0 24px; }
.stack { display: flex; flex-direction: column; gap: 44px; }
.band { background: #fff; padding: 88px 24px; }
.band > .wrap { padding: 0 24px; }
.band > .stack { padding: 0; }
.kicker { font-size: 15px; font-weight: 700; color: var(--violet); letter-spacing: .08em; text-transform: uppercase; }
.kicker.muted { color: var(--muted); font-weight: 600; }
h2 { font-family: var(--display); font-size: clamp(32px, 3.8vw, 50px); line-height: 1.1; font-weight: 700; }
h2 em { color: var(--violet); }
.body { font-size: 19px; line-height: 1.6; color: var(--muted); }
.center-head { text-align: center; display: flex; flex-direction: column; gap: 14px; align-items: center; }
.center-head h2 { max-width: 46rem; }
.left-head { display: flex; flex-direction: column; gap: 12px; max-width: 46rem; }
.grid { display: grid; gap: 22px; }
.g260 { grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); }
.g280 { grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); }
.g300 { grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); }

.stores { max-width: 1200px; margin: 0 auto; padding: 40px 24px 8px; text-align: center; }
.stores .kicker { margin-bottom: 18px; }
.pills { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.pills li { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 10px 18px; font-size: 16px; font-weight: 600; }

.split { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.split-text { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.moments { flex: 1 1 400px; min-width: 0; list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.moments li { background: #fff; border-radius: 24px; padding: 20px 22px; display: flex; gap: 18px; align-items: center; box-shadow: 0 6px 18px rgba(123,104,196,.08); }
.moments .n { flex: none; width: 54px; height: 54px; border-radius: 27px; font-family: var(--display); font-weight: 700; font-size: 22px; display: flex; align-items: center; justify-content: center; }
.moments strong { display: block; font-size: 18px; }
.moments span:not(.n) { display: block; color: var(--muted); font-size: 16px; }

.step { background: #FCFAFF; border: 1px solid var(--line); border-radius: 28px; padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.step .art { height: 170px; border-radius: 20px; display: flex; align-items: center; justify-content: center; }
.step .art img { height: 120px; width: auto; }
.step-n { font-size: 14px; font-weight: 700; color: var(--violet); }
.step h3 { font-family: var(--display); font-size: 26px; }
.step p, .feature p { font-size: 17px; line-height: 1.55; color: var(--muted); }

.feature { background: #fff; border-radius: 26px; padding: 28px; display: flex; flex-direction: column; gap: 12px; box-shadow: 0 6px 18px rgba(123,104,196,.08); }
.feature .icon { width: 52px; height: 52px; border-radius: 16px; display: flex; align-items: center; justify-content: center; }
.feature h3 { font-size: 21px; }

.dark-card { max-width: 1200px; margin: 0 auto; background: var(--ink); color: #F3EFF7; border-radius: 36px; padding: clamp(36px, 6vw, 72px) clamp(24px, 5vw, 64px); display: flex; flex-wrap: wrap; gap: 48px; align-items: center; position: relative; overflow: hidden; }
.safe { display: flex; gap: 14px; align-items: flex-start; background: #1E1A24; border-radius: 20px; padding: 18px 20px; }
.safe svg { flex: none; }
.safe strong { display: block; font-size: 17px; }
.safe span { display: block; color: #C9C1D4; font-size: 16px; line-height: 1.5; }
.finds { flex: 1 1 300px; min-width: 0; display: flex; justify-content: center; gap: 18px; align-items: flex-end; flex-wrap: wrap; }

/* Compare */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.table-box { overflow-x: auto; border-radius: 24px; border: 1px solid var(--line); background: #fff; -webkit-overflow-scrolling: touch; }
.compare { width: 100%; min-width: 860px; border-collapse: collapse; font-size: 16px; }
.compare th, .compare td { text-align: left; padding: 16px 18px; vertical-align: top; }
.compare thead th { background: #FCFAFF; font-weight: 700; }
.compare tbody tr { border-top: 1px solid var(--line); }
.compare tbody th { font-weight: 600; }
.compare td { color: var(--muted); }
.compare .us { background: #F3EFFC; color: #2F7D5B; font-weight: 700; }
.compare thead .us { color: var(--deep); }
/* The feature names stay put while the stores scroll by on phones. */
.compare tr > :first-child { position: sticky; left: 0; background: #fff; z-index: 1; width: 170px; box-shadow: 1px 0 0 var(--line); }
.compare thead tr > :first-child { background: #FCFAFF; }
.compare-note { font-size: 14px; color: var(--muted); }

/* Pricing */
.toggle { display: inline-flex; background: #F0EAE2; border-radius: 999px; padding: 5px; gap: 4px; flex-wrap: wrap; justify-content: center; }
.toggle button { border: 0; border-radius: 999px; padding: 12px 20px; min-height: 44px; font: inherit; font-size: 16px; font-weight: 700; cursor: pointer; background: transparent; color: var(--muted); }
.toggle button[aria-pressed="true"] { background: #fff; color: var(--ink); box-shadow: 0 2px 8px rgba(46,42,53,.12); }
.founding { background: #FFF8F1; border: 1px solid #FAD4B8; border-radius: 24px; padding: 20px 24px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; }
.founding-text { display: flex; gap: 14px; align-items: center; flex: 1 1 320px; }
.founding-text strong { display: block; font-size: 18px; }
.founding-text span { display: block; color: var(--muted); font-size: 16px; }
.plan { background: #fff; border: 1px solid var(--line); border-radius: 28px; padding: 30px; display: flex; flex-direction: column; gap: 14px; }
.plan.popular { border: 2px solid var(--violet); box-shadow: 0 18px 40px rgba(75,58,158,.14); }
.plan .tag { align-self: flex-start; background: var(--lilac); color: var(--ink); font-size: 13px; font-weight: 700; padding: 6px 12px; border-radius: 999px; }
.plan h3 { font-family: var(--display); font-size: 28px; }
.plan .price { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.plan .amt { font-family: var(--display); font-size: 48px; font-weight: 700; line-height: 1.1; }
.plan .per, .plan .note { color: var(--muted); font-size: 16px; }
.plan ul { margin: 0 0 8px; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.plan li { position: relative; padding-left: 28px; font-size: 16px; }
.plan li::before { content: ''; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232F7D5B' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") no-repeat center / contain; }
.plan .btn { margin-top: auto; width: 100%; }

/* FAQ */
.faq-wrap { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 28px; }
.faqs { display: flex; flex-direction: column; gap: 12px; }
.faqs details { background: #FCFAFF; border: 1px solid var(--line); border-radius: 20px; }
.faqs summary { list-style: none; cursor: pointer; padding: 20px 22px; min-height: 64px; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-size: 18px; font-weight: 700; }
.faqs summary::-webkit-details-marker { display: none; }
.faqs summary::after { content: ''; flex: none; width: 20px; height: 20px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237B68C4' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") no-repeat center / contain; transition: transform .2s ease; }
.faqs details[open] summary::after { transform: rotate(180deg); }
.faqs details p { padding: 0 22px 22px; font-size: 17px; line-height: 1.6; color: var(--muted); }
.more-help { text-align: center; color: var(--muted); }

/* Final CTA + footer */
.final-pad { padding-top: 88px; padding-bottom: 88px; }
.final { max-width: 1200px; margin: 0 auto; border-radius: 36px; background: var(--gradient); color: #fff; text-align: center; padding: clamp(48px, 7vw, 88px) 24px; display: flex; flex-direction: column; align-items: center; gap: 20px; position: relative; overflow: hidden; }
.final h2 { font-size: clamp(34px, 4.4vw, 58px); max-width: 40rem; position: relative; }
.final > p { font-size: 19px; color: #F1EBFF; max-width: 34rem; position: relative; }
.final > p.fine { font-size: 15px; color: #E6DCFF; }
.final .btn { position: relative; }
.final .deco { position: absolute; opacity: .95; }
.foot { max-width: 1200px; margin: 0 auto; padding: 8px 24px 56px; display: flex; flex-wrap: wrap; gap: 32px 56px; }
.foot-brand { flex: 1 1 260px; display: flex; flex-direction: column; gap: 10px; }
.foot-brand img { height: 34px; width: auto; align-self: flex-start; }
.foot-brand p { color: var(--muted); }
.foot-brand .small { font-size: 14px; }
.social { display: flex; gap: 10px; margin-top: 4px; }
.social a { width: 44px; height: 44px; border-radius: 22px; background: #fff; color: var(--ink); display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 2px 8px rgba(46,42,53,.08); transition: transform .15s ease, color .15s ease; }
.social a:hover { color: var(--violet); transform: translateY(-2px); }
.foot nav { flex: 0 1 180px; display: flex; flex-direction: column; gap: 4px; }
.foot-title { font-weight: 700; font-size: 15px; margin-bottom: 4px; }
.foot nav a { color: var(--muted); text-decoration: none; font-size: 15px; padding: 6px 0; }
.foot nav a:hover { color: var(--violet); }

/* Tablet and down: the nav folds into a menu */
@media (max-width: 900px) {
  .menu { display: inline-flex; }
  .signin { display: none; }
  .nav { display: none; position: absolute; top: 100%; left: 16px; right: 16px; z-index: 5; flex-direction: column; align-items: stretch; gap: 0; background: #fff; border-radius: 20px; padding: 8px; box-shadow: 0 18px 40px rgba(46,42,53,.18); }
  .nav.open { display: flex; }
  .nav a { padding: 14px 16px; border-radius: 12px; font-size: 17px; }
  .nav a:hover { background: #F5F1FB; }
  .nav .nav-signin { display: block; font-weight: 700; }
  .nav .nav-cta { display: block; margin-top: 4px; background: var(--lilac); color: var(--ink); font-weight: 700; text-align: center; border-radius: 999px; }
  .nav .nav-cta:hover { background: #A897DC; }
}

/* Phones */
@media (max-width: 560px) {
  body { font-size: 16px; }
  .ribbon { font-size: 14px; padding: 10px 16px; }
  .top { padding: 12px 16px; }
  .brand img { height: 34px; }
  .head-cta { display: none; }
  .ribbon .long { display: none; }
  .ribbon .short { display: inline; }
  .ribbon > svg { display: none; }
  .hero-wrap { padding: 4px 12px 0; }
  .hero { border-radius: 28px; gap: 28px; padding: 36px 20px 28px; }
  .cta-row .btn { width: 100%; }
  .link-light { padding: 8px 4px; }
  .phone-area { flex-basis: 100%; }
  /* The phone mockup scales down as a whole so nothing inside it reflows. */
  .phone-scale { transform: scale(.8); transform-origin: top center; margin-bottom: -120px; }
  .wrap, .band { padding-top: 64px; padding-bottom: 64px; }
  .wrap { padding-left: 16px; padding-right: 16px; }
  .band { padding-left: 16px; padding-right: 16px; }
  .band > .wrap { padding: 0; }
  .pad-x { padding: 0 12px; }
  .stores { padding: 32px 16px 0; }
  .pills li { font-size: 15px; padding: 8px 14px; }
  .split { gap: 32px; }
  .step, .feature, .plan { padding: 22px; }
  .dark-card, .final { border-radius: 28px; }
  .dark-card { padding: 36px 20px; gap: 32px; }
  .finds img { width: 90px; }
  .finds img:first-child { width: 120px; }
  .founding { padding: 18px; }
  .founding .btn { width: 100%; }
  .final-pad { padding-top: 64px; padding-bottom: 64px; }
  .final { padding: 48px 20px; }
  .final .deco { width: 56px; opacity: .6; }
  .final .btn { width: 100%; }
  .faqs summary { font-size: 17px; padding: 18px; }
  .compare { min-width: 720px; font-size: 15px; }
  .compare th, .compare td { padding: 14px; }
  .compare tr > :first-child { width: 130px; }
  .faqs details p { padding: 0 18px 18px; }
  .foot { padding: 0 16px 48px; gap: 28px 24px; }
  .foot nav { flex: 1 1 130px; }
  .counters { grid-template-columns: 1fr 1fr; gap: 10px; }
  .counter { padding: 14px; border-radius: 18px; }
  .counter .num { font-size: 30px; }
  .counter .label { font-size: 13px; }
}
/* The smallest phones (iPhone SE and similar): one more step down */
@media (max-width: 360px) {
  .brand img { height: 30px; }
  .phone-scale { transform: scale(.72); margin-bottom: -168px; }
}

/* ---------- About page ---------- */
.nav a[aria-current="page"] { color: var(--violet); font-weight: 700; }
.ab-hero { align-items: center; }
.ab-hero .hero-text h1 { font-size: clamp(38px, 5vw, 64px); }
.ab-hero-art { flex: 1 1 320px; min-width: 0; display: flex; justify-content: center; position: relative; padding: 10px 0; }
.ab-hero-art .deco-a { position: absolute; left: 2%; top: 18%; width: 96px; z-index: 2; filter: drop-shadow(0 12px 18px rgba(23,18,31,.25)); }
.ab-hero-art .deco-b { position: absolute; right: 0; bottom: 14%; width: 84px; z-index: 2; filter: drop-shadow(0 12px 18px rgba(23,18,31,.25)); }

/* Devices */
.device { position: relative; }
.device.phone { height: fit-content; align-self: flex-start; width: 300px; max-width: 78vw; border-radius: 50px; background: #17121F; padding: 10px; box-shadow: 0 40px 80px rgba(23,18,31,.35), inset 0 0 0 2px #2c2635; flex: none; }
.device.phone > img, .device.phone .screen-stack { display: block; width: 100%; border-radius: 40px; overflow: hidden; }
.device.phone > img { height: auto; }
.screen-stack { position: relative; aspect-ratio: 330 / 717; background: #F5F0EA; }
.browser-screen .screen-stack { aspect-ratio: 1600 / 1000; border-radius: 0; }
.screen-stack img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .7s ease, transform .9s cubic-bezier(.2,.8,.2,1); }
.screen-stack img.on { opacity: 1; }
.screen-stack.scroller img { transform: translateY(6%); }
.screen-stack.scroller img.on { transform: translateY(0); }
.ab-hero-phone { transform: rotate(-3deg); }

.device.browser { width: 100%; border-radius: 16px; background: #fff; box-shadow: 0 30px 70px rgba(46,42,53,.18), 0 0 0 1px rgba(46,42,53,.06); overflow: hidden; }
.browser-bar { display: flex; align-items: center; gap: 7px; padding: 11px 14px; background: #F5F1FB; border-bottom: 1px solid var(--line); }
.browser-bar i { width: 11px; height: 11px; border-radius: 6px; background: #E2DAF2; }
.browser-bar i:first-child { background: #F4B5B5; } .browser-bar i:nth-child(2) { background: #F6DFA0; } .browser-bar i:nth-child(3) { background: #B9E3C9; }
.browser-bar span { margin-left: 10px; flex: 1; max-width: 360px; background: #fff; border-radius: 999px; padding: 4px 12px; font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.browser-screen { position: relative; overflow: hidden; }
.browser-screen > img { display: block; width: 100%; height: auto; }

/* Animated bits */
.toast { position: absolute; left: 18px; right: 18px; top: 54px; z-index: 3; display: flex; align-items: center; gap: 10px; padding: 11px 13px; border-radius: 18px; background: rgba(255,255,255,.94); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); box-shadow: 0 14px 30px rgba(23,18,31,.22); color: var(--ink); transform: translateY(-140%) scale(.96); opacity: 0; transition: transform .6s cubic-bezier(.2,1.3,.4,1), opacity .4s ease; }
.toast.show { transform: none; opacity: 1; }
.toast strong { display: block; font-size: 14px; }
.toast small { display: block; font-size: 12px; color: var(--muted); }
.toast-icon { flex: none; width: 34px; height: 34px; border-radius: 11px; background: #2E2A35; display: inline-flex; align-items: center; justify-content: center; }
.toast.show .toast-icon svg { animation: twinkle 1.2s ease-in-out 2; }
.ab-shine { position: absolute; inset: 10px; border-radius: 40px; overflow: hidden; pointer-events: none; }
.ab-shine::after { content: ''; position: absolute; top: -20%; bottom: -20%; width: 40%; left: -60%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.45), transparent); transform: skewX(-12deg); animation: shine 5.5s ease-in-out infinite; }
@keyframes shine { 0%, 60% { left: -60%; } 85%, 100% { left: 130%; } }
.ab-tap { position: absolute; left: 50%; top: 58%; width: 54px; height: 54px; margin: -27px 0 0 -27px; border-radius: 50%; border: 3px solid rgba(123,104,196,.7); opacity: 0; pointer-events: none; }
.ab-tap.go { animation: tap .9s ease-out; }
@keyframes tap { 0% { opacity: .9; transform: scale(.4); } 100% { opacity: 0; transform: scale(1.4); } }
.cursor { position: absolute; left: 62%; top: 88%; z-index: 4; transition: left .85s cubic-bezier(.4,0,.2,1), top .85s cubic-bezier(.4,0,.2,1); filter: drop-shadow(0 3px 4px rgba(0,0,0,.25)); }
.ripple { position: absolute; z-index: 3; width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 50%; background: rgba(123,104,196,.35); opacity: 0; transform: scale(.3); pointer-events: none; }
.ripple.go { animation: ripple .6s ease-out; }
@keyframes ripple { 0% { opacity: .9; transform: scale(.3); } 100% { opacity: 0; transform: scale(1.6); } }
.ab-pill { position: absolute; left: 50%; bottom: 7%; z-index: 4; display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; background: #2E2A35; color: #fff; font-size: 14px; font-weight: 700; white-space: nowrap; box-shadow: 0 12px 28px rgba(23,18,31,.3); transform: translate(-50%, 30px); opacity: 0; transition: transform .5s cubic-bezier(.2,1.3,.4,1), opacity .35s ease; }
.ab-pill.show { transform: translate(-50%, 0); opacity: 1; }

/* Layout */
.ab-promises { max-width: 1200px; margin: 0 auto; padding: 36px 24px 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 16px; }
.ab-promise { background: #fff; border-radius: 22px; padding: 18px 22px; display: flex; align-items: center; gap: 16px; box-shadow: 0 6px 18px rgba(123,104,196,.08); font-weight: 600; }
.ab-num { font-family: var(--display); font-size: 40px; line-height: 1; color: var(--violet); min-width: 36px; }
.ab-tour { display: flex; flex-direction: column; gap: 96px; }
.ab-row { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.ab-row.flip .ab-copy { order: 2; }
.ab-row.ab-wide { grid-template-columns: 2fr 3fr; }
.ab-row.ab-wide.flip { grid-template-columns: 3fr 2fr; }
.ab-copy { display: flex; flex-direction: column; gap: 16px; max-width: 30rem; }
.ab-copy h3 { font-family: var(--display); font-size: clamp(28px, 3vw, 40px); line-height: 1.12; }
.ab-copy p { font-size: 18px; line-height: 1.6; color: var(--muted); }
.ab-step { width: 46px; height: 46px; border-radius: 23px; background: var(--gradient); color: #fff; font-family: var(--display); font-weight: 700; font-size: 20px; display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 8px 18px rgba(75,58,158,.3); }
.ab-ticks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.ab-ticks li { position: relative; padding-left: 28px; font-size: 16px; }
.ab-ticks li::before { content: ''; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232F7D5B' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") no-repeat center / contain; }
.ab-visual { position: relative; display: flex; justify-content: center; min-width: 0; }
.ab-visual::before { content: ''; position: absolute; inset: 8% 10%; border-radius: 50%; background: radial-gradient(circle, rgba(184,169,227,.55), rgba(184,169,227,0) 70%); z-index: -1; }
.ab-duo { padding-bottom: 40px; }
.ab-duo .device.browser { width: 88%; align-self: flex-start; margin-right: auto; }
.ab-duo-phone { position: absolute; right: 0; bottom: 0; width: 190px !important; border-radius: 36px !important; padding: 7px !important; }
.ab-duo-phone > img { border-radius: 30px !important; }
.ab-studio-card { background: #fff; border-radius: 32px; padding: clamp(28px, 5vw, 56px); display: flex; gap: 36px; align-items: center; box-shadow: 0 6px 18px rgba(123,104,196,.08); }
.ab-studio-card > div { display: flex; flex-direction: column; gap: 12px; }
.ab-studio-card img { flex: none; width: 120px; }

@media (max-width: 900px) {
  .ab-row, .ab-row.ab-wide, .ab-row.ab-wide.flip { grid-template-columns: 1fr; gap: 32px; }
  .ab-row.flip .ab-copy { order: 0; }
  .ab-copy { max-width: none; }
  .ab-tour { gap: 72px; }
}
@media (max-width: 560px) {
  .ab-hero-art { padding: 0 0 8px; }
  .device.phone { width: 250px; border-radius: 42px; padding: 8px; }
  .device.phone > img, .device.phone .screen-stack, .ab-shine { border-radius: 34px; }
  .ab-hero-art .deco-a { width: 70px; left: 0; }
  .ab-hero-art .deco-b { width: 64px; }
  .toast { left: 12px; right: 12px; top: 44px; padding: 9px 10px; }
  .toast strong { font-size: 13px; } .toast small { font-size: 11px; }
  .ab-duo .device.browser { width: 100%; }
  .ab-duo-phone { width: 130px !important; right: -6px; bottom: -10px; border-radius: 26px !important; padding: 5px !important; }
  .ab-duo-phone > img { border-radius: 21px !important; }
  .ab-pill { font-size: 11px; padding: 7px 11px; }
  .cursor { width: 18px; height: 18px; }
  .browser-bar span { font-size: 10px; }
  .ab-studio-card { flex-direction: column; text-align: left; align-items: flex-start; }
  .ab-studio-card img { width: 90px; }
  .ab-promise { padding: 14px 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .ab-shine::after, .ab-tap, .ripple { animation: none !important; }
  .screen-stack img, .toast, .ab-pill, .cursor { transition: none; }
}

/* About hero: golden hour at the estate sale */
.ab-hero { background: radial-gradient(circle at 76% 46%, rgba(255,248,232,.95) 0, rgba(255,248,232,0) 34%), linear-gradient(135deg, #FFE9C9 0%, #FFD0AA 38%, #FBAFA0 72%, #F297AE 100%); color: var(--ink); isolation: isolate; }
.ab-hero > :not(.ab-rays):not(.tw):not(.ab-tag) { position: relative; z-index: 1; }
.ab-rays { position: absolute; left: 76%; top: 46%; width: 1700px; height: 1700px; transform: translate(-50%, -50%); background: repeating-conic-gradient(from 0deg, rgba(255,255,255,.34) 0deg 5deg, rgba(255,255,255,0) 5deg 15deg); -webkit-mask-image: radial-gradient(circle, #000 0, rgba(0,0,0,.5) 26%, transparent 52%); mask-image: radial-gradient(circle, #000 0, rgba(0,0,0,.5) 26%, transparent 52%); animation: rays 80s linear infinite; z-index: 0; pointer-events: none; }
@keyframes rays { to { transform: translate(-50%, -50%) rotate(360deg); } }
.ab-hero .badge { background: rgba(255,255,255,.6); border-color: rgba(255,255,255,.9); color: var(--ink); }
.ab-hero .badge svg path { fill: #E0A11B; }
.ab-hero .lead { color: #4A3D52; }
.shimmer-warm { font-style: italic; background: linear-gradient(100deg, #6A55C4 0%, #B04A8E 30%, #E4683C 55%, #B04A8E 78%, #6A55C4 100%); background-size: 250% 100%; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; animation: shimmer 14s ease-in-out infinite; padding-right: .08em; }
.link-dark { color: var(--ink); font-weight: 700; font-size: 17px; padding: 14px 6px; }
.link-dark:hover { color: var(--deep); }
.ab-tag { position: absolute; z-index: 0; display: inline-flex; align-items: center; gap: 7px; padding: 7px 13px 7px 9px; background: #FFF8EC; color: var(--ink); font-family: var(--display); font-weight: 700; font-size: 17px; border-radius: 6px 12px 12px 6px; box-shadow: 0 8px 18px rgba(120,60,40,.18); transform-origin: 0 50%; animation: swing 5s ease-in-out infinite; pointer-events: none; }
.ab-tag i { width: 9px; height: 9px; border-radius: 50%; background: #FBC9A8; box-shadow: inset 0 0 0 2px rgba(46,42,53,.25); }
.ab-tag::before { content: ''; position: absolute; left: -26px; top: 50%; width: 28px; border-top: 2px dashed rgba(74,61,82,.45); transform: rotate(-24deg); transform-origin: right center; }
.ab-tag.t1 { left: 48%; top: 16%; --r: -8deg; }
.ab-tag.t2 { right: 1.5%; top: 64%; --r: 9deg; animation-delay: -1.5s; background: #2E2A35; color: #FFF3C4; font-size: 15px; letter-spacing: .04em; }
.ab-tag.t2 i { background: #FFF3C4; }
.ab-tag.t3 { left: 47%; bottom: 13%; --r: 6deg; animation-delay: -3s; }
.ab-tag.t4 { right: 3%; top: 8%; --r: -12deg; animation-delay: -2.2s; font-size: 14px; }
@keyframes swing { 0%, 100% { transform: rotate(var(--r, 0deg)); } 50% { transform: rotate(calc(var(--r, 0deg) * -1)); } }
@media (max-width: 900px) { .ab-tag.t1, .ab-tag.t3 { display: none; } .ab-rays { left: 50%; top: 72%; } }
@media (max-width: 560px) { .ab-tag.t4 { display: none; } .ab-tag.t2 { right: 5%; top: 3%; } .ab-hero .cta-row .btn { width: 100%; } }
@media (prefers-reduced-motion: reduce) { .ab-rays, .ab-tag, .shimmer-warm { animation: none; } }
