/* REiSRHYMES site - shared base, nav, footer, page components */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: 'Space Grotesk', sans-serif;
  background: #121212;
  color: #F2F0EA;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
::selection { background: #E6C832; color: #121212; }
a { color: inherit; }
.accent { color: #E6C832; }

/* ── nav ─────────────────────────────────────────────────────────── */
.nav {
  max-width: 1320px;
  margin: 0 auto;
  padding: 28px clamp(20px, 6vw, 96px) 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.nav-brand {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.02em;
  color: #F2F0EA;
  text-decoration: none;
  white-space: nowrap;
}
.nav-brand { display: inline-flex; align-items: center; gap: 12px; }
.nav-brand .accent { color: #E6C832; }
.nav-mark {
  width: 36px;
  height: 36px;
  border-radius: 18%;
  background: #E6C832;
  display: grid;
  place-items: center;
  flex: none;
}
.nav-mark img { width: 78%; height: auto; display: block; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.nav-links { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.nav-links a {
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #807C74;
  text-decoration: none;
  transition: color 0.15s;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: #E6C832; }
.nav-links .nav-login {
  padding: 9px 14px;
  border: 1.5px solid #E6C832;
  border-radius: 3px;
  background: rgba(230, 200, 50, 0.08);
  color: #F2F0EA;
  transition: background 0.15s, color 0.15s;
}
.nav-links .nav-login:hover { background: #E6C832; color: #121212; }

/* ── page shell ──────────────────────────────────────────────────── */
.page {
  max-width: 1320px;
  margin: 0 auto;
  padding: clamp(56px, 8vw, 104px) clamp(20px, 6vw, 96px) clamp(48px, 6vw, 96px);
}
.page-eyebrow {
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #E6C832;
  line-height: 2.1;
  margin-bottom: 20px;
}
.page-h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: clamp(30px, 4vw, 52px);
  letter-spacing: -0.02em;
  line-height: 1.1;
  max-width: 18em;
  text-wrap: balance;
  margin-bottom: 20px;
}
.page-lead {
  max-width: 38em;
  font-size: clamp(15px, 1.4vw, 17px);
  line-height: 1.6;
  color: #A8A49C;
  text-wrap: pretty;
}
.page-section { margin-top: clamp(48px, 6vw, 80px); }
.section-h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: clamp(22px, 2.4vw, 30px);
  letter-spacing: -0.01em;
  line-height: 1.2;
  text-wrap: balance;
  margin-bottom: 24px;
}
.btn {
  display: inline-block;
  padding: 13px 24px;
  border: 1.5px solid #E6C832;
  border-radius: 3px;
  background: rgba(230, 200, 50, 0.08);
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #F2F0EA;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.15s, color 0.15s;
}
.btn:hover { background: #E6C832; color: #121212; }

/* ── cards (features, contact) ───────────────────────────────────── */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.card {
  border: 1px solid rgba(242, 240, 234, 0.12);
  border-radius: 8px;
  padding: 28px;
  display: flex;
  flex-direction: column;
}
.card-verb {
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #E6C832;
  margin-bottom: 14px;
}
.card h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 20px;
  letter-spacing: -0.01em;
  line-height: 1.25;
  text-wrap: balance;
  margin-bottom: 12px;
}
.card p {
  font-size: 15px;
  line-height: 1.6;
  color: #A8A49C;
  text-wrap: pretty;
}
.card .card-limit {
  margin-top: auto;
  padding-top: 16px;
  font-size: 13px;
  color: #807C74;
}
.card .btn { margin-top: 20px; align-self: flex-start; }

/* ── the arc (features): sticky bar, the pillar in view lit ──────── */
.arc-bar {
  position: sticky;
  top: 0;
  z-index: 5;
  background: #121212;
  border-bottom: 1px solid rgba(242, 240, 234, 0.12);
}
.arc {
  list-style: none;
  max-width: 1320px;
  margin: 0 auto;
  padding: 14px clamp(20px, 6vw, 96px);
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 0;
  font-family: 'Space Mono', monospace;
  font-size: clamp(11px, 1.2vw, 14px);
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.arc li { display: flex; align-items: baseline; }
.arc li + li::before {
  content: "\2192";
  color: rgba(242, 240, 234, 0.25);
  padding: 0 0.9em;
  letter-spacing: 0;
}
.arc a { color: #807C74; text-decoration: none; transition: color 0.2s; }
.arc a:hover { color: #F2F0EA; }
.arc a.is-active { color: #E6C832; }
.page--arc { padding-top: clamp(16px, 2vw, 24px); }
.pillar { scroll-margin-top: calc(var(--arc-h, 60px) + 8px); }
.pillar:first-child { border-top: 0; }

/* ── pillars (features) ──────────────────────────────────────────── */
.pillars { display: grid; }
.pillar {
  border-top: 1px solid rgba(242, 240, 234, 0.12);
  padding: clamp(32px, 4vw, 56px) 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 28px clamp(40px, 5vw, 80px);
}
.pillar:last-child { border-bottom: 1px solid rgba(242, 240, 234, 0.12); }
/* copy and list stack in one column, the screenshot takes the other; sides alternate */
@media (min-width: 900px) {
  .pillar {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-rows: auto 1fr auto;
    align-items: start;
  }
  .pillar-copy { grid-column: 1; grid-row: 1; }
  .pillar-list { grid-column: 1; grid-row: 2; }
  .pillar-limit { grid-column: 1; grid-row: 3; }
  .pillar-shot { grid-column: 2; grid-row: 1 / span 3; align-self: center; }
  .pillar:nth-child(even) .pillar-copy,
  .pillar:nth-child(even) .pillar-list,
  .pillar:nth-child(even) .pillar-limit { grid-column: 2; }
  .pillar:nth-child(even) .pillar-shot { grid-column: 1; }
}
/* mood opener: one people photo across the top of a pillar, before the copy and screenshot */
.pillar-mood { margin: 0 0 8px; min-width: 0; }
.pillar-mood img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border: 1px solid rgba(242, 240, 234, 0.12);
  border-radius: 8px;
}
@media (min-width: 720px) { .pillar-mood img { aspect-ratio: 2 / 1; } }
.pillar-mood figcaption {
  margin-top: 10px;
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: #807C74;
  text-wrap: pretty;
}
.page-section > .pillar-mood { margin-bottom: 28px; }
@media (min-width: 900px) {
  .pillar--mood { grid-template-rows: auto auto 1fr auto; }
  .pillar--mood .pillar-mood { grid-column: 1 / -1; grid-row: 1; }
  .pillar--mood .pillar-copy { grid-row: 2; }
  .pillar--mood .pillar-list { grid-row: 3; }
  .pillar--mood .pillar-limit { grid-row: 4; }
  .pillar--mood .pillar-shot { grid-row: 2 / span 3; }
}
/* photo credit: one tiny link under the right corner of every people photo, "Photo: Name" to their Instagram */
.photo-credit {
  display: block;
  text-align: right;
  margin-top: 5px;
  font-family: 'Space Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #807C74;
  opacity: 0.8;
  text-decoration: none;
  transition: color 0.15s, opacity 0.15s;
}
.photo-credit:hover { color: #E6C832; opacity: 1; }
.pillar-copy { display: flex; flex-direction: column; }
.pillar-verb {
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #E6C832;
  margin-bottom: 14px;
}
.pillar h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: clamp(24px, 2.6vw, 34px);
  letter-spacing: -0.015em;
  line-height: 1.15;
  text-wrap: balance;
  max-width: 14em;
  margin-bottom: 14px;
}
.pillar-copy p {
  max-width: 34em;
  font-size: 15px;
  line-height: 1.6;
  color: #A8A49C;
  text-wrap: pretty;
}
.pillar-limit {
  font-size: 13px;
  line-height: 1.55;
  color: #807C74;
  text-wrap: pretty;
  max-width: 34em;
}
.pillar-shot { margin: 0; }
.pillar-shot img, .shot-ph {
  display: block;
  width: 100%;
  border: 1px solid rgba(242, 240, 234, 0.12);
  border-radius: 8px;
  overflow: hidden;
}
.pillar-shot img { height: auto; }
.shot-ph {
  aspect-ratio: 16 / 10;
  background:
    repeating-linear-gradient(135deg, rgba(242, 240, 234, 0.04) 0 12px, transparent 12px 24px),
    rgba(242, 240, 234, 0.03);
  display: grid;
  place-items: center;
}
.shot-ph span {
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #807C74;
}
.pillar-shot figcaption {
  margin-top: 10px;
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: #807C74;
  text-wrap: pretty;
}
.pillar-list, .strip {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 22px 32px;
  align-content: start;
}
.pillar-list li, .strip li { display: flex; flex-direction: column; }
.pillar-list strong, .strip strong {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: -0.01em;
  line-height: 1.3;
  color: #F2F0EA;
  margin-bottom: 6px;
}
.pillar-list span, .strip span {
  font-size: 14px;
  line-height: 1.55;
  color: #A8A49C;
  text-wrap: pretty;
}
.strip { margin-top: 8px; }
@media (min-width: 900px) { .strip { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* one line per feature: name, then a short phrase */
.pillar-list--line, .strip--line { grid-template-columns: minmax(0, 1fr); gap: 10px; }
.pillar-list--line li, .strip--line li { display: block; font-size: 15px; line-height: 1.5; text-wrap: pretty; }
.pillar-list--line strong, .strip--line strong { display: inline; font-size: inherit; margin: 0; }
.pillar-list--line span, .strip--line span { display: inline; font-size: inherit; }
.pillar-list--line span::before, .strip--line span::before { content: "\00a0-\00a0"; color: #807C74; }
@media (min-width: 900px) { .strip--line { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ── pricing ─────────────────────────────────────────────────────── */
.tiers {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 32px 24px;
}
@media (min-width: 720px) { .tiers { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.tier {
  border: 1px solid rgba(242, 240, 234, 0.12);
  border-radius: 8px;
  padding: 28px;
  display: flex;
  flex-direction: column;
}
.tier.featured { border-color: #E6C832; }
.tier-name {
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #E6C832;
  margin-bottom: 18px;
}
.tier-price {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 44px;
  letter-spacing: -0.03em;
  line-height: 1;
}
.tier-price-text { font-size: 28px; line-height: 44px; letter-spacing: -0.02em; }
.tier-per { font-size: 13px; color: #807C74; margin: 8px 0 22px; }
.tier ul { list-style: none; }
.tier li {
  font-size: 15px;
  line-height: 1.5;
  color: #A8A49C;
  padding: 7px 0 7px 18px;
  position: relative;
  border-top: 1px solid rgba(242, 240, 234, 0.08);
  text-wrap: pretty;
}
.tier li::before { content: '+'; position: absolute; left: 0; color: #E6C832; }
.tier .btn { margin-top: auto; align-self: flex-start; margin-top: 24px; max-width: 100%; white-space: normal; text-align: center; line-height: 1.6; }
.tier-note { margin-top: 18px; font-size: 13px; line-height: 1.5; color: #807C74; text-wrap: pretty; }
.tiers-note { margin-top: 20px; font-size: 13px; color: #807C74; text-wrap: pretty; }
.tiers-note a { color: #A8A49C; }
/* Free carries the first month: a flag on its top edge and two lines inside. */
.tier.featured { position: relative; }
.tier-flag {
  position: absolute;
  top: 0;
  left: 28px;
  transform: translateY(-50%);
  padding: 5px 12px;
  border-radius: 999px;
  background: #E6C832;
  color: #121212;
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}
@media (max-width: 359px) { .tier-flag { left: 16px; font-size: 10px; letter-spacing: 0.02em; } }
.tier-trial {
  margin: 16px 0 0;
  padding: 12px 14px;
  border-radius: 6px;
  background: rgba(230, 200, 50, 0.08);
  font-size: 14px;
  line-height: 1.5;
  color: #F2F0EA;
  text-wrap: pretty;
}

/* ── faq ─────────────────────────────────────────────────────────── */
/* one centered column: questions and answers share the same width */
.faq-section { max-width: 820px; margin-left: auto; margin-right: auto; }
.faq-section .section-h2 { text-align: center; }
.faq { margin-top: clamp(20px, 3vw, 36px); border-top: 1px solid rgba(242, 240, 234, 0.12); }
.faq details { border-bottom: 1px solid rgba(242, 240, 234, 0.12); }
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(18px, 2.2vw, 26px) 0;
  font-weight: 400;
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.35;
  text-wrap: balance;
}
.faq summary::-webkit-details-marker { display: none; }
/* a plus that turns into a minus */
.faq summary::after {
  content: '';
  flex: none;
  width: 14px;
  height: 14px;
  background:
    linear-gradient(currentColor, currentColor) center / 100% 1.5px no-repeat,
    linear-gradient(currentColor, currentColor) center / 1.5px 100% no-repeat;
  opacity: 0.7;
  transition: transform 0.2s ease;
}
.faq details[open] summary::after {
  background: linear-gradient(currentColor, currentColor) center / 100% 1.5px no-repeat;
  transform: rotate(180deg);
}
.faq summary:hover, .faq details[open] summary { color: #E6C832; }
.faq summary:focus-visible { outline: 2px solid #E6C832; outline-offset: 4px; }
.faq details p {
  padding: 0 38px clamp(20px, 2.4vw, 28px) 0;
  font-size: clamp(15px, 1.3vw, 16px);
  line-height: 1.65;
  color: #A8A49C;
  text-wrap: pretty;
}
.faq details p a { color: #F2F0EA; }

/* ── footer ──────────────────────────────────────────────────────── */
/* ── people row (pricing: three performers, 4:5) ────────────────── */
.people-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 28px clamp(24px, 3vw, 48px);
}
@media (min-width: 720px) { .people-row { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.person { margin: 0; min-width: 0; }
.person img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border: 1px solid rgba(242, 240, 234, 0.12);
  border-radius: 8px;
}

/* ── closer (end-of-page next step: home → features → pricing) ──── */
.closer {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 clamp(20px, 6vw, 96px) clamp(16px, 2vw, 24px);
  border-top: 1px solid rgba(242, 240, 234, 0.12);
}
.closer-inner {
  max-width: 44em;
  padding-top: clamp(40px, 6vw, 72px);
}
.page .closer { max-width: none; padding-left: 0; padding-right: 0; }
.closer .section-h2 { margin-bottom: 14px; }
.closer p {
  font-size: clamp(15px, 1.4vw, 17px);
  line-height: 1.6;
  color: #A8A49C;
  text-wrap: pretty;
  max-width: 36em;
}
.closer-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 28px;
  margin-top: 32px;
}
.closer-quiet {
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: #807C74;
  text-decoration: none;
  border-bottom: 1px solid rgba(242, 240, 234, 0.18);
  transition: color 0.15s, border-color 0.15s;
}
.closer-quiet:hover { color: #E6C832; border-color: #E6C832; }

.footer {
  max-width: 1320px;
  margin: clamp(48px, 6vw, 96px) auto 0;
  padding: 0 clamp(20px, 6vw, 96px) 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px 32px;
  flex-wrap: wrap;
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #807C74;
}
.footer::before {
  content: '';
  flex-basis: 100%;
  height: 1px;
  background: rgba(242, 240, 234, 0.12);
  margin-bottom: 12px;
}
.footer a { color: #807C74; text-decoration: none; transition: color 0.15s; }
.footer a:hover { color: #E6C832; }
.footer .heart { color: #E6C832; }
.footer-legal { display: flex; gap: 24px; flex-wrap: wrap; }

/* ── features: one piece cycling through themes ──────────────────── */
/* the page's coda: centered, the laptop wide, the list a grid of cells under it */
.anywhere {
  display: grid;
  justify-items: center;
  text-align: center;
  padding: clamp(16px, 3vw, 40px) 0 clamp(48px, 7vw, 88px);
}
.anywhere .section-h2 { font-size: clamp(26px, 3.4vw, 42px); }
.anywhere .theme-cycle { grid-column: auto; grid-row: auto; width: 100%; max-width: 920px; margin-top: 16px; }
.anywhere .strip--line {
  width: 100%;
  max-width: 1040px;
  margin-top: clamp(48px, 6vw, 72px);
  gap: 28px;
}
.anywhere .strip--line strong { display: block; margin-bottom: 4px; }
.anywhere .strip--line span { display: block; }
.anywhere .strip--line span::before { content: none; }
@media (min-width: 640px) { .anywhere .strip--line { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 40px; } }
@media (min-width: 900px) { .anywhere .strip--line { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px 56px; } }
/* a laptop: screen bezel, then a base wider than the lid */
.theme-device {
  position: relative;
  padding: clamp(6px, 1.2vw, 12px);
  background: #232220;
  border: 1px solid rgba(242, 240, 234, 0.16);
  border-radius: 14px 14px 4px 4px;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.6), 0 30px 60px -20px rgba(0, 0, 0, 0.8), 0 0 80px -10px rgba(230, 200, 50, 0.14);
}
.theme-device::after {
  content: "";
  position: absolute;
  left: -3%; right: -3%; bottom: calc(-1 * clamp(8px, 1.4vw, 14px));
  height: clamp(8px, 1.4vw, 14px);
  background: linear-gradient(#3a3935, #1a1918);
  border-radius: 0 0 12px 12px / 0 0 100% 100%;
  box-shadow: 0 10px 20px -8px rgba(0, 0, 0, 0.8);
}
.theme-device .theme-frames img { border: 0; border-radius: 3px; }
@media (min-width: 900px) { .theme-device::after { left: -6%; right: -6%; } }
.theme-frames { display: grid; }
.theme-frames img { grid-area: 1 / 1; opacity: 0; animation: theme-cycle 17.5s infinite both; }
.theme-frames img:nth-child(1) { opacity: 1; animation-delay: -0.7s; }
.theme-frames img:nth-child(2) { animation-delay: 2.8s; }
.theme-frames img:nth-child(3) { animation-delay: 6.3s; }
.theme-frames img:nth-child(4) { animation-delay: 9.8s; }
.theme-frames img:nth-child(5) { animation-delay: 13.3s; }
@keyframes theme-cycle {
  0% { opacity: 0; }
  4%, 20% { opacity: 1; }
  24%, 100% { opacity: 0; }
}
.theme-cycle figcaption span { white-space: nowrap; animation: theme-name 17.5s infinite both; }
.theme-cycle figcaption { display: flex; justify-content: space-between; gap: 8px; margin-top: 18px; padding: 0 4px; letter-spacing: 0.06em; }
@media (max-width: 420px) { .theme-cycle figcaption { font-size: 10px; letter-spacing: 0.02em; } }
.theme-cycle figcaption span:nth-of-type(1) { animation-delay: -0.7s; }
.theme-cycle figcaption span:nth-of-type(2) { animation-delay: 2.8s; }
.theme-cycle figcaption span:nth-of-type(3) { animation-delay: 6.3s; }
.theme-cycle figcaption span:nth-of-type(4) { animation-delay: 9.8s; }
.theme-cycle figcaption span:nth-of-type(5) { animation-delay: 13.3s; }
@keyframes theme-name {
  0% { color: #807C74; }
  4%, 20% { color: #F2F0EA; }
  24%, 100% { color: #807C74; }
}
@media (prefers-reduced-motion: reduce) {
  .theme-frames img, .theme-cycle figcaption span { animation: none; }
}
