/* Till Coach site: "Corner shop", the app's palette and rounded type (direction 2026-09-18). */
@font-face {
  font-family: "Nunito";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("/fonts/nunito-latin.woff2") format("woff2");
}

:root {
  --ground: #FFF6E9;
  --surface: #FFFFFF;
  --counter: #F6E7CF;
  --drawer: #2B2257;
  --sunny: #FFC53D;
  --grape: #6B4EFF;
  --grape-soft: #A796FF;
  --grape-mid: #8B74FF;
  --link: #5536E8;
  --mint: #2FD69A;
  --ink: #211A45;
  --ink-soft: #5E5880;
  --line: #EADFCB;
  --outline: #211A45;
  --on-drawer: #F4F0FF;
  --on-drawer-soft: #CFC8F0;
  --font: ui-rounded, "SF Pro Rounded", "Nunito", system-ui, sans-serif;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --ground: #17132E;
    --surface: #221C45;
    --counter: #221C45;
    --drawer: #0F0C22;
    --grape: #7A62FF;
    --link: #A796FF;
    --ink: #F6F2FF;
    --ink-soft: #B7B0D6;
    --line: #342C63;
    --outline: #F6F2FF;
  }
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--font);
  font-size: 18px;
  line-height: 1.55;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--link); text-underline-offset: 3px; }
a:hover { color: var(--ink); }

:focus-visible { outline: 3px solid var(--grape); outline-offset: 3px; border-radius: 6px; }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 10;
  background: var(--sunny); color: #211A45; padding: 8px 14px; border-radius: 10px; font-weight: 800;
}
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: 1312px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 760px) { .wrap { padding: 0 40px; } }
@media (min-width: 1100px) { .wrap { padding: 0 64px; } }

