:root {
  --terracotta: #e18545;
  --teal: #1d889a;
  --slate: #376581;
  --turquoise: #1abbbb;
  --charcoal: #323232;
  --dark-gray: #6c6a69;
  --medium-gray: #888685;
  --pale: #f7f3ef;
  --hero-dark: #0e2435;
  --hero-mid: #14303f;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--charcoal);
  font-family: "Segoe UI", system-ui, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  background: var(--pale);
}

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

h1, h2, h3, p, blockquote {
  margin: 0;
}

/* ── Layout ─────────────────────────────── */
.page-wrap {
  width: min(100%, 720px);
  margin: 0 auto;
  padding: 0 20px;
}

/* ── Site header ─────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 28, 42, 0.97);
  backdrop-filter: blur(10px);
  padding: 10px 20px;
  display: flex;
  align-items: center;
}

.site-logo {
  height: 30px;
  width: auto;
}

/* ── Hero section ────────────────────────── */
.hero-section {
  background: linear-gradient(155deg, #0e2435 0%, #14303f 55%, #183544 100%);
  padding: 28px 0 32px;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 65% 55% at 85% -15%, rgba(29, 136, 154, 0.38), transparent),
    radial-gradient(ellipse 50% 45% at -5% 110%, rgba(225, 133, 69, 0.22), transparent);
  pointer-events: none;
}

.eyebrow-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  margin-bottom: 16px;
}

.eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--terracotta);
  flex-shrink: 0;
}

h1 {
  font-size: clamp(1.75rem, 6.5vw, 3rem);
  line-height: 1.06;
  letter-spacing: -0.03em;
  color: #ffffff;
  margin-bottom: 14px;
}

h1 em {
  font-style: normal;
  color: var(--terracotta);
}

.hero-sub {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.55;
  margin-bottom: 24px;
  max-width: 480px;
}

/* ── Hero form ───────────────────────────── */
.hero-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.hero-form input[type="email"] {
  width: 100%;
  padding: 15px 18px;
  border: 2px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.07);
  color: #ffffff;
  font: inherit;
  font-size: 1rem;
  transition: border-color 0.2s, background 0.2s;
}

.hero-form input[type="email"]::placeholder {
  color: rgba(255, 255, 255, 0.38);
}

.hero-form input[type="email"]:focus {
  outline: none;
  border-color: var(--turquoise);
  background: rgba(255, 255, 255, 0.11);
}

.cta-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 52px;
  padding: 13px 22px;
  border: 0;
  border-radius: 14px;
  background: var(--terracotta);
  color: #ffffff;
  font: inherit;
  font-size: 1.05rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.17s ease, background-color 0.17s ease, box-shadow 0.17s ease;
  box-shadow: 0 8px 24px -6px rgba(225, 133, 69, 0.6);
  letter-spacing: 0.01em;
}

.cta-button:hover {
  transform: translateY(-2px);
  background: #d07238;
  box-shadow: 0 12px 28px -6px rgba(225, 133, 69, 0.7);
}

.cta-button:active {
  transform: translateY(0);
}

.consent-row {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  align-items: start;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.8rem;
  line-height: 1.5;
  cursor: pointer;
}

.consent-row input {
  margin: 2px 0 0;
  accent-color: var(--terracotta);
  cursor: pointer;
}

.form-message {
  min-height: 18px;
  font-size: 0.87rem;
  color: rgba(255, 255, 255, 0.55);
}

.form-message.error {
  color: #ff8f8b;
}

.form-message.success {
  color: var(--turquoise);
}

.trust-row {
  display: flex;
  gap: 18px;
  margin-top: 16px;
  flex-wrap: wrap;
}

.trust-item {
  color: rgba(255, 255, 255, 0.38);
  font-size: 0.8rem;
  font-weight: 500;
}

/* ── Download panel ──────────────────────── */
.download-panel {
  background: linear-gradient(155deg, #0e2435, #183544);
  padding: 32px 0;
}

.download-inner {
  text-align: center;
}

.download-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--teal);
  color: #fff;
  font-size: 1.4rem;
  margin-bottom: 14px;
}

.download-panel h3 {
  color: #fff;
  font-size: 1.45rem;
  margin-bottom: 8px;
}

.download-panel p {
  color: rgba(255, 255, 255, 0.62);
  margin-bottom: 20px;
}

.download-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}

