/* Skinzic — layout: editorial luxury-clinical. Wide hero split (copy | floating phone screens),
   alternating full-width bands, 1120px content column, cards only where an object needs edges. */
:root {
  --bg: #FBF8F9;
  --bg-2: #F3ECEF;
  --surface: #FFFFFF;
  --fg: #1E171B;
  --muted: #6F6368;
  --line: #E8DDE2;
  --accent: #B8456B;
  --accent-2: #D8A77A;
  --accent-soft: #F6E3EA;
  --glow-a: rgba(216,167,122,.45);
  --glow-b: rgba(184,69,107,.28);
  --ok: #2E8A5C;
  --shadow: 0 20px 60px -24px rgba(50,20,35,.35);
  --display: 'Italiana', 'Didot', 'Bodoni MT', Georgia, serif;
  --body: 'Manrope', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --radius: 18px;
  --nav-h: 72px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #130F12; --bg-2: #1B1519; --surface: #211A1F; --fg: #F4EDF0; --muted: #A99CA3;
    --line: #322830; --accent: #E27A9C; --accent-2: #D9AE7F; --accent-soft: #3A2430;
    --glow-a: rgba(217,174,127,.28); --glow-b: rgba(226,122,156,.30); --ok: #5DBE8E;
    --shadow: 0 24px 70px -24px rgba(0,0,0,.8); color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #130F12; --bg-2: #1B1519; --surface: #211A1F; --fg: #F4EDF0; --muted: #A99CA3;
  --line: #322830; --accent: #E27A9C; --accent-2: #D9AE7F; --accent-soft: #3A2430;
  --glow-a: rgba(217,174,127,.28); --glow-b: rgba(226,122,156,.30); --ok: #5DBE8E;
  --shadow: 0 24px 70px -24px rgba(0,0,0,.8); color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--fg); font-family: var(--body);
  font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--bg); }
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 400; line-height: 1.08; margin: 0; text-wrap: balance; letter-spacing: .005em; }
h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); }
h2 { font-size: clamp(2rem, 4vw, 3.1rem); }
h3 { font-size: 1.45rem; }
p { margin: 0; }
.wrap { width: min(1120px, 100%); margin-inline: auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.eyebrow { font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); font-weight: 700; }
.lead { font-size: 1.12rem; color: var(--muted); max-width: 58ch; }
.muted { color: var(--muted); }
.section { padding-block: clamp(64px, 9vw, 112px); }
.section-head { display: grid; gap: 14px; max-width: 64ch; margin-bottom: clamp(32px, 5vw, 56px); }
.band { background: var(--bg-2); }
.center { text-align: center; }
.center .section-head { margin-inline: auto; justify-items: center; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 24px; border-radius: 999px; font-weight: 700; font-size: .95rem; border: 1px solid transparent; transition: transform .25s ease, box-shadow .25s ease, background .25s; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 12px 30px -12px var(--accent); }
.btn-ghost { border-color: var(--line); background: var(--surface); color: var(--fg); }
.btn-dark { background: var(--fg); color: var(--bg); }
.btn-sm { padding: 10px 18px; font-size: .88rem; }
.store { display: inline-flex; align-items: center; gap: 12px; padding: 10px 18px 10px 14px; border-radius: 14px; background: var(--fg); color: var(--bg); min-width: 170px; transition: transform .25s; }
.store:hover { transform: translateY(-2px); }
.store small { display: block; font-size: .66rem; letter-spacing: .06em; text-transform: uppercase; opacity: .75; line-height: 1.2; }
.store strong { display: block; font-size: 1.05rem; line-height: 1.15; }
.store svg { width: 26px; height: 26px; fill: currentColor; }

