/* ==========================================================================
   Dolphens Digital — styles.css
   Palette: navy #0F1B2D · off-white #FAF7F2 · yellow #FFB81C · slate #5A6B7F
   ========================================================================== */

:root {
  --navy: #0F1B2D;
  --navy-raised: #16243C;
  --off-white: #FAF7F2;
  --yellow: #FFB81C;
  --slate: #5A6B7F;
  --slate-on-dark: #A9B6C6;
  --line-on-dark: rgba(255, 255, 255, 0.16);
  --line-on-light: #0F1B2D;
  --font-heading: "Archivo", "Arial Black", sans-serif;
  --font-body: "Inter", "Helvetica Neue", Arial, sans-serif;
}

/* ---- Reset ---- */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--navy);
  background: var(--off-white);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

ul {
  list-style: none;
}

/* ---- Focus states ---- */

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 3px;
}

.section--light a:focus-visible,
.section--light button:focus-visible,
.page--light a:focus-visible,
.page--light button:focus-visible {
  outline-color: var(--navy);
}

/* ---- Skip link ---- */

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--yellow);
  color: var(--navy);
  font-weight: 700;
  padding: 0.75rem 1.25rem;
  z-index: 200;
}

.skip-link:focus {
  left: 0;
}

/* ---- Layout helpers ---- */

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 6rem 0;
}

.section--navy {
  background: var(--navy);
  color: #fff;
}

.section--light {
  background: var(--off-white);
  color: var(--navy);
}

/* ---- Typography ---- */

h1,
h2,
h3 {
  font-family: var(--font-heading);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.08;
}

h2 {
  font-size: clamp(1.9rem, 4.2vw, 2.8rem);
  max-width: 22ch;
}

.section-head {
  margin-bottom: 3rem;
}

.section-head--center {
  text-align: center;
}

.section-head--center h2 {
  margin-left: auto;
  margin-right: auto;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background: var(--yellow);
  color: var(--navy);
  padding: 0.35rem 0.7rem;
  margin-bottom: 1.25rem;
}

.lede {
  font-size: 1.125rem;
  max-width: 62ch;
}

.section--navy .lede,
.section--navy .muted {
  color: var(--slate-on-dark);
}

.section--light .muted {
  color: var(--slate);
}

.accent-underline {
  box-shadow: inset 0 -0.18em 0 0 var(--yellow);
}

/* ---- Buttons ---- */

