/* ============================================================
   Vize — design system (tokens mirror the app's src/theme/palette.ts)
   ============================================================ */

:root {
  color-scheme: light;

  --ivory: #fff9f5;
  --ivory-warm: #faf0ec;
  --paper: #f6e5e2;
  --paper-deep: #f4e0de;
  --ink: #251a1f;
  --ink-soft: #73666b;
  --ink-mute: #a39198;
  --rose: #b46a76;
  --rose-deep: #7d3c48;
  --rose-soft: #d5bbb4;
  --rose-wash: rgba(180, 106, 118, 0.09);
  --plum: #6b3d5f;
  --plum-deep: #542f4b;
  --champagne: #d6a65f;
  --hairline: rgba(37, 26, 31, 0.12);
  --hairline-soft: rgba(37, 26, 31, 0.07);

  --serif: "Fraunces", "Cormorant Garamond", Georgia, serif;
  --sans:
    "Inter", "SF Pro Text", -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --max: 1240px;

  --t-eyebrow: 0.18em;
  --t-wide: 0.04em;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  font-feature-settings: "ss01", "ss02", "cv11";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(
      80% 60% at 8% -10%,
      rgba(214, 166, 95, 0.09),
      transparent 60%
    ),
    radial-gradient(
      70% 60% at 100% 0%,
      rgba(180, 106, 118, 0.1),
      transparent 60%
    ),
    radial-gradient(
      60% 50% at 100% 100%,
      rgba(107, 61, 95, 0.06),
      transparent 60%
    );
  pointer-events: none;
  content: "";
}

::selection {
  background: var(--ink);
  color: var(--ivory);
}

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

p,
h1,
h2,
h3,
h4 {
  margin: 0;
}

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

button {
  font: inherit;
  border: 0;
  background: none;
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--rose);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- Layout primitives ---------- */

.container {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
}

.eyebrow {
  display: inline-block;
  color: var(--ink-soft);
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: var(--t-eyebrow);
}

.eyebrow::before {
  display: inline-block;
  width: 24px;
  height: 1px;
  margin: 0 12px 4px 0;
  background: currentColor;
  vertical-align: middle;
  content: "";
}

/* ---------- Typography ---------- */

h1,
h2,
h3 {
  font-family: var(--serif);
  color: var(--ink);
  letter-spacing: -0.018em;
  font-weight: 400;
  text-wrap: balance;
}

h1 em,
h2 em,
h3 em,
.italic {
  font-style: italic;
  font-variation-settings: "SOFT" 80, "WONK" 1;
  color: var(--rose-deep);
}

.h-display {
  font-size: clamp(2.75rem, 7vw, 6rem);
  line-height: 1.02;
  letter-spacing: -0.025em;
}

.h-section {
  font-size: clamp(2.2rem, 4.6vw, 4rem);
  line-height: 1.04;
  letter-spacing: -0.022em;
}

.lede {
  max-width: 50ch;
  color: var(--ink-soft);
  font-size: clamp(1rem, 1.2vw, 1.18rem);
  line-height: 1.6;
}

.divider {
  display: block;
  width: 100%;
  height: 1px;
  margin: 0;
  background: var(--hairline);
  border: 0;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 249, 245, 0);
  border-bottom: 1px solid transparent;
  transition:
    background 320ms var(--ease),
    border-color 320ms var(--ease),
    backdrop-filter 320ms var(--ease);
}

.site-header.is-stuck {
  background: rgba(255, 249, 245, 0.86);
  border-bottom-color: var(--hairline-soft);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
}

.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  min-height: 72px;
  gap: 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.brand-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  object-fit: cover;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: 36px;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 400;
}

.site-nav a {
  position: relative;
  padding: 8px 0;
  transition: color 220ms var(--ease);
}

.site-nav a::after {
  position: absolute;
  bottom: 4px;
  left: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 320ms var(--ease);
  content: "";
}

.site-nav a:hover {
  color: var(--ink);
}

.site-nav a:hover::after,
.site-nav a[aria-current="page"]::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 42px;
  padding: 0 18px;
  border: 1px solid var(--plum);
  border-radius: 999px;
  background: var(--plum);
  color: var(--ivory);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: var(--t-wide);
  transition:
    background 220ms var(--ease),
    color 220ms var(--ease),
    transform 220ms var(--ease);
}

.header-cta:hover {
  background: var(--plum-deep);
  border-color: var(--plum-deep);
  color: var(--ivory);
  transform: translateY(-1px);
}

/* ---------- Reveal animation ---------- */

.reveal {
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity 720ms var(--ease),
    transform 720ms var(--ease);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

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

.hero {
  position: relative;
  padding: clamp(48px, 7vw, 96px) 0 clamp(64px, 9vw, 128px);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: center;
}

.hero-eyebrow {
  margin-bottom: 28px;
}

.hero-title {
  font-size: clamp(2.8rem, 7.4vw, 6.6rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
}

.hero-title em {
  display: block;
}

.hero-lede {
  max-width: 46ch;
  margin-top: 28px;
  color: var(--ink-soft);
  font-size: clamp(1.05rem, 1.3vw, 1.22rem);
  line-height: 1.6;
}

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

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--hairline);
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 500;
}

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

