/* appcroft.com — the home page. Static, served by Caddy from infra/site.
   One stylesheet, no script: the site's CSP allows neither inline styles nor
   inline code, so the pricing switch and the hero's slideshow are pure CSS. */

@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/fonts/geist-latin-wght-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: 'Geist';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/fonts/geist-latin-ext-wght-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;
}

/* ─────────────────────────────── tokens ─────────────────────────────── */

:root {
  color-scheme: light dark;
  --bg: #faf8f5;
  --bg-2: #f3eee7;
  --surface: #ffffff;
  --ink: #17130f;
  --ink-2: #4b433c;
  --ink-3: #7a7068;
  --line: #e8e1d8;
  --line-2: #d9cfc3;
  --accent: #8b5a34;
  --accent-ink: #6f4524;
  --accent-soft: #f2e8dc;
  --btn: #17130f;
  --btn-ink: #ffffff;
  --btn-hover: #2e2620;
  --band: #17130f;
  --band-ink: #faf8f5;
  --band-ink-2: #c9bfb4;
  --shadow-sm: 0 1px 2px rgb(23 19 15 / 0.06), 0 1px 1px rgb(23 19 15 / 0.04);
  --shadow: 0 1px 2px rgb(23 19 15 / 0.05), 0 12px 32px -12px rgb(23 19 15 / 0.18);
  --shadow-lg: 0 2px 4px rgb(23 19 15 / 0.04), 0 30px 60px -20px rgb(23 19 15 / 0.28);
  --radius: 18px;
  --radius-sm: 12px;
  --gutter: 20px;
  --maxw: 1200px;
  --font: 'Geist', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #100e0c;
    --bg-2: #17140f;
    --surface: #1b1814;
    --ink: #f4efe9;
    --ink-2: #c4bab0;
    --ink-3: #91877d;
    --line: #2b2620;
    --line-2: #3a332b;
    --accent: #d6a77d;
    --accent-ink: #e6bf9a;
    --accent-soft: #261e17;
    --btn: #f4efe9;
    --btn-ink: #17130f;
    --btn-hover: #ffffff;
    --band: #1d1915;
    --band-ink: #f4efe9;
    --band-ink-2: #b3a99f;
    --shadow-sm: 0 1px 2px rgb(0 0 0 / 0.4);
    --shadow: 0 1px 2px rgb(0 0 0 / 0.4), 0 12px 32px -12px rgb(0 0 0 / 0.6);
    --shadow-lg: 0 2px 4px rgb(0 0 0 / 0.3), 0 30px 60px -20px rgb(0 0 0 / 0.75);
  }
}

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

/* ─────────────────────────────── base ─────────────────────────────── */

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  overflow-x: hidden;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: inherit;
}
h1,
h2,
h3 {
  margin: 0;
  font-weight: 650;
  letter-spacing: -0.03em;
  line-height: 1.08;
  text-wrap: balance;
}
p {
  margin: 0;
  text-wrap: pretty;
}
ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}
figure {
  margin: 0;
}
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

.wrap {
  width: 100%;
  max-width: calc(var(--maxw) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--btn);
  color: var(--btn-ink);
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
}
.skip:focus {
  top: 12px;
}

/* ─────────────────────────────── buttons ─────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font: inherit;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.005em;
  text-decoration: none;
  white-space: nowrap;
  transition:
    background-color 0.18s ease,
    border-color 0.18s ease,
    transform 0.18s ease,
    box-shadow 0.18s ease;
}
.btn:active {
  transform: translateY(1px);
}
.btn--sm {
  min-height: 38px;
  padding: 0 16px;
  font-size: 14px;
}
.btn--lg {
  min-height: 52px;
  padding: 0 26px;
  font-size: 16px;
}
.btn--block {
  width: 100%;
}
.btn--dark {
  background: var(--btn);
  color: var(--btn-ink);
  box-shadow: var(--shadow-sm);
}
.btn--dark:hover {
  background: var(--btn-hover);
  box-shadow: var(--shadow);
}
.btn--ghost {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--line-2);
}
.btn--ghost:hover {
  border-color: var(--ink-3);
}
.btn--light {
  background: var(--band-ink);
  color: var(--band);
}
.btn--light:hover {
  background: #ffffff;
}
.btn__icon {
  width: 19px;
  height: 19px;
  flex: none;
}

/* ─────────────────────────────── nav ─────────────────────────────── */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
}
.nav__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 64px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 650;
  font-size: 17px;
  letter-spacing: -0.02em;
  text-decoration: none;
}
.brand__mark {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: var(--btn);
  color: var(--btn-ink);
}
.brand__mark svg {
  width: 16px;
  height: 16px;
}
.nav__links {
  display: none;
  gap: 28px;
  margin-left: auto;
  font-size: 15px;
  color: var(--ink-2);
}
.nav__links a {
  text-decoration: none;
  transition: color 0.15s ease;
}
.nav__links a:hover {
  color: var(--ink);
}
.nav .btn {
  margin-left: auto;
}
@media (min-width: 900px) {
  .nav__links {
    display: flex;
  }
  .nav .btn {
    margin-left: 8px;
  }
}

