/* SkillPeck website. Always the light rose brand look, like the app's welcome screen. Colours from docs/brand/README.md. */

@font-face {
  font-family: 'Jakarta';
  src: url('fonts/plus-jakarta-sans-latin-wght-normal.woff2') format('woff2-variations');
  font-weight: 200 800;
  font-display: swap;
}

:root {
  color-scheme: light;
  --rose: #ae4557;
  --rose-deep: #8e3445;
  --rose-soft: #f9eaec;
  --gold: #dda644;
  --yellow: #f5b700;
  --yellow-soft: #fff4d1;
  --green: #4e7d5b;
  --green-soft: #e9f2eb;
  --navy: #20243a;
  --muted: #5d6174;
  --cream: #fcf8f3;
  --card: #ffffff;
  --line: #ece5de;
  --radius: 22px;
  --shadow: 0 1px 2px rgba(32, 36, 58, 0.04), 0 12px 32px -12px rgba(32, 36, 58, 0.18);
  --shadow-lg: 0 2px 4px rgba(32, 36, 58, 0.05), 0 30px 60px -20px rgba(32, 36, 58, 0.28);
  --max: 1180px;
  --gutter: clamp(16px, 4vw, 32px);
  --font: 'Jakarta', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

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

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

body {
  margin: 0;
  background: var(--cream);
  color: var(--navy);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

[hidden] {
  display: none !important;
}

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

a {
  color: var(--rose);
  text-underline-offset: 3px;
}

h1,
h2,
h3 {
  line-height: 1.12;
  letter-spacing: -0.025em;
  margin: 0;
}

p {
  margin: 0;
}

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

.skip {
  position: absolute;
  left: -9999px;
}

.skip:focus {
  left: 16px;
  top: 16px;
  z-index: 100;
  background: var(--navy);
  color: #fff;
  padding: 8px 14px;
  border-radius: 10px;
}

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

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(252, 248, 243, 0.78);
  backdrop-filter: saturate(160%) blur(16px);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.site-header.scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 8px 24px -18px rgba(32, 36, 58, 0.35);
}

.nav {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  margin-right: auto;
}

.brand img {
  width: 36px;
  height: 36px;
}

.wordmark {
  font-size: 23px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--yellow);
}

.wordmark b {
  color: var(--rose);
  font-weight: 800;
}

.nav-links {
  display: flex;
  gap: 26px;
}

.nav-links a {
  color: var(--navy);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  opacity: 0.8;
}

.nav-links a:hover {
  opacity: 1;
  color: var(--rose);
}

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  cursor: pointer;
  color: var(--navy);
}

.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  display: block;
  width: 22px;
  height: 2px;
  margin: 0 auto;
  background: currentColor;
  border-radius: 2px;
  position: relative;
  transition: transform 0.25s;
}

.menu-toggle span::before,
.menu-toggle span::after {
  content: '';
  position: absolute;
}

.menu-toggle span::before {
  top: -7px;
}

.menu-toggle span::after {
  top: 7px;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font: inherit;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
  white-space: nowrap;
}

.btn-primary {
  background: var(--rose);
  color: #fff;
  box-shadow: 0 10px 24px -10px rgba(174, 69, 87, 0.75);
}

.btn-primary:hover {
  background: var(--rose-deep);
  transform: translateY(-2px);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.7);
  color: var(--navy);
  border: 1px solid var(--line);
}

.btn-ghost:hover {
  background: #fff;
  transform: translateY(-2px);
}

.btn-small {
  min-height: 42px;
  padding: 0 18px;
  font-size: 15px;
}

.btn svg {
  width: 18px;
  height: 18px;
}