.hero-meta span::before {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--rose);
  content: "";
}

/* Hero phone stage */

.hero-stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 620px;
}

.hero-stage::before {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      60% 55% at 50% 50%,
      rgba(244, 224, 222, 0.85),
      transparent 70%
    );
  filter: blur(20px);
  content: "";
}

.hero-stage::after {
  position: absolute;
  width: 78%;
  aspect-ratio: 1 / 1;
  border: 1px solid var(--hairline);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

/* ---------- Mockup placeholder ---------- */

.mock-frame {
  position: relative;
  z-index: 2;
  width: clamp(260px, 28vw, 320px);
  aspect-ratio: 9 / 19.5;
  border: 1px solid var(--hairline);
  border-radius: 40px;
  background: var(--ivory-warm);
  box-shadow:
    0 60px 100px -40px rgba(84, 43, 53, 0.18),
    0 24px 48px -16px rgba(84, 43, 53, 0.08);
}

/* ---------- Real app screenshots ---------- */

.phone-composition {
  position: relative;
  width: min(100%, 620px);
  height: clamp(520px, 54vw, 720px);
}

.phone-shot {
  position: relative;
  z-index: 2;
  width: clamp(220px, 25vw, 320px);
  margin: 0;
  border: 1px solid rgba(37, 26, 31, 0.1);
  border-radius: 38px;
  background: var(--ivory);
  box-shadow:
    0 54px 96px -42px rgba(84, 43, 53, 0.32),
    0 20px 40px -24px rgba(84, 43, 53, 0.24);
  overflow: hidden;
}

.phone-shot img {
  width: 100%;
  height: auto;
  border-radius: inherit;
}

.phone-shot-main {
  position: absolute;
  left: 50%;
  top: 50%;
  width: clamp(270px, 29vw, 360px);
  transform: translate(-50%, -50%) rotate(1.5deg);
}

.phone-shot-left,
.phone-shot-right {
  position: absolute;
  width: clamp(190px, 18vw, 250px);
  opacity: 0.92;
}

.phone-shot-left {
  left: 0;
  top: 20%;
  transform: rotate(-8deg);
}

.phone-shot-right {
  right: 0;
  bottom: 13%;
  transform: rotate(7deg);
}

.app-hero-stage {
  min-height: clamp(560px, 60vw, 760px);
}

.app-hero-stage::before {
  opacity: 0.86;
}

/* ---------- Store badges ---------- */

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  height: 56px;
  padding: 0 22px;
  border: 1px solid var(--plum);
  border-radius: 999px;
  background: var(--plum);
  color: var(--ivory);
  transition:
    transform 220ms var(--ease),
    background 220ms var(--ease),
    border-color 220ms var(--ease),
    color 220ms var(--ease);
}

.store-badge:hover {
  background: var(--plum-deep);
  border-color: var(--plum-deep);
  transform: translateY(-2px);
}

.store-badge.is-ghost {
  background: transparent;
  color: var(--plum);
}

.store-badge.is-ghost:hover {
  background: var(--plum);
  color: var(--ivory);
}

.store-badge svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
  flex: 0 0 auto;
}

.store-badge .play-icon {
  fill: none;
}

.store-badge .play-green {
  fill: #00a173;
}
.store-badge .play-yellow {
  fill: #ffcd48;
}
.store-badge .play-red {
  fill: #ff4b55;
}
.store-badge .play-blue {
  fill: #4ab7ff;
}

.store-badge-text {
  display: grid;
  gap: 1px;
  line-height: 1;
}

.store-badge-text small {
  font-size: 10px;
  letter-spacing: var(--t-wide);
  opacity: 0.8;
}

.store-badge-text strong {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.01em;
}

/* ---------- Manifesto strip ---------- */

.manifesto {
  position: relative;
  padding: clamp(72px, 9vw, 128px) 0;
  background: var(--paper);
  border-top: 1px solid var(--hairline-soft);
  border-bottom: 1px solid var(--hairline-soft);
  text-align: center;
}

.manifesto blockquote {
  max-width: 22ch;
  margin: 0 auto;
  font-family: var(--serif);
  font-size: clamp(2rem, 4.4vw, 3.6rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  font-style: italic;
  font-variation-settings: "SOFT" 90, "WONK" 1;
  color: var(--ink);
}

.manifesto blockquote::before,
.manifesto blockquote::after {
  display: block;
  width: 40px;
  height: 1px;
  margin: 28px auto;
  background: var(--ink);
  opacity: 0.4;
  content: "";
}

.manifesto cite {
  display: block;
  font-style: normal;
  font-size: 12px;
  letter-spacing: var(--t-eyebrow);
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* ---------- Section base ---------- */

.section {
  padding: clamp(80px, 10vw, 140px) 0;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 80px);
  align-items: end;
  margin-bottom: clamp(48px, 6vw, 80px);
}

.section-head .lede {
  align-self: end;
  margin-top: 0;
}

/* ---------- Ritual ---------- */

.ritual {
  background: var(--ivory-warm);
  border-top: 1px solid var(--hairline-soft);
  border-bottom: 1px solid var(--hairline-soft);
}

.ritual-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--hairline);
}

