/* Re:name AU website v2 — shared design system
 * Inter for UI, Fraunces for display headings, accent #ff4d2e.
 * Carried forward from build/landing.html so the new site reads as one brand.
 * British English. No em dashes anywhere.
 */

:root {
  --black: #0a0a0a;
  --off-black: #131313;
  --night: #1a1a1a;
  --grey-1: #6b6b6b;
  --grey-2: #aaaaaa;
  --grey-3: #d8d8d8;
  --grey-4: #ededed;
  --grey-5: #f7f7f7;
  --white: #ffffff;
  --accent: #ff4d2e;
  --accent-dark: #cf3a1d;
  --accent-soft: #fff1ed;
  --green: #16a34a;
  --yellow: #f59e0b;
  --container: 1240px;
  --radius: 4px;
  --radius-lg: 12px;
  --ease: cubic-bezier(.16,1,.3,1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
::selection { background: var(--accent); color: var(--white); }
html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  color: var(--black);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

.container { max-width: var(--container); margin: 0 auto; padding: 0 32px; }
.container-wide { max-width: 1380px; margin: 0 auto; padding: 0 32px; }
.serif { font-family: 'Fraunces', Georgia, serif; }

/* Reveal animations */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal-1 { transition-delay: 0s; }
.reveal-2 { transition-delay: .08s; }
.reveal-3 { transition-delay: .16s; }
.reveal-4 { transition-delay: .24s; }
.reveal-5 { transition-delay: .32s; }
@media (prefers-reduced-motion) { .reveal { opacity: 1 !important; transform: none !important; } }

/* ---------- Header ---------- */
header {
  position: fixed; top: 0; left: 0; right: 0;
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(14px) saturate(150%);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
  z-index: 100;
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, background .3s ease;
}
header.scrolled { border-bottom-color: var(--grey-3); background: rgba(255,255,255,.96); }
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 32px; max-width: var(--container); margin: 0 auto;
}
.logo {
  display: inline-flex; align-items: center; height: 22px;
  text-decoration: none;
}
.logo img { height: 100%; width: auto; display: block; }

nav ul { list-style: none; display: flex; gap: 32px; align-items: center; }
nav a {
  color: var(--off-black); text-decoration: none; font-size: 14px;
  font-weight: 500; transition: color .15s ease;
}
nav a:hover { color: var(--accent); }
nav a.active { color: var(--accent); }

.btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 12px 22px; border-radius: var(--radius);
  font-weight: 600; font-size: 15px; text-decoration: none;
  transition: all .2s var(--ease); cursor: pointer; border: none;
  font-family: inherit; letter-spacing: -0.01em; line-height: 1;
  white-space: nowrap;
}
.btn-primary { background: var(--black); color: var(--white); }
.btn-primary:hover { background: var(--accent); transform: translateY(-1px); box-shadow: 0 8px 20px rgba(255,77,46,.3); }
.btn-secondary { background: transparent; color: var(--black); border: 1px solid var(--grey-3); }
.btn-secondary:hover { border-color: var(--black); }
.btn-on-dark { background: var(--white); color: var(--black); }
.btn-on-dark:hover { background: var(--accent); color: var(--white); }
.btn-lg { padding: 18px 32px; font-size: 16px; }
.btn-xl { padding: 22px 40px; font-size: 18px; }
.btn .arrow { transition: transform .2s ease; display: inline-block; }
.btn:hover .arrow { transform: translateX(3px); }

/* Mobile menu toggle */
.mobile-toggle {
  display: none; background: transparent; border: none; color: var(--black);
  font-size: 22px; cursor: pointer; padding: 8px;
}

