/* Second Key: palette and type from the vision board.
   Layout: one centered column (max 1120px); sections alternate cream, white and plum bands.
   Signature detail: the key head's cut top-right corner, repeated on cards (.cut). */
:root {
  --plum: #531e37;
  --apricot: #f4a676;
  --cream: #fbf2e4;
  --ink: #2a2424;
  --white: #fffdf9;
  --muted: #6b5f68;
  --line: #e9dccb;
  --apricot-soft: #fce6d8;

  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --body: "Figtree", -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --radius: 22px;
  --cut: 44px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.125rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--plum); text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--apricot); outline-offset: 3px; border-radius: 6px; }

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 900;
  color: var(--plum);
  letter-spacing: -0.02em;
  line-height: 1.02;
  margin: 0;
  text-wrap: balance;
}
h1 { font-size: clamp(3rem, 7.5vw, 5.75rem); }
h2 { font-size: clamp(2.1rem, 4.5vw, 3.4rem); margin-bottom: 1.25rem; }
h3 { font-size: 1.6rem; line-height: 1.1; }
p { margin: 0 0 1rem; max-width: 62ch; }

.wrap { max-width: 1120px; margin: 0 auto; padding-inline: 24px; }
.section { padding-block: clamp(4rem, 9vw, 7rem); }

.eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1rem;
}
.eyebrow-light { color: var(--apricot); }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: var(--white); padding: 8px 14px; z-index: 10; }

/* The key head's chamfered corner */
.cut { clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, 0 100%); }

/* Buttons */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 28px;
  border-radius: 14px;
  border: 2px solid var(--plum);
  background: var(--plum);
  color: var(--cream);
  font: 700 1.05rem var(--body);
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, opacity 0.15s ease;
}
.button:hover { transform: translateY(-1px); }
.button:active { transform: none; opacity: 0.85; }
.button-outline { background: transparent; color: var(--plum); }
.button-light { background: var(--cream); color: var(--plum); border-color: var(--cream); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  background: color-mix(in srgb, var(--cream) 92%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid transparent;
}
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 84px; }
.brand img { width: 210px; }
nav { display: flex; align-items: center; gap: 28px; }
nav a { text-decoration: none; font-weight: 600; font-size: 1rem; }
nav a:hover { text-decoration: underline; }
.nav-cta { background: var(--plum); color: var(--cream); padding: 10px 18px; border-radius: 12px; }
.nav-cta:hover { text-decoration: none; opacity: 0.9; }
@media (max-width: 760px) {
  nav a:not(.nav-cta) { display: none; }
  .brand img { width: 160px; }
}