.ritual-step {
  position: relative;
  padding: 40px 28px 48px;
  border-right: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}

.ritual-step:nth-child(4n) {
  border-right: 0;
}

.ritual-step-num {
  font-family: var(--serif);
  font-size: clamp(3.2rem, 5vw, 4.4rem);
  line-height: 1;
  letter-spacing: -0.04em;
  font-style: italic;
  font-variation-settings: "SOFT" 90;
  color: var(--rose);
  opacity: 0.55;
}

.ritual-step h3 {
  margin-top: 32px;
  font-family: var(--serif);
  font-size: 1.4rem;
  line-height: 1.18;
  letter-spacing: -0.015em;
}

.ritual-step p {
  margin-top: 12px;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.6;
}

/* ---------- Inside Vize (tabs) ---------- */

.inside-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(40px, 7vw, 96px);
  align-items: center;
}

.inside-stage {
  display: grid;
  place-items: center;
  padding: 48px 0;
}

.inside-stage .mock-frame {
  width: clamp(260px, 26vw, 300px);
}

.inside-tabs {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--hairline);
}

.tab-input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.tab-row {
  display: grid;
  grid-template-columns: 40px 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 28px 0;
  border-bottom: 1px solid var(--hairline);
  cursor: pointer;
  transition: background 220ms var(--ease);
}

.tab-row:hover {
  background: rgba(37, 26, 31, 0.025);
}

.tab-num {
  font-family: var(--serif);
  font-size: 14px;
  font-style: italic;
  color: var(--ink-soft);
}

.tab-title {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2vw, 1.7rem);
  letter-spacing: -0.015em;
  color: var(--ink);
}

.tab-icon {
  width: 24px;
  height: 24px;
  position: relative;
}

.tab-icon::before,
.tab-icon::after {
  position: absolute;
  background: var(--ink);
  content: "";
}

.tab-icon::before {
  top: 50%;
  left: 4px;
  right: 4px;
  height: 1px;
  transform: translateY(-50%);
}

.tab-icon::after {
  top: 4px;
  bottom: 4px;
  left: 50%;
  width: 1px;
  transform: translateX(-50%);
  transition: transform 320ms var(--ease);
}

.tab-body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 420ms var(--ease);
}

.tab-body > div {
  overflow: hidden;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.65;
}

.tab-body > div > p {
  padding-bottom: 28px;
  border-bottom: 1px solid var(--hairline);
  max-width: 52ch;
}

.tab-input:checked ~ .tab-row .tab-icon::after {
  transform: translateX(-50%) scaleY(0);
}

.tab-input:checked ~ .tab-body {
  grid-template-rows: 1fr;
}

.tab-input:checked ~ .tab-row .tab-title {
  font-style: italic;
  font-variation-settings: "SOFT" 80;
  color: var(--rose-deep);
}

/* ---------- Product feature sections ---------- */

.feature-section {
  background: var(--ivory);
}

.feature-split {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(40px, 7vw, 96px);
  align-items: center;
}

.feature-split.is-reversed {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
}

.feature-copy {
  max-width: 560px;
}

.feature-copy .h-section {
  margin-top: 22px;
}

.feature-copy .lede {
  margin-top: 26px;
}

.feature-list {
  display: grid;
  gap: 18px;
  margin: 36px 0 0;
  padding: 0;
  list-style: none;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.55;
}

.feature-list li {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 14px;
  align-items: start;
}

.feature-list li::before {
  width: 8px;
  height: 8px;
  margin-top: 8px;
  border: 1px solid var(--rose);
  border-radius: 50%;
  background: var(--rose-wash);
  content: "";
}

.screenshot-pair {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 36px);
  align-items: center;
  justify-items: center;
  padding: clamp(24px, 4vw, 42px);
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}

.screenshot-pair::before {
  position: absolute;
  inset: 18% 8%;
  z-index: 0;
  background: linear-gradient(
    120deg,
    rgba(180, 106, 118, 0.13),
    rgba(214, 166, 95, 0.08),
    rgba(107, 61, 95, 0.09)
  );
  filter: blur(34px);
  content: "";
}

.screenshot-pair .phone-shot {
  width: min(100%, 280px);
}

.screenshot-pair .is-lifted {
  transform: translateY(-34px);
}

/* ---------- Affirmation wall ---------- */

.affirmations {
  background: var(--paper);
}

.affirmation-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--hairline);
  border: 1px solid var(--hairline);
}

.affirmation {
  display: grid;
  align-content: space-between;
  gap: 24px;
  min-height: 280px;
  padding: 36px 32px;
  background: var(--paper);
  transition: background 320ms var(--ease);
}

.affirmation:hover {
  background: var(--ivory);
}

