:root {
  --navy-950: #162136;
  --navy-800: #1d456f;
  --ink: #1b2432;
  --slate: #586575;
  --teal: #198f86;
  --teal-dark: #11766f;
  --mist: #f5f7f9;
  --line: #dce3e8;
  --white: #ffffff;
  --shadow: 0 22px 60px rgba(22, 33, 54, 0.1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: Inter, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(220, 227, 232, 0.85);
  backdrop-filter: blur(12px);
}

.nav-shell,
.content-shell {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.nav-shell {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  text-decoration: none;
  color: var(--navy-950);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 21px;
  font-weight: 700;
}

.back-link {
  color: var(--slate);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
}

.back-link:hover,
.back-link:focus-visible { color: var(--teal-dark); }

.hero {
  overflow: hidden;
  background:
    radial-gradient(circle at 85% 18%, rgba(25, 143, 134, 0.09), transparent 28%),
    linear-gradient(180deg, #f7f9fb 0%, #ffffff 100%);
  border-bottom: 1px solid #eef1f3;
}

.hero-grid {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(340px, 0.88fr);
  align-items: center;
  gap: 64px;
  padding: 72px 0 78px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--teal-dark);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

h1, h2, h3 {
  margin-top: 0;
  color: var(--navy-950);
  font-family: "Playfair Display", Georgia, serif;
  line-height: 1.12;
}

h1 {
  max-width: 720px;
  margin-bottom: 24px;
  font-size: clamp(42px, 5.25vw, 68px);
  letter-spacing: -0.025em;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(32px, 3.4vw, 45px);
  letter-spacing: -0.018em;
}

h3 { margin-bottom: 10px; font-size: 23px; }

.hero-copy {
  max-width: 680px;
  margin: 0 0 30px;
  color: #4e5c6c;
  font-size: clamp(18px, 2vw, 21px);
  line-height: 1.7;
}

.primary-button,
.form-button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--navy-800);
  border-radius: 6px;
  background: var(--navy-800);
  color: var(--white);
  cursor: pointer;
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.primary-button { padding: 0 28px; }

.primary-button:hover,
.form-button:hover {
  background: #15395f;
  box-shadow: 0 10px 24px rgba(29, 69, 111, 0.18);
  transform: translateY(-1px);
}

.trust-note {
  margin: 20px 0 0;
  color: #6a7583;
  font-size: 14px;
}

.portrait-wrap {
  position: relative;
  min-height: 510px;
  overflow: hidden;
  border: 1px solid #dfe5ea;
  border-radius: 18px;
  background: linear-gradient(160deg, #e9eef3, #a6b0bd 60%, #596679);
  box-shadow: var(--shadow);
}

.portrait-wrap::after {
  position: absolute;
  inset: auto 0 0;
  height: 35%;
  background: linear-gradient(transparent, rgba(22, 33, 54, 0.18));
  content: "";
  pointer-events: none;
}

.portrait {
  width: 100%;
  height: 100%;
  min-height: 510px;
  display: block;
  object-fit: cover;
  object-position: center 18%;
}

.section { padding: 92px 0; }

.section-muted { background: var(--mist); }

.narrow { width: min(770px, 100%); }

.section p { color: #4d5a69; }

.lead { font-size: 19px; }

.cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 42px;
}

.card {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
}

.card-number {
  width: 34px;
  height: 34px;
  margin-bottom: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(25, 143, 134, 0.35);
  border-radius: 50%;
  color: var(--teal-dark);
  font-size: 13px;
  font-weight: 700;
}

.card p { margin: 0; }

#protecting-best-hours { scroll-margin-top: 90px; }
.card .routine-tool-note { margin-top: 1rem; font-size: .95rem; line-height: 1.65; }
.routine-tool-note a { color: var(--teal-dark); text-underline-offset: 3px; font-weight: 600; }

.optin-section { padding: 96px 0; }

.optin-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.72fr);
  gap: 70px;
  align-items: start;
}

.optin-list {
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.optin-list li {
  position: relative;
  margin: 13px 0;
  padding-left: 29px;
  color: #4d5a69;
}

.optin-list li::before {
  position: absolute;
  top: 0.46em;
  left: 2px;
  width: 9px;
  height: 9px;
  border: 2px solid var(--teal);
  border-radius: 50%;
  content: "";
}

.form-card {
  padding: 34px;
  border: 1px solid #dce3e8;
  border-radius: 12px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.form-card h3 { font-size: 28px; }

.field { margin-top: 18px; }

label {
  display: block;
  margin-bottom: 7px;
  color: var(--navy-950);
  font-size: 14px;
  font-weight: 600;
}

input[type="text"],
input[type="email"] {
  width: 100%;
  height: 50px;
  padding: 0 14px;
  border: 1px solid #cbd4dc;
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  outline: none;
}

input:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(25, 143, 134, 0.12);
}

.consent {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  margin: 20px 0;
  color: #596675;
  font-size: 13px;
  line-height: 1.5;
}

.consent input { width: 17px; height: 17px; margin: 2px 0 0; accent-color: var(--teal); }

.form-button { width: 100%; padding: 0 18px; }

.microcopy,
.form-status {
  margin: 12px 0 0;
  color: #707b87;
  font-size: 13px;
  text-align: center;
}

.form-status { color: #9b4d35; }

.honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.form-button:disabled {
  cursor: wait;
  opacity: 0.72;
  transform: none;
}

.closing-note {
  padding: 36px;
  border-left: 3px solid var(--teal);
  background: #f7f9fb;
}

.signature {
  margin-top: 22px;
  color: var(--navy-950);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 21px;
  font-weight: 700;
}

.site-footer {
  padding: 36px 0;
  border-top: 1px solid var(--line);
  color: #6b7683;
  font-size: 13px;
}

.footer-grid {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 36px;
}

.footer-grid p { max-width: 780px; margin: 0; }

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

.simple-page {
  min-height: calc(100vh - 65px);
  display: grid;
  place-items: center;
  padding: 64px 0;
  background: linear-gradient(180deg, #f7f9fb, #fff);
}

.simple-card {
  width: min(680px, calc(100% - 40px));
  padding: clamp(34px, 7vw, 66px);
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--shadow);
  text-align: center;
}

.simple-card h1 { margin-inline: auto; font-size: clamp(38px, 6vw, 54px); }

.simple-card p { color: #52606e; }

.simple-card .primary-button { margin-top: 16px; }

@media (max-width: 860px) {
  .hero-grid,
  .optin-grid { grid-template-columns: 1fr; gap: 42px; }
  .hero-grid { padding-top: 56px; }
  .portrait-wrap, .portrait { min-height: 430px; }
  .portrait-wrap { width: min(520px, 100%); }
}

@media (max-width: 620px) {
  .nav-shell,
  .content-shell { width: min(100% - 28px, 1180px); }
  .back-link { font-size: 0; }
  .back-link::after { content: "Main website"; font-size: 13px; }
  .hero-grid { min-height: auto; padding: 44px 0 58px; }
  h1 { font-size: 43px; }
  .hero-copy { font-size: 18px; }
  .portrait-wrap, .portrait { min-height: 390px; }
  .section, .optin-section { padding: 66px 0; }
  .cards { grid-template-columns: 1fr; }
  .card, .form-card { padding: 25px; }
  .footer-grid { flex-direction: column; gap: 18px; }
}

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