/* Store buttons: our own style while the apps are "Coming soon"; swap in the official badges with the store links. */
.stores {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.store {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 190px;
  min-height: 58px;
  padding: 8px 20px 8px 16px;
  border-radius: 16px;
  background: var(--navy);
  color: #fff;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 12px 26px -14px rgba(32, 36, 58, 0.8);
}

a.store:hover {
  transform: translateY(-2px);
}

.store svg {
  width: 26px;
  height: 26px;
  flex: none;
}

.store small {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  opacity: 0.72;
  line-height: 1.2;
}

.store strong {
  display: block;
  font-size: 18px;
  line-height: 1.2;
}

.store.soon {
  background: rgba(32, 36, 58, 0.86);
  cursor: default;
}

.store.soon small {
  color: var(--yellow);
  opacity: 1;
}

/* ---------- Hero ---------- */

.hero,
.page-hero {
  overflow-x: clip;
}

.hero {
  position: relative;
  padding: clamp(40px, 7vw, 88px) 0 clamp(56px, 8vw, 104px);
  isolation: isolate;
}

.glow {
  position: absolute;
  inset: -10% -20% auto;
  height: 900px;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(40% 45% at 18% 30%, rgba(174, 69, 87, 0.16), transparent 70%),
    radial-gradient(35% 40% at 80% 20%, rgba(245, 183, 0, 0.18), transparent 70%),
    radial-gradient(35% 45% at 70% 75%, rgba(78, 125, 91, 0.12), transparent 70%);
  animation: drift 18s ease-in-out infinite alternate;
}

@keyframes drift {
  to {
    transform: translate3d(2%, 3%, 0) scale(1.05);
  }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px 7px 8px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  box-shadow: var(--shadow);
}

.chip i {
  font-style: normal;
  display: inline-grid;
  place-items: center;
  height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--rose-soft);
  color: var(--rose);
  font-size: 12px;
  letter-spacing: 0.02em;
}

.hero h1 {
  margin: 22px 0 20px;
  font-size: clamp(42px, 6.6vw, 78px);
  font-weight: 800;
  letter-spacing: -0.04em;
}

.hero h1 span {
  display: block;
}

.gradient-text {
  background: linear-gradient(100deg, var(--rose) 10%, #d0703c 55%, var(--gold) 95%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  font-size: clamp(18px, 2vw, 21px);
  color: var(--muted);
  max-width: 34em;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 32px;
}

.hero-actions .web-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  text-decoration: none;
}

.hero-actions .web-link:hover {
  text-decoration: underline;
}

.hero-note {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-top: 28px;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
}

.hero-note span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hero-note span::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
}

/* Photo collage with floating cards */
.collage {
  position: relative;
  min-height: 560px;
}

.collage .photo {
  position: absolute;
}

.collage .p1 {
  inset: 0 22% 18% 0;
  transform: rotate(-2.5deg);
}

.collage .p2 {
  inset: 34% 0 0 38%;
  transform: rotate(3deg);
  border: 6px solid #fff;
}

.float {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 18px;
  box-shadow: var(--shadow-lg);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
  animation: bob 6s ease-in-out infinite;
}

.float small {
  display: block;
  font-weight: 600;
  color: var(--muted);
  font-size: 12px;
}

.float .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #2e9e5b;
  box-shadow: 0 0 0 4px rgba(46, 158, 91, 0.18);
  flex: none;
}

.float .ico {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  flex: none;
}

.tint-ico-rose {
  background: var(--rose-soft);
  color: var(--rose);
}

.tint-ico-green {
  background: var(--green-soft);
  color: var(--green);
}

.mt {
  margin-top: 16px;
}

.float .ico svg {
  width: 20px;
  height: 20px;
}

.f1 {
  top: 6%;
  right: 4%;
}

.f2 {
  top: 47%;
  left: -4%;
  animation-delay: -2s;
}

.f3 {
  bottom: 4%;
  left: 14%;
  animation-delay: -4s;
}

@keyframes bob {
  50% {
    transform: translateY(-10px);
  }
}

/* A photo, or the illustration behind it until the photo file exists. */
.photo {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 28px;
  background: var(--rose-soft);
  box-shadow: var(--shadow-lg);
  isolation: isolate;
}

.photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.photo .art {
  display: none;
}