.affirmation blockquote {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.3rem, 1.6vw, 1.55rem);
  line-height: 1.25;
  letter-spacing: -0.015em;
  font-style: italic;
  font-variation-settings: "SOFT" 90, "WONK" 1;
  color: var(--ink);
}

.affirmation-tag {
  font-size: 11px;
  letter-spacing: var(--t-eyebrow);
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* ---------- Stories ---------- */

.stories {
  background: var(--ivory);
}

.story {
  display: grid;
  grid-template-columns: 1fr minmax(220px, 280px);
  gap: clamp(32px, 6vw, 80px);
  align-items: end;
  padding: clamp(48px, 6vw, 72px) 0;
  border-bottom: 1px solid var(--hairline);
}

.story:first-of-type {
  border-top: 1px solid var(--hairline);
}

.story blockquote {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.6vw, 2.4rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-wrap: balance;
}

.story-emphasis {
  font-style: italic;
  font-variation-settings: "SOFT" 80;
  color: var(--rose-deep);
}

.story-meta {
  text-align: right;
}

.story-name {
  font-family: var(--serif);
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.story-role {
  margin-top: 6px;
  font-size: 11px;
  letter-spacing: var(--t-eyebrow);
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* ---------- Story product showcase ---------- */

.story-product {
  background: var(--paper);
  border-top: 1px solid var(--hairline-soft);
  border-bottom: 1px solid var(--hairline-soft);
}

.story-grid {
  display: grid;
  grid-template-columns: minmax(180px, 0.8fr) minmax(240px, 1.1fr) minmax(180px, 0.8fr);
  gap: clamp(16px, 3vw, 36px);
  align-items: center;
  justify-items: center;
}

.story-grid .phone-shot {
  width: min(100%, 280px);
}

.story-player-shot {
  width: min(100%, 340px) !important;
}

.story-library-shot {
  transform: rotate(-4deg) translateY(28px);
}

.story-create-shot {
  transform: rotate(4deg) translateY(-24px);
}

/* ---------- Streak section ---------- */

.streak-section {
  background: var(--ivory-warm);
}

.streak-visual {
  display: grid;
  justify-items: center;
  padding: clamp(24px, 4vw, 44px) 0;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}

.streak-visual .phone-shot {
  width: min(100%, 300px);
}

.streak-notes {
  display: grid;
  gap: 1px;
  margin-top: 40px;
  border: 1px solid var(--hairline);
  background: var(--hairline);
}

.streak-notes p {
  display: grid;
  grid-template-columns: minmax(112px, 0.32fr) 1fr;
  gap: 20px;
  margin: 0;
  padding: 20px 22px;
  background: var(--ivory-warm);
}

.streak-notes strong {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.streak-notes span {
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.55;
}

/* ---------- Download CTA ---------- */

.download {
  position: relative;
  padding: clamp(96px, 12vw, 168px) 0;
  background:
    radial-gradient(
      60% 50% at 50% 0%,
      rgba(244, 224, 222, 0.9),
      transparent 70%
    ),
    radial-gradient(
      50% 50% at 50% 100%,
      rgba(107, 61, 95, 0.1),
      transparent 70%
    ),
    var(--paper);
  text-align: center;
  border-top: 1px solid var(--hairline-soft);
}

.download .container {
  display: grid;
  justify-items: center;
  max-width: 720px;
}

.download-eyebrow {
  margin-bottom: 32px;
}

.download h2 {
  font-size: clamp(2.4rem, 6vw, 5.4rem);
  line-height: 1.02;
  letter-spacing: -0.028em;
}

.download p {
  max-width: 38ch;
  margin-top: 24px;
  color: var(--ink-soft);
  font-size: clamp(1rem, 1.2vw, 1.15rem);
  line-height: 1.6;
}

.download-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 48px;
}

.download-foot {
  margin-top: 32px;
  font-size: 12px;
  letter-spacing: var(--t-eyebrow);
  text-transform: uppercase;
  color: var(--ink-soft);
}

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

.site-footer {
  padding: 56px 0 48px;
  background: var(--ivory);
  border-top: 1px solid var(--hairline-soft);
}

.footer-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
  color: var(--ink-soft);
  font-size: 13px;
}

.footer-inner nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px 24px;
}

.footer-inner nav a {
  transition: color 220ms var(--ease);
}

.footer-inner nav a:hover {
  color: var(--ink);
}

.footer-copy {
  display: grid;
  gap: 2px;
  text-align: center;
}

/* ---------- Support ---------- */

.support-page {
  padding: clamp(56px, 8vw, 96px) 0 clamp(96px, 10vw, 128px);
}

.support-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  align-items: center;
  gap: clamp(48px, 8vw, 112px);
}

.support-intro h1 {
  max-width: 8ch;
  margin-top: 18px;
  font-size: clamp(3.2rem, 7vw, 6rem);
  line-height: 0.98;
  letter-spacing: -0.035em;
}

