/* anyaccent.app
   Quiet on purpose: one typeface, lots of room, the app's own screens doing
   the talking. Violet → purple is the only colour you can press. */

:root {
  --bg: #fbfbfd;
  --surface: #ffffff;
  --soft: #f4f3f8;
  --line: #e9e8ef;
  --ink: #0d0c13;
  --ink-2: #3b3a48;
  --mute: #6e6c7d;
  --faint: #a09eae;
  --violet: #6633e6;
  --violet-a: #7a4dff;
  --violet-b: #5426d6;
  --violet-soft: #f1ecff;
  --good: #17a46a;
  --ok: #d4820a;
  --bad: #d93a3f;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Inter", "Segoe UI", system-ui, sans-serif;
  --ipa: "Charis SIL", "Doulos SIL", "Noto Serif", "Iowan Old Style", Georgia, serif;
  --max: 1160px;
  --pad: clamp(20px, 5vw, 40px);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --apple: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 170 200'%3E%3Cpath d='M150 71c-1 1-19 11-19 33 0 26 23 35 24 35 0 1-4 13-12 25-7 11-15 21-27 21s-15-7-29-7c-14 0-19 7-30 7s-19-10-28-23C19 147 9 120 9 94c0-41 27-63 53-63 14 0 26 9 35 9 8 0 21-10 37-10 6 0 28 1 42 21zM113 28c6-8 11-19 11-30-1 0-1 0-2 0-10 0-22 7-29 15-6 7-12 18-12 29 0 1 0 2 1 2 9 1 22-6 31-16z'/%3E%3C/svg%3E");
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 18px/1.6 var(--font); letter-spacing: -.011em;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility; overflow-x: hidden;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }
::selection { background: #dcd0ff; }
.ipa { font-family: var(--ipa); }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
[hidden] { display: none !important; }

/* ------------------------------------------------------------------ type */
h1, h2, h3 { margin: 0; font-weight: 700; color: var(--ink); }
h1 { font-size: clamp(44px, 7vw, 86px); line-height: 1.02; letter-spacing: -.048em; }
h2 { font-size: clamp(36px, 5vw, 60px); line-height: 1.04; letter-spacing: -.042em; }
h3 { font-size: 21px; line-height: 1.25; letter-spacing: -.022em; font-weight: 650; }
.grad { background: linear-gradient(92deg, var(--violet-a), var(--violet-b) 60%, #8b5cf6); -webkit-background-clip: text; background-clip: text; color: transparent; }
.eyebrow { font-size: 14px; font-weight: 600; color: var(--violet); letter-spacing: -.005em; margin-bottom: 16px; }
.lede { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.5; color: var(--mute); max-width: 620px; }
.center { text-align: center; }
.center .lede { margin-left: auto; margin-right: auto; }

/* ------------------------------------------------------------------ nav */
.nav { position: sticky; top: 0; z-index: 40; background: rgba(251, 251, 253, .72);
  backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent; transition: border-color .3s; }
.nav.scrolled { border-bottom-color: var(--line); }
.nav .wrap { display: flex; align-items: center; height: 64px; gap: 32px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 650; font-size: 17px; letter-spacing: -.02em; }
.brand img { width: 28px; height: 28px; border-radius: 7px; }
.nav-links { display: flex; gap: 28px; margin-left: auto; }
.nav-links a { font-size: 14px; color: var(--ink-2); transition: color .2s; }
.nav-links a:hover { color: var(--violet); }

/* ------------------------------------------------------------------ buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 20px; border-radius: 999px; font: 600 15px var(--font); letter-spacing: -.01em;
  color: #fff; background: linear-gradient(180deg, var(--violet-a), var(--violet-b));
  box-shadow: 0 1px 0 rgba(255, 255, 255, .25) inset, 0 6px 16px -6px rgba(84, 38, 214, .6);
  transition: transform .2s var(--ease), box-shadow .2s, filter .2s;
}
.btn:hover { transform: translateY(-1px); filter: brightness(1.06); box-shadow: 0 1px 0 rgba(255,255,255,.25) inset, 0 10px 22px -8px rgba(84, 38, 214, .7); }
.btn.sm { height: 36px; padding: 0 16px; font-size: 14px; }
.link { font-size: 17px; color: var(--violet); font-weight: 500; }
.link::after { content: " ›"; }
.link:hover { text-decoration: underline; text-underline-offset: 3px; }
.store { display: inline-block; transition: transform .2s var(--ease); }
.store:hover { transform: translateY(-1px); }
.store img { height: 48px; width: auto; }
.store.fallback { display: inline-flex; align-items: center; gap: 9px; height: 48px; padding: 0 18px 0 14px; border-radius: 11px; background: #000; color: #fff; line-height: 1.05; text-align: left; }
.store.fallback .apple { width: 20px; height: 24px; flex: none; background: #fff; -webkit-mask: var(--apple) center / contain no-repeat; mask: var(--apple) center / contain no-repeat; }
.store.fallback small { display: block; font-size: 10.5px; font-weight: 500; }
.store.fallback b { font-size: 19px; font-weight: 600; letter-spacing: -.02em; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--violet); outline-offset: 3px; border-radius: 8px; }

/* ------------------------------------------------------------------ iphone */
.iphone {
  position: relative; border-radius: 15.5% / 7.2%;
  background: #0a0a0c;
  box-shadow: 0 0 0 1.5px #cfced6, 0 0 0 3px #f1f0f5, 0 0 0 3.5px #dddce3,
              0 50px 70px -38px rgba(38, 20, 110, .42), 0 24px 40px -26px rgba(0, 0, 0, .28);
}
/* the bezel is the image's margin: % margins resolve against the phone, % padding against its parent */
.iphone img { width: 95.2%; height: auto; margin: 2.4%; border-radius: 13.4% / 6.2%; }

/* ------------------------------------------------------------------ hero */
.hero { padding: clamp(56px, 9vw, 110px) 0 0; text-align: center; overflow: hidden; }
.pill { display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 14px 0 6px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line); font-size: 13.5px; color: var(--ink-2); box-shadow: 0 1px 2px rgba(0,0,0,.04); }
.pill b { height: 22px; padding: 0 9px; border-radius: 999px; display: inline-grid; place-items: center; font-size: 11.5px; font-weight: 650; color: var(--violet); background: var(--violet-soft); }
.hero h1 { margin: 26px auto 22px; max-width: 900px; }
.hero .lede { margin: 0 auto; }
.actions { display: flex; gap: 22px; align-items: center; justify-content: center; margin-top: 34px; flex-wrap: wrap; }
.accents-line { margin-top: 22px; font-size: 14px; color: var(--faint); }
.accents-line span + span::before { content: "·"; margin: 0 10px; }

.stage { position: relative; height: clamp(440px, 58vw, 720px); margin-top: clamp(56px, 7vw, 84px); }
.stage::before { content: ""; position: absolute; left: 50%; top: 14%; width: min(1100px, 120%); height: 80%; transform: translateX(-50%);
  background: radial-gradient(50% 50% at 50% 50%, rgba(122, 77, 255, .20), rgba(122, 77, 255, 0) 70%); pointer-events: none; }
.stage .iphone { position: absolute; left: 50%; top: 0; will-change: transform; }
.stage .p-main { width: clamp(230px, 27vw, 330px); transform: translateX(-50%); z-index: 3; }
.stage .p-left, .stage .p-right { width: clamp(190px, 22vw, 270px); top: 12%; z-index: 2; }
.stage .p-left { transform: translateX(calc(-50% - clamp(170px, 22vw, 290px))) rotate(-5deg); }
.stage .p-right { transform: translateX(calc(-50% + clamp(170px, 22vw, 290px))) rotate(5deg); }
.stage::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 34%; z-index: 4;
  background: linear-gradient(rgba(251,251,253,0), var(--bg) 85%); pointer-events: none; }

/* ------------------------------------------------------------------ sections */
.section { padding: clamp(96px, 12vw, 160px) 0; }
.section.tight { padding-top: clamp(40px, 6vw, 80px); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
.split.flip > :first-child { order: 2; }
.copy h2 { margin-bottom: 20px; }
.points { list-style: none; margin: 36px 0 0; padding: 0; display: grid; gap: 22px; }
.points li { display: grid; grid-template-columns: 40px 1fr; gap: 16px; }
.points .ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--violet-soft); color: var(--violet); }
.points .ic svg { width: 20px; height: 20px; }
.points b { display: block; font-weight: 600; color: var(--ink); letter-spacing: -.015em; margin-bottom: 2px; }
.points p { color: var(--mute); font-size: 16px; line-height: 1.55; }

