/* ===========================================================
   dwayneoverview.com — teal/blue tech-review advertorial
   Palette: deep blue #0C2A47, teal #3FA08A, ink #10212E,
            pale aqua #ECF5F3, white bg
   =========================================================== */

:root {
  --blue: #0C2A47;
  --blue-2: #143a5e;
  --teal: #3FA08A;
  --teal-dark: #2f8772;
  --teal-soft: #96f4db;
  --ink: #10212E;
  --aqua: #ECF5F3;
  --line: #d9e4e2;
  --muted: #51636f;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(12, 42, 71, .08);
  --shadow-soft: 0 4px 14px rgba(12, 42, 71, .06);
  --max: 1200px;
  --grad: linear-gradient(135deg, #0C2A47 0%, #134a55 55%, #2f8772 100%);
}

* { box-sizing: border-box; }

html, body {
  overflow-x: hidden;
  max-width: 100%;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--teal-dark); }

h1, h2, h3, h4 { line-height: 1.18; margin: 0; }

/* ---------- Topbar ---------- */
.topbar {
  background: var(--ink);
  color: #cfe3df;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: .32em;
  font-size: 12px;
  font-weight: 700;
  padding: 9px 16px;
}

/* ---------- Header (non-sticky) ---------- */
.site-header {
  position: static;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max);
  margin: 0 auto;
  padding: 18px 24px;
}
.logo { height: 52px; width: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .04em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 10px;
  padding: 13px 24px;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn .arrow { font-size: 16px; }
.btn-header {
  background: var(--teal);
  color: #fff;
  box-shadow: 0 6px 16px rgba(63, 160, 138, .3);
}
.btn-header:hover { background: var(--teal-dark); transform: translateY(-1px); }

.btn-hero {
  background: #fff;
  color: var(--blue);
  box-shadow: 0 12px 30px rgba(0, 0, 0, .22);
}
.btn-hero:hover { transform: translateY(-2px); }

.btn-ghost {
  background: transparent;
  color: var(--teal-dark);
  border: 2px solid var(--teal);
  border-radius: 10px;
}
.btn-ghost:hover { background: var(--teal); color: #fff; }

.btn-final {
  background: #fff;
  color: var(--blue);
  box-shadow: 0 12px 30px rgba(0, 0, 0, .25);
  font-size: 15px;
  padding: 15px 30px;
}
.btn-final:hover { transform: translateY(-2px); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--grad);
  color: #eaf4f1;
  overflow: hidden;
  padding: 70px 24px 80px;
}
.hero-grid-overlay {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, .12) 1px, transparent 1px);
  background-size: 24px 24px;
  opacity: .5;
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
}
.hero-date {
  text-transform: uppercase;
  letter-spacing: .2em;
  font-size: 12px;
  font-weight: 600;
  color: var(--teal-soft);
  margin: 0 0 14px;
}
.hero h1 {
  font-family: 'Source Serif 4', Georgia, serif;
  font-weight: 700;
  font-size: clamp(2.1rem, 5vw, 3.5rem);
  color: #fff;
  margin-bottom: 18px;
}
.hero-sub {
  font-size: 1.12rem;
  color: #cfe1dd;
  max-width: 620px;
  margin: 0 auto 28px;
}
.hero-figure {
  margin: 38px auto 0;
  max-width: 760px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .18);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .35);
}
.hero-figure img { width: 100%; height: auto; }

