/* SEO Strategy Store: hand-built replacement for the Duda export.
   Same look (Barlow headings, Work Sans body, plum and purple, teal pills), no Duda runtime. */

:root {
  --purple: #39175d;
  --plum: #5d1748;
  --cyan: #13aeb7;
  --teal: #00e6c3;
  --teal-dark: #00ccad;
  --quote-bg: #dddddd;
  --field: #e7e7e7;
  --line: #e2e8f0;
  --pink: rgb(181, 32, 105);
  --wrap: 1240px;
  --header-h: 78px;
  --head: Barlow, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }

html {
  scroll-padding-top: calc(var(--header-h) + 16px);
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  font: 400 16px/2 "Work Sans", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--purple);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p { margin: 0 0 32px; }
h1, h2, h3, h4, h5 { margin: 0; line-height: 1.2; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: 20px;
}
.center { text-align: center; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 10px 28px;
  border-radius: 50px; border: 0;
  background: var(--teal); color: var(--purple);
  font: 700 16px/1.2 "Work Sans", system-ui, sans-serif;
  text-decoration: none; text-align: center; cursor: pointer;
  transition: background-color .15s ease, transform .08s ease;
}
.btn:hover { background: var(--teal-dark); }
.btn:active { transform: translateY(1px); }
.btn:disabled { background: #aaa; cursor: not-allowed; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: #fff;
  box-shadow: 0 3px 11px rgba(57, 23, 93, .1);
}
.nav {
  position: relative;
  height: var(--header-h);
  display: flex; align-items: center; gap: 12px;
  padding-inline: 40px;
}
.brand { display: block; flex: none; }
.brand img { width: 123px; height: auto; }

.nav-links {
  list-style: none; margin: 0; padding: 0;
  flex: 1;
  display: flex; align-items: center; gap: 4px;
  line-height: 1.4;
}
.nav-links > li:first-child { margin-left: auto; }
.nav-links a {
  display: block; padding: 8px 14px;
  color: var(--purple); text-decoration: none;
  font-size: 15px; letter-spacing: .5px;
}
.nav-links a:hover { color: var(--cyan); }
.nav-links a[aria-current="page"], .nav-links .current > a { font-weight: 700; }

.has-sub { position: relative; }
.sub-toggle::after {
  content: ""; display: inline-block;
  width: 6px; height: 6px; margin: 0 0 3px 10px;
  border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
}
.sub-nav {
  list-style: none; margin: 0; padding: 8px 0;
  position: absolute; top: 100%; left: 0; min-width: 290px;
  background: #fff; box-shadow: 0 8px 24px rgba(57, 23, 93, .15);
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .15s ease, transform .15s ease, visibility .15s;
}
.sub-nav a { padding: 10px 20px; }
.has-sub:hover > .sub-nav, .has-sub.sub-open > .sub-nav { opacity: 1; visibility: visible; transform: none; }

.nav-links .nav-cta { margin-left: auto; }
.nav-links .nav-cta a {
  min-width: 205px; padding: 13px 24px;
  background: var(--teal); color: var(--purple); border-radius: 50px;
  font-size: 16px; font-weight: 700; letter-spacing: 0; text-align: center;
}
.nav-links .nav-cta a:hover { background: var(--teal-dark); color: var(--purple); }

.burger {
  display: none; margin-left: auto;
  width: 44px; height: 44px; padding: 0;
  background: transparent; border: 0; cursor: pointer;
  align-items: center; justify-content: center;
}
.burger span, .burger span::before, .burger span::after {
  display: block; width: 26px; height: 2px; background: var(--purple);
  transition: transform .2s ease, background-color .2s ease;
}
.burger span { position: relative; }
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; }
.burger span::before { top: -8px; }
.burger span::after { top: 8px; }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { transform: translateY(8px) rotate(45deg); }
.burger[aria-expanded="true"] span::after { transform: translateY(-8px) rotate(-45deg); }