.support-intro > p:last-child {
  max-width: 48ch;
  margin-top: 28px;
  color: var(--ink-soft);
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  line-height: 1.7;
}

.support-contact-card {
  position: relative;
  overflow: hidden;
  padding: clamp(32px, 4vw, 48px);
  background: var(--paper);
  border: 1px solid rgba(125, 60, 72, 0.14);
  border-radius: 28px;
  box-shadow: 0 24px 70px rgba(84, 47, 75, 0.08);
}

.support-contact-card::after {
  position: absolute;
  right: -72px;
  bottom: -94px;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(180, 106, 118, 0.22), transparent 68%);
  border-radius: 50%;
  pointer-events: none;
  content: "";
}

.support-label {
  color: var(--rose-deep);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: var(--t-eyebrow);
}

.support-contact-card h2 {
  max-width: 10ch;
  margin-top: 18px;
  font-size: clamp(2rem, 3vw, 2.75rem);
  line-height: 1.06;
}

.support-contact-card > p:not(.support-label) {
  max-width: 38ch;
  margin-top: 20px;
  color: var(--ink-soft);
  line-height: 1.65;
}

.support-contact-card > a {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 32px;
  padding: 16px 0;
  color: var(--rose-deep);
  border-top: 1px solid rgba(125, 60, 72, 0.2);
  border-bottom: 1px solid rgba(125, 60, 72, 0.2);
  font-weight: 600;
}

.support-contact-card > a span {
  font-size: 1.2rem;
  transition: transform 220ms var(--ease);
}

.support-contact-card > a:hover span {
  transform: translate(3px, -3px);
}

.support-contact-card small {
  position: relative;
  z-index: 1;
  display: block;
  margin-top: 18px;
  color: var(--ink-mute);
  font-size: 12px;
  line-height: 1.55;
}

.guarantee-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 40px;
  margin-top: clamp(72px, 10vw, 128px);
  padding: clamp(32px, 5vw, 64px);
  background: var(--plum-deep);
  color: var(--ivory);
  border-radius: 30px;
}

.guarantee-card .support-label {
  color: var(--rose-soft);
}

.guarantee-card h2 {
  margin-top: 14px;
  color: var(--ivory);
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.05;
}

.guarantee-card p:last-child {
  max-width: 62ch;
  margin-top: 18px;
  color: rgba(255, 249, 245, 0.72);
  line-height: 1.7;
}

.support-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  white-space: nowrap;
  background: var(--ivory);
  color: var(--plum-deep);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  transition:
    transform 220ms var(--ease),
    background 220ms var(--ease);
}

.support-button:hover {
  background: var(--paper);
  transform: translateY(-2px);
}

.support-faq {
  display: grid;
  grid-template-columns: minmax(220px, 0.7fr) minmax(0, 1.3fr);
  align-items: start;
  gap: clamp(48px, 9vw, 128px);
  margin-top: clamp(88px, 12vw, 152px);
}

.support-section-heading h2 {
  margin-top: 18px;
  font-size: clamp(2.3rem, 4vw, 3.5rem);
  line-height: 1.04;
}

.support-questions {
  border-bottom: 1px solid var(--hairline);
}

.support-questions details {
  border-top: 1px solid var(--hairline);
}

.support-questions summary {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 24px 0;
  color: var(--ink);
  cursor: pointer;
  font-family: var(--serif);
  font-size: 1.25rem;
  list-style: none;
}

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

.support-questions summary::after {
  color: var(--rose-deep);
  font-family: var(--sans);
  font-size: 1.35rem;
  font-weight: 300;
  content: "+";
  transition: transform 220ms var(--ease);
}

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

.support-questions details > div {
  max-width: 62ch;
  padding: 0 44px 28px 0;
}

.support-questions details p {
  color: var(--ink-soft);
  line-height: 1.7;
}

.support-questions details p + p {
  margin-top: 14px;
}

.support-questions a,
.company-card a {
  color: var(--rose-deep);
  text-decoration: underline;
  text-decoration-color: var(--rose-soft);
  text-underline-offset: 4px;
}

.company-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.6fr);
  gap: 48px;
  margin-top: clamp(88px, 12vw, 152px);
  padding-top: 40px;
  border-top: 1px solid var(--hairline);
}

.company-card h2 {
  max-width: 18ch;
  margin-top: 14px;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  line-height: 1.1;
}

.company-card address {
  color: var(--ink-soft);
  font-style: normal;
  line-height: 1.75;
}

@media (max-width: 900px) {
  .support-hero,
  .support-faq {
    grid-template-columns: 1fr;
  }

  .support-contact-card {
    max-width: 620px;
  }

  .guarantee-card,
  .company-card {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .guarantee-card {
    gap: 28px;
  }

  .support-button {
    justify-self: start;
  }
}

@media (max-width: 540px) {
  .support-contact-card,
  .guarantee-card {
    border-radius: 22px;
  }

  .support-contact-card > a {
    font-size: 14px;
  }

  .support-button {
    width: 100%;
  }

  .company-card {
    gap: 28px;
  }
}

/* ---------- Legal pages ---------- */

.legal-page {
  padding: clamp(56px, 8vw, 96px) 0 clamp(96px, 10vw, 128px);
}

.legal {
  max-width: 720px;
}

.legal h1 {
  margin-top: 18px;
  font-size: clamp(2.6rem, 5vw, 4rem);
  line-height: 1.04;
  letter-spacing: -0.025em;
}

.legal .updated {
  margin-top: 16px;
  font-size: 12px;
  letter-spacing: var(--t-eyebrow);
  text-transform: uppercase;
  color: var(--ink-soft);
}

.legal section {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--hairline);
}