.btn {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  border: 2px solid var(--yellow);
  border-radius: 4px;
  background: var(--yellow);
  color: var(--navy);
  padding: 0.95rem 1.9rem;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.btn:hover {
  background: #ffc94f;
  border-color: #ffc94f;
}

.btn--ghost-light {
  background: transparent;
  border-color: #fff;
  color: #fff;
}

.btn--ghost-light:hover {
  background: #fff;
  border-color: #fff;
  color: var(--navy);
}

.text-link {
  font-weight: 600;
  color: inherit;
  text-decoration: underline;
  text-decoration-color: var(--yellow);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.text-link:hover {
  text-decoration-thickness: 3px;
}

/* ---- Header ---- */

.site-header {
  background: var(--navy);
  color: #fff;
  border-bottom: 2px solid var(--line-on-dark);
  position: relative;
  z-index: 100;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 76px;
}

.logo {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  color: #fff;
  white-space: nowrap;
}

.logo span {
  color: var(--yellow);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-left: auto;
}

.site-nav a:not(.btn) {
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
}

.site-nav a:not(.btn):hover {
  color: var(--yellow);
}

.site-nav .btn {
  padding: 0.65rem 1.2rem;
  font-size: 0.8rem;
}

.nav-toggle {
  display: none;
  background: none;
  border: 2px solid var(--line-on-dark);
  border-radius: 4px;
  padding: 0.55rem;
  cursor: pointer;
}

.nav-toggle .bar {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  margin: 5px 0;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-open .nav-toggle .bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-open .nav-toggle .bar:nth-child(2) {
  opacity: 0;
}

.nav-open .nav-toggle .bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---- Hero ---- */

.hero {
  padding: 6.5rem 0 7rem;
}

.hero h1 {
  font-size: clamp(2.7rem, 7vw, 5rem);
  max-width: 16ch;
  margin-bottom: 1.75rem;
}

.hero .lede {
  margin-bottom: 2.5rem;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.trust-line {
  font-size: 0.9rem;
  color: var(--slate-on-dark);
}

/* ---- Card grids ---- */

.card-grid {
  display: grid;
  gap: 1.5rem;
}

.card-grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

.card-grid--4 {
  grid-template-columns: repeat(4, 1fr);
}

.card {
  border: 2px solid var(--line-on-light);
  border-radius: 4px;
  padding: 1.75rem;
}

.card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.card p {
  font-size: 0.97rem;
}

.section--light .card p {
  color: var(--slate);
}

.section--navy .card {
  border-color: var(--line-on-dark);
}

.section--navy .card p {
  color: var(--slate-on-dark);
}

.card-icon {
  width: 44px;
  height: 44px;
  color: var(--yellow);
  margin-bottom: 1.25rem;
}

.closing-line {
  margin-top: 2.5rem;
  text-align: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.3rem;
}

.note-line {
  margin-top: 2.5rem;
  max-width: 62ch;
  color: var(--slate-on-dark);
  font-size: 0.97rem;
  border-left: 4px solid var(--yellow);
  padding-left: 1.25rem;
}

/* ---- Steps ---- */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

.step-number {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 3.5rem;
  line-height: 1;
  color: var(--yellow);
  -webkit-text-stroke: 1px var(--navy);
  margin-bottom: 1rem;
}

.step h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
}

.step p {
  color: var(--slate);
  font-size: 0.97rem;
}

/* ---- Industry pills ---- */

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.pill {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 2px solid var(--line-on-dark);
  border-radius: 999px;
  padding: 0.55rem 1.2rem;
  color: #fff;
}

/* ---- Founder ---- */

.founder-body {
  max-width: 68ch;
}

.founder-body p {
  margin-bottom: 1.4rem;
}

.founder-body .btn {
  margin-top: 0.75rem;
}

/* ---- Pricing ---- */

.pricing-card {
  max-width: 560px;
  margin: 0 auto;
  background: var(--navy-raised);
  border: 2px solid var(--line-on-dark);
  border-top: 6px solid var(--yellow);
  border-radius: 4px;
  padding: 3rem 2.5rem;
  text-align: center;
}

.price {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: clamp(2.8rem, 6vw, 4rem);
  line-height: 1;
  letter-spacing: -0.02em;
}

.price small {
  font-size: 0.4em;
  font-weight: 700;
  color: var(--slate-on-dark);
  letter-spacing: 0;
}

.price-flat {
  font-family: var(--font-heading);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.85rem;
  color: var(--yellow);
  margin: 0.5rem 0 2rem;
}

.pricing-list {
  text-align: left;
  margin-bottom: 2rem;
}

.pricing-list li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--line-on-dark);
}

.pricing-list li:last-child {
  border-bottom: none;
}

.pricing-list svg {
  flex: none;
  width: 22px;
  height: 22px;
  color: var(--yellow);
  margin-top: 3px;
}

.pricing-fine {
  color: var(--slate-on-dark);
  font-size: 0.95rem;
  margin-bottom: 2rem;
}

.pricing-scarcity {
  margin-top: 1.5rem;
  font-size: 0.9rem;
  color: var(--slate-on-dark);
}

/* ---- FAQ ---- */

.faq-list {
  max-width: 760px;
  margin: 0 auto;
}

.faq-item {
  border: 2px solid var(--line-on-light);
  border-radius: 4px;
  margin-bottom: 1rem;
  background: var(--off-white);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--navy);
  padding: 1.15rem 1.4rem;
  cursor: pointer;
}

.faq-question .faq-icon {
  flex: none;
  width: 22px;
  height: 22px;
  color: var(--navy);
  transition: transform 0.2s ease;
}

.faq-question[aria-expanded="true"] .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 1.4rem 1.3rem;
  color: var(--slate);
  font-size: 0.97rem;
  max-width: 65ch;
}

/* ---- Final CTA ---- */

.final-cta {
  text-align: center;
  padding: 7rem 0;
}

.final-cta h2 {
  max-width: 24ch;
  margin: 0 auto 2.5rem;
}

.final-cta p {
  margin-top: 1.5rem;
  color: var(--slate-on-dark);
  font-size: 0.95rem;
}