/* ─────────────────────────────── hero ─────────────────────────────── */

.hero {
  position: relative;
  padding: 40px 0 72px;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: -20% -10% auto auto;
  width: 900px;
  height: 900px;
  background: radial-gradient(closest-side, var(--accent-soft), transparent 70%);
  pointer-events: none;
}
.hero__grid {
  position: relative;
  display: grid;
  gap: 44px;
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px 6px 10px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: var(--surface);
  font-size: 13.5px;
  font-weight: 550;
  color: var(--ink-2);
}
.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2f9e5b;
  box-shadow: 0 0 0 3px rgb(47 158 91 / 0.18);
}
.hero h1 {
  margin-top: 20px;
  font-size: clamp(2.5rem, 8.4vw, 4.6rem);
  line-height: 1;
  letter-spacing: -0.045em;
}
.lede {
  margin-top: 20px;
  max-width: 34rem;
  font-size: clamp(1.06rem, 2.4vw, 1.25rem);
  line-height: 1.55;
  color: var(--ink-2);
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}
.hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-top: 26px;
  font-size: 14px;
  color: var(--ink-3);
}
.hero__facts li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.hero__facts li::before {
  content: '';
  width: 16px;
  height: 16px;
  flex: none;
  background: var(--accent);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E")
    center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E")
    center / contain no-repeat;
}
@media (max-width: 479px) {
  .hero__actions .btn {
    width: 100%;
  }
}

/* The stage: her photo, an arrow, and the result cycling through five looks. */
.stage {
  position: relative;
  width: 100%;
  max-width: 520px;
  margin-inline: auto;
  padding: 0 0 0 26%;
}
.stage__result {
  position: relative;
  border-radius: 24px;
  background: #e9e7e4;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  isolation: isolate;
}
.stage__frames {
  position: relative;
  aspect-ratio: 900 / 1205;
}
.frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.frame--2,
.frame--3,
.frame--4,
.frame--5 {
  opacity: 0;
  animation: look 20s infinite both;
}
.frame--2 {
  animation-delay: 4s;
}
.frame--3 {
  animation-delay: 8s;
}
.frame--4 {
  animation-delay: 12s;
}
.frame--5 {
  animation-delay: 16s;
}
@keyframes look {
  0% {
    opacity: 0;
  }
  4% {
    opacity: 1;
  }
  20% {
    opacity: 1;
  }
  24% {
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .frame--2,
  .frame--3,
  .frame--4,
  .frame--5 {
    display: none;
  }
}
.stage__bar {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 8px 8px 14px;
  border-radius: 999px;
  background: rgb(255 255 255 / 0.86);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 6px 20px -8px rgb(0 0 0 / 0.25);
  color: #17130f;
  font-size: 13px;
  font-weight: 600;
}
.stage__status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2f9e5b;
  animation: pulse 2s ease-out infinite;
}
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgb(47 158 91 / 0.45);
  }
  100% {
    box-shadow: 0 0 0 9px rgb(47 158 91 / 0);
  }
}
.stage__cart {
  padding: 8px 14px;
  border-radius: 999px;
  background: #17130f;
  color: #ffffff;
}
.stage__photo {
  position: absolute;
  left: 0;
  bottom: 9%;
  z-index: 2;
  width: 34%;
  padding: 6px;
  border-radius: 18px;
  background: var(--surface);
  box-shadow: var(--shadow-lg);
  transform: rotate(-4deg);
}
.stage__photo img {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  border-radius: 13px;
  background: #ffffff;
}
.stage__photo figcaption {
  padding: 8px 4px 2px;
  font-size: 12.5px;
  font-weight: 600;
  text-align: center;
  color: var(--ink-2);
}
.stage__arrow {
  position: absolute;
  z-index: 3;
  left: 28%;
  bottom: 38%;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--btn);
  color: var(--btn-ink);
  box-shadow: var(--shadow);
}
.stage__arrow svg {
  width: 18px;
  height: 18px;
}
@media (min-width: 960px) {
  .hero {
    padding: 64px 0 96px;
  }
  .hero__grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 56px;
  }
  .stage {
    margin-right: 0;
  }
}