.legal section:first-of-type {
  margin-top: 64px;
}

.legal h2 {
  font-family: var(--serif);
  font-size: 1.4rem;
  letter-spacing: -0.015em;
}

.legal p {
  margin-top: 16px;
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.7;
  max-width: 64ch;
}

.legal a {
  color: var(--rose-deep);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  text-decoration-color: var(--rose-soft);
  transition: text-decoration-color 220ms var(--ease);
}

.legal a:hover {
  text-decoration-color: var(--rose-deep);
}

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

@media (max-width: 1000px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero-stage {
    min-height: 540px;
  }

  .app-hero-stage {
    min-height: 620px;
  }

  .section-head {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .ritual-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .ritual-step:nth-child(2n) {
    border-right: 0;
  }

  .ritual-step:nth-child(4n) {
    border-right: 0;
  }

  .ritual-step:nth-child(odd) {
    border-right: 1px solid var(--hairline);
  }

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

  .inside-stage {
    order: -1;
  }

  .feature-split,
  .feature-split.is-reversed {
    grid-template-columns: 1fr;
  }

  .feature-split.is-reversed .feature-copy {
    order: -1;
  }

  .feature-copy {
    max-width: 680px;
  }

  .affirmation-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .story-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .story {
    grid-template-columns: 1fr;
    gap: 24px;
    align-items: start;
  }

  .story-meta {
    text-align: left;
  }

  .site-nav {
    display: none;
  }

  .header-inner {
    grid-template-columns: auto 1fr;
  }

  .header-inner .header-cta {
    justify-self: end;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(var(--max), calc(100% - 32px));
  }

  .site-header.is-stuck {
    background: rgba(255, 249, 245, 0.98);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .hero {
    padding-top: 32px;
  }

  .hero-stage {
    min-height: 480px;
  }

  .app-hero-stage {
    min-height: 560px;
  }

  .phone-composition {
    height: 540px;
  }

  .phone-shot-main {
    width: min(76vw, 292px);
  }

  .phone-shot-left,
  .phone-shot-right {
    width: min(43vw, 168px);
  }

  .phone-shot-left {
    left: -6px;
    top: 12%;
  }

  .phone-shot-right {
    right: -6px;
    bottom: 8%;
  }

  .hero-actions .store-badge {
    width: 100%;
    justify-content: center;
    max-width: none;
  }

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

  .ritual-step,
  .ritual-step:nth-child(odd) {
    border-right: 0;
  }

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

  .screenshot-pair,
  .story-grid {
    grid-template-columns: 1fr;
  }

  .screenshot-pair .is-lifted,
  .story-library-shot,
  .story-create-shot {
    transform: none;
  }

  .story-grid .phone-shot,
  .story-player-shot {
    width: min(100%, 300px) !important;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .footer-inner nav {
    justify-content: center;
  }

  .download-actions {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .header-cta {
    padding: 0 14px;
    font-size: 12px;
  }

  .hero-meta {
    flex-direction: column;
    gap: 12px;
  }

  .app-hero-stage {
    min-height: 500px;
  }

  .phone-composition {
    height: 500px;
  }

  .phone-shot {
    border-radius: 32px;
  }

  .phone-shot-left,
  .phone-shot-right {
    display: none;
  }

  .phone-shot-main {
    width: min(82vw, 286px);
    transform: translate(-50%, -50%);
  }

  .mock-frame {
    width: 84vw;
    max-width: 280px;
  }

  .streak-notes p {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 1ms !important;
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }

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

/* ============================================================
   Journal — editorial pages generated from the blog collection
   ============================================================ */

.journal-hero {
  padding: clamp(72px, 10vw, 132px) 0 clamp(54px, 7vw, 92px);
  border-bottom: 1px solid var(--hairline);
}

.journal-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.7fr);
  align-items: end;
  gap: clamp(48px, 8vw, 120px);
}

.journal-hero h1 {
  max-width: 850px;
  margin-top: 26px;
  font-size: clamp(3.4rem, 7.4vw, 7.2rem);
  line-height: 0.94;
  letter-spacing: -0.04em;
}

.journal-intro {
  max-width: 42ch;
  padding-bottom: 10px;
  color: var(--ink-soft);
  font-size: clamp(1rem, 1.35vw, 1.16rem);
  line-height: 1.75;
}

.featured-entry {
  padding: clamp(64px, 8vw, 110px) 0;
}

.featured-entry-card {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(380px, 1.05fr);
  min-height: 590px;
  overflow: hidden;
  border: 1px solid var(--hairline);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.35);
  transition:
    border-color 260ms var(--ease),
    box-shadow 320ms var(--ease),
    transform 320ms var(--ease);
}

.featured-entry-card:hover {
  border-color: rgba(125, 60, 72, 0.28);
  box-shadow: 0 30px 80px rgba(84, 47, 75, 0.09);
  transform: translateY(-4px);
}

.featured-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(44px, 6vw, 82px);
}

.entry-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--rose-deep);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: var(--t-eyebrow);
  text-transform: uppercase;
}

