/* Munchy Ants site, mobile first: the base styles are for phones, wider screens add layout on top.
   Text meets WCAG 2.2 AAA contrast (7:1, or 4.5:1 for large text), targets are at least 44 px,
   and every animation stops when "Pause animations" is on or the system asks for reduced motion. */

@font-face {
  font-family: "Fredoka";
  src: url("/assets/fonts/fredoka-semibold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Fredoka";
  src: url("/assets/fonts/fredoka-bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;
  --cream: #FFF4DF;
  --cream-tint: #FFEDCC;
  --card: #FFFBF2;
  --line: #EBD3B0;
  --line-strong: #8C6647;
  --choco: #3D2314;
  --choco-soft: #5E3B24;
  --link: #7F3600;
  --link-hover: #5C2700;
  --honey: #FFB52E;
  --honey-edge: #C9810E;
  --honey-tint: #FFE6B3;
  --berry-tint: #FBDFD6;
  --leaf-tint: #E2F0D2;
  --sky-tint: #DCEEFA;
  --gingham: rgba(224, 88, 75, .05);
  --band: #3D2314;
  --band-ink: #FFF4DF;
  --band-soft: #F5DFC4;
  --band-link: #FFD27A;
  --focus: #3D2314;
  --phone-body: #22150D;
  --shadow: 0 1px 2px rgba(61, 35, 20, .07), 0 12px 28px rgba(61, 35, 20, .10);
  --radius: 22px;
  --font-body: ui-rounded, "SF Pro Rounded", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Fredoka", ui-rounded, "SF Pro Rounded", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: max(20px, env(safe-area-inset-left), env(safe-area-inset-right));
  --section-space: 56px;
}

@media (max-width: 359px) {
  :root { --gutter: max(16px, env(safe-area-inset-left), env(safe-area-inset-right)); }
}

@media (min-width: 960px) {
  :root { --gutter: max(40px, env(safe-area-inset-left)); --section-space: 104px; --radius: 26px; }
}

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

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
html:not(.motion-paused) { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--choco);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-weight: 500;
  overflow-wrap: break-word;
  -webkit-tap-highlight-color: transparent;
}

@media (min-width: 960px) { body { font-size: 1.125rem; } }

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

h1, h2, h3 { margin: 0; font-family: var(--font-display); font-weight: 700; line-height: 1.15; text-wrap: balance; }
h3 { font-weight: 600; }
p { margin: 0; text-wrap: pretty; }
p + p { margin-top: 1em; }

a {
  color: var(--link);
  text-decoration: underline;
  text-decoration-thickness: .08em;
  text-underline-offset: .18em;
}

a:hover { color: var(--link-hover); text-decoration-thickness: .14em; }

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

.link-block { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; }

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.wrap { width: min(100% - 2 * var(--gutter), 1180px); margin-inline: auto; }
.wrap--reading { width: min(100% - 2 * var(--gutter), 760px); }

/* The picnic cloth: two layers of faint red stripes; where they cross, the square is a little darker. */
.gingham {
  background-color: var(--cream);
  background-image:
    linear-gradient(90deg, var(--gingham) 50%, transparent 50%),
    linear-gradient(var(--gingham) 50%, transparent 50%);
  background-size: 48px 48px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 30;
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 14px;
  background: var(--choco);
  color: var(--cream);
  font-weight: 700;
  text-decoration: none;
}

.skip-link:focus { top: 12px; color: var(--cream); }

/* Header: one row on phones, the menu opens below it. */

.site-header {
  position: relative;
  z-index: 10;
  background: var(--card);
  border-bottom: 1px solid var(--line);
  padding-top: env(safe-area-inset-top);
}

.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  column-gap: 12px;
  min-height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  color: var(--choco);
  text-decoration: none;
}

.brand:hover { color: var(--choco); }
.brand-icon { width: 40px; height: 40px; border-radius: 10px; box-shadow: 0 2px 6px rgba(61, 35, 20, .18); }
.brand-name { font-family: var(--font-display); font-weight: 700; font-size: 1.3125rem; letter-spacing: -.01em; white-space: nowrap; }

.menu-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 16px;
  border: 2px solid var(--choco-soft);
  border-radius: 999px;
  background: var(--card);
  color: var(--choco);
  font: inherit;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
}