/* Nav */
.nav { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); background: color-mix(in srgb, var(--bg) 78%, transparent); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; gap: 24px; height: var(--nav-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--display); font-size: 1.7rem; letter-spacing: .04em; }
.brand .mark { width: 36px; height: 36px; }
.nav-links { display: flex; gap: 28px; margin-left: auto; font-size: .92rem; font-weight: 600; }
.nav-links a { position: relative; padding-block: 6px; color: var(--muted); }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .3s; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--fg); }
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { transform: scaleX(1); }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.theme-toggle { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); display: grid; place-items: center; color: var(--fg); transition: transform .3s, background .3s; }
.theme-toggle:hover { transform: rotate(20deg); }
.theme-toggle svg { width: 18px; height: 18px; }
.theme-toggle .sun { display: none; }
:root[data-theme="dark"] .theme-toggle .sun { display: block; }
:root[data-theme="dark"] .theme-toggle .moon { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .sun { display: block; }
  :root:not([data-theme="light"]) .theme-toggle .moon { display: none; }
}
.burger { display: none; width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); color: var(--fg); place-items: center; }
.burger svg { width: 20px; height: 20px; }
@media (max-width: 860px) {
  .nav-links { display: none; position: absolute; top: var(--nav-h); left: 0; right: 0; flex-direction: column; gap: 0; background: var(--surface); border-bottom: 1px solid var(--line); padding: 8px 20px 16px; }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav-links a::after { display: none; }
  .burger { display: grid; }
  .nav .btn-cta { display: none; }
}

/* Hero */
.hero { position: relative; overflow: hidden; padding-block: clamp(56px, 8vw, 110px) clamp(48px, 7vw, 90px); }
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.hero-copy { display: grid; gap: 22px; }
.hero-copy h1 em { font-style: italic; color: var(--accent); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero-note { font-size: .88rem; color: var(--muted); display: flex; gap: 16px; flex-wrap: wrap; }
.hero-note span { display: inline-flex; align-items: center; gap: 6px; }
.hero-note svg { width: 14px; height: 14px; color: var(--ok); }
.orb { position: absolute; border-radius: 50%; filter: blur(60px); pointer-events: none; z-index: 0; }
.orb-a { width: 460px; height: 460px; background: var(--glow-a); right: -120px; top: -80px; animation: drift 14s ease-in-out infinite; }
.orb-b { width: 380px; height: 380px; background: var(--glow-b); left: -140px; bottom: -120px; animation: drift 18s ease-in-out infinite reverse; }
@keyframes drift { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(30px, 40px); } }
.hero > .wrap { position: relative; z-index: 1; }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: 1fr; } .hero-copy { text-align: center; justify-items: center; } .hero-note { justify-content: center; } }

