/* ============================================
   Sunday Dad — Shared Stylesheet
   Fonts: Fraunces (headlines) + DM Sans (body)
   ============================================ */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;1,9..40,300&family=Fraunces:ital,opsz,wght@0,9..144,300;0,9..144,400;0,9..144,600;1,9..144,300;1,9..144,400&display=swap');

/* --- Brand tokens --- */
:root {
  --bg:           #060f1a;
  --surface:      #0e1e2e;
  --border:       #1a2e42;
  --muted:        #606470;
  --accent:       #d6f0f8;
  --accent-dim:   #a8d8ea;
  --text:         #ffffff;
  --text-soft:    #b8c4cc;

  --font-serif:   'Fraunces', Georgia, serif;
  --font-sans:    'DM Sans', system-ui, sans-serif;

  --radius:       10px;
  --max-width:    600px;
  --transition:   0.2s ease;
}

/* --- Reset --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-weight: 400;
  line-height: 1.65;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: opacity var(--transition);
}

a:hover {
  opacity: 0.75;
}

/* --- Layout wrapper --- */
.wrap {
  width: min(var(--max-width), 100% - 2.5rem);
  margin-inline: auto;
}

/* ============================================
   WORDMARK / NAV
   ============================================ */
.site-header {
  padding: 2rem 0 0;
  text-align: center;
}

.wordmark {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 1.1rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  text-decoration: none;
}

.wordmark:hover {
  opacity: 0.8;
}

/* ============================================
   HERO
   ============================================ */
.hero {
  padding: 4rem 0 2.5rem;
  text-align: center;
}

.hero__eyebrow {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.25rem;
}

.hero__headline {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(2rem, 6vw, 3.2rem);
  line-height: 1.15;
  color: var(--text);
  margin-bottom: 1.25rem;
}

.hero__headline em {
  font-style: italic;
  color: var(--accent);
}

.hero__sub {
  font-size: 1.05rem;
  color: var(--text-soft);
  line-height: 1.7;
  max-width: 480px;
  margin-inline: auto;
}

/* ============================================
   FORMAT BREAKDOWN (3-2-1)
   ============================================ */
.format {
  padding: 2.5rem 0;
}

.format__grid {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.format__item {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.1rem 1.4rem;
}

.format__number {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: 2rem;
  color: var(--accent);
  line-height: 1;
  min-width: 2rem;
  text-align: center;
}

.format__label {
  font-size: 0.95rem;
  color: var(--text-soft);
  line-height: 1.4;
}

.format__label strong {
  display: block;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 0.15rem;
}

/* ============================================
   SOCIAL PROOF
   ============================================ */
.social-proof {
  padding: 2rem 0;
  text-align: center;
}

.social-proof__text {
  font-size: 0.9rem;
  color: var(--muted);
  letter-spacing: 0.04em;
}

.social-proof__text span {
  color: var(--accent-dim);
  font-weight: 500;
}

/* ============================================
   SIGN-UP FORM
   ============================================ */
.signup {
  padding: 0.5rem 0 3rem;
}

.signup__card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) * 1.5);
  padding: 2rem 1.75rem;
}

.signup__title {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
  color: var(--text);
}

.signup__desc {
  font-size: 0.9rem;
  color: var(--text-soft);
  margin-bottom: 1.5rem;
}

/* --- Form fields --- */
/* ============================================================
   ACTIVECAMPAIGN EMBED SLOT
   When you have your AC form embed code ready, remove the
   .form-placeholder block below and paste your AC embed
   code in its place inside the <div id="ac-form-embed">.
   The .signup__reassurance line below it should stay.
   ============================================================ */
.form-placeholder {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-field label {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.form-field input {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.8rem 1rem;
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--text);
  outline: none;
  transition: border-color var(--transition);
}

.form-field input::placeholder {
  color: var(--muted);
}

.form-field input:focus {
  border-color: var(--accent-dim);
}

.btn-primary {
  display: block;
  width: 100%;
  margin-top: 0.5rem;
  padding: 0.9rem 1.5rem;
  background: var(--accent);
  color: var(--bg);
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 500;
  text-align: center;
  text-decoration: none;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  letter-spacing: 0.02em;
  transition: background var(--transition), transform var(--transition);
}

.btn-primary:hover {
  background: var(--accent-dim);
  transform: translateY(-1px);
  opacity: 1;
}

.btn-primary:active {
  transform: translateY(0);
}

.signup__reassurance {
  margin-top: 0.9rem;
  text-align: center;
  font-size: 0.8rem;
  color: var(--muted);
}

/* ============================================
   ABOUT STRIP
   ============================================ */
.about {
  padding: 3rem 0 4rem;
  border-top: 1px solid var(--border);
}

.about__inner {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
}

.about__avatar {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--surface);
  border: 2px solid var(--border);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about__avatar svg {
  opacity: 0.3;
}

.about__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about__name {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 1rem;
  color: var(--text);
  margin-bottom: 0.3rem;
}

.about__bio {
  font-size: 0.9rem;
  color: var(--text-soft);
  line-height: 1.65;
}

/* ============================================
   THANK-YOU PAGE SPECIFICS
   ============================================ */
.thankyou {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 0;
}

.thankyou__icon {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  line-height: 1;
}

.thankyou__headline {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(2rem, 6vw, 3rem);
  line-height: 1.2;
  margin-bottom: 1.25rem;
}

.thankyou__headline em {
  font-style: italic;
  color: var(--accent);
}

.thankyou__body {
  font-size: 1.05rem;
  color: var(--text-soft);
  line-height: 1.75;
  max-width: 460px;
  margin-inline: auto;
  margin-bottom: 2rem;
}

.thankyou__divider {
  width: 40px;
  height: 1px;
  background: var(--border);
  margin: 2rem auto;
}

.thankyou__homefront {
  font-size: 0.9rem;
  color: var(--muted);
  max-width: 400px;
  margin-inline: auto;
  line-height: 1.7;
}

.thankyou__homefront a {
  color: var(--accent-dim);
}

/* ============================================
   UTILITY
   ============================================ */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
