@charset "UTF-8";

/*
 * Tiny Toes website.
 * Plain CSS: system fonts, no scripts, no inline styles and no data: URIs, because the CSP is default-src 'self'.
 * Light and dark follow the visitor's system setting (prefers-color-scheme).
 */

/* —— Tokens —— */

:root {
  color-scheme: light dark;

  --bg: #fdfafc;
  --bg-tint: #f7f1f8;
  --surface: #ffffff;
  --surface-2: #faf5fb;
  --text: #221c29;
  --muted: #5b5266;
  --border: #ebe1ee;
  --border-strong: #d9c9de;
  --accent: #b02a5b;
  --accent-soft: #fce8f0;
  --link: #b02a5b;
  --link-hover: #861d43;
  --focus: #2a55b5;
  --header-bg: rgba(253, 250, 252, 0.88);
  --menu-shadow: 0 18px 30px rgba(30, 15, 40, 0.12);
  --shadow-sm: 0 1px 2px rgba(50, 25, 60, 0.06);
  --shadow: 0 1px 2px rgba(50, 25, 60, 0.05), 0 8px 24px rgba(50, 25, 60, 0.07);
  --shadow-lg: 0 2px 6px rgba(40, 20, 50, 0.08), 0 28px 64px rgba(60, 30, 80, 0.2);
  --brand: linear-gradient(135deg, #ffa9b8 0%, #c5aedb 52%, #8ab2ff 100%);
  --hero:
    radial-gradient(70% 90% at 0% 0%, #ffe2ea 0%, rgba(255, 226, 234, 0) 70%),
    radial-gradient(60% 80% at 100% 10%, #e0e8ff 0%, rgba(224, 232, 255, 0) 70%),
    linear-gradient(180deg, #fbf4fa 0%, #fdfafc 100%);

  /* The phone illustration copies iOS system colours. */
  --ios-bg: #f2f2f7;
  --ios-card: #ffffff;
  --ios-text: #000000;
  --ios-muted: #6e6e73;
  --ios-bar: rgba(248, 248, 250, 0.94);
  --ios-sep: rgba(60, 60, 67, 0.16);
  --ios-tint: #007aff;
  --ios-inactive: #8e8e93;
  --ios-pink: #f0285a;
  --ios-blue: #0a6cf0;
  --ios-teal: #1593a8;
  --ios-indigo: #5552d6;
  --ios-orange: #e07800;
  --ios-green: #1f9e46;
  --ios-mint: #00a69c;
  --phone-frame: #1d1a21;
  --phone-rim: #4a4452;

  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-round: ui-rounded, "SF Pro Rounded", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --radius: 20px;
  --radius-sm: 14px;
  --wrap: 1120px;
  --gutter: 16px;
  --header-h: 60px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #121016;
    --bg-tint: #18151e;
    --surface: #1f1b26;
    --surface-2: #241f2c;
    --text: #f4f0f7;
    --muted: #b9afc4;
    --border: #2f2938;
    --border-strong: #433a4f;
    --accent: #ff9dbc;
    --accent-soft: rgba(255, 157, 188, 0.13);
    --link: #ff9dbc;
    --link-hover: #ffc7d8;
    --focus: #a9c2ff;
    --header-bg: rgba(18, 16, 22, 0.86);
    --menu-shadow: 0 18px 40px rgba(0, 0, 0, 0.6);
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.35), 0 8px 24px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 2px 6px rgba(0, 0, 0, 0.4), 0 28px 64px rgba(0, 0, 0, 0.55);
    --hero:
      radial-gradient(70% 90% at 0% 0%, rgba(255, 120, 165, 0.17) 0%, rgba(255, 120, 165, 0) 70%),
      radial-gradient(60% 80% at 100% 10%, rgba(110, 140, 255, 0.18) 0%, rgba(110, 140, 255, 0) 70%),
      linear-gradient(180deg, #17131d 0%, #121016 100%);

    --ios-bg: #000000;
    --ios-card: #1c1c1e;
    --ios-text: #ffffff;
    --ios-muted: #98989f;
    --ios-bar: rgba(24, 24, 26, 0.94);
    --ios-sep: rgba(84, 84, 88, 0.6);
    --ios-tint: #0a84ff;
    --ios-inactive: #8e8e93;
    --ios-pink: #ff4f7a;
    --ios-blue: #3d9bff;
    --ios-teal: #40c8e0;
    --ios-indigo: #8584ff;
    --ios-orange: #ff9f0a;
    --ios-green: #30d158;
    --ios-mint: #63e6e2;
    --phone-frame: #0b0a0d;
    --phone-rim: #5a5263;
  }
}

/* —— Base —— */

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

main {
  flex: 1 0 auto;
}

img,
svg {
  max-width: 100%;
}

img {
  height: auto;
}

a {
  color: var(--link);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--link-hover);
  text-decoration-thickness: 2px;
}

/* The outline follows each element's own corner radius. */
:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.faq summary:focus-visible {
  outline-offset: -3px;
}

h1,
h2,
h3 {
  font-family: var(--font-round);
  color: var(--text);
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.1rem, 1.55rem + 2.6vw, 3.5rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.025em;
  margin: 0 0 1rem;
}

h2 {
  font-size: clamp(1.6rem, 1.3rem + 1.3vw, 2.25rem);
  font-weight: 750;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
}

h3 {
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.005em;
  margin: 0 0 0.4rem;
}

p,
ul,
ol {
  margin: 0 0 1rem;
}

li + li {
  margin-top: 0.4rem;
}

strong,
b {
  font-weight: 650;
}

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

.ic {
  width: 1.25em;
  height: 1.25em;
  flex: none;
}

.skip {
  position: absolute;
  left: 16px;
  top: -200px;
  z-index: 100;
  padding: 0.6rem 1rem;
  background: var(--surface);
  color: var(--text);
  font-weight: 650;
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.skip:focus {
  top: 10px;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

@media (min-width: 720px) {
  :root {
    --gutter: 32px;
  }
}

/* —— Header —— */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--header-bg);
  border-bottom: 1px solid var(--border);
  -webkit-backdrop-filter: saturate(1.6) blur(14px);
  backdrop-filter: saturate(1.6) blur(14px);
}

.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.25rem 0.35rem 0.25rem 0;
  color: var(--text);
  text-decoration: none;
  font-family: var(--font-round);
  font-weight: 750;
  font-size: 1.2rem;
  letter-spacing: -0.01em;
  border-radius: 10px;
}

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

.brand img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  box-shadow: var(--shadow-sm);
}