/* ---------- home hero ---------- */
.hero {
  display: grid; grid-template-columns: 1fr 1fr;
  min-height: 630px;
}
.hero-text {
  background: var(--plum); color: #fff;
  padding: 120px 100px 60px 70px;
}
.hero h1 {
  font: 700 48px/1.2 var(--head);
  margin-bottom: 20px;
}
.hero-lead { font: 400 24px/2 var(--head); margin: 0; }
.hero-media {
  background: #000 url(/images/homepage-photo.jpg) center / cover no-repeat;
}

/* ---------- testimonial ---------- */
.testimonial { padding-block: 128px 110px; }
.quote-box {
  position: relative;
  background: var(--quote-bg);
  padding: 50px 50px 64px;
}
.quote-icon {
  position: absolute; top: -44px; left: 60px;
  width: 96px; height: auto; fill: var(--purple);
}
.quote-box blockquote { margin: 0; }
.quote-text {
  font: 400 25px/1.5 var(--head);
  margin: 0 0 32px;
}
.quote-name, .quote-role { font: 700 18px/1.25 var(--head); margin: 0 0 0 40px; }
.quote-role { font-weight: 400; font-size: 17px; }

/* ---------- interior pages ---------- */
.page { padding-block: 30px 60px; }
.page h1 {
  font: 700 48px/1.2 var(--head);
  margin-bottom: 32px;
}
.page-about { min-height: 800px; padding-top: 40px; }
.page-about h1 { margin-bottom: 40px; }
.lead { font-size: 24px; line-height: 1.4; margin-bottom: 40px; }
.update { font-weight: 700; font-style: italic; }

/* documents (privacy, terms) */
.doc { padding-block: 30px 90px; }
.doc-title { font: 400 16px/2 "Work Sans", system-ui, sans-serif; margin: 0 0 32px; }
.doc .caps, .doc .tight { margin: 0; }
.doc ul { margin: 0 0 32px; padding-left: 22px; }

/* ---------- contact ---------- */
.contact-hero {
  background: linear-gradient(135deg, var(--purple) 0, var(--cyan) 100%);
  color: #fff;
  padding-block: 95px 135px;
}
.contact-hero h1 { font: 700 60px/1.2 var(--head); margin-bottom: 10px; }
.contact-hero .sub { line-height: 1.5; margin-bottom: 36px; }
.page-contact-gap { height: 90px; }

.line-form {
  max-width: 810px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px 30px;
}
.line-form .full { grid-column: 1 / -1; }
.line-form label { display: block; font-weight: 500; line-height: 1.5; }
.line-form input, .line-form textarea {
  width: 100%; height: 42px; padding: 8px 0;
  background: transparent; color: #fff;
  border: 0; border-bottom: 1px solid #fff; border-radius: 0;
  font: 16px/1.4 "Work Sans", system-ui, sans-serif;
}
.line-form textarea { height: 52px; resize: vertical; }
.line-form input:focus, .line-form textarea:focus { outline: none; border-bottom-color: var(--teal); }
.line-form .actions { text-align: center; }
.line-form .btn { min-width: 280px; min-height: 50px; }

