:root {
  --ink: #18201b;
  --muted: #5c6660;
  --paper: #ffffff;
  --soft: #f3f8f4;
  --line: #d7e2d8;
  --green: #1f6f50;
  --green-dark: #14513b;
  --coral: #e85d4f;
  --gold: #d7a923;
  --shadow: 0 18px 45px rgba(24, 32, 27, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
}

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

a {
  color: inherit;
}

button,
input,
textarea {
  font: inherit;
}

.hero {
  min-height: 82vh;
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  color: #ffffff;
  background:
    linear-gradient(90deg, rgba(10, 22, 15, 0.9), rgba(10, 22, 15, 0.58) 48%, rgba(10, 22, 15, 0.22)),
    url("https://images.unsplash.com/photo-1497366754035-f200968a6e72?auto=format&fit=crop&w=1800&q=80") center/cover;
}

.topbar {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  font-weight: 800;
  text-decoration: none;
}

.menu-button {
  display: none;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  padding: 8px 12px;
  cursor: pointer;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: #ffffff;
}

.hero-content {
  width: min(1120px, calc(100% - 32px));
  margin: auto auto 9vh;
  padding: 72px 0;
}

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  color: var(--coral);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #ffb7ad;
}

.hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: 3.7rem;
  line-height: 1.02;
}

.hero p:not(.eyebrow) {
  max-width: 660px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.12rem;
}

.button,
.secondary-button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 30px;
  border: 0;
  border-radius: 8px;
  background: var(--coral);
  color: #ffffff;
  font-weight: 800;
  text-decoration: none;
  padding: 12px 18px;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease;
}

.button:hover,
.secondary-button:hover {
  background: #d94d41;
  transform: translateY(-2px);
}

.reading-progress {
  position: sticky;
  top: 0;
  z-index: 10;
  height: 5px;
  background: transparent;
}

.reading-progress span {
  display: block;
  width: 0%;
  height: 100%;
  background: var(--coral);
}

.intro-section,
.article-section,
.model-section,
.checklist-section {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.intro-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 44px;
  padding: 82px 0 52px;
  align-items: start;
}

.intro-copy h2,
.section-heading h2,
.visual-band h2,
.model-section h2,
.checklist-section h2 {
  margin: 0;
  font-size: 2.3rem;
  line-height: 1.12;
}

.intro-copy p:not(.section-kicker),
.section-heading p:not(.section-kicker),
.visual-band p:not(.section-kicker),
.checklist-section p {
  color: var(--muted);
  font-size: 1.05rem;
}

.quick-list {
  border-left: 5px solid var(--green);
  border-radius: 8px;
  background: var(--soft);
  padding: 26px;
}

.quick-list h3 {
  margin: 0 0 12px;
  font-size: 1.1rem;
}

.quick-list ol {
  margin: 0;
  padding-left: 20px;
}

.quick-list li + li {
  margin-top: 9px;
}

.article-section {
  padding: 34px 0 80px;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.tips-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.tip-card {
  min-height: 285px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  padding: 24px;
  box-shadow: 0 10px 28px rgba(24, 32, 27, 0.06);
}

.tip-card span {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--green);
  color: #ffffff;
  font-weight: 800;
}

.tip-card h3 {
  margin: 22px 0 10px;
  font-size: 1.25rem;
  line-height: 1.2;
}

.tip-card p {
  margin: 0;
  color: var(--muted);
}

.visual-band {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1fr);
  gap: 44px;
  align-items: center;
  padding: 68px max(16px, calc((100vw - 1120px) / 2));
  background: var(--soft);
}

.visual-band img {
  width: 100%;
  height: 430px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.model-section {
  padding: 82px 0 72px;
}

.template-box {
  margin-top: 28px;
  border: 1px solid var(--line);
  border-left: 5px solid var(--gold);
  border-radius: 8px;
  background: #fffdf7;
  padding: 28px;
}

.template-box p {
  margin: 0;
  color: #2d332f;
  font-size: 1.03rem;
}

.template-box p + p {
  margin-top: 18px;
}

.copy-feedback {
  min-height: 24px;
  margin: 12px 0 0;
  color: var(--green-dark);
  font-weight: 700;
}

.checklist-section {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(320px, 1fr);
  gap: 40px;
  padding: 30px 0 90px;
}

.checklist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.checklist button {
  width: 100%;
  min-height: 56px;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  color: var(--ink);
  padding: 14px 16px;
  text-align: left;
  cursor: pointer;
}

.checklist button::before {
  content: "";
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  border: 2px solid var(--green);
  border-radius: 6px;
}

.checklist button[aria-pressed="true"] {
  border-color: #a8cfb4;
  background: #eef8f0;
  color: var(--green-dark);
}

.checklist button[aria-pressed="true"]::before {
  background: var(--green);
  box-shadow: inset 0 0 0 5px #eef8f0;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 26px max(16px, calc((100vw - 1120px) / 2));
  background: var(--ink);
  color: rgba(255, 255, 255, 0.86);
}

.footer p {
  margin: 0;
}

.footer a {
  color: #ffffff;
  font-weight: 800;
}

@media (max-width: 900px) {
  .hero {
    min-height: 78vh;
  }

  .hero h1 {
    font-size: 2.55rem;
  }

  .intro-section,
  .visual-band,
  .checklist-section {
    grid-template-columns: 1fr;
  }

  .tips-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .visual-band img {
    height: 330px;
  }
}

@media (max-width: 680px) {
  .topbar {
    align-items: flex-start;
    position: relative;
  }

  .menu-button {
    display: inline-flex;
  }

  .nav-links {
    position: absolute;
    top: 64px;
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 8px;
    background: rgba(10, 22, 15, 0.94);
    overflow: hidden;
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    padding: 14px 16px;
  }

  .hero-content {
    margin-bottom: 5vh;
    padding: 44px 0 58px;
  }

  .hero h1 {
    font-size: 2.08rem;
  }

  .hero p:not(.eyebrow) {
    font-size: 1rem;
  }

  .intro-section {
    padding-top: 58px;
  }

  .intro-copy h2,
  .section-heading h2,
  .visual-band h2,
  .model-section h2,
  .checklist-section h2 {
    font-size: 1.8rem;
  }

  .tips-grid {
    grid-template-columns: 1fr;
  }

  .tip-card {
    min-height: auto;
  }

  .visual-band,
  .model-section,
  .checklist-section {
    padding-top: 54px;
    padding-bottom: 58px;
  }

  .footer {
    flex-direction: column;
  }
}