/* ---- Footer ---- */

.site-footer {
  background: var(--navy);
  color: #fff;
  border-top: 2px solid var(--line-on-dark);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.footer-brand .logo {
  display: inline-block;
  margin-bottom: 1rem;
}

.footer-brand p {
  color: var(--slate-on-dark);
  font-size: 0.95rem;
  max-width: 36ch;
}

.footer-heading {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 1rem;
}

.footer-links li {
  margin-bottom: 0.6rem;
}

.footer-links a {
  color: #fff;
  text-decoration: none;
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: var(--yellow);
  text-decoration: underline;
}

.footer-bottom {
  border-top: 1px solid var(--line-on-dark);
  padding-top: 1.5rem;
  font-size: 0.85rem;
  color: var(--slate-on-dark);
}

/* ---- Inner pages (book / sample / privacy) ---- */

.page-hero {
  padding: 4.5rem 0 3.5rem;
}

.page-hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  max-width: 20ch;
  margin-bottom: 1.25rem;
}

.calendly-wrap {
  padding-bottom: 4rem;
}

.calendly-inline-widget {
  min-height: 700px;
  border: 2px solid var(--line-on-light);
  border-radius: 4px;
}

.contact-alt {
  padding-bottom: 5rem;
  font-size: 1rem;
}

/* ---- Article (sample post) ---- */

.article-wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 1.5rem 5rem;
}

.article-intro {
  font-size: 1rem;
  color: var(--slate);
  border-left: 4px solid var(--yellow);
  padding-left: 1.25rem;
  margin-bottom: 3rem;
  max-width: 60ch;
}

.article h1 {
  font-size: clamp(2rem, 4.5vw, 2.8rem);
  margin-bottom: 1.75rem;
}

.article h2 {
  font-size: 1.45rem;
  margin: 2.5rem 0 1rem;
  max-width: none;
}

.article p {
  margin-bottom: 1.25rem;
  line-height: 1.75;
}

.article-cta {
  margin-top: 4rem;
  border: 2px solid var(--line-on-light);
  border-top: 6px solid var(--yellow);
  border-radius: 4px;
  padding: 2.5rem;
  text-align: center;
}

.article-cta h2 {
  font-size: 1.5rem;
  margin: 0 0 1.5rem;
  max-width: none;
}

/* ---- Legal ---- */

.legal-wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 1.5rem 5rem;
}

.legal-wrap h2 {
  font-size: 1.3rem;
  margin: 2.25rem 0 0.75rem;
}

.legal-wrap p {
  margin-bottom: 1rem;
  color: var(--slate);
}

.legal-wrap a {
  color: var(--navy);
}

.effective-date {
  font-size: 0.9rem;
  color: var(--slate);
  margin-bottom: 2rem;
}

/* ---- 404 ---- */

.page-404 {
  background: var(--navy);
  color: #fff;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.page-404 main {
  flex: 1;
  display: flex;
  align-items: center;
  text-align: center;
}

.code-404 {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: clamp(6rem, 22vw, 13rem);
  line-height: 1;
  color: var(--yellow);
  letter-spacing: -0.04em;
}

.page-404 .lede {
  max-width: 36ch;
  margin: 1.5rem auto 2.5rem;
  color: var(--slate-on-dark);
}

.actions-404 {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}

/* ---- Responsive ---- */

@media (max-width: 1024px) {
  .card-grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 860px) {
  .nav-toggle {
    display: block;
    margin-left: auto;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--navy);
    border-bottom: 2px solid var(--line-on-dark);
    padding: 0.5rem 1.5rem 1.5rem;
  }

  .nav-open .site-nav {
    display: flex;
  }

  .site-nav a:not(.btn) {
    padding: 0.9rem 0;
    border-bottom: 1px solid var(--line-on-dark);
  }

  .site-nav .btn {
    margin-top: 1.25rem;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 4rem 0;
  }

  .hero {
    padding: 4.5rem 0 5rem;
  }

  .card-grid--3,
  .steps {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .pricing-card {
    padding: 2.25rem 1.5rem;
  }
}

@media (max-width: 540px) {
  .card-grid--4 {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .btn {
    width: 100%;
  }

  .site-nav .btn,
  .article-cta .btn {
    width: auto;
  }
}
