@font-face { font-family: "Modam"; src: url("fonts/ModamWeb-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Modam"; src: url("fonts/ModamWeb-Medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Modam"; src: url("fonts/ModamWeb-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Modam"; src: url("fonts/ModamWeb-ExtraBold.woff2") format("woff2"); font-weight: 800; font-display: swap; }

:root {
  --ink: #141c2e;
  --navy: #16233f;
  --navy-2: #22355e;
  --red: #b3261e;
  --red-soft: #e8675c;
  --quiet: #5f6878;
  --bg: #f6f7fa;
  --surface: #fff;
  --tint: #e9edf5;
  --hair: rgb(20 28 46 / 8%);
  --good: #24683f;
  --good-tint: #e5f3ea;
  --warn: #7a5413;
  --warn-tint: #f8efdc;
  --bad-tint: #fbeae8;
  --shadow: 0 1px 2px rgb(22 35 63 / 5%), 0 14px 40px rgb(22 35 63 / 8%);
  --shadow-lift: 0 24px 60px rgb(22 35 63 / 22%);
  --radius: 24px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: "Modam", Tahoma, sans-serif; font-size: 16px; line-height: 1.8; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.3; letter-spacing: -.01em; }
p { margin: 0; }
a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible { outline: 3px solid rgb(22 35 63 / 40%); outline-offset: 3px; border-radius: 8px; }

.container { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 780px; }
.skip { position: absolute; top: -60px; inset-inline-start: 16px; background: var(--navy); color: #fff; padding: 8px 16px; border-radius: 12px; z-index: 50; text-decoration: none; }
.skip:focus { top: 12px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 10px 24px;
  border-radius: 16px; border: 0; background: var(--navy); color: #fff; font: inherit; font-weight: 700; text-decoration: none;
  cursor: pointer; transition: transform .18s var(--ease), background .2s, box-shadow .2s;
}
.btn:hover { background: var(--navy-2); box-shadow: 0 10px 24px rgb(22 35 63 / 22%); }
.btn:active { transform: scale(.97); }
.btn:disabled { opacity: .5; cursor: wait; }
.btn-small { min-height: 42px; padding: 6px 18px; font-size: .92rem; border-radius: 14px; }
.btn-large { min-height: 56px; padding: 12px 30px; font-size: 1.05rem; }
.btn-ghost { background: var(--surface); color: var(--ink); box-shadow: inset 0 0 0 1.5px rgb(20 28 46 / 14%); }
.btn-ghost:hover { background: var(--surface); box-shadow: inset 0 0 0 1.5px var(--navy); }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: #fff; box-shadow: 0 10px 30px rgb(0 0 0 / 25%); }
.btn-block { width: 100%; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 30; background: rgb(246 247 250 / 82%); -webkit-backdrop-filter: blur(18px) saturate(170%); backdrop-filter: blur(18px) saturate(170%); border-bottom: 1px solid var(--hair); }
.header-row { display: flex; align-items: center; gap: 28px; min-height: 72px; }
.logo img { height: 40px; width: auto; }
.nav { display: flex; gap: 26px; margin-inline-start: auto; font-weight: 500; font-size: .95rem; }
.nav a { text-decoration: none; color: var(--quiet); transition: color .2s; }
.nav a:hover { color: var(--ink); }
.menu-toggle { display: none; width: 44px; height: 44px; border: 0; border-radius: 12px; background: var(--surface); box-shadow: var(--shadow); cursor: pointer; padding: 0; flex-direction: column; align-items: center; justify-content: center; gap: 6px; }
.menu-toggle span { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s; }
.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 72px 0 96px; background: radial-gradient(900px 500px at 15% 10%, rgb(179 38 30 / 9%), transparent 60%), radial-gradient(800px 600px at 85% 0%, rgb(22 35 63 / 10%), transparent 60%); }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 48px; }
.eyebrow { display: inline-block; font-size: .85rem; font-weight: 700; color: var(--red); background: rgb(179 38 30 / 8%); padding: 4px 14px; border-radius: 999px; margin-bottom: 18px; }
.eyebrow-light { color: #ffd7d3; background: rgb(255 255 255 / 10%); }
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; }
.accent { color: var(--red); }
.lead { font-size: 1.12rem; color: var(--quiet); margin-top: 18px; max-width: 34em; }
.lead-light { color: rgb(255 255 255 / 78%); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.trust { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--quiet); font-size: .92rem; }
.trust li { display: flex; align-items: center; gap: 8px; }
.trust li::before { content: ""; width: 18px; height: 18px; border-radius: 50%; background: var(--good-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2324683f' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 12px no-repeat; flex: none; }

/* Phone mockup */
.phone-wrap { position: relative; display: flex; justify-content: center; }
.phone { width: 300px; border-radius: 46px; padding: 12px; background: #0d1426; box-shadow: var(--shadow-lift), inset 0 0 0 2px #2a3550; animation: float 6s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-10px); } }
.phone-screen { border-radius: 36px; background: #f2f3f7; color: var(--ink); padding: 18px 14px 16px; display: grid; gap: 12px; min-height: 560px; align-content: start; font-size: 13px; line-height: 1.6; overflow: hidden; }
.m-head { display: flex; align-items: center; gap: 8px; padding: 6px 2px 2px; font-size: 15px; }
.m-back { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: #fff; box-shadow: 0 2px 8px rgb(22 35 63 / 10%); font-size: 18px; }
.m-steps { margin-inline-start: auto; display: flex; gap: 4px; }
.m-steps i { width: 16px; height: 4px; border-radius: 2px; background: rgb(20 28 46 / 14%); }
.m-steps i.on { background: var(--navy); }
.m-days { display: flex; gap: 6px; }
.m-day { flex: 1; text-align: center; background: #fff; border-radius: 14px; padding: 6px 4px; font-size: 11px; color: var(--quiet); box-shadow: 0 2px 8px rgb(22 35 63 / 6%); }
.m-day b { display: block; font-size: 12px; color: var(--ink); }
.m-day.on { background: var(--navy); color: rgb(255 255 255 / 72%); }
.m-day.on b { color: #fff; }
.m-card { background: #fff; border-radius: 18px; padding: 12px; box-shadow: 0 2px 10px rgb(22 35 63 / 6%); display: grid; gap: 8px; }
.m-label { font-size: 13px; }
.m-times { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.m-times span { background: #f2f3f7; border-radius: 10px; text-align: center; padding: 7px 0; font-weight: 600; font-size: 12px; }
.m-times span.on { background: var(--navy); color: #fff; }
.m-blocks { grid-template-columns: repeat(3, 1fr); }
.m-line { display: flex; justify-content: space-between; color: var(--quiet); }
.m-line b { color: var(--ink); }
.m-cta { background: var(--navy); color: #fff; border-radius: 14px; text-align: center; padding: 12px; font-weight: 700; margin-top: 4px; }
.m-next { background: linear-gradient(135deg, #16233f, #2a3d66); color: #fff; border-radius: 18px; padding: 14px; display: grid; gap: 2px; }
.m-next small { color: rgb(255 255 255 / 70%); }
.m-next b { font-size: 18px; }
.m-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.m-tiles div { background: #fff; border-radius: 14px; padding: 10px; display: grid; box-shadow: 0 2px 8px rgb(22 35 63 / 6%); }
.m-tiles small { color: var(--quiet); font-size: 10.5px; }
.float-card { position: absolute; display: flex; white-space: nowrap; align-items: center; gap: 10px; background: #fff; border-radius: 18px; padding: 12px 16px; box-shadow: var(--shadow-lift); font-size: 14px; line-height: 1.5; }
.float-card small { display: block; color: var(--quiet); font-size: 12px; }
.float-reminder { bottom: 70px; inset-inline-end: calc(50% + 100px); animation: float 6s ease-in-out infinite 1.5s; }
.float-icon { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: var(--tint); color: var(--red); }

/* Sections */
.section { padding: 96px 0; }
.section h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); font-weight: 800; }
.section-soft { background: #eef0f5; }
.section-dark { background: radial-gradient(800px 500px at 10% 0%, rgb(179 38 30 / 25%), transparent 60%), var(--navy); color: #fff; }

/* Steps and features */
.steps { list-style: none; padding: 0; margin: 44px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: none; }
.steps li { background: var(--surface); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.step-num { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: var(--navy); color: #fff; font-weight: 800; font-size: 1.15rem; margin-bottom: 16px; }
.steps h3, .feature h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 8px; }
.steps p, .feature p { color: var(--quiet); }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 20px; }
.feature { background: var(--surface); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); transition: transform .25s var(--ease), box-shadow .25s; }
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.f-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 16px; background: var(--tint); color: var(--navy); margin-bottom: 16px; }

/* Barbers */
.barber-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.checks { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 14px; }
.checks li { position: relative; padding-inline-start: 34px; color: rgb(255 255 255 / 78%); }
.checks li::before { content: ""; position: absolute; inset-inline-start: 0; top: 4px; width: 22px; height: 22px; border-radius: 50%; background: rgb(232 103 92 / 18%) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff9a90' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 13px no-repeat; }
.checks b { color: #fff; }
.note-light { color: rgb(255 255 255 / 60%); font-size: .9rem; margin-top: 14px; }

/* Rules */
.rules { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 36px; }
.rule { background: var(--surface); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); display: grid; gap: 6px; }
.rule b { display: flex; align-items: center; gap: 10px; }
.rule b::before { content: ""; width: 10px; height: 10px; border-radius: 50%; flex: none; background: var(--rule-color); }
.rule b { font-size: 1.05rem; }
.rule span { color: var(--quiet); }
.rule.good { --rule-color: var(--good); }
.rule.mid { --rule-color: #c79a3c; }
.rule.bad { --rule-color: var(--red); }
.small-print { color: var(--quiet); font-size: .9rem; margin-top: 20px; max-width: 48em; }

/* FAQ */
.faq { margin-top: 32px; display: grid; gap: 12px; }
.faq details { background: var(--surface); border-radius: 20px; padding: 6px 24px; box-shadow: var(--shadow); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 0; font-weight: 700; font-size: 1.02rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--tint); color: var(--navy); font-size: 20px; font-weight: 500; transition: transform .2s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--quiet); padding-bottom: 16px; }

/* Join */
.join-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.mini-checks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 10px; color: var(--quiet); }
.mini-checks li { display: flex; gap: 10px; align-items: center; }
.mini-checks li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--red); flex: none; }
.join-form { background: var(--surface); border-radius: 28px; padding: 32px; box-shadow: var(--shadow-lift); display: grid; gap: 16px; }
.join-form label { display: grid; gap: 6px; font-weight: 600; font-size: .92rem; }
.join-form input { font: inherit; font-weight: 400; padding: 14px 16px; border: 0; border-radius: 14px; background: #f2f3f7; color: var(--ink); width: 100%; min-width: 0; transition: box-shadow .2s, background .2s; }
.join-form input:focus { outline: 0; background: #fff; box-shadow: 0 0 0 2px var(--navy); }
.join-form input[dir="ltr"] { text-align: right; }
.hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.form-status { min-height: 1.6em; font-weight: 600; font-size: .95rem; text-align: center; }
.form-status.ok { color: var(--good); }
.form-status.error { color: var(--red); }

/* Footer */
.site-footer { background: #0d1426; color: rgb(255 255 255 / 70%); padding: 40px 0; }
.footer-row { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.footer-row nav { display: flex; gap: 20px; margin-inline-start: auto; flex-wrap: wrap; }
.footer-row a { text-decoration: none; }
.footer-row a:hover { color: #fff; }
.footer-row p { font-size: .9rem; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

@media (max-width: 960px) {
  .hero-grid, .barber-grid, .join-grid { grid-template-columns: 1fr; }
  .hero { padding: 48px 0 72px; }
  .hero-copy { text-align: center; }
  .hero .lead { margin-inline: auto; }
  .hero .cta-row, .trust { justify-content: center; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .rules { grid-template-columns: repeat(2, 1fr); }
  .float-reminder { inset-inline-end: auto; inset-inline-start: 0; bottom: 40px; }
}

@media (max-width: 760px) {
  .nav { position: absolute; top: 72px; inset-inline: 12px; flex-direction: column; gap: 0; background: var(--surface); border-radius: 20px; box-shadow: var(--shadow-lift); padding: 8px; display: none; }
  .nav.open { display: flex; }
  .nav a { padding: 12px 16px; border-radius: 12px; color: var(--ink); }
  .nav a:hover { background: var(--bg); }
  .menu-toggle { display: flex; }
  .header-row { gap: 12px; }
  .header-row .btn-small { margin-inline-start: auto; }
  .steps, .features { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .phone { width: 270px; }
  .phone-screen { min-height: 500px; }
  .float-reminder { display: none; }
  .join-form { padding: 22px; }
  .footer-row { flex-direction: column; text-align: center; }
  .footer-row nav { margin: 0; justify-content: center; }
}

@media (max-width: 420px) {
  .rules { grid-template-columns: 1fr; }
  .logo img { height: 34px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