.form-msg { margin-top: 16px; padding: 12px 16px; border-radius: 6px; font-size: 15px; line-height: 1.5; text-align: center; }
.form-msg.success { background: rgba(255, 255, 255, .15); color: #fff; }
.form-msg.error { background: #fef2f2; color: #991b1b; }

/* ---------- outreach page ---------- */
.report { text-align: center; padding-block: 8px 40px; }
.report-card {
  display: inline-block; max-width: 840px;
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  padding: 20px; box-shadow: 0 4px 20px rgba(57, 23, 93, .08);
}
.report-card img { border-radius: 8px; }

.hto-section { padding-block: 40px; }
.hto-heading { font: 700 36px/1.2 var(--head); text-align: center; margin-bottom: 14px; }
.hto-subhead { font-size: 17px; line-height: 1.6; color: #555; text-align: center; margin-bottom: 36px; }
.hto-tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 40px; }
.hto-card {
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  padding: 28px 24px; transition: box-shadow .2s, transform .2s;
}
.hto-card:hover { box-shadow: 0 8px 28px rgba(57, 23, 93, .1); transform: translateY(-3px); }
.hto-card-label {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; margin-bottom: 12px;
  background: var(--purple); color: #fff; border-radius: 8px;
  font-size: 14px; font-weight: 700; line-height: 1;
}
.hto-card-title { font: 700 20px/1.3 var(--head); color: var(--cyan); margin-bottom: 12px; }
.hto-card p { font-size: 15px; line-height: 1.7; margin-bottom: 18px; }
.hto-card .btn { min-height: 0; padding: 11px 28px; font-size: 14px; }
.hto-steps { list-style: none; padding: 0; margin: 0 0 36px; }
.hto-steps li {
  display: flex; align-items: flex-start; gap: 16px;
  padding: 14px 0; border-bottom: 1px solid #f1f5f9; line-height: 1.7;
}
.hto-steps li:last-child { border-bottom: none; }
.hto-step-num {
  flex-shrink: 0; width: 32px; height: 32px; margin-top: 2px;
  display: flex; align-items: center; justify-content: center;
  background: var(--purple); color: #fff; border-radius: 8px;
  font-weight: 700; font-size: 14px;
}
.hto-note { background: #fdf2f8; border: 1px solid #f9a8d4; border-radius: 10px; padding: 20px 24px; }
.hto-note p { font-size: 15px; color: var(--pink); line-height: 1.7; margin: 0; }
.hto-note a { color: var(--purple); font-weight: 600; text-decoration: underline; }

.format-card {
  max-width: 880px; margin: 72px auto 0;
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  padding: 32px; box-shadow: 0 4px 20px rgba(57, 23, 93, .06);
  overflow-wrap: anywhere;
}
.format-card h2 { font: 700 26px/1.3 var(--head); margin-bottom: 8px; }
.format-card .intro { color: #555; line-height: 1.8; margin-bottom: 24px; }
.format-list p { margin: 0 0 13px; line-height: 1.8; color: #383838; font-weight: 300; }
.format-list .fmt-title { font-weight: 700; }
.format-list .fmt-title ~ .fmt-title { margin-top: 45px; }

.order-form { padding-block: 80px 60px; }
.order-form h3 { font: 400 28px/1.3 var(--head); margin-bottom: 28px; }
.field-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px 30px; }
.field-grid .full { grid-column: 1 / -1; }
.field-grid label { display: block; font-size: 14px; line-height: 1.5; margin-bottom: 6px; }
.field-grid input, .field-grid textarea {
  width: 100%; height: 36px; padding: 6px 10px;
  background: var(--field); color: #333;
  border: 1px solid var(--field); border-radius: 0;
  font: 15px/1.4 "Work Sans", system-ui, sans-serif;
}
.field-grid textarea { height: 76px; resize: vertical; }
.field-grid input:focus, .field-grid textarea:focus { outline: none; border-color: var(--cyan); }
.field-grid input::placeholder, .field-grid textarea::placeholder { color: #777; }
.order-actions { display: flex; justify-content: flex-end; margin-top: 40px; }
.order-actions .btn { min-width: 280px; min-height: 38px; }
.order-form .form-msg { text-align: left; }

.popup {
  position: fixed; inset: 0; z-index: 100;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0, 0, 0, .5); padding: 20px;
}
.popup-box {
  background: #fff; border-radius: 12px; padding: 40px;
  max-width: 420px; width: 100%; text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .3); line-height: 1.5;
}
.popup-check { font-size: 48px; line-height: 1; margin-bottom: 16px; color: var(--purple); }
.popup-box h2 { font: 700 22px/1.3 var(--head); color: #333; margin-bottom: 10px; }
.popup-box p { font-size: 15px; color: #666; margin-bottom: 24px; }
.popup-box .btn { background: #e74c3c; color: #fff; border-radius: 6px; min-height: 0; padding: 12px 32px; font-size: 15px; font-weight: 600; }
.popup-box .btn:hover { background: #d44333; }

/* ---------- footer ---------- */
.signal-band { background: var(--plum); color: #fff; padding-block: 35px; }
.band-grid { display: grid; grid-template-columns: 480px minmax(0, 590px); gap: 38px; align-items: start; }
.band-grid a { display: block; }
.band-title { font-size: 24px; line-height: 1.4; margin: 0 0 6px; }

.foot-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding-block: 50px 40px; }
.site-footer h5 { font: 700 18px/1.2 var(--head); text-transform: uppercase; margin-bottom: 22px; }
.foot-strong { font-weight: 700; font-size: 14px; line-height: 1.3; margin: 0 0 24px; }
.foot-links { list-style: none; margin: 0; padding: 0 0 0 15px; }
.foot-links li { margin-bottom: 16px; }
.foot-links a { text-decoration: none; letter-spacing: .3px; }
.foot-links a:hover { color: var(--cyan); text-decoration: underline; }
.copyright { border-top: 1px solid #c9c3d3; padding-block: 12px 40px; font-size: 13px; }
.copyright p { margin: 0; }

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .nav { padding-inline: 20px; }
  .burger { display: flex; }
  .nav-links {
    position: absolute; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    margin: 0; padding: 8px 20px 24px;
    background: #fff;
    box-shadow: 0 12px 24px rgba(57, 23, 93, .15);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .18s ease, transform .18s ease, visibility .18s;
    max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
  }
  .nav-links.open { opacity: 1; visibility: visible; transform: none; }
  .nav-links > li:first-child { margin-left: 0; }
  .nav-links a { padding: 14px 4px; font-size: 17px; border-bottom: 1px solid rgba(57, 23, 93, .1); }
  .sub-toggle { cursor: default; }
  .sub-toggle::after { display: none; }
  .sub-nav {
    position: static; min-width: 0; padding: 0 0 0 18px;
    box-shadow: none; opacity: 1; visibility: visible; transform: none;
  }
  .sub-nav a { padding: 12px 4px; font-size: 16px; }
  .nav-links .nav-cta { margin: 16px 0 0; }
  .nav-links .nav-cta a { border-bottom: 0; }
}

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-text { padding: 64px 20px 56px; }
  .hero-media { min-height: 300px; }
  .band-grid, .hto-tiers { grid-template-columns: 1fr; }
  .band-grid a { max-width: 480px; }
  .field-grid { grid-template-columns: 1fr 1fr; }
  .page-about { min-height: 0; }
  .testimonial { padding-block: 96px 72px; }
}

@media (max-width: 560px) {
  :root { --header-h: 68px; }
  .brand img { width: 110px; }
  .hero h1, .page h1 { font-size: 36px; }
  .hero-lead { font-size: 20px; line-height: 1.8; }
  .quote-box { padding: 44px 22px 36px; }
  .quote-icon { width: 70px; top: -32px; left: 22px; }
  .quote-text { font-size: 20px; }
  .quote-name, .quote-role { margin-left: 0; }
  .lead { font-size: 21px; }
  .contact-hero { padding-block: 64px 80px; }
  .contact-hero h1 { font-size: 44px; }
  .line-form, .field-grid, .foot-grid { grid-template-columns: 1fr; }
  .line-form .btn, .order-actions .btn { min-width: 0; width: 100%; }
  .hto-heading { font-size: 30px; }
  .format-card { padding: 24px 18px; margin-top: 48px; }
  .order-form { padding-block: 56px 40px; }
  .popup-box { padding: 32px 20px; }
}