/* ─────────────────────────────── sections ─────────────────────────────── */

section {
  position: relative;
}
.looks,
.how,
.stylist,
.features,
.insights,
.pricing,
.faq {
  padding: 72px 0;
}
@media (min-width: 960px) {
  .looks,
  .how,
  .stylist,
  .features,
  .insights,
  .pricing,
  .faq {
    padding: 112px 0;
  }
}
.how,
.features,
.faq {
  background: var(--bg-2);
}
.section-head {
  max-width: 44rem;
}
.section-head--center {
  margin-inline: auto;
  text-align: center;
}
.kicker {
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}
h2 {
  margin-top: 12px;
  font-size: clamp(2rem, 5vw, 3.1rem);
  letter-spacing: -0.04em;
}
.section-lede {
  margin-top: 16px;
  font-size: clamp(1.02rem, 2vw, 1.15rem);
  color: var(--ink-2);
}

/* ─────────────────────────────── looks rail ─────────────────────────────── */

.rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(200px, 58vw);
  gap: 14px;
  margin-top: 40px;
  padding: 4px var(--gutter) 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gutter);
  scrollbar-width: thin;
  overscroll-behavior-x: contain;
}
.look {
  scroll-snap-align: start;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.look img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  background: #e9e7e4;
}
.look--source img {
  background: #ffffff;
  object-position: center 30%;
}
.look figcaption {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 12px 14px 14px;
  font-size: 13.5px;
  color: var(--ink-3);
  line-height: 1.35;
}
.look figcaption strong {
  color: var(--ink);
  font-weight: 600;
  font-size: 14.5px;
}
.look--source {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
@media (min-width: 720px) {
  .rail {
    grid-auto-columns: minmax(200px, 30vw);
  }
}
@media (min-width: 1100px) {
  .rail {
    grid-auto-flow: row;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    max-width: calc(var(--maxw) + var(--gutter) * 2);
    margin-inline: auto;
    overflow: visible;
  }
}

/* ─────────────────────────────── steps ─────────────────────────────── */

.steps {
  display: grid;
  gap: 14px;
  margin-top: 40px;
  counter-reset: step;
}
.step {
  padding: 26px 24px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
}
.step__n {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent-ink);
  font-weight: 700;
  font-size: 15px;
}
.step h3 {
  margin-top: 18px;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}
.step p {
  margin-top: 8px;
  font-size: 15.5px;
  color: var(--ink-2);
}
@media (min-width: 820px) {
  .steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
  }
}

/* ─────────────────────────────── devices ─────────────────────────────── */

.device {
  overflow: hidden;
  background: var(--surface);
  box-shadow: var(--shadow-lg);
}
.device--desktop {
  border-radius: 14px;
  border: 1px solid var(--line);
}
.device__chrome {
  display: flex;
  gap: 6px;
  padding: 10px 12px;
  background: var(--bg-2);
  border-bottom: 1px solid var(--line);
}
.device__chrome i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--line-2);
}
.device--phone {
  border-radius: 30px;
  border: 6px solid #17130f;
  background: #17130f;
}
.device--phone img {
  border-radius: 24px;
}

.showcase {
  position: relative;
  margin-top: 48px;
  padding-right: 12%;
  padding-bottom: 8%;
}
.showcase .device--phone {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 30%;
}
@media (min-width: 1100px) {
  .showcase {
    max-width: 1040px;
    margin: 64px auto 0;
    padding-right: 200px;
    padding-bottom: 48px;
  }
  .showcase .device--phone {
    width: 250px;
  }
}

/* ─────────────────────────────── split sections ─────────────────────────────── */

