@font-face { font-family: "Open Sauce One"; font-weight: 400; src: url("fonts/OpenSauceOne-Regular.ttf"); font-display: swap; }
@font-face { font-family: "Open Sauce One"; font-weight: 600; src: url("fonts/OpenSauceOne-SemiBold.ttf"); font-display: swap; }
@font-face { font-family: "Open Sauce One"; font-weight: 800; src: url("fonts/OpenSauceOne-ExtraBold.ttf"); font-display: swap; }
@font-face { font-family: "Blacklist"; font-weight: 800; size-adjust: 120%; ascent-override: 83.3%; descent-override: 19.75%; line-gap-override: 0%; src: url("fonts/Blacklist-ExtraBold.otf"); font-display: swap; }

:root {
  --brand: #FE4940;
  --bg: #0E0E10;
  --card: #18181B;
  --card-2: #222226;
  --line: #2C2C31;
  --ink: #FFFFFF;
  --muted: #A1A1AA;
  --ok: #3DDC97;
  --font: "Open Sauce One", system-ui, sans-serif;
  --accent-font: "Blacklist", Georgia, serif;
  --r: 16px;
  --safe-b: env(safe-area-inset-bottom, 0px);
}

* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); -webkit-font-smoothing: antialiased; }
body { min-height: 100dvh; padding-bottom: calc(76px + var(--safe-b)); }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: var(--brand); }

