:root {
  --ink: #1f1c18;
  --paper: #faf8f4;
  --paper-strong: #e4dcce;
  --clay: #c96f4a;
  --amber: #e7a93b;
  --blue: #20a6fb;
  --green: #48b56a;
  --orange: #f39a33;
  --purple: #7c3aed;
  --pink: #ff9ec0;
  --white: #ffffff;
  --stone-100: #f5f0e8;
  --stone-200: #ded6ca;
  --stone-500: #776d62;
  --stone-700: #433c35;
  --shadow: 0 22px 60px rgba(31, 28, 24, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  margin: 0;
  min-width: 320px;
}

img,
svg {
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  color: inherit;
  font: inherit;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid #ffcf5a;
  outline-offset: 3px;
}

.site-header {
  align-items: center;
  background: rgba(250, 248, 244, 0.86);
  border-bottom: 1px solid rgba(31, 28, 24, 0.08);
  display: flex;
  gap: 24px;
  height: 72px;
  justify-content: space-between;
  left: 0;
  padding: 0 28px;
  position: sticky;
  right: 0;
  top: 0;
  z-index: 40;
}

@supports (backdrop-filter: blur(14px)) {
  .site-header {
    backdrop-filter: blur(14px);
  }
}

.brand-mark {
  align-items: center;
  display: inline-flex;
  flex: 0 0 auto;
  gap: 10px;
  font-size: 1rem;
  font-weight: 900;
}

.brand-mark img {
  border-radius: 22%;
  height: 38px;
  object-fit: cover;
  width: 38px;
}

.nav-links {
  align-items: center;
  display: flex;
  gap: 8px;
  justify-content: center;
}

.nav-links a,
.header-action {
  align-items: center;
  border-radius: 999px;
  display: inline-flex;
  font-size: 0.9rem;
  font-weight: 800;
  min-height: 42px;
  padding: 0 16px;
  white-space: nowrap;
}

.nav-links a {
  color: var(--stone-700);
}

.nav-links a:hover {
  background: rgba(31, 28, 24, 0.06);
}

.header-actions {
  align-items: center;
  display: inline-flex;
  flex: 0 0 auto;
  gap: 10px;
}

.header-action {
  background: var(--ink);
  color: var(--white);
}

.mobile-menu-toggle,
.mobile-menu {
  display: none;
}

.mobile-menu-toggle {
  align-items: center;
  background: var(--white);
  border: 1px solid var(--stone-200);
  border-radius: 999px;
  cursor: pointer;
  height: 42px;
  justify-content: center;
  padding: 0;
  position: relative;
  width: 42px;
}

.mobile-menu-toggle span {
  background: var(--ink);
  border-radius: 999px;
  height: 2px;
  position: absolute;
  transition:
    opacity 160ms ease,
    transform 160ms ease;
  width: 18px;
}

.mobile-menu-toggle span:nth-child(1) {
  transform: translateY(-6px);
}

.mobile-menu-toggle span:nth-child(3) {
  transform: translateY(6px);
}

.mobile-menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: rotate(45deg);
}

.mobile-menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: rotate(-45deg);
}

.section-inner {
  margin: 0 auto;
  max-width: 1180px;
  padding-left: 28px;
  padding-right: 28px;
  width: 100%;
}

.hero-section {
  align-items: center;
  background: #111827;
  color: var(--white);
  display: flex;
  min-height: calc(100svh - 118px);
  overflow: hidden;
  position: relative;
}

.hero-backdrop {
  inset: 0;
  overflow: hidden;
  position: absolute;
}

.hero-backdrop::before {
  background:
    linear-gradient(115deg, rgba(4, 18, 43, 0.88), rgba(32, 166, 251, 0.72) 45%, rgba(243, 154, 51, 0.64)),
    linear-gradient(180deg, rgba(250, 248, 244, 0), rgba(250, 248, 244, 0.3));
  content: "";
  inset: 0;
  position: absolute;
}

.hero-backdrop::after {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.12) 1px, transparent 1px);
  background-size: 64px 64px;
  content: "";
  inset: 0;
  opacity: 0.28;
  position: absolute;
}

