/* allolou.com: the same look as the app (web/src/styles/global.css):
   Nunito, the lake and forest colours, rounded cards and pill buttons. */

@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/nunito-latin-400-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/nunito-latin-ext-400-normal.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/assets/fonts/nunito-latin-700-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/assets/fonts/nunito-latin-ext-700-normal.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('/assets/fonts/nunito-latin-800-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('/assets/fonts/nunito-latin-ext-800-normal.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --lake: #1d5f7a;
  --lake-2: #2f8fb0;
  --lake-3: #5ec5d6;
  --lake-deep: #16455a;
  --forest: #2f6b45;
  --forest-2: #3f8f5b;
  --forest-3: #8cc084;
  --aurora: #6b4fa3;
  --aurora-3: #c3a6ff;
  --sunset: #e07a2e;
  --sunset-2: #f0913a;
  --gold: #f4c542;
  --berry: #d6456a;
  --bg: #f4f1e8;
  --bg-2: #e9f3f5;
  --surface: #ffffff;
  --surface-2: #f7f5ef;
  --text: #1f2a33;
  --muted: #55626d;
  --line: #d9d4c6;
  --focus: #6b4fa3;
  --shadow: 0 4px 0 rgba(31, 42, 51, 0.1), 0 10px 30px rgba(31, 42, 51, 0.08);
  --radius: 24px;
  --wrap: 1180px;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Nunito', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 18px;
  line-height: 1.6;
}

main {
  overflow-x: clip;
}

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

a {
  color: var(--lake);
  font-weight: 700;
  text-underline-offset: 3px;
  text-decoration-thickness: 2px;
}

a:hover {
  color: var(--lake-2);
}

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

h1,
h2,
h3 {
  line-height: 1.15;
  font-weight: 800;
  margin: 0 0 0.45em;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

p {
  margin: 0 0 1em;
}

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 8px;
  z-index: 100;
  background: var(--surface);
  padding: 0.5em 1em;
  border-radius: 999px;
}

.skip:focus {
  left: 12px;
}

/* Header */

.top {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(244, 241, 232, 0.88);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid rgba(217, 212, 198, 0.7);
}

.top .wrap {
  display: flex;
  align-items: center;
  gap: 18px;
  height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text);
  text-decoration: none;
}

.brand:hover {
  color: var(--text);
}

.brand img {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  box-shadow: 0 2px 0 rgba(31, 42, 51, 0.15);
}

.menu {
  display: flex;
  gap: 4px;
  margin-left: auto;
}

.menu a {
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 8px 14px;
  border-radius: 999px;
}

.menu a:hover {
  background: var(--surface);
  color: var(--lake);
}

.lang {
  display: inline-flex;
  padding: 4px;
  gap: 2px;
  border-radius: 999px;
  background: var(--surface);
  box-shadow: inset 0 0 0 2px var(--line);
}

.lang a,
.lang span {
  min-width: 44px;
  text-align: center;
  padding: 6px 10px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.9rem;
  text-decoration: none;
  color: var(--text);
}

.lang span {
  background: var(--lake);
  color: #fff;
}

.lang a:hover {
  background: var(--bg-2);
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  min-height: 52px;
  padding: 0.5em 1.4em;
  border-radius: 999px;
  background: var(--lake);
  color: #fff;
  font-weight: 800;
  font-size: 1rem;
  text-decoration: none;
  box-shadow: 0 4px 0 rgba(0, 0, 0, 0.18);
  transition: transform 0.08s ease, box-shadow 0.08s ease, filter 0.15s;
}

.btn:hover {
  color: #fff;
  filter: brightness(1.08);
}

.btn:active {
  transform: translateY(3px);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.18);
}

.btn.light {
  background: var(--surface);
  color: var(--text);
  box-shadow: 0 4px 0 rgba(31, 42, 51, 0.12), inset 0 0 0 2px var(--line);
}

.btn.light:hover {
  color: var(--lake);
}

.btn.green {
  background: var(--forest-2);
}

.btn img {
  width: 26px;
  height: 26px;
}

.stores {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.store {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 20px 10px 14px;
  border-radius: 16px;
  background: var(--text);
  color: #fff;
  min-width: 200px;
  box-shadow: 0 4px 0 rgba(0, 0, 0, 0.2);
}

.store img {
  width: 30px;
  height: 30px;
}

.store small {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold);
  line-height: 1.2;
}

.store strong {
  display: block;
  font-size: 1.1rem;
  line-height: 1.2;
  white-space: nowrap;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--surface);
  font-weight: 800;
  font-size: 0.88rem;
  box-shadow: inset 0 0 0 2px var(--line);
}