.photo.empty img {
  display: none;
}

.photo.empty .art {
  display: grid;
  place-items: center;
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 60% at 30% 20%, rgba(255, 255, 255, 0.65), transparent 70%),
    linear-gradient(135deg, var(--tint-a, var(--rose-soft)), var(--tint-b, #fde3d6));
  color: var(--tint-ink, var(--rose));
}

.photo.empty .art svg {
  width: 38%;
  max-width: 140px;
  height: auto;
  opacity: 0.9;
}

.tint-green {
  --tint-a: var(--green-soft);
  --tint-b: #d7e9dc;
  --tint-ink: var(--green);
}

.tint-yellow {
  --tint-a: var(--yellow-soft);
  --tint-b: #ffe6a6;
  --tint-ink: #9a6b00;
}

.tint-navy {
  --tint-a: #e6e7f0;
  --tint-b: #d3d5e6;
  --tint-ink: var(--navy);
}

/* ---------- Marquee ---------- */

.marquee {
  border-block: 1px solid var(--line);
  background: #fff;
  overflow: hidden;
  padding: 18px 0;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.marquee-track {
  display: flex;
  gap: 14px;
  width: max-content;
  animation: scroll 48s linear infinite;
}

.marquee:hover .marquee-track {
  animation-play-state: paused;
}

.marquee-track span {
  padding: 8px 18px;
  border-radius: 999px;
  background: var(--cream);
  border: 1px solid var(--line);
  font-weight: 700;
  font-size: 15px;
  white-space: nowrap;
}

.marquee-track span:nth-child(3n + 1) {
  background: var(--rose-soft);
  border-color: transparent;
  color: var(--rose-deep);
}

.marquee-track span:nth-child(3n + 2) {
  background: var(--green-soft);
  border-color: transparent;
  color: #3a6146;
}

@keyframes scroll {
  to {
    transform: translateX(-50%);
  }
}

/* ---------- Sections ---------- */

.section {
  padding: clamp(64px, 8vw, 104px) 0;
}

#skills,
#faq {
  padding-top: 0;
}

.section-head {
  max-width: 760px;
  margin-bottom: clamp(36px, 5vw, 56px);
}

.section-head.center {
  margin-inline: auto;
  text-align: center;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rose);
}

.section h2 {
  font-size: clamp(32px, 4.6vw, 54px);
  font-weight: 800;
}

.section-head p {
  margin-top: 18px;
  font-size: 19px;
  color: var(--muted);
}

/* What is SkillPeck: three promises */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.pillar {
  position: relative;
  padding: 32px 28px;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.pillar .num {
  position: absolute;
  right: 18px;
  top: 6px;
  font-size: 96px;
  font-weight: 800;
  line-height: 1;
  color: var(--cream);
  z-index: 0;
}

.pillar > * {
  position: relative;
}

.pillar h3 {
  font-size: 26px;
  margin: 18px 0 10px;
}

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

.badge-ico {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: var(--rose-soft);
  color: var(--rose);
}

.badge-ico svg {
  width: 28px;
  height: 28px;
}

.badge-ico.green {
  background: var(--green-soft);
  color: var(--green);
}

.badge-ico.yellow {
  background: var(--yellow-soft);
  color: #9a6b00;
}

/* Ask, Advise, Earn strip */
.aae {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 28px;
  border-radius: var(--radius);
  background: var(--navy);
  color: #fff;
  overflow: hidden;
}

.aae > div {
  padding: 28px;
  position: relative;
}

.aae > div + div {
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.aae strong {
  display: block;
  font-size: 30px;
  letter-spacing: -0.03em;
}

.aae > div:nth-child(1) strong {
  color: #f3a0ae;
}

.aae > div:nth-child(2) strong {
  color: #9ed3ad;
}

.aae > div:nth-child(3) strong {
  color: var(--yellow);
}

.aae p {
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.78);
}

/* Bento grid of skills */
.bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 230px;
  gap: 18px;
}