.featured-copy h2 {
  max-width: 11ch;
  margin-top: 26px;
  font-size: clamp(2.5rem, 4.2vw, 4.2rem);
  line-height: 1.02;
}

.featured-copy > p {
  max-width: 47ch;
  margin-top: 28px;
  color: var(--ink-soft);
  line-height: 1.75;
}

.entry-date {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-top: auto;
  padding-top: 56px;
  color: var(--ink-soft);
  font-size: 12px;
  letter-spacing: var(--t-wide);
}

.entry-arrow {
  color: var(--ink);
  transition: transform 240ms var(--ease);
}

.featured-entry-card:hover .entry-arrow {
  transform: translateX(5px);
}

.featured-visual {
  position: relative;
  min-height: 590px;
  overflow: hidden;
  background: var(--paper-deep);
}

.featured-visual > a:first-of-type {
  position: absolute;
  inset: 0;
}

.featured-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 700ms var(--ease);
}

.featured-photo-credit {
  position: absolute;
  bottom: 16px;
  left: 18px;
  z-index: 3;
  padding: 7px 10px;
  border-radius: 2px;
  background: rgba(28, 18, 23, 0.64);
  color: rgba(255, 250, 247, 0.9);
  font-size: 10px;
  letter-spacing: 0.02em;
  backdrop-filter: blur(7px);
}

.featured-photo-credit a,
.article-cover figcaption a {
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.featured-entry-card:hover .featured-visual img {
  transform: scale(1.025);
}

.journal-archive {
  padding: 24px 0 clamp(80px, 10vw, 140px);
}

.journal-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--hairline);
}

.journal-section-head > span {
  color: var(--ink-mute);
  font-size: 12px;
}

.entry-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.entry-card {
  min-height: 390px;
  border-right: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}

.entry-card:nth-child(3n) {
  border-right: 0;
}

.entry-card a {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 38px;
  transition: background 240ms var(--ease);
}

.entry-card a:hover {
  background: var(--rose-wash);
}

.entry-card h2 {
  margin-top: 26px;
  font-size: 2rem;
  line-height: 1.08;
}

.entry-card a > p:not(.entry-meta) {
  margin-top: 20px;
  color: var(--ink-soft);
  line-height: 1.7;
}

.entry-card time {
  margin-top: auto;
  padding-top: 40px;
  color: var(--ink-mute);
  font-size: 12px;
}

.journal-note {
  padding: clamp(70px, 9vw, 120px) 0;
  background: var(--plum-deep);
  color: var(--ivory);
}

.journal-note-inner {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: clamp(28px, 5vw, 76px);
}

.journal-mark {
  display: grid;
  width: 78px;
  height: 78px;
  place-items: center;
  border: 1px solid rgba(255, 249, 245, 0.24);
  border-radius: 50%;
  color: var(--champagne);
  font-size: 20px;
}

.journal-note p {
  max-width: 780px;
  font-family: var(--serif);
  font-size: clamp(2rem, 4.5vw, 4.6rem);
  line-height: 1.05;
  letter-spacing: -0.025em;
}

/* ---------- Journal article ---------- */

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink-mute);
  font-size: 12px;
}

.breadcrumbs a {
  transition: color 220ms var(--ease);
}

.breadcrumbs a:hover {
  color: var(--ink);
}

.article-hero {
  padding: 40px 0 clamp(72px, 9vw, 124px);
}

.article-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
  align-items: center;
  gap: clamp(56px, 9vw, 132px);
  margin-top: clamp(64px, 8vw, 112px);
}

.article-heading h1 {
  max-width: 11ch;
  margin-top: 24px;
  font-size: clamp(3.4rem, 6.8vw, 6.8rem);
  line-height: 0.96;
  letter-spacing: -0.038em;
}

.article-dek {
  max-width: 52ch;
  margin-top: 32px;
  color: var(--ink-soft);
  font-size: clamp(1.05rem, 1.4vw, 1.22rem);
  line-height: 1.72;
}

.article-byline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 32px;
  color: var(--ink-mute);
  font-size: 12px;
  letter-spacing: var(--t-wide);
}

.article-cover {
  margin: 0;
}

.article-cover img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: 2px;
  object-fit: cover;
}

.article-cover figcaption {
  margin-top: 12px;
  color: var(--ink-soft);
  font-size: 0.72rem;
  font-style: normal;
  line-height: 1.45;
}