.pill img {
  width: 22px;
  height: 22px;
}

/* Hero */

.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #dff0f3 0%, #eaf4ef 55%, var(--bg) 100%);
  padding: 64px 0 150px;
}

.hero::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 190px;
  background: url('/assets/art/hills.svg') center bottom / 1600px 190px repeat-x;
  pointer-events: none;
}

.hero .wrap {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  align-items: center;
  gap: 60px;
}

.hero h1 {
  font-size: clamp(2.3rem, 3.7vw, 3.35rem);
  margin-bottom: 0.4em;
}

.hero h1 .accent {
  display: block;
  color: var(--lake);
}

.hero .lede {
  font-size: 1.18rem;
  color: var(--muted);
  max-width: 32em;
  margin-bottom: 1.6em;
}

.hero .pill {
  margin-bottom: 22px;
}

.hero .actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.hero .teach-link {
  margin-top: 18px;
  font-size: 0.98rem;
}

.stage {
  position: relative;
}

.device {
  position: relative;
  background: #1f2a33;
  border-radius: 34px;
  padding: 14px;
  box-shadow: 0 2px 0 #34444f inset, 0 40px 80px -30px rgba(22, 69, 90, 0.55), 0 18px 40px -20px rgba(31, 42, 51, 0.45);
}

.device::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 5px;
  width: 4px;
  height: 4px;
  margin-top: -2px;
  border-radius: 50%;
  background: #3a4b57;
}

.device img {
  border-radius: 21px;
  width: 100%;
}

.device.portrait {
  border-radius: 30px;
  padding: 12px;
}

.device.portrait::before {
  top: 4px;
  left: 50%;
  margin-left: -2px;
  margin-top: 0;
}

.device.portrait img {
  border-radius: 19px;
}

.stage .mascot {
  position: absolute;
  width: 28%;
  max-width: 190px;
  left: -8%;
  bottom: -16%;
  filter: drop-shadow(0 10px 16px rgba(31, 42, 51, 0.18));
  animation: bob 5s ease-in-out infinite;
}

.chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px 10px 10px;
  border-radius: 18px;
  background: var(--surface);
  font-weight: 800;
  font-size: 0.92rem;
  line-height: 1.25;
  box-shadow: var(--shadow);
  animation: bob 6s ease-in-out infinite;
}

.chip img {
  width: 38px;
  height: 38px;
  flex: none;
  border-radius: 12px;
  background: var(--bg-2);
  padding: 4px;
}

.chip.one {
  top: -26px;
  right: 6%;
  animation-delay: -2s;
}

.chip.two {
  bottom: 14%;
  right: -26px;
  animation-delay: -4s;
}

@keyframes bob {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

/* Sections */

section {
  scroll-margin-top: 88px;
}

.band {
  padding: 96px 0;
}

.band.tight {
  padding-top: 40px;
}

.head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 56px;
}

.head h2 {
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
}

.head p {
  font-size: 1.15rem;
  color: var(--muted);
  margin: 0;
}

.eyebrow {
  display: inline-block;
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
  background: var(--bg-2);
  color: var(--lake);
}

.eyebrow.forest {
  background: #e2f2e6;
  color: var(--forest);
}

.eyebrow.sunset {
  background: #fdeedd;
  color: #a5521a;
}

.eyebrow.aurora {
  background: #efe9fb;
  color: var(--aurora);
}

.eyebrow.berry {
  background: #fbe6ec;
  color: #a52f4f;
}

/* Feature rows */

.feature {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 64px;
  align-items: center;
  margin: 0 auto 110px;
}

.feature:last-child {
  margin-bottom: 0;
}

.feature.flip .media {
  order: 2;
}

.feature .copy h2 {
  font-size: clamp(1.7rem, 3vw, 2.35rem);
}

.feature .copy p {
  font-size: 1.1rem;
  color: var(--muted);
}

.ticks {
  list-style: none;
  padding: 0;
  margin: 0 0 1em;
  display: grid;
  gap: 10px;
}

.ticks li {
  position: relative;
  padding-left: 38px;
  font-weight: 700;
}

.ticks li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 2px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--forest-3) url('/assets/art/check.svg') center / 16px 16px no-repeat;
}

.media {
  position: relative;
}

.media .blob {
  position: absolute;
  inset: -8% -6%;
  border-radius: 48% 52% 46% 54% / 55% 45% 55% 45%;
  z-index: 0;
}

.media .device {
  z-index: 1;
}

