/* Page styles for About + Terms */

.page-hero {
  padding: 48px 0 40px;
  border-bottom: 1px solid var(--line);
}
.page-hero h1 {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: clamp(44px, 6.5vw, 80px);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-top: 20px;
  text-wrap: balance;
  padding-bottom: 0.1em;
}
.page-hero h1 em {
  font-style: italic;
  color: var(--accent);
}
.page-hero .sub {
  color: var(--muted);
  font-size: 18px;
  margin-top: 18px;
  max-width: 620px;
}

.breadcrumb {
  font-size: 13.5px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}
.breadcrumb a {
  color: var(--muted);
  text-decoration: none;
  transition: color .2s;
}
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb .sep { color: var(--muted-2); }
.breadcrumb .cur { color: var(--ink); font-weight: 500; }

/* About page */
.story-split {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 64px;
  align-items: start;
}
.story-quote {
  position: sticky;
  top: 100px;
  padding: 40px;
  background: var(--dark);
  color: var(--bg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
}
.story-quote blockquote {
  font-family: 'Instrument Serif', serif;
  font-size: 32px;
  line-height: 1.2;
  font-style: italic;
  margin: 0;
  color: var(--bg);
  text-wrap: balance;
}
.story-quote .attrib {
  margin-top: 20px;
  color: var(--gold);
  font-size: 14px;
}
.story-text .kicker {
  font-size: 12.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
}
.story-text h2 {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.1;
  margin-top: 12px;
  text-wrap: balance;
}
.story-text h2 em { font-style: italic; color: var(--accent); }
.story-text p {
  color: var(--muted);
  margin-top: 18px;
  font-size: 16.5px;
  line-height: 1.65;
  text-wrap: pretty;
}

/* Values grid */
.values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.value {
  padding: 32px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: all .3s var(--ease);
}
.value:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: var(--shadow-lg);
}
.value .n {
  font-family: 'Instrument Serif', serif;
  font-size: 40px;
  font-style: italic;
  color: var(--accent);
  line-height: 1;
}
.value h4 {
  font-family: 'Instrument Serif', serif;
  font-size: 26px;
  margin-top: 16px;
  line-height: 1.15;
}
.value p {
  color: var(--muted);
  margin-top: 10px;
  font-size: 14.5px;
  line-height: 1.6;
}

/* Timeline */
.timeline {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  position: relative;
}
.timeline::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 8%;
  right: 8%;
  height: 1px;
  background: var(--line-strong);
}
.milestone {
  padding: 0 16px;
  position: relative;
  text-align: left;
}
.milestone::before {
  content: '';
  position: absolute;
  top: 34px;
  left: 16px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--bg);
  border: 3px solid var(--accent);
}
.milestone .when {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 24px;
}
.milestone h4 {
  font-family: 'Instrument Serif', serif;
  font-size: 20px;
  margin-top: 24px;
  line-height: 1.2;
}
.milestone p {
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.55;
  margin-top: 8px;
}

/* Big numbers section (dark) */
.big-numbers {
  background: var(--dark);
  color: var(--bg);
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}
.big-numbers::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(214, 52, 25, 0.25), transparent 70%);
  filter: blur(80px);
}
.big-numbers .section-head h2 { color: var(--bg); }
.big-numbers .section-head h2 em { color: var(--accent-bright); }
.big-numbers .section-head p { color: rgba(246, 239, 230, 0.7); }
.big-numbers .section-head .kicker { color: #F97316; }
.big-numbers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
  margin-top: 56px;
}
.big-num {
  padding: 32px 24px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,0.02);
}
.big-num .v {
  font-family: 'Instrument Serif', serif;
  font-size: 64px;
  line-height: 1;
  color: var(--bg);
  font-style: italic;
  letter-spacing: -0.02em;
}
.big-num .l {
  font-size: 13.5px;
  color: rgba(246, 239, 230, 0.6);
  margin-top: 14px;
  letter-spacing: 0.02em;
}

/* Terms page */
.terms-wrap {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 64px;
  padding: 56px 0 40px;
  align-items: start;
}
.toc {
  position: sticky;
  top: 100px;
  padding: 24px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.toc-label {
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 12px;
}
.toc a {
  padding: 8px 12px;
  border-radius: 8px;
  color: var(--muted);
  text-decoration: none;
  font-size: 13.5px;
  transition: all .2s;
  border-left: 2px solid transparent;
}
.toc a:hover {
  color: var(--ink);
  background: var(--bg-alt);
}
.toc a.active {
  color: var(--accent);
  background: var(--accent-peach);
  border-left-color: var(--accent);
  font-weight: 600;
}

.terms-content section {
  padding-bottom: 64px;
  scroll-margin-top: 100px;
  position: relative;
}
.terms-content section:not(:last-child) {
  border-bottom: 1px solid var(--line);
  margin-bottom: 56px;
}
.terms-content .sec-kicker {
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 10px;
}
.terms-content h2 {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(32px, 4vw, 44px);
  line-height: 1.1;
  margin-bottom: 20px;
  text-wrap: balance;
}
.terms-content h2 em { font-style: italic; color: var(--accent); }
.terms-content h3 {
  font-family: 'General Sans', sans-serif;
  font-size: 17px;
  font-weight: 600;
  margin: 28px 0 12px;
  color: var(--ink);
}
.terms-content p {
  color: var(--ink-2);
  margin-bottom: 14px;
  line-height: 1.65;
  font-size: 15.5px;
}
.terms-content ul {
  list-style: none;
  padding-left: 0;
  margin: 8px 0 18px;
}
.terms-content ul li {
  padding: 6px 0 6px 22px;
  position: relative;
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.6;
}
.terms-content ul li::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 14px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}
.terms-content strong { color: var(--ink); font-weight: 600; }

/* Refund section callout */
#refund-policy {
  background: linear-gradient(180deg, var(--accent-peach), transparent 60%);
  margin: 0 -28px;
  padding: 40px 28px 64px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--accent-soft);
  position: relative;
}
[data-theme="dark"] #refund-policy {
  border-color: var(--line);
}
.refund-icon {
  position: absolute;
  top: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-red);
}

.refund-item {
  padding: 20px 24px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 12px;
}
.refund-item h4 {
  font-family: 'General Sans', sans-serif;
  font-size: 15.5px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.refund-item h4 .ic {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
}
.refund-item.yes h4 .ic { background: var(--accent); color: #fff; }
.refund-item.no h4 .ic { background: var(--muted-2); color: #fff; }
.refund-item p {
  color: var(--muted);
  font-size: 14px;
  margin: 0;
  line-height: 1.55;
  padding-left: 34px;
}

.mini-cta {
  margin: 40px 0 80px;
  padding: 24px 32px;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-align: center;
  font-size: 14.5px;
  color: var(--muted);
}
.mini-cta strong { color: var(--ink); }
.mini-cta a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 960px) {
  .story-split { grid-template-columns: 1fr; gap: 32px; }
  .story-quote { position: static; }
  .values { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr; gap: 32px; }
  .timeline::before { display: none; }
  .milestone::before { display: none; }
  .big-numbers-grid { grid-template-columns: repeat(2, 1fr); }
  .terms-wrap { grid-template-columns: 1fr; gap: 24px; }
  .toc { position: static; }
  #refund-policy { margin: 0; padding: 24px; }
}