.download-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 50px;
  padding: 12px 28px;
  border-radius: 999px;
  background: var(--terracotta);
  color: #fff;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.17s, background-color 0.17s;
  box-shadow: 0 8px 24px -6px rgba(225, 133, 69, 0.5);
}

.download-button:hover {
  transform: translateY(-1px);
  background: #d07238;
}

.secondary-link {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.92rem;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.secondary-link:hover {
  color: rgba(255, 255, 255, 0.88);
}

/* ── Section shared styles ───────────────── */
.section-header {
  text-align: center;
  margin-bottom: 30px;
}

.section-kicker {
  display: block;
  color: var(--teal);
  font-size: 0.77rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.section-kicker.light {
  color: rgba(255, 255, 255, 0.5);
}

.section-header h2 {
  font-size: clamp(1.55rem, 5vw, 2.3rem);
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--charcoal);
}

/* ── Inside section ──────────────────────── */
.inside-section {
  padding: 52px 0;
  background: #fff;
}

.inside-grid {
  display: grid;
  gap: 16px;
}

.inside-card {
  padding: 24px;
  border-radius: 20px;
  background: var(--pale);
  border: 1px solid rgba(0, 0, 0, 0.06);
  transition: transform 0.2s, box-shadow 0.2s;
}

.inside-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px -8px rgba(55, 101, 129, 0.16);
}

.inside-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  font-weight: 800;
  font-size: 0.88rem;
  margin-bottom: 14px;
}

.inside-num.teal  { background: rgba(29, 136, 154, 0.12); color: var(--teal); }
.inside-num.orange { background: rgba(225, 133, 69, 0.12); color: var(--terracotta); }
.inside-num.slate  { background: rgba(55, 101, 129, 0.12); color: var(--slate); }

.inside-card h3 {
  font-size: 1.08rem;
  line-height: 1.25;
  margin-bottom: 10px;
  color: var(--charcoal);
}

.inside-card p {
  color: var(--dark-gray);
  font-size: 0.95rem;
  line-height: 1.62;
}

/* ── Clarity section ─────────────────────── */
.clarity-section {
  background: linear-gradient(155deg, #0e2435 0%, #14303f 55%, #183544 100%);
  padding: 52px 0;
  position: relative;
  overflow: hidden;
}

.clarity-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 60% at 100% 100%, rgba(29, 136, 154, 0.28), transparent);
  pointer-events: none;
}

.clarity-inner {
  position: relative;
}

.clarity-inner h2 {
  font-size: clamp(1.65rem, 5.5vw, 2.5rem);
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: #fff;
  margin: 10px 0 18px;
}

.clarity-inner p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.02rem;
  line-height: 1.65;
  margin-bottom: 14px;
}

.clarity-inner p strong {
  color: rgba(255, 255, 255, 0.9);
}

.cta-outline {
  margin-top: 8px;
  border: 2px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

.cta-outline:hover {
  background: var(--terracotta);
  border-color: var(--terracotta);
}

/* ── Testimonial ─────────────────────────── */
.testimonial-section {
  padding: 52px 0;
  background: var(--pale);
}

.testimonial-card {
  background: #fff;
  border-radius: 24px;
  padding: 32px 28px;
  text-align: center;
  box-shadow: 0 4px 40px -12px rgba(55, 101, 129, 0.13);
}

.quote-mark {
  font-size: 4.5rem;
  line-height: 0.5;
  color: var(--terracotta);
  opacity: 0.22;
  font-family: Georgia, serif;
  margin-bottom: 14px;
}

blockquote {
  font-size: 1.1rem;
  line-height: 1.65;
  color: var(--charcoal);
  font-style: italic;
  margin-bottom: 14px;
}

.testimonial-meta {
  color: var(--medium-gray);
  font-size: 0.88rem;
}

/* ── Footer ──────────────────────────────── */
.page-footer {
  background: #0a1c2a;
  padding: 26px 20px 36px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.footer-logo {
  height: 26px;
  width: auto;
  opacity: 0.55;
  filter: brightness(0) invert(1);
}

.page-footer p {
  color: rgba(255, 255, 255, 0.3);
  font-size: 0.8rem;
}

/* ── Desktop ─────────────────────────────── */
@media (min-width: 640px) {
  .form-row {
    flex-direction: row;
  }

  .form-row input[type="email"] {
    flex: 1;
    border-radius: 14px 0 0 14px;
  }

  .form-row .cta-button {
    border-radius: 0 14px 14px 0;
    white-space: nowrap;
  }

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

  .download-actions {
    flex-direction: row;
    justify-content: center;
  }
}