.duo { position: relative; height: clamp(520px, 52vw, 640px); }
.duo .iphone { position: absolute; width: clamp(220px, 23vw, 290px); }
.duo .back { right: 2%; top: 0; transform: rotate(4deg); }
.duo .front { left: 4%; top: 12%; transform: rotate(-3deg); z-index: 2; }
.duo.single { height: auto; }
.duo.single .iphone { position: relative; margin: 0 auto; transform: none; }

/* ------------------------------------------------------------------ score strip */
.scores { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 64px; }
.score { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 32px; box-shadow: 0 1px 2px rgba(10, 8, 30, .03); }
.score .num { font-size: 64px; font-weight: 700; letter-spacing: -.05em; line-height: 1; color: var(--good); font-variant-numeric: tabular-nums; }
.score:nth-child(3) .num { color: var(--violet); }
.score h3 { margin: 18px 0 8px; }
.score p { color: var(--mute); font-size: 16px; line-height: 1.55; }
.markers { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 44px; }
.markers span { height: 38px; padding: 0 16px; border-radius: 999px; display: inline-flex; align-items: center; gap: 7px; background: var(--surface); border: 1px solid var(--line); font-size: 15px; color: var(--ink-2); }
.markers em { font-style: normal; color: var(--violet); font-weight: 600; }
.note { margin-top: 18px; font-size: 14px; color: var(--faint); text-align: center; }