/* Hero */
.hero { padding-block: clamp(1.5rem, 3.5vw, 3rem) clamp(4rem, 8vw, 6rem); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.hero-copy { min-width: 0; }
.hero-copy h1 { margin-bottom: 1.5rem; }
.lede { font-size: 1.3rem; line-height: 1.55; color: var(--ink); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 2rem; }

.hero-visual { position: relative; display: flex; justify-content: flex-start; min-height: 580px; padding-left: 8px; }
.phone {
  width: 280px;
  border-radius: 46px;
  background: #1d1a1c;
  padding: 12px;
  box-shadow: 0 30px 60px -20px rgba(83, 30, 55, 0.35);
  transform: rotate(-3deg);
}
.phone-screen {
  background: var(--white);
  border-radius: 36px;
  padding: 44px 24px 28px;
  min-height: 540px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.phone-logo { width: 120px; margin-bottom: 36px; }
.phone-title { font: 900 2.4rem/1 var(--display); color: var(--plum); letter-spacing: -0.02em; margin-bottom: 14px; }
.phone-text { font-size: 1rem; margin-bottom: 28px; }
.phone-key { width: 64px; margin-bottom: auto; }
.phone-button {
  margin-top: 32px;
  width: 100%;
  padding: 14px;
  border-radius: 12px;
  background: var(--plum);
  color: var(--cream);
  font-weight: 700;
}
.pause-card {
  position: absolute;
  right: -12px;
  bottom: 70px;
  width: 210px;
  padding: 34px 22px 22px;
  background: var(--plum);
  color: var(--cream);
  border-radius: var(--radius);
  border-top: 14px solid var(--apricot);
  --cut: 34px;
  transform: rotate(2deg);
  box-shadow: 0 20px 40px -18px rgba(42, 36, 36, 0.4);
}
.pause-card svg { color: var(--cream); margin-bottom: 14px; }
.pause-title { font: 900 1.85rem/1.02 var(--display); letter-spacing: -0.02em; margin-bottom: 10px; }
.pause-card p:last-child { margin: 0; font-size: 1.05rem; }

@media (min-width: 901px) and (max-width: 1180px) {
  .phone { width: 240px; }
  .phone-screen { min-height: 470px; padding: 38px 20px 24px; }
  .phone-title { font-size: 2.1rem; }
  .hero-visual { min-height: 520px; }
  .pause-card { width: 178px; right: 0; bottom: 40px; padding: 28px 16px 16px; --cut: 28px; }
  .pause-card svg { width: 30px; height: 30px; margin-bottom: 10px; }
  .pause-title { font-size: 1.45rem; }
  .pause-card p:last-child { font-size: 0.95rem; }
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { min-height: 0; padding-bottom: 24px; max-width: 520px; width: 100%; margin-inline: auto; }
  .pause-card { right: 0; }
}
@media (max-width: 480px) {
  .phone { width: 220px; }
  .phone-screen { min-height: 440px; padding: 36px 18px 22px; }
  .phone-title { font-size: 2rem; }
  .pause-card { width: 158px; right: 0; bottom: 56px; padding: 24px 14px 14px; --cut: 24px; }
  .pause-card svg { width: 28px; height: 28px; margin-bottom: 8px; }
  .pause-title { font-size: 1.3rem; }
  .pause-card p:last-child { font-size: 0.9rem; }
}

/* Why */
.why { background: var(--white); padding-block: clamp(3rem, 6vw, 4.5rem); border-block: 1px solid var(--line); }
.why-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.why .stat { font: 900 2.6rem/1 var(--display); color: var(--plum); letter-spacing: -0.02em; margin-bottom: 0.6rem; font-variant-numeric: tabular-nums; }
.why p { font-size: 1.05rem; }
.why sup a { text-decoration: none; font-weight: 700; }
@media (max-width: 760px) { .why-grid { grid-template-columns: 1fr; gap: 28px; } }

/* Steps */
.steps { list-style: none; padding: 0; margin: 2.5rem 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.step { background: var(--white); border-radius: var(--radius); padding: 32px 28px; display: flex; flex-direction: column; gap: 14px; }
.step p { margin: 0; }
.step-num {
  width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--apricot); color: var(--plum);
  font: 900 1.4rem var(--display);
}
.step-pause { background: var(--plum); color: var(--cream); border-top: 12px solid var(--apricot); }
.step-pause h3 { color: var(--cream); }
.step-pause .step-num { background: var(--cream); }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

/* Screens */
.screens-group { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 32px; align-items: start; margin-top: 3rem; }
.screens-intro { padding-top: 12px; }
.screens-intro h3 { font-size: 1.9rem; margin-bottom: 0.4rem; }
.screens-intro p { color: var(--muted); }
.screens-row { display: flex; gap: 24px; min-width: 0; }
.shot { margin: 0; flex: 0 1 240px; min-width: 0; display: grid; gap: 14px; align-content: start; }
.shot-frame {
  background: #1d1a1c;
  padding: 8px;
  border-radius: 40px;
  box-shadow: 0 24px 48px -24px rgba(83, 30, 55, 0.45);
}
.shot-frame img { width: 100%; border-radius: 32px; aspect-ratio: 600 / 1304; object-fit: cover; }
.shot figcaption { font-size: 0.98rem; line-height: 1.45; color: var(--ink); padding-inline: 4px; }
.shot figcaption strong { color: var(--plum); }
.screens-note { margin-top: 2.5rem; font-size: 0.9rem; color: var(--muted); }
@media (max-width: 960px) {
  .screens-group { grid-template-columns: 1fr; gap: 18px; }
  .screens-intro { padding-top: 0; }
}
@media (max-width: 700px) {
  /* Swipe through the screens on phones */
  .screens-row {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    margin-inline: -24px;
    padding: 4px 24px 24px;
    scrollbar-width: none;
  }
  .screens-row::-webkit-scrollbar { display: none; }
  .shot { flex: 0 0 68%; scroll-snap-align: center; }
}

/* Family */
.family { background: var(--plum); color: var(--cream); }
.family h2 { color: var(--cream); }
.family-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: center; }
.checks { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: 18px; }
.checks li { position: relative; padding-left: 36px; max-width: 58ch; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 0.35em;
  width: 16px; height: 16px; border-radius: 50%;
  border: 4px solid var(--apricot);
}
.checks strong { color: var(--apricot); }
.family-card {
  background: var(--cream);
  color: var(--ink);
  border-radius: 28px;
  padding: 28px;
  display: grid;
  gap: 12px;
  box-shadow: 0 30px 60px -25px rgba(0, 0, 0, 0.5);
}
.family-card-label { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin: 0; }
.family-card-title { font: 900 1.9rem/1.02 var(--display); color: var(--plum); letter-spacing: -0.02em; margin: 0; }
.family-card-text { margin: 0 0 6px; font-size: 1rem; }
.mini-button { display: block; text-align: center; padding: 13px; border-radius: 12px; font-weight: 700; border: 2px solid var(--plum); }
.mini-accent { background: var(--apricot); border-color: var(--apricot); color: var(--ink); }
.mini-light { background: var(--plum); color: var(--cream); }
.mini-outline { color: var(--plum); }
.mini-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (max-width: 860px) { .family-grid { grid-template-columns: 1fr; } }

/* The key, everyday */
.key-grid, .everyday-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.key-grid > div, .everyday-grid > div { min-width: 0; }
.photo { margin: 0; }
.photo img { width: 100%; max-width: 460px; border-radius: var(--radius); aspect-ratio: auto; object-fit: cover; }
.cut-photo img { clip-path: polygon(0 0, calc(100% - 60px) 0, 100% 60px, 100% 100%, 0 100%); }
.everyday-grid .photo { justify-self: end; }
.everyday-grid .photo img { max-width: 380px; }
.brand-voice { font: 900 2rem/1.1 var(--display); color: var(--plum); letter-spacing: -0.02em; margin-top: 1.75rem; }
@media (max-width: 860px) {
  .key-grid, .everyday-grid { grid-template-columns: 1fr; gap: 36px; }
  .everyday-grid .photo { justify-self: start; }
}

/* Trust */
.trust { background: var(--white); border-block: 1px solid var(--line); }
.trust-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: start; }
.never { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; }
.never li { padding: 18px 0 18px 44px; border-bottom: 1px solid var(--line); position: relative; }
.never li:first-child { border-top: 1px solid var(--line); }
.never li::before {
  content: ""; position: absolute; left: 6px; top: 50%;
  width: 20px; height: 3px; background: var(--plum); border-radius: 2px;
  transform: translateY(-50%) rotate(-45deg);
}
.never li::after {
  content: ""; position: absolute; left: 6px; top: 50%;
  width: 20px; height: 3px; background: var(--plum); border-radius: 2px;
  transform: translateY(-50%) rotate(45deg);
}
@media (max-width: 860px) { .trust-grid { grid-template-columns: 1fr; gap: 12px; } }