/* ---------- Hero ---------- */
.hero {
  min-height: 100vh;
  padding: 180px 0 80px;
  display: flex; flex-direction: column; justify-content: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--white) 0%, var(--white) 80%, var(--grey-5) 100%);
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(circle at 20% 30%, rgba(255,77,46,.04) 0%, transparent 50%),
                    radial-gradient(circle at 80% 70%, rgba(255,77,46,.03) 0%, transparent 50%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; text-transform: uppercase; letter-spacing: 0.16em;
  color: var(--accent); font-weight: 600;
  padding: 8px 14px; border: 1px solid var(--accent);
  border-radius: 999px; margin-bottom: 40px;
}
.hero-eyebrow::before {
  content: ''; display: inline-block; width: 6px; height: 6px;
  background: var(--accent); border-radius: 50%;
  animation: pulse 2.5s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .4; transform: scale(1.4); }
}
.hero h1 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 400;
  font-size: clamp(40px, 7vw, 96px);
  line-height: 1.0;
  letter-spacing: -0.03em;
  margin-bottom: 28px;
  max-width: 1100px;
}
.hero h1 em { font-style: italic; color: var(--accent); font-weight: 400; }

.hero-sub {
  font-size: clamp(18px, 1.9vw, 22px);
  line-height: 1.5;
  color: var(--grey-1);
  max-width: 760px;
  margin-bottom: 44px;
  font-weight: 400;
}
.hero-sub strong { color: var(--off-black); font-weight: 600; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 64px; }

.hero-trust {
  display: flex; gap: 56px; flex-wrap: wrap; align-items: center;
  padding-top: 36px; border-top: 1px solid var(--grey-3);
}
.hero-trust-item { display: flex; flex-direction: column; gap: 4px; }
.hero-trust-item .num {
  font-family: 'Fraunces', serif; font-weight: 500;
  font-size: 36px; letter-spacing: -0.03em; line-height: 1;
}
.hero-trust-item .label { font-size: 13px; color: var(--grey-1); }

/* Floating CTA */
.floating-cta {
  position: fixed; bottom: 32px; right: 32px; z-index: 90;
  opacity: 0; pointer-events: none;
  transition: all .4s var(--ease);
  box-shadow: 0 12px 36px rgba(0,0,0,.15);
}
.floating-cta.show { opacity: 1; pointer-events: auto; }

/* ---------- Sections ---------- */
section { padding: 120px 0; position: relative; }
.eyebrow {
  font-size: 12px; text-transform: uppercase; letter-spacing: 0.16em;
  color: var(--accent); font-weight: 600; margin-bottom: 20px;
}
.section-title {
  font-family: 'Fraunces', serif; font-weight: 400;
  font-size: clamp(32px, 4.5vw, 56px);
  line-height: 1.05; letter-spacing: -0.025em; margin-bottom: 24px;
  max-width: 900px;
}
.section-title em { font-style: italic; color: var(--accent); }
.section-sub {
  font-size: clamp(17px, 1.5vw, 21px);
  color: var(--grey-1); max-width: 720px; margin-bottom: 64px; line-height: 1.5;
}

/* ---------- Two-column block ---------- */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }

/* ---------- Cards ---------- */
.card-grid { display: grid; gap: 20px; }
.card-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.card-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.card-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: var(--white); border: 1px solid var(--grey-3);
  border-radius: var(--radius-lg); padding: 32px;
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.card:hover { border-color: var(--black); transform: translateY(-2px); box-shadow: 0 10px 30px rgba(0,0,0,.06); }
.card .card-image {
  margin: -32px -32px 24px; height: 200px;
  background-size: cover; background-position: center; background-color: var(--grey-4);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.card .card-eyebrow {
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--accent); font-weight: 700; margin-bottom: 14px;
}
.card h3 {
  font-family: 'Fraunces', serif; font-weight: 400;
  font-size: 28px; line-height: 1.1; letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.card p { font-size: 15px; color: var(--grey-1); line-height: 1.6; margin-bottom: 14px; }
.card ul { list-style: none; margin-bottom: 22px; }
.card li {
  font-size: 14px; color: var(--off-black); padding-left: 22px; position: relative;
  margin-bottom: 8px; line-height: 1.5;
}
.card li::before {
  content: '·'; color: var(--accent); position: absolute; left: 8px;
  font-weight: 700; font-size: 18px; line-height: 1.2;
}
.card .price {
  font-family: 'Fraunces', serif; font-size: 20px; letter-spacing: -0.01em;
  margin-bottom: 18px; color: var(--off-black);
}
.card .price strong { font-weight: 500; }
.card-cta { font-weight: 600; color: var(--accent); text-decoration: none; font-size: 15px; }
.card-cta:hover { text-decoration: underline; }

/* ---------- Tier badges ---------- */
.tier-chip {
  display: inline-block; font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em;
  font-weight: 600; padding: 4px 10px; border-radius: 999px;
  background: var(--grey-4); color: var(--grey-1); margin-right: 6px; margin-bottom: 6px;
}

/* ---------- Lists ---------- */
.bullet-list { list-style: none; }
.bullet-list li {
  font-size: 17px; color: var(--off-black); padding-left: 28px; position: relative;
  margin-bottom: 12px; line-height: 1.55;
}
.bullet-list li::before {
  content: ''; position: absolute; left: 0; top: 11px;
  width: 14px; height: 2px; background: var(--accent);
}

/* Numbered process steps */
.step-list { list-style: none; counter-reset: step; }
.step-list li {
  counter-increment: step; padding-left: 64px; position: relative;
  margin-bottom: 36px; min-height: 48px;
}
.step-list li::before {
  content: counter(step); position: absolute; left: 0; top: 0;
  width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center;
  background: var(--off-black); color: var(--white);
  font-family: 'Fraunces', serif; font-size: 18px; font-weight: 500;
  border-radius: 50%; letter-spacing: -0.01em;
}
.step-list li h4 {
  font-family: 'Fraunces', serif; font-weight: 500; font-size: 20px;
  letter-spacing: -0.01em; line-height: 1.3; margin-bottom: 6px;
}
.step-list li p { color: var(--grey-1); font-size: 16px; line-height: 1.55; }

/* ---------- Manifesto / dark band ---------- */
.dark-band { background: var(--off-black); color: var(--white); padding: 140px 0; }
.dark-band .eyebrow { color: var(--accent); }
.dark-band h2 {
  font-family: 'Fraunces', serif; font-weight: 400;
  font-size: clamp(32px, 4.5vw, 56px); line-height: 1.05; letter-spacing: -0.025em;
  margin-bottom: 32px; max-width: 900px;
}
.dark-band h2 em { font-style: italic; color: var(--accent); }
.dark-band p { color: var(--grey-2); font-size: clamp(17px, 1.4vw, 19px); line-height: 1.6; max-width: 760px; margin-bottom: 18px; }
.dark-band .btn-secondary { border-color: var(--grey-1); color: var(--white); }
.dark-band .btn-secondary:hover { border-color: var(--white); background: var(--white); color: var(--black); }

/* ---------- FAQ accordion ---------- */
.faq-list { max-width: 860px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--grey-3); }
.faq-q {
  width: 100%; padding: 28px 0; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  background: transparent; border: none; text-align: left;
  font-family: 'Fraunces', serif; font-weight: 400;
  font-size: clamp(20px, 1.8vw, 24px); letter-spacing: -0.01em;
  color: var(--off-black);
}
.faq-q .chev { color: var(--accent); font-size: 24px; transition: transform .25s ease; }
.faq-item.open .chev { transform: rotate(45deg); }
.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height .35s ease, padding .25s ease;
  font-size: 16px; line-height: 1.6; color: var(--grey-1);
}
.faq-item.open .faq-a { max-height: 600px; padding-bottom: 28px; }

/* ---------- Final CTA ---------- */
.final-cta { background: var(--off-black); color: var(--white); padding: 140px 0; position: relative; overflow: hidden; }
.final-cta::before {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(circle at 50% 0%, rgba(255,77,46,.15) 0%, transparent 60%);
  pointer-events: none;
}
.final-cta .container { position: relative; z-index: 1; text-align: center; }
.final-cta h2 {
  font-family: 'Fraunces', serif; font-weight: 400;
  font-size: clamp(36px, 5.5vw, 72px); line-height: 1.0; letter-spacing: -0.025em;
  margin-bottom: 24px;
}
.final-cta h2 em { font-style: italic; color: var(--accent); }
.final-cta p { font-size: clamp(18px, 1.8vw, 22px); color: var(--grey-2); max-width: 640px; margin: 0 auto 48px; line-height: 1.5; }
.final-cta .or { margin-top: 28px; font-size: 14px; color: var(--grey-1); }
.final-cta .or a { color: var(--accent); text-decoration: none; border-bottom: 1px solid transparent; transition: border-color .2s ease; }
.final-cta .or a:hover { border-bottom-color: var(--accent); }