.hero-book {
  border-radius: 22%;
  filter: drop-shadow(0 34px 54px rgba(7, 9, 20, 0.34));
  opacity: 0.82;
  object-fit: cover;
  position: absolute;
  z-index: 1;
}

.hero-book-large {
  height: 520px;
  right: 8%;
  top: 9%;
  transform: rotate(7deg);
  width: 520px;
}

.hero-book-small {
  bottom: -120px;
  height: 260px;
  left: 8%;
  opacity: 0.42;
  transform: rotate(-16deg);
  width: 260px;
}

.sentence-ribbon {
  align-items: center;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.66);
  border-radius: 8px;
  box-shadow: var(--shadow);
  color: var(--ink);
  display: flex;
  gap: 14px;
  max-width: 340px;
  min-height: 70px;
  padding: 14px 16px;
  position: absolute;
  z-index: 3;
}

.sentence-ribbon span {
  align-items: center;
  background: var(--amber);
  border-radius: 999px;
  color: #2f2414;
  display: inline-flex;
  flex: 0 0 34px;
  font-weight: 900;
  height: 34px;
  justify-content: center;
  width: 34px;
}

.sentence-ribbon p {
  font-size: 0.88rem;
  font-weight: 800;
  line-height: 1.45;
  margin: 0;
}

.ribbon-one {
  left: clamp(20px, 5vw, 84px);
  top: 14%;
}

.ribbon-two {
  right: clamp(20px, 5vw, 84px);
  top: 18%;
}

.ribbon-three {
  bottom: 10%;
  left: clamp(20px, 5vw, 84px);
}

.hero-content {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin: 0 auto;
  max-width: 820px;
  padding: 104px 28px 96px;
  position: relative;
  text-align: center;
  width: 100%;
  z-index: 4;
}

.eyebrow {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  margin: 0;
  text-transform: uppercase;
}

.eyebrow.dark {
  color: var(--clay);
}

.hero-content h1 {
  font-size: 5rem;
  line-height: 1;
  margin: 0;
}

.hero-copy {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.3rem;
  font-weight: 650;
  line-height: 1.55;
  margin: 0 auto;
  max-width: 650px;
}

.store-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-store-actions {
  justify-content: center;
  margin-top: 14px;
}

.store-button {
  align-items: center;
  background: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 8px;
  color: var(--ink);
  display: inline-flex;
  gap: 12px;
  min-height: 58px;
  min-width: 178px;
  padding: 9px 16px;
  text-align: left;
}

.store-button svg {
  flex: 0 0 26px;
  height: 26px;
  width: 26px;
}

.store-button svg path:not([fill]) {
  fill: currentColor;
}

.store-button span {
  display: grid;
  font-size: 1.03rem;
  font-weight: 900;
  line-height: 1.05;
}

.store-button small {
  font-size: 0.64rem;
  font-weight: 850;
  letter-spacing: 0;
  line-height: 1.15;
  margin-bottom: 3px;
  opacity: 0.72;
}

.hero-signal {
  bottom: 18px;
  display: flex;
  justify-content: center;
  left: 0;
  pointer-events: none;
  position: absolute;
  right: 0;
  z-index: 5;
}

.hero-signal span {
  background: rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  height: 4px;
  width: 72px;
}

.intro-band {
  background: var(--paper);
  border-bottom: 1px solid var(--stone-200);
  border-top: 1px solid rgba(255, 255, 255, 0.5);
  padding: 58px 0;
}

.intro-grid {
  align-items: start;
  display: grid;
  gap: 42px;
  grid-template-columns: 0.9fr 1.1fr;
}

.intro-grid h2,
.section-heading h2,
.review-copy h2 {
  font-size: 2.5rem;
  line-height: 1.08;
  margin: 0;
}

.intro-grid p:not(.eyebrow),
.media-controls p,
.review-copy p {
  color: var(--stone-700);
  font-size: 1.08rem;
  font-weight: 620;
  line-height: 1.75;
  margin: 0;
}

.flow-section,
.styles-section {
  padding: 84px 0;
}

.section-heading {
  max-width: 760px;
}

.flow-layout {
  align-items: center;
  display: grid;
  gap: 54px;
  grid-template-columns: 0.92fr 1.08fr;
  margin-top: 44px;
}

.phone-stage {
  display: flex;
  justify-content: center;
}