/* FAQ */
.faq-wrap { max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 48px 22px 0;
  font: 700 1.2rem/1.35 var(--body);
  color: var(--plum);
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  font: 900 1.8rem var(--display); color: var(--apricot);
}
.faq details[open] summary::after { content: "–"; }
.faq details p { padding-bottom: 20px; margin: 0; }
.faq-more { margin-top: 1.75rem; }

/* Waitlist */
.waitlist { background: var(--plum); color: var(--cream); padding-block: clamp(4rem, 8vw, 6rem); border-top: 14px solid var(--apricot); }
.waitlist h2 { color: var(--cream); }
.on-plum-link { color: var(--apricot); font-weight: 600; }
.waitlist-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.waitlist-form { display: grid; gap: 14px; }
.waitlist-form > label { font-weight: 700; }
.waitlist-form input[type="email"] {
  min-height: 56px; padding: 0 18px; border-radius: 14px;
  border: 2px solid transparent; background: var(--cream); color: var(--ink);
  font: 500 1.1rem var(--body);
}
.waitlist-form input[type="email"]:focus { border-color: var(--apricot); outline: none; }
.waitlist-form fieldset { border: 0; padding: 0; margin: 4px 0; display: flex; flex-wrap: wrap; gap: 10px 22px; }
.waitlist-form legend { font-weight: 700; margin-bottom: 8px; padding: 0; }
.choice { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; }
.choice input { width: 20px; height: 20px; accent-color: var(--apricot); }
.form-status { min-height: 1.6em; margin: 0; font-weight: 600; color: var(--apricot); }
@media (max-width: 860px) { .waitlist-grid { grid-template-columns: 1fr; gap: 24px; } }

/* Footer */
.site-footer { padding-block: 48px 64px; font-size: 0.95rem; color: var(--muted); }
.footer-grid { display: grid; grid-template-columns: auto 1fr; gap: 24px; align-items: start; }
.footer-grid img { width: 36px; }
.sources { font-size: 0.82rem; line-height: 1.6; max-width: 90ch; }

/* Privacy page */
.legal { padding-block: 4rem 6rem; }
.legal .wrap { max-width: 760px; }
.legal h1 { font-size: clamp(2.5rem, 6vw, 4rem); margin-bottom: 1.5rem; }
.legal h2 { font-size: 1.6rem; margin: 2.5rem 0 0.75rem; }