.menu-icon {
  position: relative;
  width: 18px;
  height: 2.5px;
  border-radius: 2px;
  background: currentColor;
  box-shadow: 0 -6px 0 currentColor, 0 6px 0 currentColor;
}

.menu-button[aria-expanded="true"] .menu-icon { box-shadow: none; transform: rotate(45deg); }
.menu-button[aria-expanded="true"] .menu-icon::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 2px;
  background: currentColor;
  transform: rotate(90deg);
}

html:not(.js) .menu-button { display: none; }

.site-menu { flex-basis: 100%; padding-bottom: 16px; }
html.js .site-menu:not(.is-open) { display: none; }

.site-nav ul, .footer-nav ul, .breadcrumb ol, .topics ul { margin: 0; padding: 0; list-style: none; }

.site-nav a {
  display: flex;
  align-items: center;
  min-height: 52px;
  padding: 0 4px;
  border-bottom: 1px solid var(--line);
  color: var(--choco);
  font-family: var(--font-display);
  font-size: 1.1875rem;
  font-weight: 600;
  text-decoration: none;
}

.site-nav a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: .12em; text-underline-offset: .3em; text-decoration-color: var(--honey-edge); }

.header-tools { display: grid; gap: 10px; margin-top: 16px; }

.language-link, .motion-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 14px;
  border: 2px solid var(--choco-soft);
  border-radius: 999px;
  background: var(--card);
  color: var(--choco);
  font: inherit;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}

.language-link:hover, .motion-toggle:hover, .menu-button:hover { background: var(--honey-tint); color: var(--choco); }
.motion-toggle[aria-pressed="true"] { background: var(--choco); color: var(--cream); border-color: var(--choco); }

.globe-icon {
  width: 16px;
  height: 16px;
  border: 2px solid currentColor;
  border-radius: 50%;
  background: linear-gradient(currentColor, currentColor) center / 2px 100% no-repeat, linear-gradient(currentColor, currentColor) center / 100% 2px no-repeat;
}

.motion-toggle-icon { width: 13px; height: 14px; background: linear-gradient(90deg, currentColor 0 35%, transparent 35% 65%, currentColor 65%); }
.motion-toggle[aria-pressed="true"] .motion-toggle-icon { background: currentColor; clip-path: polygon(10% 0, 100% 50%, 10% 100%); }

@media (min-width: 960px) {
  .header-inner { min-height: 80px; flex-wrap: nowrap; }
  .brand-icon { width: 44px; height: 44px; border-radius: 11px; }
  .brand-name { font-size: 1.5rem; }
  .menu-button { display: none; }
  .site-menu, html.js .site-menu:not(.is-open) { display: flex; flex-basis: auto; align-items: center; gap: 16px; margin-inline-start: auto; padding: 0; }
  .site-nav ul { display: flex; gap: 2px; }
  .site-nav a { min-height: 44px; padding: 0 12px; border: 0; border-radius: 12px; font-size: 1.0625rem; }
  .site-nav a:hover { background: var(--honey-tint); color: var(--choco); }
  .header-tools { display: flex; margin: 0; }
  .language-link, .motion-toggle { min-height: 44px; }
}

@media (min-width: 960px) and (max-width: 1139px) {
  .motion-toggle span:last-child { font-size: .9375rem; }
  .site-nav a { padding: 0 9px; }
}

/* Buttons */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 26px;
  border: 2px solid transparent;
  border-radius: 18px;
  font: inherit;
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform .12s ease, box-shadow .12s ease;
}

.button--primary { background: var(--honey); color: var(--choco); box-shadow: 0 5px 0 var(--honey-edge); }
.button--primary:hover { color: var(--choco); background: #FFC14F; }
.button--secondary { background: var(--card); color: var(--choco); border-color: var(--choco-soft); box-shadow: 0 5px 0 var(--line); }
.button--secondary:hover { color: var(--choco); background: var(--honey-tint); }
.button:active { transform: translateY(4px); box-shadow: 0 1px 0 var(--honey-edge); }
.button--secondary:active { box-shadow: 0 1px 0 var(--line); }

.store-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 60px;
  margin: 0;
  padding: 8px 22px 8px 9px;
  border: 2px solid var(--choco);
  border-radius: 18px;
  background: var(--choco);
  color: var(--cream);
  text-decoration: none;
}