.tile {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.tile .photo {
  position: absolute;
  inset: 0;
  border-radius: 0;
  box-shadow: none;
}

.tile:hover .photo img {
  transform: scale(1.06);
}

.tile .label {
  position: absolute;
  inset: auto 0 0;
  padding: 60px 20px 18px;
  color: #fff;
  background: linear-gradient(transparent, rgba(20, 22, 36, 0.82));
}

.tile .photo.empty .art {
  padding-bottom: 64px;
}

.tile .photo.empty .art svg {
  width: 30%;
}

.tile .photo.empty + .label {
  color: var(--navy);
  background: none;
}

.tile .label strong {
  display: block;
  font-size: 20px;
  letter-spacing: -0.02em;
}

.tile .label span {
  font-size: 14px;
  opacity: 0.85;
}

.tile.wide {
  grid-column: span 2;
}

.tile.tall {
  grid-row: span 2;
}

/* How it works */
.tabs {
  display: inline-flex;
  padding: 6px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  margin-bottom: 36px;
}

.tabs button {
  min-height: 44px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  font: inherit;
  font-weight: 700;
  font-size: 15px;
  color: var(--muted);
  cursor: pointer;
  transition: background 0.25s, color 0.25s;
}

.tabs button[aria-selected='true'] {
  background: var(--rose);
  color: #fff;
}

.how {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
  counter-reset: step;
}

.steps li {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 16px;
  padding: 22px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid var(--line);
  counter-increment: step;
}

.steps li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: var(--rose-soft);
  color: var(--rose);
  font-weight: 800;
  font-size: 22px;
}

.steps h3 {
  font-size: 19px;
  margin-bottom: 4px;
}

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

[data-panel='expert'] .steps li::before {
  background: var(--green-soft);
  color: var(--green);
}

.videos {
  display: grid;
  gap: 16px;
}

.video {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--navy);
  box-shadow: var(--shadow-lg);
}

.video button {
  position: absolute;
  inset: 0;
  width: 100%;
  border: 0;
  padding: 0;
  cursor: pointer;
  background: var(--navy) center / cover no-repeat;
  color: #fff;
}

.video button::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 40%, rgba(20, 22, 36, 0.75));
}

.video .play {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  margin: -38px 0 0 -38px;
  border-radius: 50%;
  background: var(--rose);
  box-shadow: 0 0 0 10px rgba(174, 69, 87, 0.3);
  transition: transform 0.2s;
}

.video button:hover .play {
  transform: scale(1.08);
}

.video .play svg {
  width: 30px;
  height: 30px;
  margin-left: 4px;
}

.video .vt {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 16px;
  z-index: 1;
  text-align: left;
  font-weight: 700;
  font-size: 18px;
}

.video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-soon {
  display: grid;
  place-items: center;
  gap: 12px;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  border: 2px dashed #e2d6cf;
  background:
    radial-gradient(50% 60% at 50% 40%, rgba(174, 69, 87, 0.08), transparent 70%),
    #fff;
  text-align: center;
  padding: 24px;
  color: var(--muted);
  font-weight: 600;
}

.video-soon .play {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin: 0 auto 10px;
  border-radius: 50%;
  background: var(--rose-soft);
  color: var(--rose);
}

.video-soon .play svg {
  width: 26px;
  height: 26px;
  margin-left: 3px;
}

.video-thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 12px;
}

.video-thumbs .video {
  box-shadow: var(--shadow);
}

.video-thumbs .video .play {
  width: 46px;
  height: 46px;
  margin: -23px 0 0 -23px;
  box-shadow: 0 0 0 6px rgba(174, 69, 87, 0.3);
}

.video-thumbs .video .play svg {
  width: 18px;
  height: 18px;
}

.video-thumbs .video .vt {
  font-size: 13px;
  left: 12px;
  bottom: 8px;
}