.site-nav ul,
.menu-panel ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-right: -0.85rem;
}

.site-nav li + li,
.menu-panel li + li {
  margin-top: 0;
}

.site-nav a {
  display: block;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  color: var(--text);
  text-decoration: none;
  font-weight: 550;
  font-size: 0.97rem;
}

.site-nav a:hover {
  background: var(--bg-tint);
  color: var(--text);
}

.site-nav a[aria-current="page"],
.menu-panel a[aria-current="page"] {
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 650;
}

/* Compact menu for small screens: a <details> disclosure, so it works without scripts. */
.menu {
  display: none;
}

.menu summary {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 44px;
  padding: 0.4rem 0.9rem 0.4rem 0.8rem;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  list-style: none;
  user-select: none;
  -webkit-user-select: none;
}

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

.menu-icon,
.menu-icon::before,
.menu-icon::after {
  display: block;
  width: 16px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}

.menu-icon {
  position: relative;
}

.menu-icon::before,
.menu-icon::after {
  content: "";
  position: absolute;
  left: 0;
}

.menu-icon::before {
  top: -5px;
}

.menu-icon::after {
  top: 5px;
}

.menu[open] .menu-icon {
  background: transparent;
}

.menu[open] .menu-icon::before {
  top: 0;
  transform: rotate(45deg);
}

.menu[open] .menu-icon::after {
  top: 0;
  transform: rotate(-45deg);
}

.menu-panel {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  padding: 0.5rem var(--gutter) 1rem;
  background: var(--surface);
  border-bottom: 1px solid var(--border-strong);
  box-shadow: var(--menu-shadow);
}

.menu-panel a {
  display: flex;
  align-items: center;
  min-height: 48px;
  margin: 0 -0.75rem;
  padding: 0 0.75rem;
  border-radius: 12px;
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.05rem;
}

.menu-panel a:hover {
  background: var(--bg-tint);
  color: var(--text);
}

@media (max-width: 639.98px) {
  .site-nav {
    display: none;
  }

  .menu {
    display: block;
  }
}

