@font-face {
  font-family:Fredoka;
  src:url('/assets/Fredoka.ttf') format('truetype');
  font-weight:300 700;
  font-style:normal;
  font-display:swap;
}

:root {
  --paper:#fff5e5;
  --ink:#171219;
  --night:#211532;
  --stage:#39244f;
  --yellow:#ffcf32;
  --pink:#ed58a8;
  --muted:#675a70;
  --line:#c3b6cd;
  --focus:#4056aa;
  --radius:20px;
  --control-radius:12px;
  --shadow:2px 4px 0 var(--ink);
}

* {
  box-sizing:border-box;
}

html {
  color-scheme:light;
  scroll-behavior:smooth;
  scroll-padding-top:24px;
}

body {
  margin:0;
  background:var(--paper);
  color:var(--ink);
  font:18px/1.55 Fredoka,system-ui,sans-serif;
}

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

button,a {
  -webkit-tap-highlight-color:transparent;
}

button {
  font:inherit;
}

a {
  color:inherit;
  text-underline-offset:5px;
}

a:hover {
  text-decoration-thickness:2px;
}

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

[hidden] {
  display:none!important;
}

p,ul {
  margin:0 0 20px;
}

h1,h2,h3 {
  font-weight:600;
  line-height:1.12;
  letter-spacing:-.025em;
}

h1 {
  font-size:clamp(42px,6vw,72px);
  margin:0 0 28px;
}

h2 {
  font-size:clamp(30px,4vw,46px);
  margin:0 0 24px;
}

h3 {
  font-size:24px;
  margin:0 0 12px;
}

li {
  margin-bottom:12px;
}

header,main,footer {
  width:min(100% - 64px,1120px);
  margin-inline:auto;
}

.site-header,body>header {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  padding:28px 0;
  border-bottom:2px solid var(--ink);
}

nav {
  display:flex;
  gap:32px;
  align-items:center;
}

nav a {
  font-size:16px;
  font-weight:500;
  text-decoration:none;
  padding-block:12px;
}

nav a:hover {
  text-decoration:underline;
}

.brand {
  display:inline-flex;
  align-items:center;
  gap:12px;
  text-decoration:none;
  flex-shrink:0;
}

.brand-symbol {
  width:42px;
  height:48px;
  overflow:hidden;
  display:block;
  position:relative;
}

.brand-symbol img {
  position:absolute;
  width:68px;
  max-width:none;
  height:68px;
  left:-14px;
  top:-10px;
}

.wordmark {
  width:158px;
  height:auto;
}

.skip {
  position:absolute;
  top:-120px;
  left:16px;
  z-index:5;
  background:var(--yellow);
  border:2px solid var(--ink);
  border-radius:12px;
  padding:12px;
}

.skip:focus {
  top:12px;
}

.eyebrow {
  display:flex;
  align-items:center;
  gap:10px;
  font-size:14px;
  font-weight:500;
  letter-spacing:.06em;
  text-transform:uppercase;
  margin-bottom:22px;
  color:var(--muted);
}

.status-dot {
  width:10px;
  height:10px;
  border-radius:50%;
  background:var(--pink);
  border:2px solid var(--ink);
  flex:none;
}

.hero {
  display:grid;
  grid-template-columns:1.1fr 1fr;
  gap:60px;
  align-items:center;
  padding:64px 0 72px;
}

.hero-copy {
  max-width:570px;
}

.highlight {
  position:relative;
  white-space:nowrap;
  isolation:isolate;
}

.highlight:after {
  content:'';
  position:absolute;
  inset:60% -7px 0;
  background:var(--pink);
  border-radius:3px;
  z-index:-1;
  transform:rotate(-3deg);
}

.lede {
  font-size:28px;
  line-height:1.3;
  margin-bottom:20px;
}

.hero-description {
  font-size:19px;
  line-height:1.6;
  max-width:440px;
  color:var(--muted);
}