/* Trust */
.trust {
  background: #fff;
  border-block: 1px solid var(--line);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.trust-item {
  padding: 26px;
  border-radius: 20px;
  background: var(--cream);
}

.trust-item h3 {
  font-size: 19px;
  margin: 14px 0 6px;
}

.trust-item p {
  color: var(--muted);
  font-size: 16px;
}

/* For experts */
.experts {
  position: relative;
  overflow: hidden;
  background: var(--navy);
  color: #fff;
  isolation: isolate;
}

.experts::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(45% 60% at 85% 10%, rgba(174, 69, 87, 0.45), transparent 70%),
    radial-gradient(40% 50% at 10% 100%, rgba(245, 183, 0, 0.18), transparent 70%);
}

.experts .eyebrow {
  color: var(--yellow);
}

.experts .section-head p,
.experts .perk p {
  color: rgba(255, 255, 255, 0.76);
}

.experts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

.experts .photo {
  aspect-ratio: 4 / 5;
  border-radius: 32px;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.6);
}

.perks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px 28px;
  margin: 8px 0 36px;
}

.perk h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  margin-bottom: 6px;
}

.perk h3 svg {
  width: 22px;
  height: 22px;
  color: var(--yellow);
  flex: none;
}

.perk p {
  font-size: 15px;
}

.experts .btn-ghost {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.25);
}

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

/* FAQ */
.faq {
  max-width: 820px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}

.faq details {
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--line);
  transition: box-shadow 0.2s;
}

.faq details[open] {
  box-shadow: var(--shadow);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  font-weight: 700;
  font-size: 18px;
  cursor: pointer;
  list-style: none;
}

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

.faq summary::after {
  content: '+';
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  flex: none;
  border-radius: 50%;
  background: var(--rose-soft);
  color: var(--rose);
  font-size: 22px;
  font-weight: 600;
  line-height: 1;
  transition: transform 0.25s;
}

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

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

/* Final call to action */
.cta {
  position: relative;
  overflow: hidden;
  margin: 0 auto;
  padding: clamp(40px, 6vw, 72px);
  border-radius: 36px;
  background: linear-gradient(120deg, var(--rose) 0%, #c45a52 55%, #d98a3c 100%);
  color: #fff;
  text-align: center;
  box-shadow: 0 40px 80px -40px rgba(174, 69, 87, 0.8);
  isolation: isolate;
}

.cta::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(50% 80% at 50% 0%, rgba(255, 255, 255, 0.25), transparent 70%);
}

.cta h2 {
  font-size: clamp(32px, 4.6vw, 52px);
}

.cta p {
  margin: 14px auto 30px;
  max-width: 36em;
  font-size: 19px;
  color: rgba(255, 255, 255, 0.9);
}

.cta .stores,
.cta .btn-row {
  justify-content: center;
}

.cta .btn-ghost {
  background: #fff;
  color: var(--rose-deep);
  border: 0;
}

.cta .store {
  background: rgba(32, 36, 58, 0.92);
}

/* ---------- Footer ---------- */

.site-footer {
  padding: 64px 0 40px;
  background: #fff;
  border-top: 1px solid var(--line);
  margin-top: clamp(72px, 10vw, 128px);
}

.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
}