.split {
  display: grid;
  gap: 48px;
  align-items: center;
}
.split__media {
  position: relative;
}
.checks {
  display: grid;
  gap: 16px;
  margin-top: 28px;
}
.checks li {
  position: relative;
  padding-left: 34px;
  color: var(--ink-2);
  font-size: 16px;
}
.checks li strong {
  color: var(--ink);
  font-weight: 600;
}
.checks li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 2px;
  width: 22px;
  height: 22px;
  border-radius: 7px;
  background: var(--accent-soft)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238b5a34' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4L18 8.5'/%3E%3C/svg%3E")
    center / 15px no-repeat;
}
.split__media .device--float {
  position: absolute;
  left: -2%;
  bottom: -12%;
  width: 34%;
}
.split__media {
  padding-bottom: 14%;
}
@media (min-width: 960px) {
  .split {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 72px;
  }
  .split--reverse .split__copy {
    order: 2;
  }
  .split--reverse {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  }
  .split__media .device--float {
    left: -32px;
    width: 210px;
  }
  .split__media {
    padding-bottom: 60px;
  }
  .insights .split__media {
    padding-bottom: 0;
  }
}
.insights .split__media {
  padding-bottom: 0;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 28px;
}
.stats li {
  padding: 16px;
  border-radius: var(--radius-sm);
  background: var(--surface);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
}
.stats strong {
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}
.stats span {
  font-size: 13.5px;
  color: var(--ink-3);
}

/* ─────────────────────────────── feature cards ─────────────────────────────── */

.cards {
  display: grid;
  gap: 14px;
  margin-top: 40px;
}
.card {
  padding: 26px 24px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}
.card:hover {
  border-color: var(--line-2);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.card__icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent-ink);
}
.card__icon svg {
  width: 22px;
  height: 22px;
}
.card h3 {
  margin-top: 18px;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}
.card p {
  margin-top: 8px;
  font-size: 15.5px;
  color: var(--ink-2);
}
@media (min-width: 640px) {
  .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1000px) {
  .cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
  }
}

/* ─────────────────────────────── pricing ─────────────────────────────── */

.billing__input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.billing {
  display: flex;
  width: max-content;
  margin: 32px auto 0;
  padding: 4px;
  border-radius: 999px;
  background: var(--bg-2);
  border: 1px solid var(--line);
}
.billing label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 18px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-3);
  cursor: pointer;
  transition:
    background-color 0.18s ease,
    color 0.18s ease;
}
.save {
  padding: 2px 7px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-ink);
  font-size: 12px;
}
#billing-monthly:checked ~ .billing label[for='billing-monthly'],
#billing-yearly:checked ~ .billing label[for='billing-yearly'] {
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}
#billing-monthly:focus-visible ~ .billing label[for='billing-monthly'],
#billing-yearly:focus-visible ~ .billing label[for='billing-yearly'] {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.plan .plan__price--y,
.plan .plan__list .y {
  display: none;
}
#billing-yearly:checked ~ .plans .plan__price--y,
#billing-yearly:checked ~ .plans .plan__list .y {
  display: flex;
}
#billing-yearly:checked ~ .plans .plan__list .y {
  display: inline;
}
#billing-yearly:checked ~ .plans .plan__price--m,
#billing-yearly:checked ~ .plans .plan__list .m {
  display: none;
}