/* ---------- Article ---------- */
.article { padding: 72px 24px; background: #fff; }
.article-inner { max-width: 940px; margin: 0 auto; }

.lead {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 1.4rem;
  line-height: 1.55;
  color: var(--blue);
  margin: 0 0 36px;
}
.lead::first-letter {
  float: left;
  font-family: 'Source Serif 4', Georgia, serif;
  font-weight: 700;
  font-size: 4.6rem;
  line-height: .8;
  padding: 6px 14px 2px 0;
  color: var(--teal);
}

.columns {
  column-count: 2;
  column-gap: 44px;
}
.columns p {
  margin: 0 0 18px;
  font-size: 1.02rem;
  color: #2a3a45;
}
.columns h2 {
  column-span: all;
  font-family: 'Source Serif 4', Georgia, serif;
  font-weight: 700;
  font-size: 1.75rem;
  color: var(--blue);
  margin: 22px 0 16px;
  padding-top: 18px;
  border-top: 2px solid var(--aqua);
}

.inline-figure {
  column-span: all;
  margin: 12px 0 24px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}
.inline-figure img { width: 100%; }
.inline-figure figcaption {
  font-size: 13px;
  color: var(--muted);
  text-align: center;
  padding: 12px 16px;
  background: var(--aqua);
}

.pull-quote {
  column-span: all;
  font-family: 'Source Serif 4', Georgia, serif;
  font-style: italic;
  font-size: clamp(1.5rem, 3.4vw, 2.2rem);
  line-height: 1.35;
  color: var(--blue);
  text-align: center;
  margin: 30px 0;
  padding: 30px 24px;
  border-top: 2px solid var(--teal);
  border-bottom: 2px solid var(--teal);
}

.inline-cta-wrap { column-span: all; text-align: center; margin: 10px 0 24px; }

/* ---------- Section heads ---------- */
.section-head { max-width: 760px; margin: 0 auto 44px; text-align: center; }
.section-head h2 {
  font-family: 'Source Serif 4', Georgia, serif;
  font-weight: 700;
  font-size: clamp(1.7rem, 3.6vw, 2.4rem);
  color: var(--blue);
  margin-bottom: 12px;
}
.section-head p { color: var(--muted); margin: 0; font-size: 1.05rem; }

/* ---------- Features ---------- */
.features {
  background:
    linear-gradient(90deg,rgba(63,160,138,.12) 1px,transparent 1px),
    linear-gradient(180deg,#e9f5f2,var(--aqua));
  background-size: 42px 42px, auto;
  padding: 86px 24px;
}
.cards {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.card {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 24px;
  align-items: start;
  background: rgba(255,255,255,.88);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 28px 32px;
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-4px); border-color: var(--teal); }
.card-bar {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 4px;
  background: var(--teal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s ease;
}
.card:hover .card-bar { transform: scaleX(1); }
.card-icon {
  grid-row: 1 / span 2;
  width: 56px; height: 56px;
  border-radius: 12px;
  background: var(--aqua);
  color: var(--teal-dark);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800;
  font-size: 22px;
  margin: 0;
}
.card-icon svg { display: block; }
.card h3 {
  grid-column: 2;
  grid-row: 1;
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 1.3rem;
  color: var(--blue);
  margin-bottom: 10px;
}
.card p {
  grid-column: 2;
  grid-row: 2;
  color: var(--muted);
  margin: 0;
  font-size: .98rem;
}

/* ---------- Steps ---------- */
.steps { background: #fff; padding: 86px 24px; border-top: 1px solid var(--line); }
.steps-row {
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.steps-row::before {
  content: none;
}
.step {
  position: relative;
  z-index: 1;
  text-align: left;
  padding: 34px 30px;
  border-right: 1px solid var(--line);
  background: linear-gradient(180deg,#fff,#fbfefd);
}
.step:last-child { border-right: 0; }
.step-num {
  width: 64px; height: 64px;
  margin: 0 0 20px;
  border-radius: 14px;
  background: #fff;
  border: 2px solid var(--blue);
  color: var(--blue);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800;
  font-size: 1.5rem;
  box-shadow: var(--shadow-soft);
}
.step-num-accent {
  border-color: var(--teal);
  color: var(--teal-dark);
  box-shadow: 0 0 0 6px rgba(63, 160, 138, .15);
}
.step h4 {
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: 14px;
  color: var(--blue);
  margin-bottom: 8px;
}
.step p { color: var(--muted); margin: 0; max-width: 260px; font-size: .95rem; }

/* ---------- FAQ ---------- */
.faq { background: var(--aqua); padding: 76px 24px; }
.faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.faq details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  font-weight: 600;
  font-size: 1.08rem;
  color: var(--blue);
}
.faq summary::-webkit-details-marker { display: none; }
.faq .chev {
  font-size: 1.6rem;
  color: var(--teal);
  line-height: 1;
  transition: transform .2s ease;
  flex-shrink: 0;
}
.faq details[open] .chev { transform: rotate(45deg); }
.faq-body { padding: 0 24px 22px; }
.faq-body p { margin: 0; color: #34454f; font-size: 1rem; }

/* ---------- Bottom CTA ---------- */
.cta-final {
  position: relative;
  background: var(--grad);
  color: #fff;
  text-align: center;
  padding: 96px 24px;
  overflow: hidden;
}
.cta-final-glow {
  position: absolute;
  top: -30%;
  left: 50%;
  width: 640px;
  height: 640px;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(150, 244, 219, .28) 0%, rgba(63, 160, 138, 0) 65%);
  pointer-events: none;
  z-index: 0;
}
.cta-final-inner {
  position: relative;
  z-index: 1;
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.cta-badge-link { display: inline-block; text-decoration: none; }
.cta-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 16px;
  padding: 16px 22px;
  margin-bottom: 30px;
  box-shadow: 0 0 0 5px rgba(63, 160, 138, .18), 0 16px 36px rgba(0, 0, 0, .28);
  transition: transform .2s ease;
}
.cta-badge-link:hover .cta-badge { transform: translateY(-3px); }
.cta-logo { height: 26px; width: auto; display: block; }
.cta-final h2 {
  font-family: 'Source Serif 4', Georgia, serif;
  font-weight: 700;
  font-size: clamp(1.9rem, 4.6vw, 3rem);
  letter-spacing: -.01em;
  margin-bottom: 16px;
}
.cta-lead {
  font-size: 1.12rem;
  line-height: 1.6;
  color: #cfe1dd;
  max-width: 460px;
  margin: 0 auto 32px;
}
.disclaimer {
  margin: 36px auto 0;
  max-width: 600px;
  font-size: 12.5px;
  line-height: 1.6;
  color: rgba(234, 244, 241, .75);
}
.disclaimer a { color: #fff; text-decoration: underline; }

/* ---------- Footer ---------- */
.site-footer {
  background: #fff;
  border-top: 1px solid var(--line);
  padding: 50px 24px 40px;
  text-align: center;
}
.footer-logo { height: 46px; width: auto; margin: 0 auto 22px; }
.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 26px;
  margin-bottom: 24px;
}
.footer-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
}
.footer-links a:hover { color: var(--teal-dark); text-decoration: underline; }
.footer-identity { color: var(--muted); font-size: 13.5px; line-height: 1.7; }
.footer-identity p { margin: 2px 0; }
.footer-copy {
  margin-top: 20px;
  color: #93a3ab;
  font-size: 12.5px;
  border-top: 1px solid var(--line);
  padding-top: 20px;
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .columns { column-count: 1; }
  .cards { grid-template-columns: 1fr; }
  .card { grid-template-columns: 1fr; }
  .card-icon, .card h3, .card p { grid-column: auto; grid-row: auto; }
  .card-icon { margin-bottom: 18px; }
  .steps-row { grid-template-columns: 1fr; gap: 0; }
  .step { border-right: 0; border-bottom: 1px solid var(--line); }
  .step:last-child { border-bottom: 0; }
  .steps-row::before { display: none; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .hero { padding: 50px 20px 60px; }
  .site-header { padding: 14px 18px; }
  .btn-header { padding: 11px 16px; font-size: 13px; }
  .cta-final { padding: 70px 20px; }
  .lead { font-size: 1.2rem; }
}