/* —— Buttons and small pieces —— */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 46px;
  padding: 0.55rem 1.2rem;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  color: var(--text);
  font-weight: 650;
  text-decoration: none;
  box-shadow: var(--shadow-sm);
}

.button:hover {
  color: var(--text);
  border-color: var(--accent);
}

.button .ic {
  width: 1.1em;
  height: 1.1em;
}

.eyebrow {
  margin: 0 0 0.6rem;
  color: var(--accent);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* —— Hero —— */

.hero {
  background: var(--hero);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
  padding-top: 2.75rem;
  padding-bottom: 3.5rem;
}

/* Phones: the header already shows the icon, so the hero starts with the words and the product shot comes sooner. */
@media (max-width: 639.98px) {
  .hero-grid {
    gap: 2.5rem;
    padding-top: 2rem;
  }

  .hero-copy .hero-icon {
    display: none;
  }
}

/* Tablets and up: the phone sits beside the headline. */
@media (min-width: 760px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 2.5rem;
  }
}

@media (min-width: 900px) {
  .hero-grid {
    gap: 4rem;
    padding-top: 3rem;
    padding-bottom: 4rem;
  }
}

.hero-copy {
  max-width: 36rem;
}

.hero-icon {
  display: block;
  width: 112px;
  height: 112px;
  border-radius: 25px;
  box-shadow: var(--shadow);
  margin-bottom: 1.75rem;
}

@media (min-width: 900px) {
  .hero-icon {
    width: 136px;
    height: 136px;
    border-radius: 30px;
    margin-bottom: 2rem;
  }
}

.lede {
  font-size: clamp(1.1rem, 1rem + 0.45vw, 1.3rem);
  line-height: 1.55;
  color: var(--muted);
  margin-bottom: 2rem;
}

.cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
}

.stores {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.store-name {
  display: block;
  font-weight: 700;
}

.store-when {
  display: block;
  font-size: 0.82rem;
  font-weight: 550;
  color: var(--muted);
}

.soon {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0;
  padding: 0.65rem 1.25rem 0.65rem 0.8rem;
  border-radius: 999px;
  background: var(--accent-soft);
  border: 1px dashed var(--border-strong);
  color: var(--text);
  font-weight: 650;
  font-size: 1.02rem;
  line-height: 1.3;
}

.soon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--brand);
  color: #3b2a44;
  flex: none;
}

.soon-badge .ic {
  width: 17px;
  height: 17px;
}

.facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.25rem;
  list-style: none;
  padding: 0;
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.facts li {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0;
}

.facts .ic {
  width: 1.05em;
  height: 1.05em;
  color: var(--accent);
}

/* —— Phone illustration (HTML and CSS). Everything inside is sized in em, so font-size scales it. —— */

.phone {
  justify-self: center;
  position: relative;
  font-size: 10px;
  width: 30em;
  padding: 0.9em;
  border-radius: 5em;
  background: var(--phone-frame);
  box-shadow: inset 0 0 0 0.2em var(--phone-rim), var(--shadow-lg);
  line-height: 1.25;
}

@media (max-width: 359.98px) {
  .phone {
    font-size: 9.2px;
  }
}

@media (min-width: 400px) {
  .phone {
    font-size: 10.6px;
  }
}

/* One column on small tablets: the phone shares the copy's left edge instead of floating in the middle. */
@media (min-width: 640px) and (max-width: 759.98px) {
  .phone {
    justify-self: start;
  }
}

/* Beside the headline on tablets, a little smaller so the copy keeps a readable measure. */
@media (min-width: 760px) and (max-width: 899.98px) {
  .phone {
    font-size: 8.5px;
  }
}

.phone-screen {
  position: relative;
  height: 61.5em;
  border-radius: 4.1em;
  overflow: hidden;
  background: var(--ios-bg);
  color: var(--ios-text);
  font-family: var(--font);
  -webkit-user-select: none;
  user-select: none;
}

.phone p {
  margin: 0;
}

.ios-status {
  display: grid;
  grid-template-columns: 1fr 9.4em 1fr;
  justify-items: center;
  align-items: start;
  height: 5em;
  padding: 0 0.6em;
}

