:root {
  --bg: #efeeea;
  --bg-strong: #e6e2da;
  --surface: rgba(255, 255, 255, 0.58);
  --surface-strong: rgba(255, 255, 255, 0.7);
  --line: rgba(37, 39, 34, 0.12);
  --line-dark: rgba(37, 39, 34, 0.18);
  --text: #252722;
  --muted: #252722;
  --ink: #252722;
  --ink-muted: #252722;
  --accent: #f4efe6;
  --accent-deep: #252722;
  --accent-heat: rgba(37, 39, 34, 0.72);
  --shadow: 0 24px 70px rgba(37, 39, 34, 0.08);
  --radius-xl: 36px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --max-width: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Baskervville", serif;
  color: var(--text);
  background: var(--bg);
}

.video-backdrop {
  display: none;
}

.video-backdrop video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.02) contrast(1.02) brightness(0.7);
}

.video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 10, 13, 0.34), rgba(10, 10, 13, 0.54));
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

.page-shell {
  width: min(calc(100% - 32px), var(--max-width));
  margin: 0 auto;
  padding-bottom: 48px;
  position: relative;
  z-index: 1;
}

.site-header {
  position: sticky;
  top: 18px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  width: fit-content;
  margin: 0 auto;
  padding: 12px 16px;
  border: 1px solid rgba(37, 39, 34, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.46);
  backdrop-filter: blur(22px);
  box-shadow: 0 18px 40px rgba(37, 39, 34, 0.08);
  color: var(--ink);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--ink);
}

.site-nav {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.4);
  color: var(--ink-muted);
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
}

.button,
.button-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition:
    transform 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease;
}

.button {
  background: #ffffff;
  color: var(--ink);
  box-shadow: inset 0 0 0 1px rgba(37, 39, 34, 0.08);
}

.button:hover,
.button-ghost:hover {
  transform: translateY(-1px);
}

.button-ghost {
  border-color: rgba(37, 39, 34, 0.12);
  background: rgba(255, 255, 255, 0.32);
  color: var(--ink);
}

.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 52px;
  color: inherit;
}

.hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  min-height: calc(100vh - 120px);
  padding: 136px 0 96px;
  place-items: center;
  align-content: center;
}

.hero-copy {
  max-width: 42rem;
  padding: 30px 32px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 28px;
  background: var(--surface-strong);
  backdrop-filter: blur(22px);
  box-shadow: var(--shadow);
  color: var(--ink);
}

.hero-entry {
  max-width: 1120px;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  backdrop-filter: none;
  box-shadow: none;
  color: var(--ink);
  text-align: center;
}

.eyebrow,
.feature-kicker {
  margin: 0 0 14px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: inherit;
  opacity: 0.72;
}

.eyebrow-titlecase {
  text-transform: none;
}

h1,
h2,
h3,
p,
blockquote,
dl,
dd,
dt {
  margin: 0;
}

h1 {
  max-width: 12ch;
  font-size: clamp(3.6rem, 8vw, 7rem);
  line-height: 0.93;
  letter-spacing: -0.06em;
}

h1 span,
h2 {
  font-family: inherit;
  font-weight: 400;
}

h2 {
  font-size: clamp(2.4rem, 5vw, 4.6rem);
  line-height: 0.96;
  letter-spacing: -0.05em;
}