/* ---------- Footer ---------- */
footer {
  background: var(--black); color: var(--grey-2);
  padding: 80px 0 40px;
}
footer .footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}
footer .footer-brand strong {
  display: block; color: var(--white); font-weight: 800; font-size: 20px;
  letter-spacing: -0.02em; margin-bottom: 14px;
}
footer .footer-brand p { font-size: 14px; line-height: 1.6; color: var(--grey-2); max-width: 280px; }
footer .footer-col h4 {
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--white); font-weight: 600; margin-bottom: 18px;
}
footer .footer-col ul { list-style: none; }
footer .footer-col li { margin-bottom: 10px; }
footer .footer-col a {
  color: var(--grey-2); text-decoration: none; font-size: 14px;
  transition: color .15s ease;
}
footer .footer-col a:hover { color: var(--accent); }
footer .footer-bottom {
  padding-top: 32px; border-top: 1px solid var(--night);
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px;
  font-size: 13px; color: var(--grey-1);
}

/* ---------- Video card ---------- */
.video-card {
  background: var(--white); border: 1px solid var(--grey-3); border-radius: var(--radius-lg);
  padding: 24px; display: flex; gap: 20px; align-items: center;
  max-width: 720px; margin: 32px auto;
  cursor: pointer; transition: border-color .2s ease, transform .2s ease;
}
.video-card:hover { border-color: var(--black); transform: translateY(-1px); }
.video-card .poster {
  width: 120px; aspect-ratio: 16/10; background: var(--off-black);
  border-radius: var(--radius); display: flex; align-items: center; justify-content: center;
  flex: 0 0 auto; position: relative;
}
.video-card .poster::after {
  content: '▶'; color: var(--white); font-size: 22px; opacity: .9;
}
.video-card .meta .label {
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--accent); font-weight: 600; margin-bottom: 6px;
}
.video-card .meta h4 {
  font-family: 'Fraunces', serif; font-weight: 500; font-size: 19px;
  letter-spacing: -0.01em; line-height: 1.25; margin-bottom: 4px; color: var(--off-black);
}
.video-card .meta p { font-size: 13px; color: var(--grey-1); }

/* ---------- Utility ---------- */
.muted { color: var(--grey-1); }
.accent { color: var(--accent); }
.center { text-align: center; }
.mt-l { margin-top: 56px; }
.mb-l { margin-bottom: 56px; }
.flex-row { display: flex; gap: 24px; flex-wrap: wrap; align-items: center; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  nav ul { display: none; }
  .mobile-toggle { display: inline-flex; }
  nav.open ul {
    display: flex; flex-direction: column; gap: 0;
    position: fixed; top: 60px; left: 0; right: 0;
    background: var(--white); border-bottom: 1px solid var(--grey-3);
    padding: 16px 32px; box-shadow: 0 8px 24px rgba(0,0,0,.08);
  }
  nav.open ul li { padding: 12px 0; border-bottom: 1px solid var(--grey-4); }
  nav.open ul li:last-child { border-bottom: none; }
  .hero { padding: 140px 0 60px; }
  section { padding: 80px 0; }
  .container, .container-wide { padding: 0 22px; }
  .two-col { grid-template-columns: 1fr; gap: 40px; }
  .card-grid.cols-2, .card-grid.cols-3, .card-grid.cols-4 { grid-template-columns: 1fr; }
  .hero-trust { gap: 28px; }
  .hero-trust-item .num { font-size: 28px; }
  footer .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .floating-cta { bottom: 16px; right: 16px; }
  .hero-ctas .btn { width: 100%; justify-content: center; }
}
@media (max-width: 600px) {
  footer .footer-grid { grid-template-columns: 1fr; }
}