.ios-time {
  margin-top: 0.95em;
  font-weight: 650;
  font-size: 1.45em;
  letter-spacing: -0.01em;
}

.ios-island {
  width: 100%;
  height: 2.75em;
  margin-top: 1.05em;
  border-radius: 2em;
  background: #000000;
}

.ios-indicators {
  width: 6.4em;
  height: 1.18em;
  margin-top: 1.85em;
}

.ios-content {
  padding: 0.4em 1.35em 0;
}

.ios-title {
  font-weight: 750;
  font-size: 2.65em;
  letter-spacing: 0.005em;
  line-height: 1.15;
}

.phone .ios-sub {
  margin-top: 0.35em;
  color: var(--ios-muted);
  font-size: 1.2em;
}

.ios-tiles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.6em;
  margin-top: 1.3em;
}

.ios-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.55em;
  min-height: 5.6em;
  padding: 0.5em 0.45em;
  border-radius: 1.3em;
  color: #ffffff;
  font-size: 1em;
  font-weight: 600;
  text-align: center;
  white-space: nowrap;
}

.ios-tile .ic {
  width: 2em;
  height: 2em;
}

.ios-tile span {
  font-size: 0.92em;
  line-height: 1;
}

.ios-tile .shrink {
  font-size: 0.76em;
  letter-spacing: -0.02em;
}