.phone-shell {
  background: #0c0a09;
  border: 9px solid #111827;
  border-radius: 38px;
  box-shadow: 0 26px 70px rgba(31, 28, 24, 0.22);
  height: 620px;
  overflow: hidden;
  padding: 14px;
  position: relative;
  width: 326px;
}

.phone-status {
  background: #0c0a09;
  border-radius: 0 0 16px 16px;
  height: 18px;
  left: 50%;
  position: absolute;
  top: 0;
  transform: translateX(-50%);
  width: 108px;
  z-index: 2;
}

.phone-screen {
  background: var(--paper);
  border-radius: 26px;
  height: 100%;
  overflow: hidden;
  position: relative;
}

.phone-hero {
  background: var(--blue);
  color: var(--white);
  min-height: 170px;
  padding: 32px 22px 22px;
}

.phone-hero p {
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.22em;
  margin: 0 0 18px;
  text-transform: uppercase;
}

.phone-hero h3 {
  font-size: 2rem;
  line-height: 1.06;
  margin: 0;
}

.phone-hero span {
  color: rgba(255, 255, 255, 0.82);
  display: block;
  font-weight: 800;
  margin-top: 14px;
}

.turn-strip {
  align-items: center;
  display: flex;
  gap: 12px;
  justify-content: center;
  padding: 20px 24px;
}

.turn-strip span {
  background: var(--stone-200);
  border-radius: 999px;
  height: 10px;
  width: 42px;
}

.turn-strip span.is-done {
  background: var(--green);
}

.turn-strip span.is-active {
  background: var(--amber);
  width: 64px;
}

.scene-preview {
  padding: 0 20px;
}