h3 {
  font-size: 1.4rem;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.hero-text,
.section-heading p,
.feature-card p:last-child,
.journal-card p:nth-of-type(2),
.cta-section p:last-of-type,
.timeline-item p,
.score-note,
.logo-strip p,
.site-footer p {
  color: var(--muted);
  line-height: 1.6;
}

.hero-text {
  max-width: 35rem;
  margin-top: 24px;
  font-size: 1.08rem;
}

.hero-entry .eyebrow {
  color: var(--ink-muted);
}

.hero-entry h1 {
  max-width: 16ch;
  margin: 0 auto;
  font-size: clamp(3.2rem, 7vw, 5.8rem);
  color: var(--ink);
}

.hero-entry h1 span {
  color: var(--ink);
}

.hero-entry .hero-text {
  max-width: 44rem;
  margin: 24px auto 0;
  color: var(--ink);
  font-size: clamp(1.2rem, 1.8vw, 1.65rem);
  line-height: 1.45;
}

.hero-support {
  max-width: 34rem;
  margin: 12px auto 0;
  color: var(--ink-muted);
  font-size: 1rem;
  line-height: 1.5;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.hero-entry .hero-actions {
  justify-content: center;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 44px;
  padding-top: 24px;
  border-top: 1px solid rgba(16, 16, 20, 0.08);
}

.hero-stats dt {
  margin-bottom: 8px;
  font-size: 2rem;
  font-weight: 700;
  color: var(--ink);
}

.hero-stats dd {
  color: var(--ink-muted);
}

.hero-entry .hero-stats {
  width: min(760px, 100%);
  margin: 52px auto 0;
  padding: 26px 28px 0;
  border-top: 1px solid rgba(37, 39, 34, 0.14);
}

.hero-entry .hero-stats dt {
  color: var(--ink);
}

.hero-entry .hero-stats dd {
  color: var(--ink-muted);
}

.text-link-light {
  color: var(--ink);
}

.showcase-section {
  position: relative;
  padding: 180px 0 0;
}

.hero-visual {
  position: relative;
  min-height: 340vh;
  overflow: visible;
}

.hero-showcase {
  display: grid;
  grid-template-columns: minmax(180px, 220px) minmax(280px, 286px) minmax(180px, 220px);
  gap: 24px;
  align-items: start;
  justify-content: center;
}

.showcase-stage {
  position: sticky;
  top: max(92px, calc(50vh - 238px));
  display: grid;
  grid-column: 1 / span 3;
  grid-template-columns: minmax(180px, 220px) minmax(280px, 286px) minmax(180px, 220px);
  gap: 18px;
  align-items: center;
  z-index: 1;
}

.showcase-detail {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 220px;
  padding: 22px 24px;
  border: 1px solid rgba(37, 39, 34, 0.12);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(22px);
  box-shadow: var(--shadow);
  color: var(--ink);
  transition:
    opacity 220ms ease,
    transform 220ms ease;
}

.showcase-detail.is-switching {
  opacity: 0.62;
  transform: translateY(6px);
}

.showcase-detail h3 {
  margin-top: 6px;
  font-size: clamp(1.3rem, 1.8vw, 1.8rem);
  letter-spacing: -0.04em;
}

.showcase-detail p:last-child {
  margin-top: 8px;
  max-width: 14rem;
  color: var(--ink-muted);
  font-size: 0.98rem;
  line-height: 1.5;
}

.showcase-detail-intent {
  justify-self: start;
}

.showcase-detail-outcome {
  justify-self: end;
}

.iphone-shell {
  position: relative;
  width: min(100%, 286px);
  aspect-ratio: 78 / 168;
  margin-right: 0;
  justify-self: center;
  padding: 5px;
  border-radius: 32px;
  background:
    linear-gradient(180deg, #4d5362, #1c212b 18%, #090b10 100%);
  box-shadow:
    0 28px 70px rgba(0, 0, 0, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.24),
    inset 0 -1px 0 rgba(0, 0, 0, 0.42);
}

.iphone-button {
  position: absolute;
  width: 3px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(95, 96, 106, 0.95), rgba(42, 43, 49, 0.95));
  box-shadow:
    inset 1px 0 0 rgba(255, 255, 255, 0.12),
    inset -1px 0 0 rgba(0, 0, 0, 0.28);
}

.iphone-button-action,
.iphone-button-volume-up,
.iphone-button-volume-down {
  right: 100%;
  margin-right: 3px;
}

.iphone-button-action {
  top: 118px;
  height: 34px;
}

.iphone-button-volume-up {
  top: 182px;
  height: 62px;
}

.iphone-button-volume-down {
  top: 258px;
  height: 62px;
}

.iphone-button-power {
  left: 100%;
  top: 198px;
  height: 118px;
  margin-left: 3px;
}

.iphone-notch {
  position: absolute;
  top: 9px;
  left: 50%;
  transform: translateX(-50%);
  width: 104px;
  height: 22px;
  border-radius: 999px;
  background: #050507;
  z-index: 2;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.05);
}

.iphone-notch::after {
  content: "";
  position: absolute;
  right: 11px;
  top: 50%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  transform: translateY(-50%);
  background:
    radial-gradient(circle at 35% 35%, rgba(84, 138, 255, 0.9), rgba(24, 34, 64, 0.9));
  opacity: 0.9;
}

.phone-frame,
.feature-card,
.journal-card,
.cta-section,
.logo-strip,
.site-footer,
.section-heading,
.blog-hero,
.legal-hero {
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: var(--surface);
  backdrop-filter: blur(22px);
  box-shadow: var(--shadow);
}

.phone-frame {
  position: relative;
  height: 100%;
  min-height: 0;
  padding: 18px 10px 12px;
  border-radius: 26px;
  background:
    radial-gradient(circle at 50% 0%, rgba(37, 39, 34, 0.04), transparent 34%),
    linear-gradient(180deg, #f7f5f0, #ede9e0 100%);
  color: var(--ink);
  overflow: hidden;
  border: 1px solid rgba(37, 39, 34, 0.08);
}

.status-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  padding: 0 4px;
  color: var(--ink);
  font-size: 0.62rem;
  font-weight: 700;
}

.status-icons {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #3f6cb5;
  box-shadow: 0 0 0 2px rgba(63, 108, 181, 0.14);
}

.battery {
  width: 16px;
  height: 9px;
  border: 1px solid rgba(37, 39, 34, 0.4);
  border-radius: 3px;
  position: relative;
}

.battery::before {
  content: "";
  position: absolute;
  top: 1px;
  left: 1px;
  width: 10px;
  height: 5px;
  border-radius: 2px;
  background: linear-gradient(90deg, #f0b26c, #efca6e);
}

.battery::after {
  content: "";
  position: absolute;
  right: -3px;
  top: 2px;
  width: 2px;
  height: 3px;
  border-radius: 1px;
  background: rgba(37, 39, 34, 0.35);
}

.phone-topline,
.signup-form {
  display: grid;
  gap: 14px;
}

.phone-topline {
  grid-template-columns: repeat(2, 1fr);
  color: var(--ink-muted);
  font-size: 0.6rem;
}

.calendar-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-top: 14px;
}

.calendar-kicker {
  margin: 0;
  color: rgba(37, 39, 34, 0.66);
  font-size: 0.52rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.calendar-head h3 {
  margin: 5px 0 0;
  font-size: 1.08rem;
  line-height: 1;
}

.calendar-actions {
  display: inline-flex;
  gap: 6px;
}

.calendar-actions button {
  width: 26px;
  height: 26px;
  border: 1px solid rgba(37, 39, 34, 0.12);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
  color: var(--ink);
  box-shadow: 0 6px 18px rgba(37, 39, 34, 0.08);
}

.calendar-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 5px;
  margin-top: 10px;
}

.calendar-strip span,
.calendar-strip strong {
  display: grid;
  place-items: center;
  min-height: 28px;
  border-radius: 14px;
  color: rgba(37, 39, 34, 0.6);
  font-size: 0.5rem;
}

.calendar-strip strong {
  background: rgba(37, 39, 34, 0.1);
  color: var(--ink);
}

.app-tabs {
  display: flex;
  gap: 10px;
  margin-top: 10px;
  font-size: 1rem;
  letter-spacing: -0.05em;
}

.app-tabs strong {
  color: var(--ink);
}

.app-tabs span {
  color: var(--ink);
}

.app-section-label {
  margin-top: 6px;
  color: var(--ink);
  font-size: 0.66rem;
  font-weight: 700;
}

.app-list {
  display: grid;
  gap: 5px;
  margin-top: 5px;
  position: relative;
  z-index: 1;
}

.app-row {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 6px;
  align-items: start;
  transition:
    opacity 220ms ease,
    transform 220ms ease;
}

.app-time {
  padding-top: 4px;
  color: var(--ink);
  font-size: 0.56rem;
}

.app-time strong {
  display: block;
  margin-top: 1px;
  color: var(--accent-heat);
  font-size: 0.58rem;
}

.app-card {
  padding: 8px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(37, 39, 34, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3);
  transition:
    transform 240ms ease,
    border-color 240ms ease,
    box-shadow 240ms ease,
    background 240ms ease;
}

.app-card-top {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 6px;
  align-items: center;
}

.app-avatar {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 234, 214, 0.98), rgba(255, 162, 110, 0.9));
  color: #23120d;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.app-avatar.neutral {
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 229, 212, 0.94), rgba(201, 117, 73, 0.84));
  color: var(--ink);
}