/* ---- the awning */
.awning {
  position: relative;
  height: 30px;
  margin-bottom: 20px;
  background: repeating-linear-gradient(90deg, #6B4EFF 0 20px, #A796FF 20px 40px);
}
.awning::after {
  content: "";
  position: absolute; left: 0; right: 0; top: 100%;
  height: 20px;
  background:
    radial-gradient(circle at 20px 0, #6B4EFF 19.5px, transparent 20px) 0 0 / 80px 20px repeat-x,
    radial-gradient(circle at 60px 0, #8B74FF 19.5px, transparent 20px) 0 0 / 80px 20px repeat-x;
}
@media (min-width: 760px) { .awning { height: 44px; } }

/* ---- nav */
.nav { display: flex; align-items: center; gap: 12px; padding-top: 12px; padding-bottom: 12px; }
.brand { display: flex; align-items: center; gap: 10px; flex-grow: 1; color: var(--ink); text-decoration: none; }
.brand img { width: 40px; height: 40px; border-radius: 9px; border: 2.5px solid #211A45; }
.brand span { font-size: 20px; font-weight: 900; letter-spacing: -0.3px; }
.nav a.link { color: var(--ink); text-decoration: none; font-weight: 800; font-size: 15px; padding: 10px 4px; }
.nav a.link[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--sunny); text-decoration-thickness: 3px; text-underline-offset: 6px; }
.nav a.home-link { display: none; }
@media (min-width: 760px) {
  .nav { gap: 20px; padding-top: 14px; padding-bottom: 14px; }
  .brand img { width: 48px; height: 48px; border-radius: 11px; }
  .brand span { font-size: 24px; }
  .nav a.link { font-size: 17px; padding: 10px 6px; }
  .nav a.home-link { display: inline; }
}

/* ---- shared pieces */
.pill {
  display: inline-block; align-self: flex-start;
  background: var(--surface); color: var(--ink);
  border: 2.5px solid var(--outline); border-radius: 999px;
  padding: 5px 12px; font-size: 14px; font-weight: 800;
}
.store { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.store img { height: 48px; width: auto; }
.soon {
  background: var(--sunny); color: #211A45;
  border: 2.5px solid #211A45; border-radius: 999px;
  padding: 4px 12px; font-size: 15px; font-weight: 900;
}
/* Device frames, drawn in CSS (no Apple bezel artwork). Sizes scale off --w. */
.phone {
  --w: 240px;
  position: relative; flex-shrink: 0;
  width: var(--w);
  padding: calc(var(--w) * 0.04);
  border-radius: calc(var(--w) * 0.175);
  background: #1D1930;
  box-shadow:
    inset 0 0 0 calc(var(--w) * 0.007) #5B5578,
    0 0 0 2.5px #211A45,
    0 8px 0 #211A45;
}
.phone img, .phone video { display: block; width: 100%; height: auto; border-radius: calc(var(--w) * 0.137); background: #FFFFFF; }
.play-toggle {
  position: relative; z-index: 2;
  min-width: 72px; min-height: 44px; padding: 0 16px;
  border: 2.5px solid #211A45; border-radius: 22px;
  background: var(--surface); color: var(--ink);
  font: inherit; font-size: 15px; font-weight: 900; cursor: pointer;
  box-shadow: 0 3px 0 #211A45;
}
.phone::before {
  content: ""; position: absolute; left: 50%; transform: translateX(-50%);
  top: calc(var(--w) * 0.066);
  width: calc(var(--w) * 0.29); height: calc(var(--w) * 0.086);
  border-radius: 999px; background: #000000;
}
.phone::after {
  content: ""; position: absolute; right: calc(-2.5px - var(--w) * 0.012);
  top: 27%; height: 11%; width: calc(var(--w) * 0.012);
  border-radius: 0 3px 3px 0; background: #2E2947;
}
.phone .btn {
  position: absolute; left: calc(-2.5px - var(--w) * 0.012);
  width: calc(var(--w) * 0.012); border-radius: 3px 0 0 3px; background: #2E2947;
}
.phone .btn-1 { top: 18%; height: 4%; }
.phone .btn-2 { top: 25%; height: 7.5%; }
.phone .btn-3 { top: 34%; height: 7.5%; }
.card {
  background: var(--surface);
  border: 2.5px solid var(--outline); border-radius: 22px;
  box-shadow: 0 5px 0 var(--outline);
}
h1, h2, h3 { font-weight: 900; margin: 0; }
h2 { font-size: 30px; letter-spacing: -0.5px; line-height: 1.1; }
.sub { margin: 8px 0 0; color: var(--ink-soft); max-width: 680px; }
@media (min-width: 900px) { h2 { font-size: 44px; } .sub { font-size: 20px; } }

section { padding: 44px 0; }
@media (min-width: 900px) { section { padding: 88px 0; } }
.band-surface { background: var(--surface); }

/* ---- hero */
.hero { padding: 20px 0 36px; }
.hero .wrap { display: flex; flex-direction: column; gap: 20px; }
.hero h1 { font-size: 40px; line-height: 1.05; letter-spacing: -0.8px; }
.hero .lede { margin: 0; font-size: 18px; color: var(--ink-soft); max-width: 580px; }
.hero-art { display: flex; flex-direction: column; align-items: center; gap: 18px; padding-top: 10px; position: relative; }
.hero-art .phone { --w: 250px; }
.hero-art .back, .hero-art .jar { display: none; }
@media (min-width: 900px) {
  .hero { padding: 48px 0 72px; }
  .hero .wrap { flex-direction: row; align-items: center; gap: 56px; }
  .hero-copy { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
  .hero h1 { font-size: clamp(52px, 5.4vw, 76px); letter-spacing: -1.5px; line-height: 1.0; max-width: 680px; }
  .hero .lede { font-size: 22px; }
  .hero .pill { font-size: 16px; padding: 6px 14px; }
  .hero-art { width: 520px; height: 680px; padding: 0; display: block; flex-shrink: 0; }
  .hero-art .phone { position: absolute; }
  .hero-art .front { --w: 280px; left: 220px; top: 0; transform: rotate(4deg); }
  .hero-art .back { --w: 250px; display: block; left: 0; top: 70px; transform: rotate(-6deg); }
  .play-toggle { position: absolute; left: 330px; top: 616px; }
  .hero-art .jar { display: block; position: absolute; left: 448px; top: 596px; width: 72px; }
}
@media (max-width: 899px) { .hero-copy { display: contents; } }

/* ---- the counter band */
.counter {
  position: relative; overflow: hidden;
  height: 120px;
  background: var(--counter);
  border-top: 3px solid #211A45; border-bottom: 3px solid #211A45;
}
.counter img { position: absolute; filter: drop-shadow(0 2px 2px rgba(33, 26, 69, 0.2)); }
.counter .big { display: none; }
@media (min-width: 900px) { .counter { height: 170px; } .counter .big { display: block; } .counter .sm { display: none; } }

/* ---- proof cards */
.proof { padding-top: 36px; padding-bottom: 36px; }
.proof .wrap { display: grid; gap: 16px; }
.proof .card { padding: 18px; display: flex; flex-direction: column; gap: 10px; }
.proof .icon {
  width: 52px; height: 52px; border-radius: 16px;
  border: 2.5px solid #211A45; display: flex; align-items: center; justify-content: center;
}
.proof .icon img { width: 26px; height: 26px; }
.proof .icon img.coin { width: 40px; height: 40px; }
.proof h3 { font-size: 20px; line-height: 1.2; }
.proof p { margin: 0; color: var(--ink-soft); font-size: 16px; line-height: 1.5; }
@media (min-width: 900px) {
  .proof { padding-top: 64px; padding-bottom: 64px; }
  .proof .wrap { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
  .proof .card { padding: 26px; }
  .proof h3 { font-size: 23px; }
  .proof p { font-size: 17px; }
}

/* ---- a shift at the shop */
.steps { display: grid; gap: 44px; margin-top: 22px; }
.step { display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; }
.step .phone { --w: 220px; }
.step-head { display: flex; align-items: center; gap: 10px; }
.num {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--sunny); color: #211A45; border: 2.5px solid #211A45;
  display: flex; align-items: center; justify-content: center;
  font-weight: 900; font-size: 17px; font-variant-numeric: tabular-nums;
}
.step h3 { font-size: 22px; }
.step p { margin: 0; color: var(--ink-soft); max-width: 340px; font-size: 17px; }
.tag { font-weight: 800; color: var(--link); }
@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; margin-top: 36px; }
  .step .phone { --w: 260px; }
}

/* ---- free vs full register */
.plans { display: grid; gap: 18px; margin-top: 22px; }
.plan { padding: 20px; display: flex; flex-direction: column; gap: 16px; border-radius: 24px; }
.plan-head { display: flex; align-items: center; gap: 10px; }
.plan-head img { width: 40px; height: 40px; }
.plan h3 { font-size: 26px; }
.plan .note { margin: 0; font-size: 16px; font-weight: 700; opacity: 0.85; }
.plan ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; }
.plan li { display: flex; gap: 10px; align-items: flex-start; font-size: 17px; line-height: 1.45; }
.check {
  flex-shrink: 0; margin-top: 1px; width: 26px; height: 26px; border-radius: 8px;
  background: var(--mint); border: 2px solid #211A45;
  display: flex; align-items: center; justify-content: center;
}
.plan-full { background: var(--drawer); color: var(--on-drawer); border-color: #211A45; box-shadow: 0 5px 0 #211A45; }
@media (prefers-color-scheme: dark) { .plan-full { border-color: var(--outline); box-shadow: 0 5px 0 var(--outline); } }
@media (min-width: 900px) {
  .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; margin-top: 36px; }
  .plan { padding: 30px; }
}

/* ---- ipad */
.ipad .wrap { display: flex; flex-direction: column; gap: 22px; }
.tablet {
  --w: 300px;
  position: relative; align-self: center;
  width: var(--w);
  padding: calc(var(--w) * 0.045);
  border-radius: calc(var(--w) * 0.085);
  background: #1D1930;
  box-shadow:
    inset 0 0 0 calc(var(--w) * 0.005) #5B5578,
    0 0 0 2.5px #211A45,
    0 8px 0 #211A45;
}
.tablet img { width: 100%; border-radius: calc(var(--w) * 0.045); background: #FFFFFF; }
.tablet::before {
  content: ""; position: absolute; left: 50%; transform: translateX(-50%);
  top: calc(var(--w) * 0.019);
  width: calc(var(--w) * 0.013); height: calc(var(--w) * 0.013);
  border-radius: 50%; background: #0B0915; box-shadow: inset 0 0 0 1px #3A3456;
}
@media (min-width: 900px) {
  .ipad .wrap { flex-direction: row; align-items: center; gap: 72px; }
  .ipad .wrap > div { flex: 1 1 0; min-width: 0; }
  .tablet { --w: 440px; flex-shrink: 0; }
}

/* ---- who */
.who .wrap { display: flex; flex-direction: column; gap: 22px; }
.who p { margin: 0; max-width: 820px; }
@media (min-width: 900px) { .who .wrap { gap: 36px; } .who p { font-size: 21px; } }

/* ---- reading pages (privacy, support) */
.doc { padding: 20px 0 44px; }
.doc .wrap { display: flex; flex-direction: column; gap: 22px; }
.doc-head, .doc article { width: 100%; max-width: 760px; }
.doc-head { display: flex; flex-direction: column; gap: 12px; }
.doc h1 { font-size: 38px; letter-spacing: -1px; line-height: 1.05; }
.doc .lede { margin: 0; font-size: 19px; color: var(--ink-soft); }
.doc .meta { margin: 0; font-size: 15px; font-weight: 700; color: var(--ink-soft); }
.doc article { padding: 22px; border-radius: 26px; box-shadow: 0 6px 0 var(--outline); display: flex; flex-direction: column; gap: 22px; }
.doc article h2 { font-size: 21px; letter-spacing: 0; line-height: 1.25; }
.doc article p { margin: 8px 0 0; font-size: 17px; line-height: 1.6; }
.badge-mint {
  display: inline-block; margin-bottom: 4px;
  background: var(--mint); color: #211A45; border: 2.5px solid #211A45;
  border-radius: 10px; padding: 2px 10px; font-weight: 900;
}
.contact {
  display: flex; flex-direction: column; gap: 12px;
  background: var(--counter); border: 2.5px solid var(--outline); border-radius: 20px; padding: 18px;
}
.contact-row { display: flex; align-items: center; gap: 12px; }
.contact-row img { width: 56px; height: 56px; flex-shrink: 0; }
.contact-row p { margin: 0 !important; font-size: 18px !important; line-height: 1.5 !important; }
.button {
  align-self: flex-start; display: inline-flex; align-items: center; min-height: 52px; padding: 8px 24px;
  border: 2.5px solid #211A45; border-radius: 26px; background: var(--sunny); color: #211A45;
  font-size: 18px; font-weight: 900; text-decoration: none; box-shadow: 0 4px 0 #211A45;
  overflow-wrap: anywhere;
}
.button:hover { color: #211A45; transform: translateY(1px); box-shadow: 0 3px 0 #211A45; }
.contact-cta { display: flex; align-items: center; gap: 8px 16px; flex-wrap: wrap; }
.addr { font-weight: 800; font-size: 16px; overflow-wrap: anywhere; }
.faq { display: flex; flex-direction: column; gap: 18px; }
.faq > h2 { font-size: 22px !important; }
.qa { padding-top: 18px; border-top: 2px dashed var(--line); }
.qa h3 { font-size: 19px; line-height: 1.3; }
.qa p { margin-top: 6px !important; }
@media (min-width: 900px) {
  .doc { padding: 40px 0 88px; }
  .doc .wrap { align-items: center; gap: 32px; }
  .doc h1 { font-size: 60px; }
  .doc .lede { font-size: 22px; }
  .doc article { padding: 44px; gap: 28px; }
  .doc article h2 { font-size: 24px; }
  .doc article p { font-size: 18px; }
  .faq > h2 { font-size: 26px !important; }
  .qa h3 { font-size: 20px; }
}

/* ---- footer */
footer { background: var(--drawer); color: var(--on-drawer); padding: 28px 0 36px; }
footer .wrap { display: flex; flex-direction: column; gap: 14px; }
footer .links { display: flex; gap: 22px; flex-wrap: wrap; font-size: 16px; font-weight: 800; }
footer a { color: var(--on-drawer); }
footer a:hover { color: var(--sunny); }
footer p { margin: 0; font-size: 13px; line-height: 1.5; color: var(--on-drawer-soft); max-width: 760px; }
@media (min-width: 900px) { footer { padding: 40px 0 48px; } }

@media (prefers-reduced-motion: reduce) { .button:hover { transform: none; } }

/* Cookie consent bar (Google Analytics loads only after Accept) */
.consent { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 50; max-width: 36rem; margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1rem; padding: .875rem 1rem; border-radius: 16px; background: var(--drawer); color: var(--on-drawer); font-size: .9375rem; line-height: 1.45; box-shadow: 0 6px 24px rgba(0,0,0,.18); }
.consent[hidden] { display: none; }
.consent p { margin: 0; flex: 1 1 16rem; }
.consent a { color: inherit; text-decoration: underline; }
.consent div { display: flex; gap: .5rem; }
.consent button { font: inherit; font-weight: 700; color: inherit; background: transparent; border: 1px solid var(--on-drawer-soft); border-radius: 999px; min-height: 44px; padding: 0 1.1rem; cursor: pointer; }
.consent button:hover { background: rgba(255,255,255,.12); }
.consent button:focus-visible, .consent-reset:focus-visible { outline: 2px solid var(--sunny); outline-offset: 2px; }
.consent-reset { font: inherit; font-weight: 700; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: 999px; min-height: 44px; padding: 0 1.1rem; cursor: pointer; }
.consent-reset:hover { border-color: var(--ink-soft); }