.t-pink { background: linear-gradient(180deg, #ff5f86 0%, #ec2a5c 100%); }
.t-purple { background: linear-gradient(180deg, #c36ef0 0%, #a148d6 100%); }
.t-blue { background: linear-gradient(180deg, #3f95ff 0%, #0a6cf0 100%); }
.t-gray { background: linear-gradient(180deg, #a5a5ac 0%, #7f7f87 100%); }
.t-orange { background: linear-gradient(180deg, #ffac3d 0%, #ec8400 100%); }
.t-green { background: linear-gradient(180deg, #45d070 0%, #22a849 100%); }
.t-teal { background: linear-gradient(180deg, #4ccbdd 0%, #1ba2b6 100%); }
.t-indigo { background: linear-gradient(180deg, #7d7bf0 0%, #5552d6 100%); }

.ios-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75em;
  margin-top: 1.1em;
}

.ios-stat {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.2em;
  min-width: 0;
  padding: 0.95em 0.95em 0.9em;
  border-radius: 1.3em;
  background: var(--ios-card);
}

.ios-stat b,
.ios-stat strong,
.ios-stat small {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ios-stat b {
  font-size: 1.1em;
  font-weight: 650;
}

.ios-stat strong {
  font-size: 1.6em;
  line-height: 1.2;
  font-weight: 750;
  letter-spacing: -0.01em;
}

.ios-stat small {
  color: var(--ios-muted);
  font-size: 0.92em;
}

/* Long values shrink to fit, as the app's minimumScaleFactor does. */
.ios-stat .fit {
  font-size: 1.32em;
  line-height: 1.45;
}

.ios-stat small.fit {
  font-size: 0.8em;
  line-height: 1.44;
}

.c-pink { color: var(--ios-pink); }
.c-blue { color: var(--ios-blue); }
.c-teal { color: var(--ios-teal); }
.c-indigo { color: var(--ios-indigo); }
.c-orange { color: var(--ios-orange); }
.c-green { color: var(--ios-green); }

.ios-guide {
  display: flex;
  flex-direction: column;
  gap: 0.6em;
  margin-top: 1.1em;
  padding: 1em 1.1em;
  border-radius: 1.3em;
  background: var(--ios-card);
  font-size: 1.05em;
}

.ios-guide-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--ios-mint);
  font-weight: 650;
}

.ios-guide-head .ic {
  width: 1em;
  height: 1em;
  color: var(--ios-inactive);
}

.ios-guide-line {
  display: flex;
  align-items: flex-start;
  gap: 0.6em;
  line-height: 1.3;
  text-wrap: pretty;
}

.ios-guide-line .ic {
  width: 1.2em;
  height: 1.2em;
  margin-top: 0.05em;
  color: var(--ios-tint);
}

.ios-tabbar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  height: 8.2em;
  padding: 0.8em 1em 0;
  background: var(--ios-bar);
  border-top: 1px solid var(--ios-sep);
  color: var(--ios-inactive);
  -webkit-backdrop-filter: blur(1.2em);
  backdrop-filter: blur(1.2em);
}

.ios-tabbar span {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35em;
  font-size: 0.95em;
  font-weight: 550;
}

.ios-tabbar .ic {
  width: 2.3em;
  height: 2.3em;
}

.ios-tabbar .on {
  color: var(--ios-tint);
}

.ios-home {
  position: absolute;
  left: 50%;
  bottom: 0.8em;
  width: 13.4em;
  height: 0.5em;
  margin-left: -6.7em;
  border-radius: 1em;
  background: var(--ios-text);
}

/* —— Sections —— */

.section {
  padding: clamp(3.25rem, 2.5rem + 3.5vw, 6rem) 0;
}

.section-tint {
  background: var(--bg-tint);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-tint + .section,
.section + .section-tint {
  border-top: 0;
}

.section-head {
  max-width: 52rem;
  margin-bottom: clamp(2rem, 1.5rem + 1.5vw, 3rem);
}

.section-head .section-intro {
  max-width: 42rem;
}

.section-intro {
  color: var(--muted);
  font-size: clamp(1.0625rem, 1rem + 0.25vw, 1.175rem);
  line-height: 1.6;
  margin: 0;
}

.grid {
  display: grid;
  gap: 1rem;
}

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

  /* An odd card out spans the row, so the two-column layout never ends on a lone half-width card. */
  .grid-3 > :last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }
}

/* Two columns only: that wide card lays out as a banner, icon beside the title and text. */
@media (min-width: 640px) and (max-width: 979.98px) {
  .grid-3 > .feature:last-child:nth-child(odd) {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-rows: auto 1fr;
    column-gap: 1.1rem;
    align-items: start;
  }

  .grid-3 > .feature:last-child:nth-child(odd) .tile-icon {
    grid-row: 1 / span 2;
  }

  .grid-3 > .feature:last-child:nth-child(odd) h3 {
    margin-top: 0.15rem;
  }

  .grid-3 > .feature:last-child:nth-child(odd) p {
    max-width: 38rem;
  }
}

@media (min-width: 980px) {
  .grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .grid-3 > :last-child:nth-child(odd) {
    grid-column: auto;
  }
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.card > :last-child {
  margin-bottom: 0;
}

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

.feature h3 {
  margin-top: 1rem;
}

/* Phones: icon beside the title, so the long single column of cards stays compact. */
@media (max-width: 639.98px) {
  .feature {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    column-gap: 0.9rem;
    padding: 1.25rem;
  }

  .feature h3 {
    margin: 0;
  }

  .feature p {
    grid-column: 1 / -1;
    margin-top: 0.75rem;
  }
}

.tile-icon {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 13px;
  color: #ffffff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.tile-icon .ic {
  width: 24px;
  height: 24px;
}

/* Guidance */

.split {
  display: grid;
  gap: 2rem;
  align-items: start;
}

@media (min-width: 980px) {
  .split {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: 4rem;
  }
}

.split h2 {
  margin-bottom: 1rem;
}

.ticks {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0 1.25rem;
}

.ticks li {
  position: relative;
  padding-left: 2rem;
}

.ticks li + li {
  margin-top: 0.6rem;
}

.ticks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.2em;
  width: 1.3rem;
  height: 1.3rem;
  border-radius: 50%;
  background: var(--accent-soft);
}

.ticks li::after {
  content: "";
  position: absolute;
  left: 0.47rem;
  top: 0.42em;
  width: 0.36rem;
  height: 0.66rem;
  border: solid var(--accent);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.sources h3 {
  margin-bottom: 0.25rem;
}

.sources > p {
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.source-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.source-list li {
  display: grid;
  grid-template-columns: 8.5rem minmax(0, 1fr);
  gap: 1rem;
  align-items: baseline;
  margin: 0;
  padding: 0.7rem 0;
  border-top: 1px solid var(--border);
}

.source-list strong {
  font-weight: 650;
}

.source-list span {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.45;
}

.note {
  max-width: 48rem;
  margin: 2rem 0 0;
  font-size: 0.93rem;
  color: var(--muted);
}

/* Premium */

.pricing {
  display: grid;
  gap: 2rem;
  grid-template-areas: "head" "plans" "note";
}

.pricing-head {
  grid-area: head;
  max-width: 42rem;
}

.pricing-head .section-intro {
  margin: 0;
}

.pricing .plans {
  grid-area: plans;
}

.pricing-note {
  grid-area: note;
  margin: 0;
}

@media (min-width: 980px) {
  .pricing {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    grid-template-areas: "head plans" "note plans";
    grid-template-rows: auto 1fr;
    gap: 2rem 4rem;
    align-items: start;
  }

  .pricing .plans {
    grid-template-columns: minmax(0, 1fr);
    max-width: none;
  }
}

.plans {
  display: grid;
  gap: 1rem;
  max-width: 44rem;
}

@media (min-width: 560px) {
  .plans {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
  }
}

.plan h3 {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 0.75rem;
  font-size: 1rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 0.6rem;
}

.plan-best {
  border-color: var(--accent);
  box-shadow: inset 0 0 0 1px var(--accent), var(--shadow-sm);
}

.plan-tag {
  padding: 0.15rem 0.6rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-family: var(--font);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.plan .amount {
  margin: 0 0 0.2rem;
  color: var(--muted);
}

.plan .amount strong {
  font-family: var(--font-round);
  font-size: 2.1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-right: 0.3rem;
}

.plan .local {
  font-size: 0.95rem;
}

/* Privacy points */

.points {
  display: grid;
  gap: 1rem;
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
}

@media (min-width: 640px) {
  .points {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
  }
}

.points li {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  margin: 0;
  padding: 1.25rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
}

.points .tile-icon {
  width: 36px;
  height: 36px;
  border-radius: 11px;
  background: var(--brand);
  color: #3b2a44;
  box-shadow: none;
}

.points .tile-icon .ic {
  width: 20px;
  height: 20px;
}

/* —— Long-form pages (privacy, terms, support) —— */

.page-head {
  background: var(--hero);
  border-bottom: 1px solid var(--border);
}

.page-head .wrap {
  padding-top: clamp(2.25rem, 1.75rem + 2.5vw, 4rem);
  padding-bottom: clamp(1.75rem, 1.5rem + 1.5vw, 2.75rem);
}

.page-head h1 {
  margin-bottom: 0.5rem;
}

.page-head p {
  max-width: 44rem;
  color: var(--muted);
  font-size: 1.05rem;
  margin: 0;
}

.doc {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0 4rem;
  padding-top: 2.25rem;
  padding-bottom: 4rem;
}

@media (min-width: 1040px) {
  .doc {
    grid-template-columns: 17.5rem minmax(0, 1fr);
    gap: 0 4.5rem;
    padding-top: 3rem;
  }

  .doc > .toc {
    grid-column: 1;
    grid-row: 1 / span 2;
    align-self: start;
    position: sticky;
    top: calc(var(--header-h) + 1.75rem);
    max-height: calc(100vh - var(--header-h) - 3.5rem);
    overflow-y: auto;
  }

  .doc > .prose {
    grid-column: 2;
  }

  .doc > .doc-body {
    grid-row: 2;
  }
}

/* About 75 to 80 characters a line. (CSS 70ch is ~100 characters in the system font, too long to read.) */
.prose {
  max-width: 35rem;
  line-height: 1.7;
}

.doc-intro > :last-child {
  margin-bottom: 2.5rem;
}

.faq {
  max-width: 40rem;
}

.prose ul,
.prose ol {
  padding-left: 1.35rem;
}

.prose li::marker {
  color: var(--accent);
}

.prose h3 {
  font-size: 1.15rem;
  margin: 2rem 0 0.6rem;
}

.prose p + h3,
.prose ul + h3 {
  margin-top: 2rem;
}

/* A section heading with its permalink. */
.heading {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin: 2.25rem 0 0.9rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--border);
}

@media (min-width: 720px) {
  .heading {
    margin-top: 3rem;
    padding-top: 2.25rem;
  }
}

.heading h2 {
  font-size: clamp(1.4rem, 1.25rem + 0.6vw, 1.7rem);
  margin: 0;
  scroll-margin-top: calc(var(--header-h) + 2.5rem);
}

.doc-body > .heading:first-child,
.faq > .heading:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.anchor {
  flex: none;
  padding: 0 0.3rem;
  border-radius: 6px;
  color: var(--muted);
  font-family: var(--font-round);
  font-weight: 600;
  font-size: 1.2rem;
  text-decoration: none;
  opacity: 0;
}

.heading:hover .anchor,
.anchor:focus-visible {
  opacity: 1;
}

.anchor:hover {
  color: var(--accent);
}

@media (hover: none) {
  .anchor {
    display: none;
  }
}

.summary {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1.35rem 1.5rem 1.15rem;
  margin: 1.75rem 0 2.25rem;
  box-shadow: inset 4px 0 0 #e88aa4, var(--shadow-sm);
}

.summary h2 {
  font-size: 1.2rem;
  margin: 0 0 0.75rem;
}

.summary ul {
  margin: 0;
}

.toc {
  background: var(--bg-tint);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1.1rem 1.25rem 1rem;
  margin: 0 0 2.75rem;
  line-height: 1.45;
}

.toc h2 {
  font-family: var(--font);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 0.6rem;
}

.toc ol,
.toc ul {
  margin: 0;
  padding-left: 1.6rem;
  font-size: 0.97rem;
}

.toc ul {
  list-style: none;
  padding-left: 0;
}

.toc li + li {
  margin-top: 0.35rem;
}

.toc li::marker {
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.toc a {
  color: var(--text);
  text-decoration: none;
}

.toc a:hover {
  color: var(--link);
  text-decoration: underline;
}

/* Above the text on phones and tablets: as wide as the column it introduces. */
@media (max-width: 1039.98px) {
  .doc > .toc {
    max-width: 35rem;
  }

  .toc li + li {
    margin-top: 0;
  }

  .toc a {
    display: block;
    padding: 0.7rem 0;
    color: var(--link);
  }

  .doc:has(.faq) > .toc {
    max-width: 40rem;
  }
}

@media (min-width: 640px) and (max-width: 1039.98px) {
  .toc ol,
  .toc ul {
    columns: 2;
    column-gap: 2.5rem;
  }

  .toc li {
    break-inside: avoid;
  }
}

@media (min-width: 1040px) {
  .toc {
    background: none;
    border: 0;
    border-radius: 0;
    padding: 0 0 0 1rem;
    margin: 0;
    border-left: 2px solid var(--border);
    font-size: 0.95rem;
  }

  .toc ol {
    padding-left: 1.5rem;
  }

  .toc ol,
  .toc ul {
    font-size: 0.93rem;
  }

  .toc li + li {
    margin-top: 0.5rem;
  }

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

.updated {
  font-size: 0.97rem;
}

/* Tables: a grid on wide screens, stacked label/value pairs on phones. */

.table-wrap {
  margin: 0 0 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--surface);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.97rem;
  line-height: 1.55;
}

caption {
  text-align: left;
  padding: 0.8rem 1rem;
  font-weight: 650;
}

th,
td {
  text-align: left;
  vertical-align: top;
  padding: 0.8rem 1rem;
  border-bottom: 1px solid var(--border);
}

tbody tr:last-child > * {
  border-bottom: 0;
}

thead th {
  background: var(--bg-tint);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

tbody th {
  width: 36%;
  font-weight: 650;
}

tbody tr:nth-child(even) > * {
  background: var(--surface-2);
}

@media (max-width: 599.98px) {
  .stack thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
  }

  .stack,
  .stack tbody,
  .stack tr,
  .stack th,
  .stack td {
    display: block;
    width: auto;
  }

  .stack tr {
    padding: 0.85rem 1rem;
    border-bottom: 1px solid var(--border);
  }

  .stack tbody tr:last-child {
    border-bottom: 0;
  }

  .stack tbody tr > * {
    padding: 0;
    border: 0;
    background: none;
  }

  .stack tbody th {
    margin-bottom: 0.2rem;
  }

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

  .stack tbody tr:nth-child(even) {
    background: var(--surface-2);
  }
}

.callout {
  background: var(--accent-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1.15rem 1.35rem;
  margin: 1.75rem 0;
}

.callout > :last-child {
  margin-bottom: 0;
}

.path {
  font-weight: 650;
}

/* —— Support / FAQ —— */

.topics {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.topics li,
.toc .topics li + li {
  margin: 0;
}

.toc .topics a {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: 0.93rem;
  font-weight: 550;
}

@media (min-width: 640px) and (max-width: 1039.98px) {
  .toc .topics {
    columns: auto;
    gap: 0.5rem;
  }
}

@media (min-width: 1040px) {
  .topics {
    display: block;
  }

  .toc .topics li + li {
    margin-top: 0.5rem;
  }

  .toc .topics a {
    display: inline;
    padding: 0;
    border: 0;
    background: none;
    font-size: 0.93rem;
    font-weight: 400;
  }
}

.faq details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin: 0 0 0.65rem;
  box-shadow: var(--shadow-sm);
}

.faq details[open] {
  border-color: var(--border-strong);
}

.faq summary {
  position: relative;
  display: block;
  padding: 1rem 3.5rem 1rem 1.2rem;
  font-weight: 650;
  line-height: 1.4;
  cursor: pointer;
  list-style: none;
  border-radius: var(--radius-sm);
}

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

.faq summary:hover {
  color: var(--accent);
}

.faq summary::before {
  content: "";
  position: absolute;
  right: 1rem;
  top: 50%;
  width: 1.75rem;
  height: 1.75rem;
  margin-top: -0.875rem;
  border-radius: 50%;
  background: var(--accent-soft);
}

.faq summary::after {
  content: "";
  position: absolute;
  right: 1.62rem;
  top: 50%;
  width: 0.5rem;
  height: 0.5rem;
  margin-top: -0.38rem;
  border: solid var(--accent);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.faq details[open] summary::after {
  margin-top: -0.1rem;
  transform: rotate(-135deg);
}

@media (prefers-reduced-motion: no-preference) {
  .faq summary::after {
    transition: transform 0.15s ease;
  }
}

.faq details[open] summary {
  border-bottom: 1px solid var(--border);
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
}

.faq .answer {
  padding: 1rem 1.25rem 0.1rem;
}

.contact-card {
  margin-top: 3rem;
  padding: 1.5rem;
  border-radius: var(--radius);
  background: var(--bg-tint);
  border: 1px solid var(--border);
}

.contact-card h2 {
  font-size: 1.4rem;
}

.contact-card > :last-child {
  margin-bottom: 0;
}

/* —— 404 —— */

.not-found {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: clamp(3rem, 2rem + 6vw, 7rem);
  padding-bottom: clamp(3rem, 2rem + 6vw, 7rem);
}

.not-found img {
  width: 88px;
  height: 88px;
  border-radius: 20px;
  box-shadow: var(--shadow);
  margin-bottom: 1.5rem;
}

.not-found p:not(.eyebrow) {
  max-width: 34rem;
  color: var(--muted);
  text-wrap: balance;
}

.not-found .links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
}

.not-found .links li {
  margin: 0;
}

/* —— Footer —— */

.site-footer {
  border-top: 1px solid var(--border);
  background: var(--bg-tint);
  color: var(--muted);
  font-size: 0.95rem;
}

.footer-top {
  display: grid;
  gap: 1.5rem 3rem;
  padding-top: 2.5rem;
  padding-bottom: 2rem;
}

@media (min-width: 720px) {
  .footer-top {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
  }
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0 0 0.75rem;
  color: var(--text);
  font-family: var(--font-round);
  font-weight: 750;
  font-size: 1.1rem;
}

.footer-brand img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.site-footer p {
  margin: 0 0 0.35rem;
}

.site-footer ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer li + li {
  margin-top: 0;
}

.site-footer a {
  color: var(--text);
}

.site-footer a:hover {
  color: var(--accent);
}

.footer-nav a {
  display: inline-block;
  padding: 0.2rem 0;
  font-weight: 550;
  text-decoration: none;
}

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

/* Phones: footer links get ~44 px tap targets. */
@media (max-width: 719.98px) {
  .footer-nav ul {
    row-gap: 0;
  }

  .footer-nav a {
    padding: 0.6rem 0;
  }
}

.footer-legal {
  padding-bottom: 2rem;
  font-size: 0.88rem;
}

.footer-legal p {
  margin: 0;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
}

/* —— Print —— */

@media print {
  .site-header,
  .site-footer,
  .skip,
  .toc,
  .anchor {
    display: none;
  }

  body {
    background: #ffffff;
    color: #000000;
  }

  .page-head,
  .hero {
    background: none;
  }

  .doc {
    display: block;
  }

  .faq details {
    box-shadow: none;
  }
}