/* Phones */
.phone-stage { position: relative; min-height: 560px; display: grid; place-items: center; }
.phone { width: 250px; aspect-ratio: 9 / 19.2; border-radius: 38px; background: #0d0a0c; padding: 10px; box-shadow: var(--shadow), inset 0 0 0 2px #2a2227; position: relative; max-width: 100%; }
.phone::before { content: ""; position: absolute; top: 18px; left: 50%; transform: translateX(-50%); width: 84px; height: 24px; background: #0d0a0c; border-radius: 14px; z-index: 3; }
.screen { width: 100%; height: 100%; border-radius: 30px; overflow: hidden; background: var(--bg); color: var(--fg); display: flex; flex-direction: column; font-size: 11px; line-height: 1.35; }
.phone-stage .phone-main { animation: float 6s ease-in-out infinite; }
.phone-stage .phone-back { position: absolute; transform: translate(-150px, 30px) scale(.86) rotate(-8deg); opacity: .92; animation: float2 7s ease-in-out infinite; }
@media (max-width: 1100px) { .phone-stage .phone-back { transform: translate(-130px, 40px) scale(.8) rotate(-8deg); } }
@media (max-width: 480px) { .phone-stage { min-height: 500px; } .phone { width: 220px; } .phone-stage .phone-back { display: none; } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes float2 { 0%, 100% { transform: translate(-150px, 30px) scale(.86) rotate(-8deg); } 50% { transform: translate(-150px, 14px) scale(.86) rotate(-7deg); } }
.s-top { padding: 34px 16px 10px; display: flex; justify-content: space-between; align-items: center; }
.s-hello { font-weight: 700; font-size: 13px; }
.s-hello small { display: block; font-weight: 500; color: var(--muted); font-size: 9.5px; }
.s-avatar { width: 28px; height: 28px; border-radius: 50%; background: linear-gradient(135deg, var(--accent-2), var(--accent)); }
.s-search { margin: 4px 16px 10px; border: 1px solid var(--line); background: var(--surface); border-radius: 12px; padding: 9px 12px; color: var(--muted); display: flex; gap: 8px; align-items: center; }
.s-search i { width: 10px; height: 10px; border: 1.5px solid currentColor; border-radius: 50%; position: relative; }
.s-chips { display: flex; gap: 6px; padding: 0 16px 10px; overflow: hidden; }
.s-chips span { padding: 5px 10px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); font-weight: 700; font-size: 9.5px; white-space: nowrap; }
.s-chips span.on { background: var(--accent); color: #fff; }
.s-label { padding: 2px 16px 6px; font-weight: 700; font-size: 10px; display: flex; justify-content: space-between; }
.s-label a { color: var(--accent); font-weight: 600; }
.s-card { margin: 0 16px 8px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.s-card .ph { height: 50px; background: linear-gradient(120deg, var(--accent-soft), var(--accent-2)); position: relative; }
.s-card .ph.b { background: linear-gradient(120deg, var(--accent-2), var(--accent)); }
.s-card .ph.c { background: linear-gradient(120deg, #cfd9e8, var(--accent-soft)); }
.s-card .ph em { position: absolute; top: 6px; left: 6px; font-style: normal; background: var(--fg); color: var(--bg); border-radius: 6px; padding: 2px 6px; font-size: 8px; font-weight: 700; }
.s-card .ph em.gold { background: var(--accent-2); color: #2a1a10; }
.s-body { padding: 8px 10px 9px; display: grid; gap: 2px; }
.s-body b { font-size: 11px; }
.s-row { display: flex; justify-content: space-between; color: var(--muted); font-size: 9.5px; }
.s-row .star { color: #E0A33E; }
.s-price { color: var(--fg); font-weight: 700; }
.s-nav { margin-top: auto; display: flex; justify-content: space-around; padding: 10px 10px 18px; border-top: 1px solid var(--line); background: var(--surface); }
.s-nav span { width: 16px; height: 16px; border-radius: 5px; background: var(--line); }
.s-nav span.on { background: var(--accent); }
/* dashboard screen */
.d-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 0 16px 10px; }
.d-stat { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 8px 10px; }
.d-stat small { color: var(--muted); font-size: 8.5px; display: block; }
.d-stat b { font-size: 15px; }
.d-stat i { font-style: normal; color: var(--ok); font-size: 8.5px; font-weight: 700; }
.d-bars { display: flex; align-items: flex-end; gap: 5px; height: 48px; margin: 0 16px 10px; padding: 0 2px; border-bottom: 1px solid var(--line); }
.d-bars span { flex: 1; background: var(--accent-soft); border-radius: 4px 4px 0 0; }
.d-bars span.hot { background: var(--accent); }
.d-appt { margin: 0 16px 6px; display: flex; gap: 8px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 7px 9px; }
.d-appt .t { font-weight: 700; color: var(--accent); min-width: 38px; font-size: 10px; }
.d-appt b { font-size: 10.5px; display: block; }
.d-appt small { color: var(--muted); font-size: 8.5px; }
.d-appt .pill { margin-left: auto; font-size: 8px; font-weight: 700; padding: 2px 6px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); }
.d-appt .pill.ok { background: color-mix(in srgb, var(--ok) 15%, transparent); color: var(--ok); }
/* booking confirm screen */
.c-wrap { padding: 44px 18px 16px; display: grid; gap: 10px; text-align: center; }
.c-check { width: 54px; height: 54px; border-radius: 50%; margin: 0 auto 4px; background: color-mix(in srgb, var(--ok) 16%, transparent); color: var(--ok); display: grid; place-items: center; font-size: 22px; font-weight: 800; }
.c-wrap h5 { font-family: var(--display); font-size: 20px; margin: 0; font-weight: 400; }
.c-detail { text-align: left; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 10px 12px; display: grid; gap: 7px; }
.c-detail div { display: flex; justify-content: space-between; font-size: 10px; }
.c-detail div span:first-child { color: var(--muted); }
.c-btn { background: var(--accent); color: #fff; font-weight: 700; border-radius: 12px; padding: 10px; font-size: 11px; }
.c-btn.ghost { background: transparent; border: 1px solid var(--line); color: var(--fg); }

/* Trust strip */
.strip { border-block: 1px solid var(--line); background: var(--surface); }
.strip .wrap { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 40px; padding-block: 18px; font-size: .9rem; font-weight: 600; color: var(--muted); }
.strip span { display: inline-flex; align-items: center; gap: 8px; }
.strip svg { width: 16px; height: 16px; color: var(--accent); }

/* Two-sided how it works */
.sides { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.side { background: var(--surface); border: 1px solid var(--line); border-radius: 28px; padding: clamp(24px, 4vw, 40px); display: grid; gap: 22px; position: relative; overflow: hidden; }
.side.biz { background: var(--fg); color: var(--bg); border-color: transparent; }
.side.biz .muted { color: color-mix(in srgb, var(--bg) 70%, transparent); }
.side.biz .eyebrow { color: var(--accent-2); }
.side h3 { font-size: 2rem; }
.steps { display: grid; gap: 16px; list-style: none; margin: 0; padding: 0; counter-reset: s; }
.steps li { display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: start; }
.steps li::before { counter-increment: s; content: counter(s, decimal-leading-zero); font-family: var(--display); font-size: 1.5rem; color: var(--accent); line-height: 1.1; }
.side.biz .steps li::before { color: var(--accent-2); }
.steps b { display: block; margin-bottom: 2px; }
.steps span { font-size: .93rem; color: var(--muted); }
.side.biz .steps span { color: color-mix(in srgb, var(--bg) 70%, transparent); }
@media (max-width: 820px) { .sides { grid-template-columns: 1fr; } }

/* Features */
.feature-tabs { display: inline-flex; background: var(--bg-2); border: 1px solid var(--line); border-radius: 999px; padding: 4px; gap: 4px; margin-bottom: 36px; }
.feature-tabs button { border: 0; background: transparent; padding: 10px 22px; border-radius: 999px; font-weight: 700; color: var(--muted); transition: background .25s, color .25s; }
.feature-tabs button[aria-selected="true"] { background: var(--surface); color: var(--fg); box-shadow: 0 6px 18px -10px rgba(0,0,0,.3); }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature { display: grid; gap: 10px; padding: 26px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); transition: transform .3s, box-shadow .3s; }
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feature .ic { width: 44px; height: 44px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; }
.feature .ic svg { width: 22px; height: 22px; }
.feature h3 { font-family: var(--body); font-weight: 800; font-size: 1.05rem; }
.feature p { font-size: .93rem; color: var(--muted); }
.feature-panel[hidden] { display: none; }
@media (max-width: 900px) { .features { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .features { grid-template-columns: 1fr; } }

/* Screens showcase */
.showcase { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; align-items: end; justify-items: center; }
.showcase figure { margin: 0; display: grid; gap: 16px; justify-items: center; }
.showcase figcaption { text-align: center; max-width: 26ch; }
.showcase figcaption b { display: block; font-size: 1.05rem; }
.showcase figcaption span { color: var(--muted); font-size: .92rem; }
.showcase .phone { width: 230px; }
.showcase figure:nth-child(2) .phone { transform: translateY(-20px); }
@media (max-width: 900px) { .showcase { grid-template-columns: 1fr; } .showcase figure:nth-child(2) .phone { transform: none; } }

/* Featured band */
.featured { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.featured .vis { position: relative; min-height: 340px; display: grid; place-items: center; }
.rank { width: min(380px, 100%); background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 18px; display: grid; gap: 10px; box-shadow: var(--shadow); }
.rank .r { display: grid; grid-template-columns: 42px 1fr auto; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 14px; border: 1px solid var(--line); background: var(--bg); }
.rank .r.top { border-color: var(--accent-2); background: linear-gradient(90deg, color-mix(in srgb, var(--accent-2) 22%, var(--surface)), var(--surface)); animation: pulse 3s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent-2) 45%, transparent); } 50% { box-shadow: 0 0 0 10px transparent; } }
.rank .r i { width: 42px; height: 42px; border-radius: 10px; background: linear-gradient(135deg, var(--accent-soft), var(--accent-2)); }
.rank .r.top i { background: linear-gradient(135deg, var(--accent-2), var(--accent)); }
.rank .r b { display: block; font-size: .95rem; }
.rank .r small { color: var(--muted); font-size: .8rem; }
.rank .tag { font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #2a1a10; background: var(--accent-2); padding: 4px 8px; border-radius: 999px; }
.checklist { display: grid; gap: 12px; list-style: none; padding: 0; margin: 0; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.checklist svg { width: 20px; height: 20px; color: var(--ok); flex: none; margin-top: 3px; }
@media (max-width: 860px) { .featured { grid-template-columns: 1fr; } }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: 26px; padding: 30px; display: grid; gap: 18px; align-content: start; position: relative; }
.plan.hot { border-color: var(--accent); box-shadow: var(--shadow); }
.plan .badge { position: absolute; top: -14px; left: 28px; background: var(--accent); color: #fff; font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; }
.plan h3 { font-family: var(--body); font-weight: 800; font-size: 1.1rem; }
.price { font-family: var(--display); font-size: 3rem; line-height: 1; font-variant-numeric: tabular-nums; }
.price small { font-family: var(--body); font-size: .9rem; color: var(--muted); }
.plan ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: .93rem; }
.plan li { display: flex; gap: 10px; align-items: flex-start; }
.plan li svg { width: 16px; height: 16px; color: var(--accent); flex: none; margin-top: 4px; }
.plan .who { font-size: .88rem; color: var(--muted); }
.addon { margin-top: 26px; background: var(--fg); color: var(--bg); border-radius: 22px; padding: 26px 30px; display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: center; }
.addon .price { font-size: 2.2rem; }
.addon .price small { color: color-mix(in srgb, var(--bg) 70%, transparent); }
.addon p { color: color-mix(in srgb, var(--bg) 75%, transparent); max-width: 60ch; }
.addon b { color: var(--accent-2); }
@media (max-width: 900px) { .plans { grid-template-columns: 1fr; } .addon { grid-template-columns: 1fr; } }

/* Testimonials */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.quote { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 28px; display: grid; gap: 16px; }
.quote .stars { color: #E0A33E; letter-spacing: 2px; font-size: .95rem; }
.quote p { font-size: 1rem; }
.quote .who { display: flex; gap: 12px; align-items: center; }
.quote .av { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; color: #fff; background: linear-gradient(135deg, var(--accent), var(--accent-2)); }
.quote .who b { display: block; font-size: .95rem; }
.quote .who span { color: var(--muted); font-size: .85rem; }
@media (max-width: 900px) { .quotes { grid-template-columns: 1fr; } }

/* FAQ */
.faq { display: grid; gap: 10px; max-width: 760px; margin-inline: auto; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 0 22px; }
.faq summary { list-style: none; cursor: pointer; padding: 18px 0; font-weight: 700; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; color: var(--accent); transition: transform .3s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding-bottom: 18px; color: var(--muted); }

/* CTA band */
.cta { background: linear-gradient(135deg, var(--accent), #7a2d4c); color: #fff; border-radius: 32px; padding: clamp(40px, 6vw, 72px); text-align: center; display: grid; gap: 20px; justify-items: center; position: relative; overflow: hidden; }
.cta::before { content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%; background: rgba(255,255,255,.14); filter: blur(50px); top: -200px; right: -120px; }
.cta h2 { max-width: 20ch; }
.cta p { color: rgba(255,255,255,.85); max-width: 56ch; }
.cta .actions { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
.cta .store { background: #fff; color: #1a1014; }

/* Footer */
.footer { border-top: 1px solid var(--line); background: var(--surface); padding-block: 56px 28px; }
.footer .cols { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 36px; }
.footer h4 { font-family: var(--body); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 800; margin-bottom: 14px; color: var(--muted); }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: .93rem; }
.footer a:hover { color: var(--accent); }
.footer .about { display: grid; gap: 14px; max-width: 36ch; color: var(--muted); font-size: .93rem; }
.social { display: flex; gap: 10px; flex-wrap: wrap; }
.social a { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; color: var(--fg); transition: background .25s, color .25s, transform .25s; }
.social a:hover { background: var(--accent); color: #fff; border-color: var(--accent); transform: translateY(-2px); }
.social svg { width: 17px; height: 17px; fill: currentColor; }
.foot-bottom { margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; align-items: center; font-size: .85rem; color: var(--muted); }
.devby { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; color: var(--fg); padding: 8px 14px 8px 10px; border: 1px solid var(--line); border-radius: 999px; transition: border-color .25s, transform .25s; }
.devby:hover { border-color: var(--accent); transform: translateY(-2px); color: var(--fg); }
.devby svg { width: 26px; height: 26px; }
@media (max-width: 860px) { .footer .cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer .cols { grid-template-columns: 1fr; } }

/* Page hero (inner pages) */
.page-hero { padding-block: clamp(56px, 8vw, 96px) clamp(32px, 5vw, 56px); position: relative; overflow: hidden; }
.page-hero .wrap { display: grid; gap: 16px; max-width: 72ch; position: relative; z-index: 1; }

/* About */
.story { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.story .text { display: grid; gap: 16px; }
.story .text p { color: var(--muted); }
.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 20px; }
.stat b { display: block; font-family: var(--display); font-size: 2.4rem; line-height: 1; margin-bottom: 6px; font-variant-numeric: tabular-nums; }
.stat span { color: var(--muted); font-size: .88rem; }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.value { padding: 26px; border-radius: 22px; border: 1px solid var(--line); background: var(--surface); display: grid; gap: 10px; }
.value h3 { font-family: var(--body); font-weight: 800; font-size: 1.05rem; }
.value p { color: var(--muted); font-size: .93rem; }
.founder { display: grid; grid-template-columns: 180px 1fr; gap: 32px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: 28px; padding: clamp(24px, 4vw, 40px); }
.founder .portrait { width: 180px; height: 180px; border-radius: 28px; background: linear-gradient(135deg, var(--accent-2), var(--accent)); display: grid; place-items: center; font-family: var(--display); font-size: 4rem; color: #fff; }
.founder .text { display: grid; gap: 10px; }
.founder .text p { color: var(--muted); }
@media (max-width: 860px) { .story, .founder { grid-template-columns: 1fr; } .stat-row, .values { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .stat-row, .values { grid-template-columns: 1fr; } }

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; align-items: start; }
.contact-info { display: grid; gap: 22px; }
.info-card { display: grid; gap: 6px; padding: 22px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); }
.info-card b { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.info-card span { font-size: 1.05rem; font-weight: 600; user-select: all; }
.info-card small { color: var(--muted); }
.form { display: grid; gap: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 26px; padding: clamp(22px, 4vw, 36px); }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; }
.field label { font-size: .85rem; font-weight: 700; }
.field input, .field select, .field textarea { font: inherit; padding: 13px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg); color: var(--fg); width: 100%; min-width: 0; }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--accent); outline-offset: 0; border-color: var(--accent); }
.form-ok { display: grid; gap: 8px; padding: 18px; border-radius: 14px; background: color-mix(in srgb, var(--ok) 12%, transparent); color: var(--ok); font-weight: 600; }
@media (max-width: 860px) { .contact, .form .row { grid-template-columns: 1fr; } }

/* Blog */
.posts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.post-card { display: grid; grid-template-rows: auto 1fr; border-radius: 24px; overflow: hidden; border: 1px solid var(--line); background: var(--surface); transition: transform .3s, box-shadow .3s; }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.post-cover { aspect-ratio: 16 / 8; max-width: 100%; display: grid; place-items: center; position: relative; overflow: hidden; }
.post-cover svg { width: 100%; height: 100%; }
.post-body { padding: 24px; display: grid; gap: 10px; align-content: start; }
.post-meta { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); font-weight: 800; display: flex; gap: 12px; }
.post-meta span.date { color: var(--muted); letter-spacing: .04em; text-transform: none; font-weight: 600; }
.post-body h3 { font-size: 1.5rem; }
.post-body p { color: var(--muted); font-size: .95rem; }
.post-body .more { font-weight: 700; color: var(--accent); }
@media (max-width: 760px) { .posts { grid-template-columns: 1fr; } }
.article { max-width: 70ch; margin-inline: auto; display: grid; gap: 22px; font-size: 1.05rem; }
.article h2 { font-size: 1.9rem; margin-top: 18px; }
.article h3 { font-size: 1.3rem; font-family: var(--body); font-weight: 800; margin-top: 8px; }
.article p, .article li { color: var(--fg); }
.article ul, .article ol { padding-left: 22px; display: grid; gap: 8px; }
.article blockquote { margin: 0; padding: 18px 24px; border-left: 3px solid var(--accent); background: var(--surface); border-radius: 0 16px 16px 0; font-family: var(--display); font-size: 1.4rem; line-height: 1.3; }
.article .callout { background: var(--accent-soft); color: var(--fg); border-radius: 18px; padding: 22px; display: grid; gap: 8px; }
.article .callout b { color: var(--accent); }
.article-cover { max-width: 70ch; margin: 0 auto 36px; border-radius: 28px; overflow: hidden; aspect-ratio: 16 / 7; }
.article-cover svg { width: 100%; height: 100%; }
.author { display: flex; gap: 14px; align-items: center; padding-top: 22px; border-top: 1px solid var(--line); }
.author .av { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; color: #fff; background: linear-gradient(135deg, var(--accent), var(--accent-2)); flex: none; }
.author b { display: block; }
.author span { color: var(--muted); font-size: .9rem; }

/* Reveal */
.reveal { transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
.reveal.pre { opacity: 0; transform: translateY(28px); }
.hero-copy > * { animation: rise .9s cubic-bezier(.2,.7,.2,1) both; }
.hero-copy > *:nth-child(2) { animation-delay: .1s; } .hero-copy > *:nth-child(3) { animation-delay: .2s; } .hero-copy > *:nth-child(4) { animation-delay: .3s; } .hero-copy > *:nth-child(5) { animation-delay: .4s; }
.phone-stage { animation: rise 1.1s .25s cubic-bezier(.2,.7,.2,1) both; }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: translateY(0); } }

/* Chatbot */
.chat-fab { position: fixed; right: calc(20px + env(safe-area-inset-right, 0px)); bottom: calc(20px + env(safe-area-inset-bottom, 0px)); z-index: 70; width: 60px; height: 60px; border-radius: 50%; border: 0; background: var(--accent); color: #fff; box-shadow: 0 16px 40px -12px var(--accent); display: grid; place-items: center; transition: transform .3s; }
.chat-fab:hover { transform: scale(1.06); }
.chat-fab svg { width: 26px; height: 26px; }
.chat-fab .dot { position: absolute; top: 4px; right: 4px; width: 12px; height: 12px; border-radius: 50%; background: var(--ok); border: 2px solid var(--bg); }
.chat { position: fixed; right: calc(20px + env(safe-area-inset-right, 0px)); bottom: calc(92px + env(safe-area-inset-bottom, 0px)); z-index: 70; width: min(380px, calc(100vw - 40px)); height: min(560px, calc(100vh - 130px)); background: var(--surface); border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow); display: flex; flex-direction: column; overflow: hidden; transform-origin: bottom right; transition: transform .3s cubic-bezier(.2,.7,.2,1), opacity .3s; }
.chat[hidden] { display: flex !important; transform: scale(.85) translateY(20px); opacity: 0; pointer-events: none; }
.chat-head { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--line); background: var(--bg); }
.chat-head .av { width: 38px; height: 38px; border-radius: 50%; background: linear-gradient(135deg, var(--accent), var(--accent-2)); display: grid; place-items: center; color: #fff; font-weight: 800; }
.chat-head b { display: block; font-size: .95rem; }
.chat-head small { color: var(--ok); font-size: .78rem; font-weight: 700; }
.chat-head button { margin-left: auto; border: 0; background: transparent; color: var(--muted); font-size: 1.3rem; width: 32px; height: 32px; border-radius: 8px; }
.chat-log { flex: 1; overflow-y: auto; padding: 16px; display: grid; gap: 10px; align-content: start; }
.msg { max-width: 86%; padding: 11px 14px; border-radius: 16px; font-size: .92rem; line-height: 1.5; animation: pop .25s ease both; }
.msg.bot { background: var(--bg-2); border-bottom-left-radius: 4px; justify-self: start; }
.msg.user { background: var(--accent); color: #fff; border-bottom-right-radius: 4px; justify-self: end; }
.msg b { font-weight: 800; }
.msg ul { margin: 6px 0 0; padding-left: 18px; display: grid; gap: 3px; }
@keyframes pop { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.typing span { display: inline-block; width: 6px; height: 6px; margin-right: 3px; border-radius: 50%; background: var(--muted); animation: blink 1.2s infinite; }
.typing span:nth-child(2) { animation-delay: .2s; } .typing span:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 0%, 80%, 100% { opacity: .25; } 40% { opacity: 1; } }
.chips { display: flex; gap: 6px; flex-wrap: wrap; padding: 0 16px 10px; }
.chips button { border: 1px solid var(--line); background: var(--surface); color: var(--accent); font-weight: 700; font-size: .78rem; padding: 6px 11px; border-radius: 999px; transition: background .2s; }
.chips button:hover { background: var(--accent-soft); }
.chat-input { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--line); }
.chat-input input { flex: 1; min-width: 0; font: inherit; padding: 11px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg); color: var(--fg); }
.chat-input button { width: 42px; height: 42px; border-radius: 50%; border: 0; background: var(--accent); color: #fff; display: grid; place-items: center; }
.chat-input button svg { width: 18px; height: 18px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal.pre { opacity: 1; transform: none; }
}
