/* Only Talking Money – match reference look and feel */
:root {
  /* Light gray to match reference images (header + content area) */
  --bg: #eaeae8;
  --bg-header: #eaeae8;
  /* Thank you: same light gray */
  --bg-strip: #eaeae8;
  /* Dark charcoal gray for geometric accent (e.g. behind phone image) */
  --gray-charcoal: #3d3d3d;
  /* Text: black and dark gray per reference */
  --text: #000000;
  --text-muted: #4a4a4a;
  --text-nav: #6b6b6b;
  /* Subtle gray lines in header */
  --border: #d8d8d6;
  --accent: #000000;
  /* CTA button: light so it stands out on gray bg */
  --cta-bg: #ffffff;
  /* Hero overlay: muted, dimmed to match reference */
  --overlay: rgba(0, 0, 0, 0.45);
  /* Refund Policy section: distinct background */
  --bg-refund: #dddcd9;
}

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

body {
  margin: 0;
  font-family: "Open Sans", system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: var(--text);
  background: var(--bg);
}

/* Header */
.site-header {
  background: var(--bg-header);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: inherit;
}

.logo img {
  display: block;
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  font-family: "Sora", sans-serif;
  color: var(--text-nav);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9375rem;
}

.nav-links a:hover {
  color: var(--text);
}

.search-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--border);
  background: var(--bg-header);
  color: var(--text-nav);
  cursor: pointer;
  border-radius: 0;
}

.search-btn:hover {
  color: var(--text);
  border-color: var(--text-muted);
}

/* Hero */
.hero {
  background: var(--bg);
}

.hero-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 1.5rem;
}

.hero-title {
  margin: 0 0 0.25rem;
  font-family: "Alfa Slab One", serif;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.hero-subtitle {
  margin: 0;
  font-family: "Sora", sans-serif;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-muted);
}

.hero-image-wrap {
  position: relative;
  width: 100%;
  min-height: 75vh;
  overflow: hidden;
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: var(--overlay);
  pointer-events: none;
}

.cta-button {
  position: absolute;
  left: 50%;
  bottom: 3rem;
  transform: translateX(-50%);
  z-index: 2;
  display: inline-block;
  padding: 0.875rem 2rem;
  background: var(--cta-bg);
  color: var(--accent);
  font-family: "Sora", sans-serif;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  cursor: pointer;
}

.cta-button:hover {
  background: #ebe7e0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
}

/* How it works – two columns */
.how-it-works {
  background: var(--bg-refund);
  padding: 3rem 0 4rem;
}

.how-it-works-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.section-label {
  margin: 0 0 1rem;
  font-family: "Sora", sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text);
}

.section-intro {
  margin: 0 0 1.5rem;
  font-size: 1rem;
  color: var(--text);
  max-width: 36ch;
}

.feature-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  margin-bottom: 1rem;
  padding-left: 0;
  font-size: 0.9375rem;
  color: var(--text);
}

.feature-list strong {
  display: block;
  margin-bottom: 0.25rem;
  font-weight: 600;
  color: var(--text);
}

.how-it-works-image {
  position: relative;
  padding: 1.5rem 1.5rem 2rem 1.5rem; /* room for drop shadow */
  overflow: visible;
}

/* Dark charcoal gray shape behind image (matches reference) */
.how-it-works-image::before {
  content: "";
  position: absolute;
  top: -6%;
  right: -4%;
  width: 54%;
  height: 88%;
  background: var(--gray-charcoal);
  z-index: 0;
  clip-path: polygon(28% 0, 100% 0, 100% 100%, 0 100%, 0 22%);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2), 0 4px 12px rgba(0, 0, 0, 0.12);
  border-radius: 2px;
}

.how-it-works-image img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18), 0 6px 16px rgba(0, 0, 0, 0.1);
  background: #fff;
}

/* FAQ */
.faq {
  background: var(--bg);
  padding: 3rem 0 4rem;
}