.article-body {
  display: grid;
  grid-template-columns: minmax(0, 720px) minmax(220px, 300px);
  justify-content: center;
  align-items: start;
  gap: clamp(64px, 9vw, 130px);
  padding-top: clamp(72px, 9vw, 126px);
  padding-bottom: clamp(96px, 12vw, 168px);
  border-top: 1px solid var(--hairline);
}

.article-prose {
  min-width: 0;
}

.article-prose > p:first-child {
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(1.45rem, 2.2vw, 1.9rem);
  line-height: 1.5;
}

.article-prose p,
.article-prose li {
  color: var(--ink-soft);
  font-size: 1.05rem;
  line-height: 1.82;
}

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

.article-prose h2 {
  margin-top: 68px;
  margin-bottom: 22px;
  font-size: clamp(2rem, 3.5vw, 3rem);
  line-height: 1.08;
}

.article-prose ul,
.article-prose ol {
  display: grid;
  gap: 12px;
  margin: 26px 0;
  padding-left: 24px;
}

.article-prose li::marker {
  color: var(--rose);
}

.article-prose strong {
  color: var(--ink);
  font-weight: 600;
}

.article-prose blockquote {
  position: relative;
  margin: 46px 0;
  padding: 34px 38px 34px 46px;
  border: 0;
  background: var(--rose-wash);
}

.article-prose blockquote::before {
  position: absolute;
  top: 34px;
  bottom: 34px;
  left: 0;
  width: 2px;
  background: var(--rose);
  content: "";
}

.article-prose blockquote p {
  color: var(--rose-deep);
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  font-style: italic;
  line-height: 1.55;
}

.article-prose a {
  color: var(--rose-deep);
  text-decoration: underline;
  text-decoration-color: var(--rose-soft);
  text-underline-offset: 4px;
}

.article-aside {
  position: sticky;
  top: 112px;
  padding-top: 28px;
  border-top: 1px solid var(--ink);
}

.aside-number {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 12px;
  background: var(--plum);
  color: var(--ivory);
  font-family: var(--serif);
  font-size: 20px;
}

.article-aside .aside-title {
  margin-top: 22px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.3rem;
}

.article-aside > p:not(.aside-number):not(.aside-title) {
  margin-top: 12px;
  color: var(--ink-soft);
  font-size: 0.9rem;
  line-height: 1.65;
}

.article-aside a {
  display: inline-block;
  margin-top: 22px;
  color: var(--rose-deep);
  font-size: 13px;
  font-weight: 500;
}

.article-cta {
  padding: clamp(88px, 11vw, 150px) 0;
  background:
    radial-gradient(circle at 75% 30%, rgba(214, 166, 95, 0.17), transparent 30%),
    var(--paper);
  text-align: center;
}

.article-cta-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.article-cta h2 {
  max-width: 850px;
  margin-top: 24px;
  font-size: clamp(2.7rem, 5.6vw, 5.6rem);
  line-height: 0.98;
}

.article-cta-inner > p:not(.eyebrow) {
  max-width: 54ch;
  margin-top: 28px;
  color: var(--ink-soft);
  line-height: 1.75;
}

.article-cta .store-badge {
  margin-top: 36px;
}

@media (max-width: 1000px) {
  .journal-hero-grid,
  .article-hero-grid {
    grid-template-columns: 1fr;
  }

  .journal-intro {
    max-width: 60ch;
  }

  .featured-entry-card {
    grid-template-columns: 1fr;
  }

  .featured-visual {
    min-height: 520px;
  }

  .article-heading h1 {
    max-width: 13ch;
  }

  .article-cover {
    width: min(100%, 620px);
    margin: 0 auto;
  }

  .article-body {
    grid-template-columns: minmax(0, 720px);
  }

  .article-aside {
    position: static;
  }
}

@media (max-width: 720px) {
  .journal-hero {
    padding-top: 56px;
  }

  .journal-hero h1 {
    font-size: clamp(3.1rem, 16vw, 5rem);
  }

  .featured-entry-card {
    min-height: 0;
  }

  .featured-copy {
    min-height: 500px;
    padding: 38px 28px;
  }

  .featured-copy h2 {
    font-size: 2.7rem;
  }

  .featured-visual {
    min-height: 450px;
  }

  .entry-date {
    flex-direction: column;
  }

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

  .entry-card,
  .entry-card:nth-child(3n) {
    min-height: 330px;
    border-right: 0;
  }

  .journal-note-inner {
    grid-template-columns: 1fr;
  }

  .journal-mark {
    width: 58px;
    height: 58px;
  }

  .article-hero {
    padding-top: 28px;
  }

  .article-hero-grid {
    margin-top: 58px;
  }

  .article-heading h1 {
    font-size: clamp(3rem, 15vw, 4.6rem);
  }

  .article-cover {
    width: 100%;
  }

  .article-cover img {
    border-radius: 0;
  }

  .article-body {
    padding-top: 64px;
  }

  .article-prose blockquote {
    padding: 28px 24px 28px 30px;
  }
}