.store-button:hover { color: var(--cream); }
.store-icon { flex: none; width: 42px; height: 42px; border-radius: 10px; }
.store-label { display: grid; line-height: 1.15; text-align: start; }
.store-small { font-size: .875rem; font-weight: 600; }
.store-large { font-family: var(--font-display); font-size: 1.375rem; font-weight: 700; }

/* "Coming soon": a dashed outline, so it doesn't look like a button that does something yet. */
.store-button--soon { background: var(--card); color: var(--choco); border: 2px dashed var(--choco-soft); }
.store-button--on-dark { background: var(--honey); color: var(--choco); border-color: var(--honey); }
.store-button--on-dark:hover { color: var(--choco); }
.store-button--on-dark.store-button--soon { background: transparent; color: var(--band-ink); border-color: var(--honey); }

.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
}

.arrow-icon {
  width: 10px;
  height: 10px;
  border-right: 3px solid currentColor;
  border-bottom: 3px solid currentColor;
  transform: rotate(45deg) translate(-2px, -2px);
}

/* Hero */

.hero { position: relative; padding-top: 24px; overflow: hidden; }
.hero-inner { display: grid; gap: 28px; align-items: center; }
.hero-copy { display: grid; justify-items: center; text-align: center; }

.hero-logo { width: min(260px, 70vw); }
.hero-logo img { width: 100%; filter: drop-shadow(0 10px 14px rgba(61, 35, 20, .16)); }

.tagline {
  margin-top: 14px;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 1.2rem + 2.6vw, 2.75rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -.01em;
  text-wrap: balance;
}

.tagline-highlight {
  padding: 0 .1em;
  background: linear-gradient(transparent 58%, var(--honey) 58% 92%, transparent 92%);
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.lede { margin-top: 12px; max-width: 38ch; color: var(--choco-soft); font-size: 1.0625rem; }

.hero-actions { display: flex; flex-direction: column; align-items: center; gap: 4px; margin-top: 20px; }

.trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 10px 0 0; padding: 0; list-style: none; }

.trust li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 34px;
  padding: 0 10px 0 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--card);
  font-size: .875rem;
  font-weight: 700;
}

.trust li::before {
  content: "";
  width: 12px;
  height: 12px;
  border-radius: 4px;
  background: var(--honey);
  box-shadow: inset 0 -3px 0 var(--honey-edge);
}

.hero-visual {
  position: relative;
  display: grid;
  justify-items: center;
  width: min(100%, 380px);
  margin-inline: auto;
  padding: 6px 0 22px;
}

.phone {
  position: relative;
  width: var(--phone-width);
  padding: calc(var(--phone-width) * .045);
  border-radius: calc(var(--phone-width) * .17);
  background: var(--phone-body);
  box-shadow: inset 0 0 0 1.5px #5A3D2A, 0 2px 0 #120B07, 0 22px 44px rgba(61, 35, 20, .26);
}

.phone img { width: 100%; border-radius: calc(var(--phone-width) * .13); }
.phone--hero { --phone-width: min(250px, 62vw); }

.hero-fifi { position: absolute; left: 0; bottom: 18px; width: min(104px, 26vw); filter: drop-shadow(0 8px 10px rgba(61, 35, 20, .2)); }

.deco { position: absolute; width: var(--size); height: var(--size); filter: drop-shadow(0 6px 8px rgba(61, 35, 20, .16)); }
.deco--daisy { --size: 54px; top: 0; right: 4px; }
.deco--clover { --size: 40px; top: 28%; left: 6px; }
.deco--strawberry { --size: 50px; bottom: 26px; right: 0; }

@media (min-width: 600px) {
  .hero-logo { width: 300px; }
  .lede { font-size: 1.125rem; }
  .hero-actions { flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 12px 24px; }
  .trust { gap: 8px; margin-top: 18px; }
  .trust li { gap: 8px; min-height: 36px; padding: 0 14px 0 10px; font-size: .9375rem; }
  .phone--hero { --phone-width: 270px; }
  .hero-visual { width: 460px; }
  .hero-fifi { width: 132px; left: 10px; }
  .deco--daisy { --size: 64px; right: 24px; }
  .deco--clover { --size: 48px; left: 30px; }
  .deco--strawberry { --size: 60px; right: 20px; }
}