.faq-inner {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.faq-title {
  font-family: "Alfa Slab One", serif;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 400;
  margin: 0 0 0.5rem;
  color: var(--text);
}

.faq-intro {
  font-family: "Open Sans", sans-serif;
  font-size: 1rem;
  color: var(--text-muted);
  margin: 0 0 2rem;
}

.faq-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 1.25rem 0;
}

.faq-item:first-child {
  padding-top: 0;
}

.faq-question {
  font-family: "Sora", sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 0.5rem;
}

.faq-answer {
  font-family: "Open Sans", sans-serif;
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}

/* Refund Policy */
.refund-policy {
  background: var(--bg-refund);
  padding: 3rem 0 4rem;
}

.refund-policy-inner {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.refund-policy-title {
  font-family: "Alfa Slab One", serif;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 400;
  margin: 0 0 0.25rem;
  color: var(--text);
}

.refund-policy-date {
  font-family: "Sora", sans-serif;
  font-size: 0.875rem;
  color: var(--text-muted);
  margin: 0 0 2rem;
}

.refund-policy-content {
  font-family: "Open Sans", sans-serif;
}

.refund-policy-content p {
  font-size: 0.9375rem;
  color: var(--text);
  line-height: 1.6;
  margin: 0 0 1.25rem;
}

.refund-policy-content p:last-child {
  margin-bottom: 0;
}

.refund-policy-heading {
  font-family: "Sora", sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  margin: 1.5rem 0 0.5rem;
}

.refund-policy-heading:first-child {
  margin-top: 0;
}

.refund-policy-content a {
  color: var(--accent);
  text-decoration: underline;
}

.refund-policy-content a:hover {
  text-decoration: none;
}

/* Terms page */
.page-terms .terms-main {
  background: var(--bg-refund);
  padding: 3rem 0 4rem;
  min-height: 60vh;
}

.terms-inner {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.terms-title {
  font-family: "Alfa Slab One", serif;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 400;
  margin: 0 0 0.25rem;
  color: var(--text);
}

.terms-date {
  font-family: "Sora", sans-serif;
  font-size: 0.875rem;
  color: var(--text-muted);
  margin: 0 0 2rem;
}

.terms-content {
  font-family: "Open Sans", sans-serif;
}

.terms-intro {
  font-size: 0.9375rem;
  color: var(--text);
  line-height: 1.6;
  margin: 0 0 1.5rem;
}

.terms-content p {
  font-size: 0.9375rem;
  color: var(--text);
  line-height: 1.6;
  margin: 0 0 1rem;
}

.terms-content p:last-child {
  margin-bottom: 0;
}

.terms-heading {
  font-family: "Sora", sans-serif;
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--text);
  margin: 1.75rem 0 0.5rem;
}

.terms-heading:first-of-type {
  margin-top: 0;
}

.terms-content a {
  color: var(--accent);
  text-decoration: underline;
}

.terms-content a:hover {
  text-decoration: none;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 1.5rem 1.5rem;
  text-align: center;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.site-footer p {
  margin: 0;
}

/* Thank you page */
.page-thank-you .main-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 3rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: start;
}

.page-thank-you .site-header {
  background: var(--bg-strip);
}

.page-thank-you .thank-you-strip {
  background: var(--bg-strip);
}

.page-thank-you .thank-you-bg {
  min-height: 60vh;
  background: var(--bg) url("assets/stadium.png") center/cover no-repeat;
  position: relative;
}

.page-thank-you .thank-you-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}

.page-thank-you .thank-you-title {
  font-family: "Alfa Slab One", serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  margin: 0 0 1rem;
  color: var(--text);
}

.page-thank-you .thank-you-text {
  font-family: "Open Sans", sans-serif;
  font-size: 0.9375rem;
  color: var(--text-nav);
  max-width: 40ch;
  margin: 0;
}

@media (max-width: 768px) {
  .how-it-works-inner {
    grid-template-columns: 1fr;
  }

  .how-it-works-image {
    order: -1;
  }

  .nav-links {
    gap: 1rem;
  }
}