.topbar { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; justify-content: space-between;
  padding: calc(10px + env(safe-area-inset-top, 0px)) 16px 10px; background: rgba(14,14,16,.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.logo { height: 34px; width: auto; }

main { max-width: 520px; margin: 0 auto; padding: 16px; outline: none; }

h1 { font-size: 28px; font-weight: 800; line-height: 1.12; margin: 6px 0 10px; letter-spacing: -.01em; }
h2 { font-size: 19px; font-weight: 800; margin: 22px 0 10px; }
.acc { font-family: var(--accent-font); font-weight: 800; color: var(--brand); }
p { line-height: 1.5; }
.muted { color: var(--muted); }
.small { font-size: 13px; }

.hero { position: relative; border-radius: 20px; overflow: hidden; min-height: 230px; display: flex; align-items: flex-end;
  background: #000 center/cover no-repeat; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14,14,16,0) 20%, rgba(14,14,16,.95) 100%); }
.hero .in { position: relative; z-index: 1; padding: 18px; }
.hero h1 { margin: 0 0 6px; }
.hero p { margin: 0; color: #E4E4E7; font-size: 14px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 12px; padding: 14px 18px;
  font-weight: 800; cursor: pointer; text-decoration: none; min-height: 48px; }
.btn { text-align: center; line-height: 1.25; }
.btn.red { background: var(--brand); color: #fff; }
.btn.ghost { background: var(--card-2); color: var(--ink); border: 1px solid var(--line); }
.btn.wa { background: #1FAF38; color: #fff; }
.btn.block { width: 100%; }
.btn:disabled { opacity: .55; cursor: not-allowed; }
.row { display: flex; gap: 10px; }
.row > * { flex: 1; }

.chip { border: 1px solid var(--brand); background: transparent; color: var(--brand); border-radius: 999px; padding: 7px 12px; font-weight: 600; font-size: 13px; cursor: pointer; }

.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 16px; }
.stack > * + * { margin-top: 10px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

.course { display: flex; flex-direction: column; gap: 6px; cursor: pointer; text-align: left; width: 100%; }
.course .tag { align-self: flex-start; font-size: 11px; font-weight: 600; color: var(--brand); background: rgba(254,73,64,.12); padding: 3px 8px; border-radius: 999px; }
.course b { font-size: 16px; }
.course .fee { font-weight: 800; }
.price { font-size: 22px; font-weight: 800; }

.feature { display: flex; gap: 12px; align-items: flex-start; }
.feature .n { flex: none; width: 34px; height: 34px; border-radius: 10px; background: rgba(254,73,64,.14); color: var(--brand); display: grid; place-items: center; font-weight: 800; }

label { display: block; font-size: 13px; font-weight: 600; color: var(--muted); margin: 14px 0 6px; }
input, select, textarea { width: 100%; background: var(--card-2); border: 1px solid var(--line); border-radius: 12px; padding: 13px 14px; font-size: 16px; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--brand); outline-offset: 0; border-color: transparent; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pills input { position: absolute; width: 1px; height: 1px; min-height: 0; padding: 0; opacity: 0; pointer-events: none; }
.pills label { margin: 0; color: var(--ink); font-weight: 600; background: var(--card-2); border: 1px solid var(--line); border-radius: 999px; padding: 9px 13px; cursor: pointer; }
.pills input:checked + label { background: var(--brand); border-color: var(--brand); }
.pills input:focus-visible + label { outline: 2px solid #fff; }
.err { color: #FF8A84; font-size: 14px; min-height: 20px; margin-top: 8px; }

.list-item { display: flex; gap: 12px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.list-item:last-child { border-bottom: 0; }
.badge { flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; font-size: 11px; font-weight: 800; background: var(--card-2); color: var(--brand); }
.list-item .t { flex: 1; min-width: 0; }
.list-item .t b { display: block; font-size: 15px; }

.bar { height: 10px; background: var(--card-2); border-radius: 999px; overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--brand); border-radius: 999px; }

.subtabs { display: flex; gap: 6px; background: var(--card); border: 1px solid var(--line); padding: 4px; border-radius: 12px; margin: 14px 0; }
.subtabs button { flex: 1; border: 0; background: transparent; padding: 10px; border-radius: 9px; font-weight: 600; color: var(--muted); cursor: pointer; }
.subtabs button[aria-selected="true"] { background: var(--card-2); color: var(--ink); }

.alert { border-left: 3px solid var(--line); }
.alert.new { border-left-color: var(--brand); }

.tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 10; display: flex; justify-content: space-around;
  background: rgba(20,20,23,.97); border-top: 1px solid var(--line); padding: 6px 4px calc(6px + var(--safe-b)); backdrop-filter: blur(10px); }
.tabbar button { position: relative; flex: 1; max-width: 104px; border: 0; background: none; color: var(--muted); font-size: 11px; font-weight: 600;
  display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 6px 2px; cursor: pointer; border-radius: 10px; }
.tabbar .ic { font-size: 19px; line-height: 1.2; }
.tabbar button.active { color: var(--ink); }
.tabbar button.active .ic { color: var(--brand); }
.tabbar button.primary .ic { background: var(--brand); color: #fff; width: 34px; height: 26px; border-radius: 9px; display: grid; place-items: center; font-size: 17px; }
.dot { position: absolute; top: 4px; right: calc(50% - 16px); width: 8px; height: 8px; border-radius: 50%; background: var(--brand); }

#toast { position: fixed; left: 50%; bottom: calc(90px + var(--safe-b)); transform: translateX(-50%) translateY(20px); opacity: 0; transition: .25s;
  background: #fff; color: #111; padding: 12px 16px; border-radius: 12px; font-weight: 600; font-size: 14px; max-width: calc(100% - 32px); z-index: 20; pointer-events: none; }
#toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

.success { text-align: center; padding: 28px 16px; }
.success .tick { width: 64px; height: 64px; border-radius: 50%; background: rgba(61,220,151,.15); color: var(--ok); display: grid; place-items: center; font-size: 32px; margin: 0 auto 10px; }
.facts .card { display: flex; flex-direction: column; gap: 4px; padding: 12px 14px; }
.facts b { font-size: 15px; }
.ticks { margin: 0; padding: 0; list-style: none; }
.ticks li { position: relative; padding: 6px 0 6px 24px; line-height: 1.45; }
.ticks li::before { content: "✓"; position: absolute; left: 0; color: var(--brand); font-weight: 800; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.contact-grid .btn { flex-direction: column; gap: 4px; padding: 12px 6px; font-size: 14px; white-space: nowrap; min-height: 68px; min-width: 0; }
.contact-grid .btn span { font-size: 18px; line-height: 1; }
.hours { display: flex; gap: 8px; align-items: flex-start; line-height: 1.5; }
.avatar { flex: none !important; width: 48px; height: 48px; border-radius: 50%; border: 2px solid var(--brand); background: var(--card-2); color: var(--ink); font-weight: 800; display: grid; place-items: center; overflow: hidden; padding: 0; cursor: pointer; }
.avatar.lg { width: 84px; height: 84px; font-size: 26px; cursor: default; }
.avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo-row { display: flex; gap: 14px; align-items: center; }
.photo-row .t { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.photo-row .chip { flex: 0 0 auto; }
input[type="date"] { color-scheme: dark; min-height: 48px; }
.nudge { display: flex; align-items: center; gap: 12px; margin-top: 10px; padding: 12px 14px; }
.nudge .t { flex: 1; display: flex; flex-direction: column; } .nudge .btn { min-height: 40px; padding: 8px 14px; flex: none; }
.refbar { width: 100%; margin-top: 10px; display: flex; align-items: center; gap: 12px; text-align: left; border: 0; border-radius: 14px; padding: 12px 14px; color: #fff; cursor: pointer; background: linear-gradient(100deg, #B3201A, #D9362E); }
.refbar .t { flex: 1; display: flex; flex-direction: column; } .refbar .t span { font-size: 13px; }
.ticket { border-radius: 20px; overflow: hidden; color: #fff; background: linear-gradient(135deg, #A81C16, #D9362E 75%); }
.ticket .in { padding: 20px 18px 14px; } .ticket .kick { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.ticket .big { font-size: 52px; font-weight: 800; line-height: 1.1; margin: 4px 0; } .ticket .big .acc { color: #fff; } .ticket p { margin: 0; font-size: 16px; }
.ticket .cut { position: relative; border-top: 2px dashed rgba(255,255,255,.55); margin: 0 18px; }
.ticket .cut::before, .ticket .cut::after { content: ""; position: absolute; top: -13px; width: 24px; height: 24px; border-radius: 50%; background: var(--bg); }
.ticket .cut::before { left: -30px; } .ticket .cut::after { right: -30px; }
.ticket .bal { display: grid; grid-template-columns: repeat(3, 1fr); padding: 14px 10px 16px; text-align: center; }
.ticket .bal b { display: block; font-size: 22px; font-weight: 800; } .ticket .bal span { font-size: 12px; }
.ladder .step { display: flex; align-items: center; gap: 12px; padding: 9px 0; color: var(--muted); } .ladder .step + .step { border-top: 1px solid var(--line); }
.ladder .step b { margin-left: auto; color: var(--ink); } .ladder .dotn { width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--line); display: grid; place-items: center; font-weight: 800; font-size: 13px; }
.ladder .done { color: var(--ink); } .ladder .done .dotn { background: var(--ok); border-color: var(--ok); color: #06301d; }
.rstat { flex: none; font-size: 12px; font-weight: 700; padding: 4px 9px; border-radius: 999px; background: var(--card-2); color: var(--muted); }
.rstat.ok { background: rgba(61,220,151,.15); color: var(--ok); } .rstat.mid { background: rgba(255,196,0,.14); color: #FFD25E; }
.invite { display: flex; gap: 10px; align-items: center; border: 1px solid rgba(254,73,64,.5); background: rgba(254,73,64,.1); border-radius: 14px; padding: 12px 14px; margin-bottom: 12px; }

.bday { margin-top: 10px; border-radius: 14px; padding: 14px; background: linear-gradient(100deg, #7A2BA8, #B3201A); color: #fff; } .bday span { display: block; font-size: 14px; margin-top: 2px; }
.stat2 b { display: block; font-size: 30px; font-weight: 800; color: var(--ok); } .stat2 b.low { color: #FF8A84; }
.calhead { display: flex; align-items: center; justify-content: space-between; } .calhead .chip:disabled { opacity: .35; }
.cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; margin-top: 12px; text-align: center; }
.cal i { font-style: normal; font-size: 12px; color: var(--muted); }
.cal span { aspect-ratio: 1; border-radius: 10px; display: flex; flex-direction: column; align-items: center; justify-content: center; font-size: 14px; line-height: 1.1; }
.cal em { font-style: normal; font-size: 10px; font-weight: 800; } .cal .today { outline: 2px solid var(--brand); }
.cal .present, .callegend .present { background: rgba(61,220,151,.18); color: var(--ok); } .cal .late, .callegend .late { background: rgba(255,196,0,.16); color: #FFD25E; } .cal .absent, .callegend .absent { background: rgba(254,73,64,.2); color: #FF8A84; }
.callegend { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; } .callegend span { font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.social a { color: var(--ink); text-decoration: none; }
.social .badge { color: #fff; }
.social-website .badge { background: var(--brand); }
.social-instagram .badge { background: linear-gradient(45deg, #F58529, #DD2A7B 55%, #8134AF); }
.social-facebook .badge { background: #1877F2; }
.social-youtube .badge { background: #FF0000; }
.social .t span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: block; }
.subtabs.wrap { flex-wrap: wrap; gap: 4px; }
.subtabs.wrap button { flex: 1 1 auto; white-space: nowrap; padding: 9px 10px; font-size: 13px; }
.batch { display: flex; align-items: center; gap: 12px; padding: 12px 14px; }
.batch .date { flex: none; width: 48px; text-align: center; background: rgba(254,73,64,.14); color: var(--brand); border-radius: 10px; padding: 6px 0; line-height: 1.1; }
.batch .date b { display: block; font-size: 18px; }
.batch .date span { font-size: 11px; font-weight: 700; text-transform: uppercase; }
.batch .t { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.batch .chip { flex: none; }
.testis { display: grid; grid-auto-flow: column; grid-auto-columns: 82%; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; }
.testi { scroll-snap-align: start; display: flex; flex-direction: column; gap: 6px; }
.testi p { margin: 0; line-height: 1.5; }
.stars { color: #FFC83D; letter-spacing: 2px; }
.stars span { color: var(--line); }
.faq details { border-bottom: 1px solid var(--line); padding: 12px 0; }
.faq details:last-child { border-bottom: 0; }
.faq summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 10px; }
.faq summary::after { content: "+"; color: var(--brand); font-weight: 800; }
.faq details[open] summary::after { content: "–"; }
.faq summary::-webkit-details-marker { display: none; }
.faq p { margin: 8px 0 0; }
.starpick { display: flex; gap: 6px; }
.starpick button { background: none; border: 0; font-size: 30px; color: var(--line); cursor: pointer; padding: 0 2px; line-height: 1; }
.starpick button.on { color: #FFC83D; }
label.check { display: flex; gap: 8px; align-items: flex-start; color: var(--ink); font-weight: 400; }
label.check input { width: auto; margin-top: 3px; }
.opts { display: flex; flex-direction: column; gap: 6px; margin-top: 10px; }
.opt { display: flex; gap: 10px; align-items: flex-start; margin: 0; color: var(--ink); font-weight: 400; font-size: 15px; background: var(--card-2); border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; cursor: pointer; }
.opt input { width: auto; margin-top: 3px; }
.opt.right { border-color: var(--ok); background: rgba(61,220,151,.12); }
.opt.wrong { border-color: #FF8A84; background: rgba(254,73,64,.12); }
.ios-bar { position: fixed; left: 10px; right: 10px; bottom: calc(78px + var(--safe-b)); z-index: 15; display: flex; align-items: center; gap: 10px;
  background: #fff; color: #111; border-radius: 16px; padding: 10px 10px 10px 12px; box-shadow: 0 10px 40px rgba(0,0,0,.45); max-width: 500px; margin: 0 auto; }
.ios-bar img { border-radius: 10px; flex: none; }
.ios-bar .t { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.ios-bar .t b { font-size: 14px; }
.ios-bar .t span { color: #555; }
.ios-bar .btn { min-height: 38px; padding: 8px 14px; flex: none; }
.ios-bar .x { background: none; border: 0; color: #888; font-size: 16px; padding: 6px; cursor: pointer; flex: none; }
.sheet-bg { position: fixed; inset: 0; z-index: 30; background: rgba(0,0,0,.6); display: flex; align-items: flex-end; justify-content: center; }
.sheet { position: relative; width: 100%; max-width: 520px; background: var(--card); border: 1px solid var(--line); border-radius: 20px 20px 0 0;
  padding: 20px 18px calc(24px + var(--safe-b)); max-height: 88vh; overflow: auto; }
.steps { margin: 16px 0 10px; padding-left: 22px; display: flex; flex-direction: column; gap: 12px; line-height: 1.5; }
.steps li::marker { color: var(--brand); font-weight: 800; }
.pointer { position: fixed; left: 50%; transform: translateX(-50%); background: var(--brand); color: #fff; font-weight: 700; font-size: 13px;
  padding: 8px 14px; border-radius: 999px; z-index: 31; animation: bob 1.2s ease-in-out infinite; white-space: nowrap; }
.pointer.bottom { bottom: 8px; }
.pointer.top { top: 8px; }
@keyframes bob { 50% { transform: translate(-50%, 4px); } }
@media (prefers-reduced-motion: reduce) { .pointer { animation: none; } }
.demo-banner { font-size: 12px; color: var(--muted); text-align: center; margin-top: 26px; }