.app-avatar.duo {
  width: 28px;
  font-size: 0.38rem;
}

.app-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border: 0;
  border-radius: 50%;
  background: rgba(249, 247, 241, 0.9);
  color: var(--ink);
  box-shadow: inset 0 0 0 1px rgba(37, 39, 34, 0.08);
  cursor: default;
}

.app-arrow svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.app-card.light {
  background: rgba(255, 255, 255, 0.42);
}

.app-row:not(.active) {
  opacity: 0.58;
}

.app-row.active {
  opacity: 1;
  transform: translateX(4px);
}

.app-row.active .app-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.72), rgba(245, 241, 233, 0.9));
  border-color: rgba(37, 39, 34, 0.18);
  box-shadow: 0 0 0 1px rgba(37, 39, 34, 0.04), 0 18px 34px rgba(37, 39, 34, 0.1);
  transform: scale(1.01);
}

.app-card-main strong {
  display: block;
  color: var(--ink);
  font-size: 0.6rem;
  line-height: 1.15;
}

.app-card-main p {
  margin-top: 2px;
  color: var(--ink-muted);
  font-size: 0.54rem;
  line-height: 1.25;
}

.bottom-nav {
  position: absolute;
  left: 50%;
  bottom: 10px;
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  width: calc(100% - 34px);
  padding: 6px;
  border-radius: 22px;
  background: rgba(63, 46, 34, 0.36);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(18px);
  box-shadow:
    0 12px 28px rgba(77, 47, 24, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.bottom-nav-item {
  display: grid;
  place-items: center;
  min-height: 42px;
  border-radius: 17px;
  color: rgba(255, 247, 238, 0.9);
}

.bottom-nav-item.is-active {
  background: rgba(255, 196, 147, 0.18);
  color: #eb8f5b;
}

.bottom-nav-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  line-height: 1;
}

.bottom-nav-icon svg {
  width: 100%;
  height: 100%;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.bottom-nav-user svg circle:last-of-type,
.bottom-nav-user svg path,
.bottom-nav-item.is-active .bottom-nav-home svg path:last-of-type {
  fill: currentColor;
  stroke: none;
}

.showcase-steps {
  display: grid;
  gap: 0;
  grid-column: 1 / -1;
  padding-top: 0;
  position: relative;
  z-index: 0;
  opacity: 0;
  pointer-events: none;
}

.showcase-step {
  min-height: 84vh;
}

.logo-strip,
.cta-section,
.site-footer {
  border-radius: var(--radius-xl);
  color: var(--ink);
}

.logo-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding: 28px 32px;
}

.system-section,
.journal-section {
  padding: 100px 0 0;
}

.section-heading-plain {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  backdrop-filter: none;
  box-shadow: none;
  color: var(--ink);
  text-align: center;
}

.section-heading-plain .eyebrow {
  color: var(--ink-muted);
}

.section-heading-plain h2 {
  max-width: 24ch;
  margin: 0 auto;
  color: var(--ink);
  font-size: clamp(1.7rem, 3.2vw, 3rem);
}

.section-heading-plain p:last-child {
  max-width: 52rem;
  margin: 18px auto 0;
  color: var(--ink-muted);
}

.section-heading {
  max-width: 720px;
  padding: 28px 30px;
  border-radius: 28px;
  color: var(--ink);
}

.section-heading p:last-child {
  margin-top: 18px;
  max-width: 40rem;
}

.feature-grid,
.journal-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 34px;
}