.scene-art {
  background:
    linear-gradient(160deg, rgba(31, 28, 24, 0.16), rgba(31, 28, 24, 0)),
    linear-gradient(135deg, #dff4ff, #fff1dc 62%, #e2f8e7);
  border: 1px solid var(--stone-200);
  border-radius: 8px;
  height: 172px;
  overflow: hidden;
  position: relative;
}

.scene-art::before,
.scene-art::after,
.scene-art span {
  content: "";
  position: absolute;
}

.scene-art::before {
  background: #ffcf5a;
  border-radius: 50%;
  height: 62px;
  right: 22px;
  top: 22px;
  width: 62px;
}

.scene-art::after {
  border-bottom: 82px solid #2f8f63;
  border-left: 86px solid transparent;
  bottom: 0;
  height: 0;
  left: 0;
  width: 0;
}

.scene-art span:first-child {
  border-bottom: 118px solid #4b77c5;
  border-left: 118px solid transparent;
  bottom: 0;
  right: 0;
}

.scene-art span:last-child {
  background: rgba(255, 255, 255, 0.78);
  border-radius: 999px;
  height: 16px;
  left: 34px;
  top: 34px;
  width: 92px;
}

.scene-preview p {
  color: var(--stone-700);
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.45;
  margin: 18px 0 0;
}

.composer {
  align-items: center;
  background: var(--white);
  border: 1px solid var(--stone-200);
  border-radius: 8px;
  display: flex;
  gap: 12px;
  margin: 20px;
  min-height: 58px;
  padding: 0 10px 0 16px;
}

.composer p {
  color: var(--stone-500);
  flex: 1;
  font-size: 0.95rem;
  font-weight: 750;
  margin: 0;
}

.composer button {
  align-items: center;
  background: var(--amber);
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  height: 42px;
  justify-content: center;
  width: 42px;
}

.composer button svg {
  height: 22px;
  width: 22px;
}

.composer button path {
  fill: var(--ink);
}

.phone-button {
  background: var(--clay);
  border: 0;
  border-radius: 999px;
  bottom: 24px;
  color: var(--white);
  cursor: pointer;
  font-weight: 900;
  left: 24px;
  min-height: 50px;
  position: absolute;
  right: 24px;
}

.flow-cards {
  display: grid;
  gap: 14px;
}

.flow-card {
  align-items: center;
  background: var(--white);
  border: 1px solid var(--stone-200);
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  gap: 16px;
  padding: 18px;
  text-align: left;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.flow-card:hover,
.flow-card.is-active {
  border-color: var(--blue);
  box-shadow: 0 14px 32px rgba(32, 166, 251, 0.16);
  transform: translateY(-2px);
}

.step-icon {
  align-items: center;
  background: #fff1dc;
  border-radius: 999px;
  color: #9a5a14;
  display: inline-flex;
  flex: 0 0 52px;
  height: 52px;
  justify-content: center;
  width: 52px;
}

.step-icon.blue {
  background: #dff4ff;
  color: #0f4e7b;
}

.step-icon.green {
  background: #e2f8e7;
  color: #1d6b39;
}

.step-icon.purple {
  background: #ede9fe;
  color: #4c1d95;
}

.step-icon svg {
  height: 26px;
  width: 26px;
}

.step-icon path {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.flow-card strong {
  display: block;
  font-size: 1.1rem;
  font-weight: 900;
  margin-bottom: 4px;
}

.flow-card small {
  color: var(--stone-500);
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.5;
}

.media-section {
  background: #fff8ed;
  border-bottom: 1px solid #ead4b7;
  border-top: 1px solid #ead4b7;
  padding: 84px 0;
}

.media-grid {
  align-items: center;
  display: grid;
  gap: 42px;
  grid-template-columns: 1.1fr 0.9fr;
  margin-top: 42px;
}

.media-preview {
  min-width: 0;
}

.media-frame {
  align-items: center;
  background:
    linear-gradient(180deg, rgba(12, 10, 9, 0.1), rgba(12, 10, 9, 0.5)),
    #1c1917;
  border-radius: 8px;
  color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 430px;
  overflow: hidden;
  padding: 46px;
  position: relative;
  text-align: center;
}

.media-visual {
  height: 100%;
  inset: 0;
  object-fit: cover;
  position: absolute;
  width: 100%;
  z-index: 0;
}

.media-visual[hidden],
.media-frame[data-state="text"] .media-visual {
  display: none;
}

.media-play {
  display: none;
}

.media-frame::before {
  background:
    linear-gradient(135deg, rgba(32, 166, 251, 0.62), rgba(243, 154, 51, 0.42)),
    url("assets/icon-512.jpg") center / 360px 360px no-repeat;
  content: "";
  inset: 0;
  opacity: 0.18;
  position: absolute;
  z-index: 0;
}

.media-frame[data-state="image"] {
  align-items: flex-start;
  color: var(--white);
  justify-content: flex-end;
  text-align: left;
}

.media-frame[data-state="video"] {
  align-items: flex-start;
  justify-content: flex-end;
  text-align: left;
}

.media-frame[data-state="image"]::before,
.media-frame[data-state="video"]::before {
  background: linear-gradient(180deg, rgba(12, 10, 9, 0.04), rgba(12, 10, 9, 0.72));
  opacity: 1;
  z-index: 1;
}

.media-frame[data-state="video"] .media-play {
  align-items: center;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 999px;
  box-shadow: 0 18px 48px rgba(12, 10, 9, 0.28);
  display: flex;
  height: 86px;
  justify-content: center;
  left: 50%;
  position: absolute;
  top: 45%;
  transform: translate(-50%, -50%);
  width: 86px;
  z-index: 3;
}

.media-frame[data-state="video"] .media-play::before {
  border-bottom: 17px solid transparent;
  border-left: 25px solid var(--ink);
  border-top: 17px solid transparent;
  content: "";
  margin-left: 6px;
}

.media-frame h3,
.media-frame p {
  position: relative;
  z-index: 2;
}

.media-label {
  color: currentColor;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  margin: 0 0 22px;
  opacity: 0.74;
  text-transform: uppercase;
}

.media-frame h3 {
  font-size: 2.5rem;
  line-height: 1.16;
  margin: 0;
  max-width: 690px;
}

.media-frame p:last-child {
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.55;
  margin: 24px 0 0;
  opacity: 0.8;
}

.media-controls {
  display: grid;
  gap: 22px;
}

.segmented-control {
  background: var(--white);
  border: 1px solid var(--stone-200);
  border-radius: 999px;
  display: grid;
  gap: 4px;
  grid-template-columns: repeat(3, 1fr);
  padding: 5px;
}

.media-tab {
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  font-size: 0.94rem;
  font-weight: 900;
  gap: 8px;
  justify-content: center;
  min-height: 46px;
  padding: 0 12px;
}

.media-tab svg {
  height: 20px;
  width: 20px;
}

.media-tab path {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.media-tab.is-active {
  background: var(--ink);
  color: var(--white);
}

.video-lengths {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, 1fr);
}

.video-lengths[hidden] {
  display: none;
}

.video-lengths div {
  background: var(--white);
  border: 1px solid #e9cba8;
  border-radius: 8px;
  padding: 18px;
}

.video-lengths span {
  color: var(--stone-500);
  display: block;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.video-lengths strong {
  display: block;
  font-size: 2rem;
  line-height: 1;
}

.style-grid {
  display: grid;
  gap: 18px;
  grid-auto-rows: 1fr;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 42px;
}

.style-card {
  background: var(--white);
  border: 1px solid var(--stone-200);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.style-card img {
  aspect-ratio: 16 / 10;
  height: auto;
  object-fit: cover;
  width: 100%;
}

.style-card div {
  flex: 1;
  padding: 18px;
}

.style-card span {
  color: var(--clay);
  display: block;
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.15em;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.style-card h3 {
  font-size: 1.15rem;
  line-height: 1.24;
  margin: 0;
}

.style-card p {
  color: var(--stone-500);
  font-size: 0.95rem;
  font-weight: 720;
  line-height: 1.55;
  margin: 10px 0 0;
}

.review-section {
  background: var(--blue);
  color: var(--white);
  padding: 84px 0;
}

.review-layout {
  align-items: start;
  display: grid;
  gap: 56px;
  grid-template-columns: 0.95fr 1.05fr;
}

.review-copy p {
  color: rgba(255, 255, 255, 0.86);
  margin-top: 20px;
}

.review-copy .store-actions {
  margin-top: 30px;
}

.review-checklist {
  display: grid;
  gap: 12px;
}

.review-item {
  align-items: center;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  display: flex;
  gap: 14px;
  min-height: 70px;
  padding: 16px 18px;
}

.review-item span {
  background: var(--amber);
  border-radius: 999px;
  flex: 0 0 26px;
  height: 26px;
  position: relative;
  width: 26px;
}

.review-item span::after {
  border-bottom: 2px solid #2f2414;
  border-left: 2px solid #2f2414;
  content: "";
  height: 6px;
  left: 7px;
  position: absolute;
  top: 8px;
  transform: rotate(-45deg);
  width: 11px;
}

.review-item p {
  font-size: 1rem;
  font-weight: 850;
  line-height: 1.45;
  margin: 0;
}

.back-to-top {
  align-items: center;
  background: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  bottom: 24px;
  box-shadow: 0 18px 46px rgba(31, 28, 24, 0.22);
  color: var(--white);
  cursor: pointer;
  display: inline-flex;
  height: 48px;
  justify-content: center;
  padding: 0;
  position: fixed;
  right: 24px;
  transition:
    opacity 160ms ease,
    transform 160ms ease;
  width: 48px;
  z-index: 60;
}

.back-to-top[hidden] {
  display: none;
}

.back-to-top:hover {
  transform: translateY(-2px);
}

.back-to-top svg {
  height: 24px;
  width: 24px;
}

.back-to-top path {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.4;
}

.site-footer {
  background: var(--ink);
  color: var(--white);
  padding: 28px 0;
}

.footer-inner {
  align-items: center;
  display: flex;
  gap: 24px;
  justify-content: space-between;
}

.footer-links {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.9rem;
  font-weight: 800;
}

.footer-links a:hover {
  color: var(--white);
}

.footer-inner p {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.95rem;
  font-weight: 750;
  margin: 0;
  text-align: right;
}

.page-main {
  background: var(--paper);
}

.page-hero {
  background:
    linear-gradient(135deg, rgba(32, 166, 251, 0.12), rgba(243, 154, 51, 0.16)),
    var(--paper);
  border-bottom: 1px solid var(--stone-200);
  padding: 86px 0 62px;
}

.privacy-hero {
  background:
    linear-gradient(135deg, rgba(72, 181, 106, 0.16), rgba(32, 166, 251, 0.12)),
    var(--paper);
}

.invite-hero {
  background:
    radial-gradient(circle at 84% 18%, rgba(255, 207, 90, 0.4), transparent 18rem),
    linear-gradient(135deg, rgba(32, 166, 251, 0.14), rgba(243, 154, 51, 0.18)),
    var(--paper);
}

.invite-hero-grid {
  align-items: center;
  display: grid;
  gap: 34px;
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.72fr);
}

.invite-store-actions {
  margin-top: 28px;
}

.invite-card {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(31, 28, 24, 0.08);
  border-radius: 34px;
  box-shadow: var(--shadow);
  padding: 24px;
}

.invite-card img {
  border-radius: 30%;
  box-shadow: 0 18px 40px rgba(31, 28, 24, 0.16);
  height: auto;
  margin: 0 auto 22px;
  max-width: 180px;
  width: 62%;
}

.invite-card h2 {
  font-size: 1.55rem;
  margin: 0 0 10px;
}

.invite-card p {
  color: var(--stone-700);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.55;
  margin: 0;
}

.invite-card .invite-id {
  color: var(--stone-500);
  font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
  font-size: 0.78rem;
  font-weight: 800;
  margin-top: 16px;
  overflow-wrap: anywhere;
}
.page-hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.8rem);
  line-height: 1.02;
  margin: 0;
  max-width: 920px;
}

.page-hero p:not(.eyebrow) {
  color: var(--stone-700);
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.7;
  margin: 22px 0 0;
  max-width: 740px;
}

.article-index,
.policy-section,
.article-section {
  padding: 72px 0;
}

.article-index {
  border-bottom: 1px solid var(--stone-200);
}

.article-index-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.article-teaser,
.content-card,
.note-card,
.timeline-card {
  background: var(--white);
  border: 1px solid var(--stone-200);
  border-radius: 8px;
}

.article-teaser {
  display: block;
  padding: 24px;
}

.article-teaser span,
.content-card h3,
.note-card h3,
.timeline-card h3 {
  color: var(--clay);
}

.article-teaser span {
  display: block;
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.article-teaser h2 {
  font-size: 1.8rem;
  line-height: 1.14;
  margin: 0;
}

.article-teaser p {
  color: var(--stone-500);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.6;
  margin: 14px 0 0;
}

.article-body {
  display: grid;
  gap: 20px;
  max-width: 1050px;
}

.article-body > .eyebrow {
  margin-bottom: -8px;
}

.article-body h2 {
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.06;
  margin: 0;
}

.article-lede {
  color: var(--stone-700);
  font-size: 1.12rem;
  font-weight: 700;
  line-height: 1.75;
  margin: 0;
  max-width: 820px;
}

.content-card,
.note-card,
.timeline-card {
  padding: 24px;
}

.content-card h2,
.content-card h3,
.note-card h3,
.timeline-card h3 {
  font-size: 1.35rem;
  line-height: 1.2;
  margin: 0;
}

.content-card p,
.content-card li,
.note-card p,
.timeline-row p {
  color: var(--stone-700);
  font-size: 1rem;
  font-weight: 650;
  line-height: 1.68;
}

.content-card p,
.note-card p {
  margin: 12px 0 0;
}

.content-card ul,
.steps-list {
  margin: 14px 0 0;
  padding-left: 20px;
}

.content-card li,
.steps-list li {
  margin: 8px 0;
}

.steps-list {
  color: var(--stone-700);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.65;
}

.policy-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.note-card {
  background: #fff8ed;
  border-color: #ead4b7;
}

.note-card a,
.content-card a {
  color: var(--clay);
  font-weight: 900;
}

.note-card a {
  display: inline-flex;
  margin-top: 14px;
}

.timeline-card {
  display: grid;
  gap: 14px;
}

.timeline-row {
  align-items: start;
  border-top: 1px solid var(--stone-200);
  display: grid;
  gap: 16px;
  grid-template-columns: 120px 1fr;
  padding-top: 14px;
}

.timeline-row span {
  color: var(--ink);
  font-size: 1.1rem;
  font-weight: 900;
}

.timeline-row p {
  margin: 0;
}

@media (max-width: 1280px) {
  .ribbon-two,
  .ribbon-three {
    display: none;
  }

  .ribbon-one {
    left: 24px;
    max-width: 320px;
    top: 16%;
  }
}

@media (max-height: 760px) {
  .ribbon-three {
    display: none;
  }
}

@media (max-width: 980px) {
  .nav-links {
    display: none;
  }

  .mobile-menu-toggle {
    display: inline-flex;
  }

  .mobile-menu {
    background: rgba(250, 248, 244, 0.98);
    border: 1px solid rgba(31, 28, 24, 0.1);
    border-radius: 8px;
    box-shadow: 0 24px 60px rgba(31, 28, 24, 0.16);
    display: grid;
    gap: 4px;
    left: 16px;
    padding: 8px;
    position: absolute;
    right: 16px;
    top: calc(100% + 8px);
    z-index: 50;
  }

  .mobile-menu[hidden] {
    display: none;
  }

  .mobile-menu a {
    align-items: center;
    border-radius: 8px;
    color: var(--stone-700);
    display: flex;
    font-size: 0.95rem;
    font-weight: 850;
    min-height: 44px;
    padding: 0 14px;
  }

  .mobile-menu a:hover,
  .mobile-menu a[aria-current="page"] {
    background: rgba(31, 28, 24, 0.07);
    color: var(--ink);
  }

  .hero-book-large {
    height: 430px;
    right: -64px;
    top: 7%;
    width: 430px;
  }

  .ribbon-one {
    max-width: 300px;
  }

  .hero-content h1 {
    font-size: 4.2rem;
  }

  .intro-grid,
  .flow-layout,
  .media-grid,
  .review-layout,
  .article-index-grid,
  .policy-grid {
    grid-template-columns: 1fr;
  }

  .style-grid {
    grid-template-columns: repeat(2, 1fr);
  }

}

@media (max-width: 720px) {
  .site-header {
    gap: 12px;
    height: 66px;
    padding: 0 16px;
  }

  .brand-mark span {
    display: none;
  }

  .header-action {
    font-size: 0.84rem;
    min-height: 40px;
    padding: 0 13px;
  }

  .section-inner {
    padding-left: 18px;
    padding-right: 18px;
  }

  .hero-section {
    min-height: calc(100svh - 106px);
  }

  .hero-content {
    gap: 18px;
    padding: 78px 18px 86px;
  }

  .hero-content h1 {
    font-size: 3.2rem;
  }

  .hero-copy {
    font-size: 1.08rem;
  }

  .store-button {
    justify-content: center;
    width: 100%;
  }

  .store-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-store-actions {
    margin-top: 10px;
    max-width: 360px;
    width: 100%;
  }

  .hero-book-large {
    height: 330px;
    opacity: 0.55;
    right: -120px;
    top: 8%;
    width: 330px;
  }

  .hero-book-small {
    display: none;
  }

  .sentence-ribbon {
    display: none;
  }

  .intro-band,
  .flow-section,
  .media-section,
  .styles-section,
  .review-section {
    padding: 58px 0;
  }

  .intro-grid h2,
  .section-heading h2,
  .review-copy h2 {
    font-size: 2rem;
  }

  .phone-shell {
    height: 585px;
    width: min(326px, 100%);
  }

  .phone-hero h3 {
    font-size: 1.75rem;
  }

  .flow-card {
    align-items: flex-start;
  }

  .media-frame {
    min-height: 360px;
    padding: 32px 22px;
  }

  .media-frame h3 {
    font-size: 1.8rem;
  }

  .segmented-control {
    border-radius: 8px;
    grid-template-columns: 1fr;
  }

  .media-tab {
    justify-content: flex-start;
  }

  .video-lengths {
    grid-template-columns: 1fr;
  }

  .style-grid {
    grid-template-columns: 1fr;
  }

  .back-to-top {
    bottom: 18px;
    height: 44px;
    right: 18px;
    width: 44px;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-links {
    justify-content: flex-start;
  }

  .footer-inner .brand-mark span {
    display: inline;
  }

  .footer-inner p {
    text-align: left;
  }

  .page-hero {
    padding: 58px 0 46px;
  }

  .invite-hero-grid {
    grid-template-columns: 1fr;
  }

  .article-index,
  .policy-section,
  .article-section {
    padding: 50px 0;
  }

  .article-teaser,
  .content-card,
  .note-card,
  .timeline-card {
    padding: 18px;
  }

  .timeline-row {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }
}