.foot-grid h4 {
  margin: 0 0 14px;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.foot-grid ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.foot-grid a {
  color: var(--navy);
  text-decoration: none;
  font-weight: 600;
}

.foot-grid a:hover {
  color: var(--rose);
}

.foot-tag {
  margin: 14px 0 6px;
  font-weight: 700;
}

.foot-sub {
  color: var(--muted);
  font-size: 15px;
}

.socials {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.socials a {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--cream);
  border: 1px solid var(--line);
  color: var(--navy);
  transition: background 0.2s, color 0.2s, transform 0.2s;
}

.socials a:hover {
  background: var(--rose);
  border-color: var(--rose);
  color: #fff;
  transform: translateY(-2px);
}

.socials svg {
  width: 19px;
  height: 19px;
}

.copyright {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 14px;
  color: var(--muted);
}

/* ---------- Legal and help pages ---------- */

.page-hero {
  padding: clamp(48px, 7vw, 80px) 0 32px;
  position: relative;
  isolation: isolate;
}

.page-hero .glow {
  height: 500px;
}

.page-hero h1 {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800;
}

.page-hero p {
  margin-top: 12px;
  color: var(--muted);
}

.prose {
  max-width: 780px;
  padding: clamp(28px, 4vw, 48px);
  border-radius: 28px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.prose h2 {
  font-size: 24px;
  margin: 36px 0 12px;
  letter-spacing: -0.02em;
}

.prose h2:first-child {
  margin-top: 0;
}

.prose h3 {
  font-size: 18px;
  margin: 22px 0 8px;
}

.prose p,
.prose li {
  color: #3c4055;
}

.prose p + p {
  margin-top: 12px;
}

.prose ul,
.prose ol {
  padding-left: 22px;
  margin: 10px 0;
}

.prose li + li {
  margin-top: 6px;
}

.prose table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  margin: 12px 0;
}

.prose th,
.prose td {
  text-align: left;
  vertical-align: top;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
}

.prose th {
  background: var(--cream);
}

.table-scroll {
  overflow-x: auto;
}

.toc {
  margin: 0 0 28px;
  padding: 20px 24px;
  border-radius: 18px;
  background: var(--cream);
}

.toc ol {
  columns: 2;
  column-gap: 32px;
  margin: 0;
}

.toc a {
  color: var(--navy);
  font-weight: 600;
  text-decoration: none;
}

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

.todo {
  background: var(--yellow-soft);
  border-radius: 6px;
  padding: 0 4px;
  font-weight: 700;
}

.callout {
  padding: 18px 22px;
  border-radius: 16px;
  background: var(--rose-soft);
  color: var(--rose-deep);
  font-weight: 600;
  margin: 16px 0;
}

.callout.green {
  background: var(--green-soft);
  color: #355a40;
}

/* ---------- Reveal on scroll ---------- */

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.8s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
  transition-delay: var(--d, 0s);
}

.reveal.in,
.no-js .reveal {
  opacity: 1;
  transform: none;
}

/* ---------- Responsive ---------- */

@media (max-width: 980px) {
  .hero-grid,
  .how,
  .experts-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .collage {
    min-height: 0;
    aspect-ratio: 1 / 0.92;
    max-width: 560px;
    width: 100%;
    margin: 0 auto;
  }

  .pillars,
  .trust-grid {
    grid-template-columns: 1fr 1fr;
  }

  .bento {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 200px;
  }

  .experts .photo {
    max-width: 460px;
    order: -1;
  }

  .foot-grid {
    grid-template-columns: 1fr 1fr;
  }

  .foot-grid > :first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    padding: 8px var(--gutter) 20px;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 30px -20px rgba(32, 36, 58, 0.3);
    display: none;
  }

  .nav-links a {
    padding: 14px 0;
    font-size: 17px;
    border-bottom: 1px solid var(--line);
  }

  .nav-open .nav-links {
    display: flex;
  }

  .nav .btn-open {
    display: none;
  }

  .pillars,
  .trust-grid,
  .perks,
  .aae {
    grid-template-columns: 1fr;
  }

  .aae > div + div {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }

  .bento {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 170px;
    gap: 12px;
  }

  .tile.wide {
    grid-column: span 2;
  }

  .tile.tall {
    grid-row: span 1;
  }

  .f2 {
    left: 0;
  }

  .float {
    font-size: 12px;
    padding: 9px 12px;
  }

  .toc ol {
    columns: 1;
  }

  .stores .store {
    flex: 1 1 180px;
  }

  .tabs {
    display: flex;
  }

  .tabs button {
    flex: 1;
    padding: 0 12px;
  }
}

@media (max-width: 420px) {
  .foot-grid {
    grid-template-columns: 1fr;
  }

  .wordmark {
    font-size: 21px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