.downloads {
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:20px;
  margin:32px 0 24px;
}

.button {
  display:inline-flex;
  position:relative;
  isolation:isolate;
  text-decoration:none;
  border-radius:var(--control-radius);
  font-size:16px;
  font-weight:600;
  line-height:24px;
  max-width:100%;
}

.button:before {
  content:'';
  position:absolute;
  inset:0;
  background:var(--ink);
  border-radius:inherit;
  transform:translate(2px,4px);
  z-index:-1;
}

.button-face {
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  min-height:56px;
  width:100%;
  padding:14px 20px;
  background:var(--yellow);
  border:2px solid var(--ink);
  border-radius:inherit;
  transition:transform .09s ease;
}

.button:hover .button-face {
  transform:translate(0,1px);
}

.button:active .button-face {
  transform:translate(2px,4px);
}

.button-face img {
  flex:none;
}

.secondary .button-face {
  background:var(--paper);
}

.store-soon {
  font-size:16px;
  margin:0;
  display:flex;
  align-items:center;
  gap:12px;
}

.store-soon span {
  border:1px solid var(--line);
  padding:3px 9px;
  border-radius:999px;
  font-size:12px;
  color:var(--muted);
}

.small-note {
  font-size:14px;
  color:var(--muted);
  max-width:350px;
  margin:0;
}

.invite-panel {
  padding:20px;
  border:2px solid var(--ink);
  border-radius:var(--radius);
  background:var(--yellow);
  margin-top:24px;
  box-shadow:var(--shadow);
}

.invite-panel .eyebrow {
  font-size:12px;
  margin-bottom:8px;
  color:var(--ink);
}

.invite-panel h2 {
  font-size:24px;
  margin:0 0 8px;
}

.invite-panel strong {
  letter-spacing:.06em;
}

.invite-panel p:last-child {
  font-size:16px;
  margin:0;
}

.app-showcase {
  position:relative;
  isolation:isolate;
  display:flex;
  align-items:center;
  flex-direction:column;
  min-width:0;
}

.showcase-art {
  position:absolute;
  inset:0;
  z-index:-1;
  pointer-events:none;
}

.orbit {
  position:absolute;
  width:420px;
  height:420px;
  border:1px solid var(--line);
  border-radius:50%;
  left:50%;
  top:90px;
  transform:translateX(-50%);
}

.orbit-two {
  width:470px;
  height:470px;
  top:65px;
}

.dancer {
  position:absolute;
  width:185px;
  right:-40px;
  bottom:118px;
  transform:rotate(12deg);
}

.preview-label {
  align-self:flex-start;
  font-size:15px;
  font-weight:500;
  transform:rotate(-5deg);
  margin:0 0 16px 30px;
}

.preview-label span {
  font-size:30px;
  vertical-align:middle;
  margin-right:8px;
}

.phone-frame {
  width:280px;
  padding:8px;
  background:var(--ink);
  border:2px solid var(--ink);
  border-radius:32px;
  box-shadow:8px 10px 0 rgba(33,21,50,.14);
}

.phone-frame img {
  width:100%;
  border-radius:22px;
  background:var(--paper);
  aspect-ratio:390/844;
}

.screen-picker {
  display:flex;
  gap:4px;
  margin-top:24px;
  border:1px solid var(--line);
  border-radius:var(--control-radius);
  padding:4px;
  background:var(--paper);
}

.screen-picker button {
  background:transparent;
  border:2px solid transparent;
  border-radius:8px;
  padding:10px 14px;
  min-height:48px;
  font-size:14px;
  color:var(--ink);
  cursor:pointer;
}

.screen-picker button[aria-pressed=true] {
  background:var(--pink);
  border-color:var(--ink);
  font-weight:600;
}

.screen-picker button:hover {
  border-color:var(--ink);
}

.preview-caption {
  font-size:15px;
  margin:14px 0 4px;
  text-align:center;
}