/* ------------------------------------------------------------------ the mouth: the one dark room */
.dark { margin: 0 clamp(8px, 2vw, 24px); border-radius: clamp(28px, 4vw, 44px); background: #0b0a10; color: #f3f2f8; overflow: hidden; position: relative; }
.dark::before { content: ""; position: absolute; right: -10%; top: -30%; width: 70%; height: 120%; background: radial-gradient(closest-side, rgba(122, 77, 255, .22), transparent); pointer-events: none; }
.dark h2 { color: #fff; }
.dark .lede { color: #a4a2b4; }
.dark .eyebrow { color: #a88bff; }
.mouth-card { position: relative; aspect-ratio: 1.2; border-radius: 28px; background: linear-gradient(#2a2a30, #202026); border: 1px solid rgba(255,255,255,.06); box-shadow: 0 40px 80px -30px rgba(0,0,0,.6); }
.mouth-card canvas { position: absolute; inset: 10px; width: calc(100% - 20px); height: calc(100% - 20px); }
.chrome { position: absolute; inset: 16px; display: flex; flex-direction: column; justify-content: space-between; pointer-events: none; }
.chrome .row { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; }
.tag { display: inline-flex; align-items: center; gap: 7px; height: 28px; padding: 0 12px; border-radius: 999px; background: rgba(255,255,255,.1); font-size: 12px; font-weight: 600; color: rgba(255,255,255,.92); }
.tag .dot { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.3); }
.tag .dot.on { background: #a24cff; box-shadow: 0 0 8px #a24cff; }
.tag.tint { background: rgba(162, 76, 255, .28); }
.sym { display: inline-grid; place-items: center; min-width: 46px; height: 46px; padding: 0 10px; border-radius: 12px; background: rgba(255,255,255,.1); font: 500 22px var(--ipa); }
.word { font-size: 30px; font-weight: 700; letter-spacing: -.03em; margin-top: 6px; }
.hint { max-width: 220px; text-align: right; padding: 8px 12px; border-radius: 11px; background: rgba(162, 76, 255, .28); font-size: 13px; font-weight: 600; line-height: 1.35; }
.sounds { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.sounds button {
  cursor: pointer; height: 40px; padding: 0 14px; border-radius: 12px; border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04); color: #e7e6ef; font: 500 15px var(--font); display: inline-flex; align-items: center; gap: 8px; transition: .2s;
}
.sounds button .ipa { color: #ff8ec2; font-size: 16px; }
.sounds button:hover { border-color: rgba(255,255,255,.3); }
.sounds button.on { background: #fff; color: #0b0a10; border-color: #fff; }
.sounds button.on .ipa { color: var(--violet); }
.seg { display: inline-flex; padding: 3px; margin-top: 22px; border-radius: 999px; background: rgba(255,255,255,.08); }
.seg button { cursor: pointer; height: 34px; padding: 0 16px; border: 0; border-radius: 999px; background: none; color: #a4a2b4; font: 600 14px var(--font); transition: .2s; }
.seg button.on { background: #fff; color: #0b0a10; }
.diff { margin-top: 14px; min-height: 48px; font-size: 15px; line-height: 1.5; color: #a4a2b4; max-width: 460px; }
.diff b { color: #fff; font-weight: 600; }

/* ------------------------------------------------------------------ course numbers */
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 40px; background: var(--line); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; }
.fact { background: var(--surface); padding: 22px 22px 20px; }
.fact b { display: block; font-size: 34px; font-weight: 700; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.fact span { font-size: 14px; color: var(--mute); }
.fact small { display: block; font-size: 12.5px; color: var(--faint); margin-top: 2px; }

/* ------------------------------------------------------------------ bento */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; margin-top: 64px; }
.tile { grid-column: span 2; position: relative; border-radius: 28px; background: var(--surface); border: 1px solid var(--line); overflow: hidden; display: flex; flex-direction: column; min-height: 470px; transition: transform .35s var(--ease), box-shadow .35s; }
.tile:hover { transform: translateY(-3px); box-shadow: 0 24px 48px -28px rgba(38, 20, 110, .3); }
.tile.wide { grid-column: span 3; }
.tile .txt { padding: 30px 30px 0; }
.tile h3 { margin-bottom: 8px; }
.tile p { color: var(--mute); font-size: 16px; line-height: 1.55; }
.tile .peek { margin-top: auto; padding: 28px 30px 0; display: flex; justify-content: center; height: 290px; overflow: hidden; }
.tile .peek .iphone { width: 72%; max-width: 250px; align-self: flex-start; }
.tile.soft { background: var(--soft); border-color: transparent; }
.tile.short { min-height: 300px; }
.tile .big { font-size: 56px; font-weight: 700; letter-spacing: -.05em; line-height: 1; margin: auto 30px 30px; }
.tile .big small { font-size: 16px; font-weight: 500; letter-spacing: -.01em; color: var(--mute); margin-left: 6px; }
.flames { display: flex; gap: 8px; margin: auto 30px 30px; }
.flames i { width: 36px; height: 44px; border-radius: 12px; display: grid; place-items: center; font-style: normal; font-size: 18px; background: #fff3e8; }
.flames i.off { background: var(--surface); color: var(--faint); font-size: 14px; border: 1px solid var(--line); }

/* ------------------------------------------------------------------ coaches */
.coach-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; margin-top: 36px; }
.coach { display: grid; grid-template-columns: 46px 1fr; gap: 14px; align-items: center; padding: 14px 0; border-top: 1px solid var(--line); }
.coach .mono { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 650; font-size: 18px; background: linear-gradient(145deg, var(--violet-a), var(--violet-b)); }
.coach.us .mono { background: linear-gradient(145deg, #f25a9b, #b3337a); }
.coach.au .mono { background: linear-gradient(145deg, #2fbf88, #0f7a58); }
.coach b { display: block; font-weight: 600; letter-spacing: -.015em; line-height: 1.3; }
.coach span { font-size: 14px; color: var(--mute); }

/* ------------------------------------------------------------------ privacy */
.promise { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 56px; text-align: left; }
.promise div { padding: 28px; border-radius: 24px; background: var(--soft); }
.promise h3 { font-size: 18px; margin-bottom: 8px; }
.promise p { font-size: 15.5px; color: var(--mute); line-height: 1.55; }
.promise a { color: var(--violet); }

/* ------------------------------------------------------------------ pricing */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 880px; margin: 56px auto 0; text-align: left; }
.plan { padding: 36px; border-radius: 28px; background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; }
.plan.pro { border: 1.5px solid var(--violet); box-shadow: 0 30px 60px -36px rgba(84, 38, 214, .45); }
.plan h3 { font-size: 26px; letter-spacing: -.03em; }
.plan .for { color: var(--mute); font-size: 15.5px; margin: 6px 0 26px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 30px; display: grid; gap: 12px; }
.plan li { display: grid; grid-template-columns: 20px 1fr; gap: 12px; font-size: 16px; color: var(--ink-2); line-height: 1.45; }
.plan li::before { content: ""; width: 20px; height: 20px; margin-top: 1px; border-radius: 50%; background: var(--violet-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.6 2.6L14.2 7.4' fill='none' stroke='%236633e6' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat; }
.plan .btn { margin-top: auto; align-self: flex-start; }

/* ------------------------------------------------------------------ closing */
.closing { text-align: center; padding: clamp(100px, 13vw, 170px) 0 clamp(90px, 11vw, 140px); }
.closing .icon { width: 96px; height: 96px; border-radius: 22px; margin: 0 auto 34px; box-shadow: 0 24px 50px -20px rgba(84, 38, 214, .55); }
.closing h2 { font-size: clamp(40px, 6vw, 72px); }
.closing .lede { margin: 20px auto 0; }
.closing .actions { margin-top: 36px; }

footer { border-top: 1px solid var(--line); padding: 30px 0 44px; font-size: 14px; color: var(--mute); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 18px 28px; align-items: center; }
footer nav { display: flex; gap: 24px; margin-left: auto; flex-wrap: wrap; }
footer a:hover { color: var(--violet); }

/* ------------------------------------------------------------------ motion */
.rise { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.rise.in { opacity: 1; transform: none; }
.rise.d1 { transition-delay: .07s; } .rise.d2 { transition-delay: .14s; } .rise.d3 { transition-delay: .21s; }

/* ------------------------------------------------------------------ responsive */
@media (max-width: 960px) {
  .nav-links { display: none; }
  .nav .btn { margin-left: auto; }
  .split { grid-template-columns: 1fr; }
  .split.flip > :first-child { order: 0; }
  .scores, .promise { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr 1fr; }
  .tile, .tile.wide { grid-column: span 1; }
  .duo { height: clamp(460px, 110vw, 620px); max-width: 520px; margin: 0 auto; width: 100%; }
}
@media (max-width: 640px) {
  body { font-size: 17px; }
  .stage { height: 118vw; }
  .stage .p-main { width: 58vw; }
  .stage .p-left, .stage .p-right { width: 46vw; top: 10%; }
  .stage .p-left { transform: translateX(calc(-50% - 34vw)) rotate(-6deg); }
  .stage .p-right { transform: translateX(calc(-50% + 34vw)) rotate(6deg); }
  .bento { grid-template-columns: 1fr; }
  .tile { min-height: 440px; }
  .facts { grid-template-columns: 1fr; }
  .plans { grid-template-columns: 1fr; }
  .coach-grid { grid-template-columns: 1fr; }
  .hint { max-width: 150px; font-size: 12px; }
  .word { font-size: 24px; }
  .sym { min-width: 40px; height: 40px; font-size: 19px; }
  footer nav { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; scroll-behavior: auto !important; }
  .rise { opacity: 1; transform: none; }
}
.coach-phone { width: clamp(240px, 25vw, 310px); margin: 0 auto; }
h2 + .lede { margin-top: 20px; }
.facts-label { margin-top: 36px; font-size: 13px; font-weight: 600; color: var(--faint); letter-spacing: .02em; }
.facts-label + .facts { margin-top: 12px; }
.fact span { display: block; font-size: 15px; font-weight: 600; color: var(--ink); letter-spacing: -.01em; }
.tile .peek .iphone { width: 80%; max-width: 270px; }

/* coaches: one row per accent */
.coach-list { margin-top: 36px; border-top: 1px solid var(--line); }
.coach-row { display: grid; grid-template-columns: 96px 1fr 1fr; gap: 16px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.coach-row .acc { font-size: 13px; font-weight: 600; color: var(--faint); }
.coach-row .coach { padding: 0; border: 0; }
.coach-row.us .mono { background: linear-gradient(145deg, #f25a9b, #b3337a); }
.coach-row.au .mono { background: linear-gradient(145deg, #2fbf88, #0f7a58); }
@media (max-width: 640px) { .coach-row { grid-template-columns: 1fr 1fr; } .coach-row .acc { grid-column: span 2; } }
.coach-row .coach span { white-space: nowrap; font-size: 13.5px; } .coach-row { grid-template-columns: 84px 1fr 1fr; }
@media (max-width: 640px) { .coach-row { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .wide-only { display: none; } }
@media (max-width: 960px) { .dark .split > :last-child { order: -1; } .dark .split { gap: 36px; } }