@media (min-width: 960px) {
  .hero { padding-top: 56px; }
  .hero-inner { grid-template-columns: 1.08fr .92fr; gap: 40px; }
  .hero-copy { justify-items: start; text-align: start; }
  .hero-logo { width: 440px; margin-left: -10px; }
  .tagline { margin-top: 18px; }
  .lede { margin-top: 18px; font-size: 1.3125rem; }
  .hero-actions { justify-content: flex-start; margin-top: 30px; }
  .trust { justify-content: flex-start; margin-top: 26px; }
  .hero-visual { width: 100%; max-width: 480px; padding-bottom: 40px; }
  .phone--hero { --phone-width: 300px; }
  .hero-fifi { width: 150px; left: 0; bottom: 40px; }
  .deco--daisy { --size: 76px; top: 6px; right: 18px; }
  .deco--clover { --size: 54px; top: 30%; left: 18px; }
  .deco--strawberry { --size: 70px; bottom: 56px; right: 10px; }
}

/* Ants marching along the bottom of the hero, each carrying a sugar cube of its own color. */

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.ant-trail { position: relative; height: 46px; margin-top: 4px; overflow: hidden; }
.ant-trail::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; border-top: 2px dashed rgba(61, 35, 20, .14); }
.ant-trail-track { position: relative; display: flex; width: max-content; }
.ant-trail-set { display: flex; align-items: center; }

.ant { flex: none; width: 50px; height: 40px; margin: 3px 14px 3px 18px; overflow: visible; }
.ant:nth-child(3n) { margin-right: 46px; }
.ant:nth-child(4n + 1) { margin-left: 6px; }
.ant:nth-child(7n) { margin-right: 84px; }