.preview-note {
  font-size:12px;
  line-height:1.4;
  color:var(--muted);
  text-align:center;
  margin:0;
}

.how-section {
  border-top:2px solid var(--ink);
  padding:72px 0;
}

.section-heading {
  margin-bottom:48px;
}

.section-heading .eyebrow {
  margin-bottom:16px;
}

.section-heading h2 span {
  color:var(--muted);
}

.steps {
  list-style:none;
  padding:0;
  margin:0;
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:32px;
}

.steps li {
  padding-right:28px;
  margin:0;
  border-right:1px solid var(--line);
}

.steps li:last-child {
  padding-right:0;
  border-right:0;
}

.step-top {
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-bottom:24px;
}

.step-number {
  font-size:42px;
  font-weight:500;
  line-height:1;
  color:var(--muted);
}

.step-top img {
  width:32px;
  height:32px;
}

.steps p {
  color:var(--muted);
  font-size:17px;
}

.steps .step-detail {
  font-size:14px;
  color:var(--ink);
  margin-bottom:0;
}

.practice-section {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:72px;
  padding:48px;
  border:2px solid var(--ink);
  border-radius:var(--radius);
  background:var(--night);
  color:var(--paper);
  box-shadow:var(--shadow);
}

.practice-copy .eyebrow {
  color:var(--yellow);
  font-size:12px;
}

.practice-copy h2 {
  font-size:48px;
}

.practice-copy p:not(.eyebrow) {
  font-size:17px;
}

.text-link {
  display:inline-flex;
  gap:16px;
  align-items:center;
  color:var(--yellow);
  font-weight:500;
}

.text-link span {
  font-size:24px;
}

.practice-details {
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:28px;
}

.practice-details>div {
  display:flex;
  gap:20px;
  align-items:flex-start;
}

.feature-icon {
  width:60px;
  height:60px;
  border:2px solid var(--ink);
  border-radius:var(--control-radius);
  background:var(--paper);
  color:var(--ink);
  flex:none;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:20px;
  font-weight:600;
  box-shadow:var(--shadow);
}

.practice-details>div:nth-child(2) .feature-icon {
  background:var(--pink);
}

.practice-details>div:nth-child(3) .feature-icon {
  background:var(--yellow);
}

.practice-details h3 {
  font-size:21px;
  margin-bottom:8px;
}

.practice-details p {
  font-size:16px;
  margin:0;
}

.help-strip {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:32px;
  padding:64px 0;
}

.help-strip h2 {
  font-size:26px;
  margin:0 0 10px;
}

.help-strip p {
  font-size:16px;
  color:var(--muted);
  margin:0;
}

.help-strip .button {
  flex-shrink:0;
}

.site-footer,body>footer {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:28px;
  border-top:2px solid var(--ink);
  padding:32px 0 40px;
}

.site-footer .wordmark {
  width:124px;
}

.site-footer .brand-symbol {
  width:32px;
  height:36px;
}

.site-footer .brand-symbol img {
  width:52px;
  height:52px;
  left:-11px;
  top:-8px;
}

.site-footer p {
  font-size:14px;
  color:var(--muted);
  margin:12px 0 0;
}

body:not(.home)>main {
  max-width:760px;
  padding:56px 0 72px;
  min-height:65vh;
}

body:not(.home) h1 {
  font-size:48px;
}

body:not(.home) h2 {
  font-size:26px;
  margin:36px 0 12px;
}

body:not(.home) .lede {
  font-size:22px;
}

body:not(.home)>footer {
  display:block;
  font-size:15px;
}

.card {
  border:2px solid var(--ink);
  border-radius:var(--radius);
  background:var(--yellow);
  padding:24px;
  box-shadow:var(--shadow);
  margin:30px 0;
}

.card h2 {
  margin-top:0!important;
}

.card a {
  font-weight:600;
  overflow-wrap:anywhere;
}

.muted {
  color:var(--muted);
}