.media .friend {
  position: absolute;
  z-index: 2;
  width: 26%;
  max-width: 150px;
  filter: drop-shadow(0 10px 14px rgba(31, 42, 51, 0.16));
}

.blob.forest {
  background: radial-gradient(circle at 30% 30%, #d6efdc, #c3e5cc);
}

.blob.lake {
  background: radial-gradient(circle at 30% 30%, #d5eef3, #bfe3ea);
}

.blob.sunset {
  background: radial-gradient(circle at 30% 30%, #fde6cf, #fbd7b3);
}

.blob.aurora {
  background: radial-gradient(circle at 30% 30%, #ece4fb, #ddd0f6);
}

.blob.berry {
  background: radial-gradient(circle at 30% 30%, #fbe2e9, #f6cdd8);
}

.friend.bl {
  left: -8%;
  bottom: -10%;
}

.friend.br {
  right: -8%;
  bottom: -10%;
}

.friend.tr {
  right: -6%;
  top: -12%;
}

.media.narrow {
  max-width: 400px;
  justify-self: center;
  width: 100%;
}

/* Cards grid */

.grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.card {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 26px 24px;
}

.card img {
  width: 56px;
  height: 56px;
  margin-bottom: 14px;
  padding: 8px;
  border-radius: 18px;
  background: var(--bg-2);
}

.card h3 {
  font-size: 1.15rem;
}

.card p {
  color: var(--muted);
  font-size: 0.98rem;
  margin: 0;
}

.card.t-forest img {
  background: #e2f2e6;
}

.card.t-sunset img {
  background: #fdeedd;
}

.card.t-aurora img {
  background: #efe9fb;
}

.card.t-berry img {
  background: #fbe6ec;
}

/* Pricing */

.plans {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.plan {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border-top: 8px solid var(--lake-2);
  padding: 26px 22px 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.plan.t-forest {
  border-top-color: var(--forest-2);
}

.plan.t-sunset {
  border-top-color: var(--sunset-2);
}

.plan.t-aurora {
  border-top-color: var(--aurora);
}

.plan h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.plan p {
  margin: 0;
}

.plan .price {
  color: var(--muted);
  font-weight: 700;
}

.plan .price strong {
  display: block;
  color: var(--text);
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.1;
}

.plan .year {
  margin-top: 8px;
  color: var(--muted);
  font-weight: 700;
}

.plan .year strong {
  color: var(--text);
  font-size: 1.15rem;
}

.plan .save {
  margin-top: auto;
  padding: 5px 14px;
  border-radius: 999px;
  background: #e2f2e6;
  color: var(--forest);
  font-weight: 800;
  font-size: 0.9rem;
}

.plan .year + .save {
  margin-top: 16px;
}

.price-notes {
  list-style: none;
  padding: 0;
  margin: 36px auto 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 30px;
  font-weight: 700;
  color: var(--muted);
}

.price-notes li {
  position: relative;
  padding-left: 34px;
}

.price-notes li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 1px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--forest-3) url('/assets/art/check.svg') center / 14px 14px no-repeat;
}

.free-teach {
  max-width: 820px;
  margin: 32px auto 0;
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px 26px;
}

.free-teach img {
  flex: none;
  width: 72px;
  height: 72px;
}

.free-teach p {
  margin: 0;
  color: var(--muted);
}

.free-teach strong {
  color: var(--text);
}

/* Privacy band */

.promise {
  background: linear-gradient(160deg, var(--lake) 0%, var(--lake-deep) 100%);
  color: #fff;
  padding: 96px 0;
  position: relative;
  overflow: hidden;
}

.promise::before {
  content: '';
  position: absolute;
  inset: auto -10% -60% auto;
  width: 640px;
  height: 640px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(94, 197, 214, 0.28), rgba(94, 197, 214, 0) 70%);
}

.promise .wrap {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr);
  gap: 56px;
  align-items: center;
}

.promise h2 {
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
}

.promise .intro p {
  color: #d7ebf1;
  font-size: 1.1rem;
}

.promise .intro img {
  width: 170px;
  margin: 0 0 18px -10px;
}

.promise .eyebrow {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}

.promises {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.promises > div {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 22px;
  padding: 22px;
}

.promises img {
  width: 48px;
  height: 48px;
  padding: 6px;
  border-radius: 14px;
  background: #fff;
  margin-bottom: 12px;
}

.promises h3 {
  font-size: 1.1rem;
  margin-bottom: 0.3em;
}

.promises p {
  color: #d7ebf1;
  margin: 0;
  font-size: 0.98rem;
}

.promise .btn.light {
  margin-top: 6px;
}

/* FAQ */

.faq {
  max-width: 820px;
  margin: 0 auto;
  display: grid;
  gap: 14px;
}

.faq details {
  background: var(--surface);
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 64px 20px 24px;
  font-weight: 800;
  font-size: 1.08rem;
  position: relative;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: '';
  position: absolute;
  right: 22px;
  top: 50%;
  width: 30px;
  height: 30px;
  margin-top: -15px;
  border-radius: 50%;
  background: var(--bg-2) url('/assets/art/plus.svg') center / 14px 14px no-repeat;
  transition: transform 0.2s ease;
}

.faq details[open] summary::after {
  transform: rotate(45deg);
}

.faq details > div {
  padding: 0 24px 22px;
  color: var(--muted);
}

.faq details > div p:last-child {
  margin: 0;
}

/* Call to action */

.cta {
  padding: 40px 0 110px;
}

.cta .box {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 40px;
  align-items: center;
  background: var(--surface);
  border-radius: 32px;
  box-shadow: var(--shadow);
  padding: 40px 48px;
  background-image: radial-gradient(circle at 100% 0%, #fdeedd 0, rgba(253, 238, 221, 0) 45%), radial-gradient(circle at 0% 100%, #e2f2e6 0, rgba(226, 242, 230, 0) 45%);
}

.cta .box > img {
  width: 180px;
}

.cta h2 {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
}

.cta p {
  color: var(--muted);
  font-size: 1.1rem;
}

/* Footer */

.foot {
  border-top: 1px solid var(--line);
  padding: 40px 0 56px;
  color: var(--muted);
  font-size: 0.95rem;
}

.foot .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 40px;
  align-items: flex-start;
  justify-content: space-between;
}

.foot .brand {
  font-size: 1.15rem;
  margin-bottom: 6px;
}

.foot .brand img {
  width: 34px;
  height: 34px;
}

.foot nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
}

.foot nav a {
  color: var(--text);
}

.todo {
  display: inline-block;
  padding: 0 0.4em;
  border: 2px dashed var(--berry);
  border-radius: 8px;
  color: #a52f4f;
  font-weight: 800;
}

/* Privacy policy and simple pages */

.page-hero {
  position: relative;
  height: 280px;
  background: linear-gradient(180deg, #cfe9ef 0%, #e3f1e4 100%);
}

.page-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 90px;
  background: url("/assets/art/hills.svg") center bottom / cover no-repeat;
}

.page-hero .wrap {
  position: relative;
  height: 100%;
  max-width: 928px;
}

.page-hero img {
  position: absolute;
  right: 48px;
  bottom: 112px;
  width: 130px;
  z-index: 2;
}

main.policy {
  position: relative;
  z-index: 1;
  max-width: 880px;
  margin: -120px auto 90px;
  padding: 48px 52px 56px;
  background: var(--surface);
  border-radius: 28px;
  box-shadow: var(--shadow);
  font-size: 1.04rem;
}

main.policy > h1 {
  font-size: clamp(2rem, 4vw, 2.7rem);
  margin-bottom: 0.3em;
}

main.policy > .meta {
  display: inline-block;
  margin: 0 0 1.6em;
  padding: 4px 14px;
  border-radius: 14px;
  background: var(--bg-2);
  color: var(--lake-deep);
  font-weight: 700;
  font-size: 0.92rem;
}

main.policy h2 {
  font-size: 1.45rem;
  margin-top: 1.9em;
  padding-top: 1.2em;
  border-top: 1px solid var(--line);
}

main.policy h3 {
  font-size: 1.12rem;
  margin-top: 1.4em;
}

main.policy ul {
  padding-left: 1.3em;
  margin: 0 0 1em;
}

main.policy li {
  margin-bottom: 0.5em;
}

main.policy li::marker {
  color: var(--lake-2);
}

main.policy .summary {
  background: var(--bg-2);
  border-radius: 22px;
  padding: 22px 28px 10px;
  margin: 8px 0 8px;
}

main.policy .summary h2 {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

main.policy dl,
main.policy table {
  width: 100%;
}

main.policy dt {
  font-weight: 800;
  margin-top: 0.8em;
}

main.policy dd {
  margin: 0.2em 0 0.6em;
}

main.notfound {
  text-align: center;
  padding: 80px 24px 120px;
}

main.notfound img {
  width: 200px;
  margin: 0 auto 20px;
}

main.notfound h1 {
  font-size: clamp(2rem, 4vw, 2.8rem);
}

main.notfound p {
  color: var(--muted);
  font-size: 1.15rem;
}

main.notfound .actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 24px;
}

/* Small screens */

@media (max-width: 1080px) {
  .grid,
  .plans {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .chip.two {
    right: 4px;
  }
}

@media (max-width: 920px) {
  .menu {
    display: none;
  }
  .lang {
    margin-left: auto;
  }
  .hero {
    padding: 40px 0 130px;
  }
  .hero .wrap {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .hero .copy {
    text-align: center;
  }
  .hero .lede {
    margin-left: auto;
    margin-right: auto;
  }
  .hero .actions,
  .stores {
    justify-content: center;
  }
  .stage {
    max-width: 680px;
    margin: 0 auto;
    width: 100%;
  }
  .feature,
  .feature.flip {
    grid-template-columns: 1fr;
    gap: 44px;
    margin-bottom: 80px;
  }
  .feature.flip .media {
    order: 0;
  }
  .promise .wrap {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .cta .box {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 36px 28px;
  }
  .cta .box > img {
    margin: 0 auto;
    width: 140px;
  }
  .cta .stores {
    justify-content: center;
  }
}

@media (max-width: 600px) {
  body {
    font-size: 17px;
  }
  .wrap {
    padding: 0 18px;
  }
  .top .wrap {
    height: 64px;
  }
  .brand {
    font-size: 1.2rem;
  }
  .brand img {
    width: 36px;
    height: 36px;
  }
  .band,
  .promise {
    padding: 64px 0;
  }
  .head {
    margin-bottom: 40px;
  }
  .grid,
  .promises {
    grid-template-columns: 1fr;
  }
  .plans {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .plan {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    justify-items: start;
    column-gap: 12px;
    text-align: left;
    border-top: 0;
    border-left: 8px solid var(--lake-2);
    padding: 18px 20px;
  }
  .plan.t-forest {
    border-left-color: var(--forest-2);
  }
  .plan.t-sunset {
    border-left-color: var(--sunset-2);
  }
  .plan.t-aurora {
    border-left-color: var(--aurora);
  }
  .plan h3 {
    margin: 0;
  }
  .plan .price {
    grid-column: 2;
    grid-row: 1 / span 2;
    justify-self: end;
    text-align: right;
  }
  .plan .price strong {
    font-size: 2rem;
  }
  .plan .year {
    margin-top: 4px;
  }
  .plan .year + .save {
    margin-top: 8px;
  }
  .plan .save {
    grid-column: 1 / -1;
    font-size: 0.85rem;
    padding: 3px 12px;
  }
  .price-notes {
    flex-direction: column;
    align-items: flex-start;
    max-width: 420px;
  }
  .free-teach {
    flex-direction: column;
    text-align: center;
    padding: 20px;
  }
  .hero .pill {
    font-size: 0.86rem;
  }
  .chip {
    font-size: 0.8rem;
    padding: 8px 12px 8px 8px;
  }
  .chip img {
    width: 30px;
    height: 30px;
  }
  .chip.one {
    top: -30px;
    right: 0;
  }
  .chip.two {
    display: none;
  }
  .stage .mascot {
    left: -4%;
    bottom: -18%;
    width: 30%;
  }
  .device {
    border-radius: 22px;
    padding: 8px;
  }
  .device img {
    border-radius: 15px;
  }
  .store {
    min-width: 0;
    flex: 1 1 140px;
    gap: 10px;
    padding: 10px 14px 10px 12px;
  }
  .store img {
    width: 26px;
    height: 26px;
  }
  .store strong {
    font-size: 1rem;
  }
  .grid {
    gap: 14px;
  }
  .card {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr);
    column-gap: 16px;
    padding: 20px 20px 20px 18px;
  }
  .card img {
    grid-row: span 2;
    width: 52px;
    height: 52px;
    margin: 0;
  }
  .card h3 {
    margin-bottom: 4px;
  }
  .hero {
    padding-bottom: 110px;
  }
  .feature,
  .feature.flip {
    gap: 36px;
    margin-bottom: 64px;
  }
  .page-hero {
    height: 200px;
  }
  .page-hero img {
    right: 26px;
    bottom: 84px;
    width: 92px;
  }
  main.policy {
    padding: 30px 22px 38px;
    border-radius: 22px;
    margin: -90px 12px 60px;
  }
  main.policy .summary {
    padding: 18px 18px 6px;
  }

  .media .friend {
    width: 24%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .chip,
  .stage .mascot {
    animation: none;
  }
  .btn,
  .faq summary::after {
    transition: none;
  }
}