.feature-card,
.journal-card {
  padding: 28px;
  border-radius: var(--radius-lg);
  color: var(--ink);
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  border-radius: 14px;
  background: rgba(223, 204, 183, 0.28);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4);
  color: var(--ink);
}

.feature-icon svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature-card p:last-child {
  margin-top: 18px;
}

.journal-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
}

.journal-meta {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-deep);
}

.blog-list .journal-card {
  padding: 22px 0 0;
  border: 0;
  border-top: 1px solid rgba(37, 39, 34, 0.12);
  border-radius: 0;
  background: transparent;
  backdrop-filter: none;
  box-shadow: none;
}

.journal-card h3 {
  margin-top: 16px;
  font-size: clamp(1.2rem, 1.6vw, 1.45rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.journal-card p:nth-of-type(2) {
  margin-top: 14px;
}

.journal-card .text-link {
  margin-top: 18px;
}

.cta-section {
  margin-top: 100px;
  padding: 44px;
  text-align: center;
  color: var(--ink);
}

.cta-section h2 {
  max-width: 12ch;
  margin: 0 auto;
}

.cta-section p:last-of-type {
  max-width: 42rem;
  margin: 18px auto 0;
}

.signup-form {
  grid-template-columns: 1fr auto;
  max-width: 620px;
  margin: 30px auto 0;
}

.signup-form input {
  min-height: 56px;
  padding: 0 18px;
  border: 1px solid var(--line-dark);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 28px;
  padding: 24px 28px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.footer-links a {
  color: var(--ink);
  font-weight: 500;
}

.blog-page,
.article-page,
.legal-page {
  padding-top: 48px;
}

.blog-hero {
  max-width: 1100px;
  padding: 0;
  margin: 0 auto;
  color: var(--ink);
  border: 0;
  background: transparent;
  backdrop-filter: none;
  box-shadow: none;
  text-align: center;
}

.blog-hero h1 {
  max-width: 20ch;
  margin: 0 auto;
  font-size: clamp(2.7rem, 6vw, 5.2rem);
  line-height: 0.93;
  letter-spacing: -0.06em;
}

.blog-hero .hero-text {
  max-width: 46rem;
  margin: 26px auto 0;
  color: var(--ink);
  font-size: clamp(1.15rem, 1.7vw, 1.5rem);
  line-height: 1.45;
}

.blog-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding-top: 22px;
}

.article-card {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-xl);
  background: var(--surface-strong);
  box-shadow: var(--shadow);
  color: var(--ink);
}

.article-card h1 {
  max-width: 12ch;
  margin-top: 14px;
  color: var(--ink);
}

.article-body {
  margin-top: 30px;
}

.article-body p,
.article-body li {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.8;
}

.article-body p + p,
.article-body ol + p,
.article-body p + ol {
  margin-top: 18px;
}

.article-body ol {
  margin: 18px 0 0;
  padding-left: 24px;
  color: var(--muted);
}

.article-back {
  margin-top: 28px;
  color: var(--ink);
}

.legal-hero {
  max-width: 1100px;
  padding: 0;
  margin: 0 auto;
  color: var(--ink);
  border: 0;
  background: transparent;
  backdrop-filter: none;
  box-shadow: none;
  text-align: center;
}

.legal-hero h1 {
  max-width: 18ch;
  margin: 0 auto;
  font-size: clamp(2.7rem, 6vw, 5.2rem);
  line-height: 0.93;
  letter-spacing: -0.06em;
}

.legal-hero .hero-text {
  max-width: 46rem;
  margin: 26px auto 0;
  color: var(--ink);
  font-size: clamp(1.15rem, 1.7vw, 1.5rem);
  line-height: 1.45;
}

.legal-card {
  max-width: 980px;
  margin: 0 auto;
  padding: 26px 0 0;
  border: 0;
  border-top: 1px solid rgba(37, 39, 34, 0.12);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: var(--ink);
}

.legal-card + .legal-card {
  margin-top: 36px;
}

.legal-card h2 {
  color: var(--ink);
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.legal-card h3 {
  margin-top: 28px;
  color: var(--ink);
  font-size: 1.25rem;
  letter-spacing: -0.03em;
}

.legal-card p,
.legal-card li {
  color: var(--muted);
  line-height: 1.8;
}

.legal-card p + p,
.legal-card p + ul,
.legal-card p + ol,
.legal-card ul + p,
.legal-card ol + p,
.legal-card h3 + p,
.legal-card h3 + ul {
  margin-top: 16px;
}

.legal-card ul,
.legal-card ol {
  margin: 16px 0 0;
  padding-left: 24px;
}

.legal-card .journal-meta {
  margin-bottom: 12px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 600ms ease,
    transform 600ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1080px) {
  .hero,
  .feature-grid,
  .logo-strip,
  .journal-grid {
    grid-template-columns: 1fr;
  }

  .hero-showcase {
    grid-template-columns: 1fr;
  }

  .showcase-stage {
    position: relative;
    top: 0;
    grid-column: auto;
    grid-template-columns: 1fr;
  }

  .showcase-steps {
    display: none;
  }

  .blog-list {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: auto;
  }

  .showcase-detail {
    min-height: auto;
  }

  .iphone-shell {
    margin-right: 0;
    width: min(100%, 520px);
    justify-self: center;
  }

  .journal-header {
    align-items: start;
    flex-direction: column;
  }

  .site-footer {
    flex-direction: column;
    align-items: start;
  }
}

@media (max-width: 760px) {
  .page-shell {
    width: min(calc(100% - 20px), var(--max-width));
  }

  .site-header {
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    padding: 12px;
    width: min(100%, 720px);
  }

  .site-nav {
    order: 3;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
  }

  .hero {
    gap: 28px;
    padding-top: 36px;
  }

  h1 {
    font-size: clamp(3rem, 18vw, 5rem);
  }

  .hero-entry h1 {
    max-width: 10ch;
  }

  .hero-stats,
  .signup-form {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: auto;
  }

  .showcase-detail {
    padding: 22px;
  }

  .iphone-shell {
    margin-right: 0;
    width: 100%;
    padding: 12px;
    border-radius: 38px;
  }

  .iphone-notch {
    top: 12px;
    width: 132px;
    height: 24px;
  }

  .phone-frame {
    min-height: 0;
    padding: 30px 16px 16px;
    border-radius: 30px;
  }

  .showcase-step {
    min-height: 0;
    padding: 22px;
  }

  .cta-section,
  .feature-card,
  .logo-strip,
  .journal-card {
    padding: 24px;
  }

  .site-footer {
    padding: 20px 24px;
  }

  .article-card {
    padding: 28px 24px;
  }

  .legal-card {
    padding: 28px 24px;
  }

  .app-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .app-time {
    padding-top: 0;
  }

  .app-card-top {
    grid-template-columns: auto 1fr;
  }

  .app-arrow {
    grid-column: 2;
    justify-self: end;
    margin-top: -44px;
  }
}