@media(min-width:1280px) {
  .hero {
    gap:88px;
  }
  .phone-frame {
    width:292px;
  }
}

@media(max-width:1100px) {
  .hero {
    gap:32px;
  }
  .hero h1 {
    font-size:56px;
  }
  .orbit {
    width:330px;
    height:330px;
  }
  .orbit-two {
    width:370px;
    height:370px;
  }
  .dancer {
    width:135px;
    right:-12px;
    bottom:130px;
  }
  .practice-section {
    gap:32px;
    padding:32px;
  }
  .steps {
    gap:24px;
  }
  .steps li {
    padding-right:20px;
  }
}

@media(max-width:760px) {
  header,main,footer {
    width:calc(100% - 40px);
  }
  .site-header,body>header {
    padding:20px 0;
    gap:16px;
  }
  .wordmark {
    width:130px;
  }
  .brand-symbol {
    width:32px;
    height:38px;
  }
  .brand-symbol img {
    width:54px;
    height:54px;
    left:-12px;
    top:-8px;
  }
  nav {
    gap:18px;
  }
  nav a {
    font-size:14px;
  }
  .hero {
    grid-template-columns:1fr;
    gap:48px;
    padding:44px 0 48px;
  }
  .hero-copy {
    max-width:540px;
  }
  .hero h1 {
    font-size:clamp(46px,9vw,64px);
  }
  .hero-description {
    max-width:500px;
  }
  .lede {
    font-size:26px;
  }
  .hero .eyebrow {
    font-size:12px;
  }
  .hero .small-note {
    max-width:100%;
  }
  .app-showcase {
    width:min(100%,420px);
    margin:auto;
  }
  .preview-label {
    align-self:center;
    margin-left:0;
  }
  .phone-frame {
    width:270px;
  }
  .orbit {
    width:310px;
    height:310px;
    top:140px;
  }
  .orbit-two {
    width:350px;
    height:350px;
    top:120px;
  }
  .dancer {
    display:none;
  }
  .how-section {
    padding:48px 0;
  }
  .section-heading {
    margin-bottom:32px;
  }
  .steps {
    grid-template-columns:1fr;
    gap:28px;
  }
  .steps li {
    border-right:0;
    border-bottom:1px solid var(--line);
    padding:0 0 28px;
  }
  .steps li:last-child {
    padding-bottom:0;
    border:0;
  }
  .step-top {
    justify-content:flex-start;
    gap:20px;
    margin-bottom:16px;
  }
  .step-number {
    font-size:32px;
  }
  .steps p {
    max-width:500px;
  }
  .practice-section {
    grid-template-columns:1fr;
    gap:36px;
    padding:28px;
  }
  .practice-copy h2 {
    font-size:42px;
  }
  .help-strip {
    align-items:flex-start;
    flex-direction:column;
    padding:48px 0;
    gap:24px;
  }
  .site-footer {
    align-items:flex-start;
    flex-direction:column;
  }
  .site-footer nav {
    flex-wrap:wrap;
    gap:24px;
  }
  body:not(.home) h1 {
    font-size:40px;
  }
}

@media(max-width:380px) {
  .site-header nav {
    gap:12px;
  }
  .site-header .wordmark {
    width:105px;
  }
  .site-header .brand {
    gap:8px;
  }
  .site-header .brand-symbol {
    width:28px;
  }
  .hero h1 {
    font-size:44px;
  }
  .orbit-two {
    width:285px;
    height:285px;
    top:153px;
  }
  .orbit-one {
    width:270px;
    height:270px;
    top:160px;
  }
  .dancer {
    width:100px;
    right:-5px;
  }
  .practice-section {
    padding:22px;
  }
  .practice-details>div {
    gap:14px;
  }
  .feature-icon {
    width:50px;
    height:50px;
    font-size:17px;
  }
  .button-face {
    padding:14px 16px;
  }
}

@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior:auto;
  }
  .button-face {
    transition:none;
  }
}