.ant-legs path { fill: none; stroke: var(--ant-dark); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.ant-body { fill: var(--ant); stroke: var(--ant-dark); stroke-width: .9; }
.ant-shine { fill: #FFFFFF; opacity: .35; }
.ant-eyes { fill: #FFFFFF; stroke: #2A1A12; stroke-width: .8; }
.ant-pupils { fill: #2A1A12; }
.ant-cube { fill: var(--cube); stroke: var(--ant-dark); stroke-width: .9; }
.ant-cube-shine { fill: #FFFFFF; opacity: .55; }

.ant--honey { --ant: #F2A72E; --ant-dark: #7A4A05; --cube: #FFD36B; }
.ant--pink { --ant: #EE7AA2; --ant-dark: #7E2647; --cube: #FFB8CF; }
.ant--leaf { --ant: #5DAE4B; --ant-dark: #23571A; --cube: #A6DB8C; }
.ant--sky { --ant: #4FA3DE; --ant-dark: #18507A; --cube: #A6D8F7; }
.ant--cocoa { --ant: #9A5E3A; --ant-dark: #4A2817; --cube: #D9A47C; }
.ant--berry { --ant: #D9493A; --ant-dark: #6E1A12; --cube: #F7A093; }

/* Sections */

.section { padding-block: var(--section-space); }
.section--tinted { background: var(--cream-tint); }

.section-title { font-size: clamp(1.75rem, 1.3rem + 2vw, 2.75rem); letter-spacing: -.01em; }
.section-lede { margin-top: 10px; max-width: 60ch; color: var(--choco-soft); font-size: 1.125rem; }
@media (min-width: 960px) { .section-lede { margin-top: 14px; font-size: 1.25rem; } }

.card { border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); box-shadow: var(--shadow); }

.steps, .features { display: grid; gap: 12px; margin: 26px 0 0; padding: 0; list-style: none; }

.step, .feature { display: grid; grid-template-columns: auto 1fr; align-items: start; column-gap: 16px; padding: 18px; }

.card-text h3 { font-size: 1.25rem; }
.card-text p { margin-top: 4px; color: var(--choco-soft); font-size: 1rem; }

/* Step numbers drawn as sugar cubes: a candy gradient, a sparkle of sugar and a darker bottom edge. */
.cube-number {
  --cube: #F27BA0;
  --cube-light: #FFD3E1;
  --cube-edge: #BF4F79;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background:
    radial-gradient(circle at 28% 24%, rgba(255, 255, 255, .8) 0 9%, transparent 10%),
    radial-gradient(rgba(255, 255, 255, .5) 1px, transparent 1.6px) 0 0 / 7px 7px,
    linear-gradient(150deg, var(--cube-light), var(--cube));
  box-shadow: inset 0 -5px 0 rgba(61, 35, 20, .14), 0 5px 0 var(--cube-edge), 0 10px 16px rgba(61, 35, 20, .14);
  color: var(--choco);
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
}

.cube-number--honey { --cube: #FFB52E; --cube-light: #FFE6A8; --cube-edge: #C9810E; }
.cube-number--leaf { --cube: #86C873; --cube-light: #DDF3D1; --cube-edge: #4E8F3F; }

.twists {
  margin-top: 18px;
  padding: 16px 18px;
  border-radius: 18px;
  background: var(--honey-tint);
  font-weight: 600;
  max-width: 70ch;
}

.feature-icon { width: 60px; height: 60px; }

@media (min-width: 700px) {
  .features { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
}

@media (min-width: 960px) {
  .steps, .features { gap: 22px; margin-top: 40px; }
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .features { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .step, .feature { display: block; padding: 28px; }
  .card-text h3 { margin-top: 18px; font-size: 1.4375rem; }
  .card-text p { margin-top: 8px; font-size: 1.0625rem; }
  .cube-number { width: 62px; height: 62px; border-radius: 16px; font-size: 1.75rem; }
  .feature-icon { width: 76px; height: 76px; }
  .twists { margin-top: 26px; padding: 18px 24px; }
}

/* Screens: a strip to swipe on phones, one row on wide screens. */

.screens-section { overflow: hidden; }

.screens {
  --screen-width: min(52vw, 220px);
  margin-top: 26px;
  padding: 10px var(--gutter) 22px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gutter);
}

.screens:focus-visible { outline-offset: -3px; border-radius: 0; }
.screens-list { display: flex; gap: 18px; width: max-content; margin: 0; padding: 0; list-style: none; }
.screens-list li { scroll-snap-align: start; }
.screen { display: grid; justify-items: center; gap: 14px; width: var(--screen-width); margin: 0; }
.screen .phone { --phone-width: var(--screen-width); box-shadow: inset 0 0 0 1.5px #5A3D2A, 0 2px 0 #120B07, 0 14px 26px rgba(61, 35, 20, .22); }
.screen figcaption { max-width: 22ch; text-align: center; font-family: var(--font-display); font-size: 1.0625rem; font-weight: 600; line-height: 1.3; }

@media (min-width: 1100px) {
  .screens { --screen-width: 188px; width: min(100% - 2 * var(--gutter), 1180px); margin: 44px auto 0; padding: 10px 0 8px; overflow: visible; }
  .screens-list { width: auto; justify-content: space-between; gap: 20px; }
}

/* FAQ */

.faq { margin-top: 22px; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 60px;
  padding: 10px 2px;
  list-style: none;
  cursor: pointer;
}

.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary h3 { font-size: 1.1875rem; }

.faq-item summary::after {
  content: "";
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background:
    linear-gradient(var(--choco), var(--choco)) center / 12px 3px no-repeat,
    linear-gradient(var(--choco), var(--choco)) center / 3px 12px no-repeat,
    var(--honey-tint);
  box-shadow: inset 0 -3px 0 rgba(61, 35, 20, .12);
}

.faq-item[open] summary::after { background: linear-gradient(var(--choco), var(--choco)) center / 12px 3px no-repeat, var(--honey); }
.faq-item summary:hover h3 { text-decoration: underline; text-decoration-thickness: .08em; text-underline-offset: .2em; }
.faq-answer { padding: 0 2px 22px; max-width: 66ch; color: var(--choco-soft); }
.faq-answer ul { margin: .6em 0 0; padding-left: 1.3em; }
.faq-answer li + li { margin-top: .35em; }
.faq-answer ul + p { margin-top: 1em; }
.faq-more { margin-top: 28px; }
.faq-more .button { width: 100%; }

@media (min-width: 600px) { .faq-more .button { width: auto; } }
@media (min-width: 960px) { .faq { margin-top: 32px; } .faq-item summary { min-height: 68px; } .faq-item summary h3 { font-size: 1.3125rem; } }

/* Call to action */

.cta-band {
  padding-block: 48px 52px;
  background-color: var(--band);
  background-image:
    linear-gradient(90deg, rgba(255, 244, 223, .035) 50%, transparent 50%),
    linear-gradient(rgba(255, 244, 223, .035) 50%, transparent 50%);
  background-size: 48px 48px;
  color: var(--band-ink);
}

.cta-band :focus-visible { outline-color: var(--band-ink); }
.cta-inner { display: grid; justify-items: center; gap: 18px; text-align: center; }
.cta-fifi { width: 116px; filter: drop-shadow(0 10px 14px rgba(0, 0, 0, .35)); }
.cta-copy { display: grid; justify-items: center; gap: 14px; }
.cta-copy p { max-width: 44ch; color: var(--band-soft); font-size: 1.125rem; }

@media (min-width: 760px) {
  .cta-band { padding-block: 72px; }
  .cta-inner { grid-template-columns: auto 1fr; justify-content: center; gap: 40px; text-align: start; max-width: 860px; }
  .cta-fifi { width: 160px; }
  .cta-copy { justify-items: start; }
  .cta-copy p { font-size: 1.25rem; }
}

/* Footer */

.site-footer { background: var(--card); padding-bottom: max(32px, env(safe-area-inset-bottom)); }

.site-footer::before {
  content: "";
  display: block;
  height: 14px;
  background-image:
    linear-gradient(90deg, rgba(224, 88, 75, .55) 50%, transparent 50%),
    linear-gradient(rgba(224, 88, 75, .55) 50%, transparent 50%);
  background-color: var(--card);
  background-size: 14px 14px;
}

.footer-inner { display: grid; gap: 14px; padding-top: 30px; }
.footer-inner p { margin: 0; }
.footer-brand p { margin-top: 2px; color: var(--choco-soft); font-weight: 600; }
.footer-nav ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }

.footer-nav a {
  display: flex;
  align-items: center;
  min-height: 48px;
  color: var(--choco);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: var(--line-strong);
  text-underline-offset: .3em;
}

.footer-contact a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; }
.footer-contact, .disclaimer, .copyright { color: var(--choco-soft); font-size: .9375rem; max-width: 80ch; }
.footer-contact { font-size: 1rem; }

@media (min-width: 960px) {
  .footer-inner { grid-template-columns: 1fr auto; align-items: start; gap: 20px; padding-top: 44px; }
  .footer-nav ul { display: flex; flex-wrap: wrap; gap: 4px 6px; }
  .footer-nav a { min-height: 44px; padding: 0 10px; border-radius: 12px; text-decoration: none; }
  .footer-nav a:hover { background: var(--honey-tint); }
  .footer-contact, .disclaimer, .copyright { grid-column: 1 / -1; }
}

/* Page heads for support and the legal pages */

.page-hero { padding-block: 22px 30px; border-bottom: 1px solid var(--line); }
.page-hero-inner { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
.page-hero-copy { min-width: 0; }
.page-title { font-size: clamp(2.125rem, 1.4rem + 2.8vw, 3.375rem); letter-spacing: -.015em; }
.page-lede { margin-top: 10px; max-width: 44ch; color: var(--choco-soft); font-size: 1.125rem; }
.page-lede + p { margin-top: 20px; }
.page-hero-fifi { flex: none; width: 84px; margin-bottom: -6px; filter: drop-shadow(0 8px 10px rgba(61, 35, 20, .18)); }
.muted { margin-top: 8px; color: var(--choco-soft); font-weight: 700; }

.breadcrumb { margin-bottom: 6px; font-weight: 700; }
.breadcrumb ol { display: flex; flex-wrap: wrap; }
.breadcrumb li { display: inline-flex; align-items: center; }
.breadcrumb li + li::before { content: "›" / ""; margin: 0 8px; color: var(--choco-soft); }
.breadcrumb a { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; }
.breadcrumb a[aria-current="page"] { color: var(--choco); text-decoration: none; }

@media (min-width: 600px) { .page-hero-fifi { width: 120px; } }

@media (min-width: 960px) {
  .page-hero { padding-block: 44px 46px; }
  .page-hero-inner { align-items: center; }
  .page-hero-fifi { width: 150px; margin: -20px 40px -46px 0; }
  .page-lede { font-size: 1.3125rem; }
}

/* Support */

.support-layout { display: grid; gap: 8px; padding-block: 28px 64px; }

.topics { padding: 16px; border-radius: var(--radius); background: var(--cream-tint); }
.topics-title { font-size: 1.125rem; }
.topics ul { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }

.topics a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--card);
  color: var(--choco);
  font-weight: 700;
  font-size: .9375rem;
  text-decoration: none;
}

.topics a:hover { background: var(--honey-tint); color: var(--choco); }

.faq-group { padding-top: 32px; scroll-margin-top: 12px; }
.group-title { font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2.125rem); }
.faq-group .faq { margin-top: 14px; }
.faq-item { scroll-margin-top: 12px; }

.boosters { display: grid; gap: 12px; margin: 18px 0 8px; padding: 0; list-style: none; }
.booster { display: grid; grid-template-columns: 60px 1fr; align-items: start; gap: 14px; padding: 16px; }
.booster img { width: 60px; height: 60px; }
.booster h3 { font-size: 1.25rem; }
.booster p { margin-top: 2px; color: var(--choco-soft); font-size: 1rem; }

.booster .booster-level {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  margin-top: 10px;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--honey-tint);
  color: var(--choco);
  font-weight: 700;
  font-size: .9375rem;
}

.contact-band { padding-block: 52px 60px; background: var(--cream-tint); border-top: 1px solid var(--line); }
.contact-inner .section-lede { margin-top: 12px; }
.contact-tips-title { margin-top: 22px; font-weight: 700; }
.contact-tips { margin: 8px 0 0; padding-left: 1.3em; color: var(--choco-soft); }
.contact-tips li + li { margin-top: .3em; }
.contact-inner p:last-child { margin-top: 26px; }
.contact-button { width: 100%; padding-inline: 18px; font-size: 1.0625rem; }

@media (min-width: 600px) {
  .boosters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-button { width: auto; font-size: 1.125rem; }
}

@media (min-width: 960px) {
  .support-layout { grid-template-columns: 270px minmax(0, 800px); justify-content: start; gap: 56px; padding-block: 44px 96px; }
  .topics { position: sticky; top: 20px; align-self: start; padding: 20px; }
  .topics ul { display: grid; gap: 4px; }
  .topics a { display: flex; border: 0; border-radius: 12px; background: transparent; font-size: 1rem; }
  .faq-group { padding-top: 0; }
  .faq-group + .faq-group { margin-top: 56px; }
  .boosters { gap: 16px; margin-top: 22px; }
  .booster { grid-template-columns: 68px 1fr; padding: 20px; }
  .booster img { width: 68px; height: 68px; }
  .contact-band { padding-block: 80px 96px; }
}

/* Legal pages */

.legal { padding-block: 26px 72px; }

.toc { padding: 16px 18px 12px; border-radius: var(--radius); background: var(--cream-tint); }
.toc h2 { font-size: 1.125rem; }
.toc ol { margin: 8px 0 0; padding: 0; list-style: none; columns: 2; column-gap: 20px; }
.toc li { break-inside: avoid; }
.toc a { display: inline-flex; align-items: center; min-width: 44px; min-height: 44px; padding-block: 4px; font-size: .9375rem; font-weight: 600; line-height: 1.3; }

.legal-text h2 { margin-top: 2em; font-size: 1.4375rem; scroll-margin-top: 12px; }
.legal-text p, .legal-text ul { margin-top: 12px; max-width: 70ch; }
.legal-text ul { padding-left: 1.3em; }
.legal-text li + li { margin-top: .6em; }
.legal-text strong { font-weight: 800; }

@media (min-width: 960px) {
  .legal { padding-block: 40px 104px; }
  .toc { padding: 22px 26px 16px; }
  .toc a { font-size: 1rem; }
  .legal-text h2 { font-size: 1.75rem; }
}

/* 404 */

.not-found-inner { display: grid; justify-items: center; gap: 18px; text-align: center; }
.not-found-fifi { width: 130px; }
.not-found .section-lede { margin-inline: auto; }
.not-found .button { margin-top: 22px; }
.not-found-other { margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line); }
.not-found-other h2 { font-size: 1.5rem; }
.not-found-other p { margin-top: 10px; }

@media (min-width: 760px) {
  .not-found-inner { grid-template-columns: auto 1fr; gap: 40px; text-align: start; align-items: center; }
  .not-found-fifi { width: 180px; }
  .not-found .section-lede { margin-inline: 0; }
}

/* Motion. Everything below runs only while animations are on. */

html.motion-paused *, html.motion-paused *::before, html.motion-paused *::after { animation: none !important; transition: none !important; }

@media (prefers-reduced-motion: reduce) {
  html:not(.js) *, html:not(.js) *::before, html:not(.js) *::after { animation: none !important; transition: none !important; }
}

html.js:not(.motion-paused) .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .6s ease, transform .6s cubic-bezier(.2, .8, .2, 1);
  transition-delay: var(--reveal-delay, 0s);
}

html.js:not(.motion-paused) .reveal.is-visible { opacity: 1; transform: none; }

html:not(.motion-paused) .hero-logo img { animation: logo-in .8s cubic-bezier(.2, .9, .3, 1.3) both; }
html:not(.motion-paused) .tagline { animation: rise .7s .1s cubic-bezier(.2, .8, .2, 1) both; }
html:not(.motion-paused) .lede { animation: rise .7s .18s cubic-bezier(.2, .8, .2, 1) both; }
html:not(.motion-paused) .hero-actions { animation: rise .7s .26s cubic-bezier(.2, .8, .2, 1) both; }
html:not(.motion-paused) .phone--hero { animation: phone-in .9s .1s cubic-bezier(.2, .8, .2, 1) both; }
html:not(.motion-paused) .hero-fifi { animation: fifi-bob 3.2s ease-in-out infinite alternate; }
html:not(.motion-paused) .cta-fifi { animation: fifi-bob 2.6s ease-in-out infinite alternate; }
html:not(.motion-paused) .deco { animation: deco-float 5s ease-in-out infinite alternate; }
html:not(.motion-paused) .deco--clover { animation-duration: 6.5s; animation-delay: -2s; }
html:not(.motion-paused) .deco--strawberry { animation-duration: 5.8s; animation-delay: -3s; }
html:not(.motion-paused) .ant-trail-track { animation: march 70s linear infinite; }
html:not(.motion-paused) .ant { animation: ant-step .36s steps(1, end) infinite; }
html:not(.motion-paused) .ant:nth-child(even) { animation-delay: -.18s; }
html:not(.motion-paused) .site-menu.is-open { animation: menu-in .2s ease-out; }

@media (hover: hover) {
  html:not(.motion-paused) .card.step:hover .cube-number,
  html:not(.motion-paused) .card.feature:hover .feature-icon { animation: pop .5s ease; }
}

@keyframes logo-in { from { transform: scale(.86) rotate(-3deg); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes rise { from { transform: translateY(16px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes phone-in { from { transform: translateY(36px) rotate(4deg); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes fifi-bob { from { transform: translateY(0) rotate(-2deg); } to { transform: translateY(-9px) rotate(2deg); } }
@keyframes deco-float { from { transform: translateY(-5px) rotate(-8deg); } to { transform: translateY(6px) rotate(8deg); } }
@keyframes march { from { transform: translateX(-50%); } to { transform: translateX(0); } }
@keyframes ant-step { 0% { transform: translateY(-.5px) rotate(-4deg); } 50% { transform: translateY(.5px) rotate(4deg); } }
@keyframes menu-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@keyframes pop { 0% { transform: scale(1); } 40% { transform: scale(1.12) rotate(-6deg); } 100% { transform: scale(1); } }

@media (forced-colors: active) {
  .button, .store-button, .motion-toggle, .language-link, .menu-button, .topics a { border: 2px solid ButtonText; }
  .ant-trail, .deco { display: none; }
  .tagline-highlight { background: none; text-decoration: underline; }
}

@media print {
  .site-header, .ant-trail, .deco, .hero-fifi, .cta-band, .site-footer nav, .topics { display: none; }
  body, .gingham, .section--tinted { background: #FFFFFF; color: #000000; }
}
