/* =====================================================================
   guide.sacchincreatives.com - styles
   Royal blue and white, matching the main site (navy) and the PDF guide.
   ===================================================================== */

:root {
  --navy: #1B2A4A;        /* header, footer, headings (main site) */
  --royal: #1F4FD8;       /* accent (PDF guide) */
  --royal-dark: #163BA8;
  --royal-tint: #EEF3FF;  /* light rows, like the PDF tables */
  --yellow: #FFC93C;      /* main call-to-action buttons only */
  --white: #FFFFFF;
  --text: #24304D;
  --muted: #4A5675;       /* AA on white */
  --line: #D9E2F5;
  --error: #B42318;

  --font-head: "Fredoka", "Poppins", system-ui, sans-serif;
  --font-body: "Nunito", "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius: 16px;
  --max: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--white); color: var(--text);
  font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.7;
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { font-family: var(--font-head); font-weight: 600; line-height: 1.2; color: var(--navy); margin: 0 0 .6em; }
h1 { font-size: clamp(2rem, 5.4vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3.8vw, 2.3rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
a { color: var(--royal); text-underline-offset: 3px; }
a:hover { color: var(--royal-dark); }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 6px; }

.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--yellow); color: var(--navy); padding: 10px 16px; border-radius: 10px; font-weight: 800; text-decoration: none; }
.skip-link:focus { top: 12px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 16px; }
@media (min-width: 768px) { .container { padding: 0 28px; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 24px; border-radius: 999px; border: 2px solid transparent;
  font-family: var(--font-head); font-weight: 600; font-size: 1.05rem; line-height: 1.25;
  text-align: center; text-decoration: none; cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-cta { background: var(--yellow); color: var(--navy); box-shadow: 0 6px 20px rgba(255, 201, 60, .4); }
.btn-cta:hover { color: var(--navy); box-shadow: 0 8px 26px rgba(255, 201, 60, .6); }
.btn-royal { background: var(--royal); color: var(--white); }
.btn-royal:hover { background: var(--royal-dark); color: var(--white); }
.btn-outline { background: transparent; color: var(--white); border-color: rgba(255,255,255,.7); }
.btn-outline:hover { background: var(--white); color: var(--navy); }
.btn-whatsapp { background: #167A4C; color: var(--white); }       /* 5.3:1 with white text (AA) */
.btn-whatsapp:hover { background: #11603B; color: var(--white); }
.btn[disabled] { opacity: .65; cursor: wait; transform: none; }
.btn svg { width: 22px; height: 22px; flex: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Header ---------- */
.site-header { background: var(--navy); position: sticky; top: 0; z-index: 50; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 66px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--white); text-decoration: none; font-family: var(--font-head); font-weight: 600; font-size: 1.2rem; }
.brand img { width: 42px; height: 42px; }
.brand span span { color: var(--yellow); }
.brand:hover { color: var(--white); }
.site-header .btn { min-height: 44px; padding: 8px 18px; font-size: .95rem; }
@media (max-width: 420px) { .site-header .btn { padding: 8px 12px; font-size: .85rem; } .brand { font-size: 1.05rem; } }

/* ---------- Hero ---------- */
.hero {
  position: relative; color: var(--white); overflow: hidden;
  background:
    linear-gradient(135deg, rgba(27,42,74,.94) 0%, rgba(22,59,168,.88) 60%, rgba(31,79,216,.85) 100%),
    url("assets/hero.jpg") center / cover no-repeat,
    var(--navy);
  padding: 48px 0 56px;
}
.hero h1 { color: var(--white); }
.hero .lead { font-size: 1.15rem; color: #E3EAFB; max-width: 34em; }
.hero-grid { display: grid; gap: 32px; align-items: start; }
@media (min-width: 960px) { .hero-grid { grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; } .hero { padding: 72px 0 80px; } }
.eyebrow { display: inline-block; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.3); color: var(--white); padding: 4px 14px; border-radius: 999px; font-weight: 700; font-size: .9rem; margin-bottom: 14px; }
.hero-points { list-style: none; padding: 0; margin: 18px 0 24px; display: grid; gap: 8px; }
.hero-points li { display: flex; gap: 10px; align-items: flex-start; color: #E3EAFB; }
.hero-points svg { width: 22px; height: 22px; flex: none; color: var(--yellow); margin-top: 3px; }

/* ---------- Guide cover next to the form (built in CSS, title is live text) ----------
   The picture assets/guide-cover.jpg is shown in the "What you get" section. */
.cover {
  position: relative; width: 180px; aspect-ratio: 3 / 4; border-radius: 8px; overflow: hidden; flex: none;
  background: linear-gradient(180deg, var(--royal) 0 18%, var(--white) 18% 100%);
  box-shadow: 0 18px 40px rgba(0,0,0,.35), 0 0 0 1px rgba(255,255,255,.2);
  transform: rotate(-3deg);
}
.cover-band { position: absolute; left: 0; right: 0; top: 0; height: 18%; display: flex; align-items: center; padding: 0 10px; color: var(--white); font-family: var(--font-head); font-size: .62rem; font-weight: 600; }
.cover-title { position: absolute; left: 10px; right: 10px; top: 25%; color: var(--royal); font-family: var(--font-head); font-weight: 700; font-size: .98rem; line-height: 1.15; }
.cover-by { position: absolute; left: 10px; right: 10px; bottom: 9%; color: var(--muted); font-size: .58rem; font-weight: 700; }
.cover-pages { position: absolute; right: 10px; bottom: 3%; color: var(--royal); font-size: .55rem; font-weight: 800; }

/* ---------- Form card ---------- */
.form-card { background: var(--white); color: var(--text); border-radius: 22px; padding: 24px; box-shadow: 0 20px 50px rgba(10, 20, 50, .3); }
@media (min-width: 768px) { .form-card { padding: 30px; } }
.form-top { display: flex; gap: 18px; align-items: center; margin-bottom: 18px; }
.form-top h2 { font-size: 1.35rem; margin: 0 0 4px; }
.form-top p { margin: 0; color: var(--muted); font-size: .95rem; }
@media (max-width: 480px) { .form-top .cover { width: 110px; } .form-top .cover-title { font-size: .66rem; } .form-top .cover-band { font-size: .45rem; } .form-top .cover-by, .form-top .cover-pages { display: none; } }
.field { display: flex; flex-direction: column; gap: 5px; margin-bottom: 14px; }
.field label { font-weight: 800; color: var(--navy); }
.field .opt { font-weight: 600; color: var(--muted); }
.field input, .field textarea {
  font: inherit; color: var(--navy); background: #F7F9FE; width: 100%;
  border: 2px solid #8C99B8; border-radius: 12px; padding: 11px 14px; min-height: 48px;
}
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field textarea:focus { border-color: var(--royal); outline: 3px solid rgba(31,79,216,.35); outline-offset: 1px; }
.field.has-error input, .field.has-error textarea { border-color: var(--error); }
.error-msg { color: var(--error); font-weight: 700; font-size: .9rem; }
.error-msg:empty { display: none; }
.hp-field { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { border-radius: 12px; padding: 10px 14px; font-weight: 700; margin-bottom: 14px; background: #FEE4E2; color: #7A271A; }
.form-status:empty { display: none; }
.form-card .btn-cta { width: 100%; }
.consent { font-size: .85rem; color: var(--muted); margin: 12px 0 0; line-height: 1.5; }

/* ---------- Sections ---------- */
.section { padding: 64px 0; }
@media (min-width: 768px) { .section { padding: 84px 0; } }
.section-tint { background: var(--royal-tint); }
.narrow { max-width: 780px; margin: 0 auto; }
.kicker { display: inline-block; font-family: var(--font-head); font-weight: 600; font-size: .9rem; letter-spacing: 1px; text-transform: uppercase; color: var(--royal); margin-bottom: 6px; }
.lead-dark { font-size: 1.12rem; color: var(--muted); }

.problem-box { border-left: 6px solid var(--royal); background: var(--white); border-radius: 0 var(--radius) var(--radius) 0; padding: 22px 24px; box-shadow: 0 6px 24px rgba(27,42,74,.08); }
.problem-box p:last-child { margin: 0; }

.get-list { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 14px; }
.get-list li { display: flex; gap: 14px; align-items: flex-start; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; }
.get-list svg { width: 28px; height: 28px; flex: none; color: var(--royal); margin-top: 1px; }
.extra { font-weight: 700; color: var(--navy); background: #FFF6DA; border-radius: 12px; padding: 12px 16px; margin: 0; }

.two-col { display: grid; gap: 28px; align-items: center; }
@media (min-width: 900px) { .two-col { grid-template-columns: 1fr 1fr; gap: 48px; } }
.photo { border-radius: var(--radius); overflow: hidden; background: linear-gradient(135deg, var(--royal), var(--navy)); box-shadow: 0 12px 34px rgba(27,42,74,.18); }
.photo img { width: 100%; aspect-ratio: 1200 / 628; object-fit: cover; }

.creator { display: flex; gap: 18px; align-items: flex-start; }
.creator img { width: 72px; height: 72px; flex: none; }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.faq summary { list-style: none; cursor: pointer; padding: 16px 54px 16px 20px; position: relative; font-family: var(--font-head); font-weight: 500; font-size: 1.1rem; color: var(--navy); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 50%; background: var(--royal); color: var(--white); display: grid; place-items: center; font-weight: 700; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq .faq-body { padding: 0 20px 16px; color: var(--muted); }
.faq .faq-body p:last-child { margin: 0; }

/* Final CTA */
.final { background: linear-gradient(135deg, var(--navy), var(--royal-dark)); color: var(--white); }
.final h2 { color: var(--white); }
.final .lead { color: #E3EAFB; font-size: 1.12rem; }

/* ---------- Thank-you page ---------- */
.ty-hero { background: linear-gradient(135deg, var(--navy), var(--royal)); color: var(--white); padding: 56px 0 64px; text-align: center; }
.ty-hero h1 { color: var(--white); max-width: 820px; margin: 0 auto .5em; font-size: clamp(1.7rem, 4.6vw, 2.6rem); }
.ty-hero p { color: #E3EAFB; max-width: 680px; margin: 0 auto 1em; font-size: 1.1rem; }
.ty-check { width: 72px; height: 72px; border-radius: 50%; background: var(--yellow); color: var(--navy); display: grid; place-items: center; margin: 0 auto 18px; }
.ty-check svg { width: 40px; height: 40px; }
.download-box { margin-top: 26px; }
.download-box .btn { font-size: 1.15rem; padding: 14px 30px; }
.download-box .small { color: #E3EAFB; margin-top: 10px; font-size: .95rem; }
.no-token { background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.3); border-radius: var(--radius); padding: 16px 20px; max-width: 560px; margin: 24px auto 0; }
.no-token a { color: var(--yellow); font-weight: 800; }
.info-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: 0 6px 24px rgba(27,42,74,.06); }
.info-card h2 { font-size: 1.4rem; }
.follow { display: flex; flex-wrap: wrap; gap: 12px; }
.follow a { display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px; border-radius: 999px; border: 2px solid var(--royal); color: var(--royal); font-weight: 800; text-decoration: none; min-height: 46px; }
.follow a:hover { background: var(--royal); color: var(--white); }
.follow svg { width: 20px; height: 20px; }

/* ---------- Notice page (expired link) ---------- */
.notice { min-height: 100vh; display: grid; place-items: center; padding: 24px 16px; background: var(--royal-tint); }
.notice-card { max-width: 520px; background: var(--white); border-radius: 22px; padding: 32px 26px; text-align: center; box-shadow: 0 12px 34px rgba(27,42,74,.12); }
.notice-card img { margin: 0 auto 14px; }
.small { font-size: .9rem; color: var(--muted); }

/* ---------- Footer (matches the main site) ---------- */
.site-footer { background: #121D35; color: #D5DDEC; padding: 52px 0 24px; border-top: 4px solid var(--royal); }
.footer-grid { display: grid; gap: 28px; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1.4fr; } }
.site-footer h2 { font-size: 1.1rem; color: var(--yellow); margin-bottom: 10px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 7px; }
.site-footer a { color: #D5DDEC; text-decoration: none; }
.site-footer a:hover { color: var(--yellow); text-decoration: underline; }
.site-footer .brand { margin-bottom: 12px; }
.social { display: flex; gap: 10px; margin-top: 14px; }
.social a { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: #22355C; color: #9DB8FF; }
.social a:hover { background: var(--royal); color: var(--white); text-decoration: none; }
.social svg { width: 20px; height: 20px; }
.footer-bottom { margin-top: 32px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.1); display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; font-size: .92rem; }
.footer-bottom ul { display: flex; gap: 18px; }

[hidden] { display: none !important; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