.plans {
  display: grid;
  gap: 14px;
  margin-top: 32px;
  align-items: start;
}
.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 28px 24px 24px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
}
.plan--featured {
  border-color: var(--ink);
  box-shadow: var(--shadow-lg);
}
.plan__tag {
  position: absolute;
  top: -12px;
  left: 24px;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--btn);
  color: var(--btn-ink);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.02em;
}
.plan h3 {
  font-size: 1.3rem;
  letter-spacing: -0.02em;
}
.plan__for {
  margin-top: 4px;
  font-size: 14.5px;
  color: var(--ink-3);
}
.plan__price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 8px;
  margin-top: 20px;
  min-height: 3.6rem;
}
.amount {
  font-size: 2.4rem;
  font-weight: 650;
  letter-spacing: -0.04em;
  line-height: 1;
}
.per {
  font-size: 14px;
  color: var(--ink-3);
  line-height: 1.35;
}
.plan__list {
  display: grid;
  gap: 10px;
  margin: 22px 0 26px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 15px;
  color: var(--ink-2);
}
.plan__list li {
  position: relative;
  padding-left: 26px;
}
.plan__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 4px;
  width: 16px;
  height: 16px;
  background: var(--accent);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E")
    center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E")
    center / contain no-repeat;
}
.plan .btn {
  margin-top: auto;
}
.packs {
  margin-top: 28px;
  text-align: center;
  font-size: 15px;
  color: var(--ink-3);
}
.packs strong {
  color: var(--ink);
  font-weight: 600;
}
@media (min-width: 640px) {
  .plans {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }
}
@media (min-width: 1100px) {
  .plans {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* ─────────────────────────────── FAQ ─────────────────────────────── */

.faq__grid {
  display: grid;
  gap: 36px;
}
.addr {
  color: var(--ink);
  font-weight: 600;
  white-space: nowrap;
}
.qa {
  border-top: 1px solid var(--line-2);
}
.qa details {
  border-bottom: 1px solid var(--line-2);
}
.qa summary {
  position: relative;
  display: block;
  padding: 22px 44px 22px 0;
  font-size: 1.08rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  cursor: pointer;
  list-style: none;
}
.qa summary::-webkit-details-marker {
  display: none;
}
.qa summary::after {
  content: '';
  position: absolute;
  right: 4px;
  top: 50%;
  width: 22px;
  height: 22px;
  margin-top: -11px;
  background: var(--ink-3);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E")
    center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E")
    center / contain no-repeat;
  transition: transform 0.2s ease;
}
.qa details[open] summary::after {
  transform: rotate(45deg);
}
.qa details p {
  padding: 0 44px 24px 0;
  color: var(--ink-2);
  font-size: 16px;
}
.qa a {
  color: var(--ink);
  text-underline-offset: 3px;
}
@media (min-width: 960px) {
  .faq__grid {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: 72px;
    align-items: start;
  }
  .faq .section-head {
    position: sticky;
    top: 104px;
  }
}

/* ─────────────────────────────── final CTA ─────────────────────────────── */

.cta {
  padding: 0 0 72px;
}
.faq + .cta {
  padding-top: 72px;
}
.cta__inner {
  display: grid;
  gap: 28px;
  align-items: center;
}
.cta__inner > div,
.cta__inner > .btn {
  position: relative;
}
.cta__inner {
  position: relative;
  padding: 44px 28px;
  border-radius: 28px;
  background: var(--band);
  color: var(--band-ink);
  overflow: hidden;
}
.cta__inner::before {
  content: '';
  position: absolute;
  inset: auto -20% -60% auto;
  width: 640px;
  height: 640px;
  background: radial-gradient(closest-side, rgb(214 167 125 / 0.32), transparent 70%);
  pointer-events: none;
}
.cta h2 {
  margin: 0;
  font-size: clamp(1.9rem, 4.6vw, 2.9rem);
}
.cta p {
  margin-top: 10px;
  color: var(--band-ink-2);
}
@media (min-width: 900px) {
  .cta {
    padding-bottom: 112px;
  }
  .faq + .cta {
    padding-top: 112px;
  }
  .cta__inner {
    grid-template-columns: 1fr auto;
    padding: 64px 64px;
  }
}
@media (max-width: 479px) {
  .cta__inner {
    padding: 36px 22px;
  }
  .cta .btn {
    width: 100%;
    padding: 0 16px;
    font-size: 15px;
  }
}

/* ─────────────────────────────── footer ─────────────────────────────── */

.foot {
  border-top: 1px solid var(--line);
  padding: 32px 0 calc(32px + env(safe-area-inset-bottom));
}
.foot__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 28px;
}
.brand--small {
  font-size: 15px;
}
.brand--small .brand__mark {
  width: 26px;
  height: 26px;
  border-radius: 8px;
}
.foot__links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  font-size: 14.5px;
  color: var(--ink-2);
}
.foot__links a {
  text-decoration: none;
}
.foot__links a:hover {
  color: var(--ink);
}
.foot__by {
  margin-left: auto;
  font-size: 14px;
  color: var(--ink-3);
}
.foot__by a {
  color: inherit;
}
@media (max-width: 719px) {
  .foot__by {
    margin-left: 0;
    width: 100%;
  }
}

/* ─────────────────────────────── small screens ─────────────────────────────── */

/* A phone shows the phone screenshots, large enough to read; a desktop
   screenshot shrunk to 350px is a grey rectangle with crumbs of text. */
.device--solo {
  display: none;
}
@media (max-width: 719px) {
  .hero {
    padding: 28px 0 40px;
  }
  .looks {
    padding-top: 56px;
  }
  .showcase .device--desktop,
  .split__media .device--desktop {
    display: none;
  }
  .showcase {
    padding: 0;
    margin-top: 36px;
  }
  .split__media,
  .insights .split__media {
    padding: 0;
    margin-top: 0;
  }
  .showcase .device--phone,
  .split__media .device--phone {
    position: static;
    display: block;
    width: 74%;
    max-width: 300px;
    margin-inline: auto;
  }
  .device--solo {
    display: block;
  }
  .stats {
    gap: 8px;
  }
  .stats li {
    padding: 12px;
  }
}
