:root {
  --ink: #1c201d;
  --muted: #626961;
  --paper: #f7f3ea;
  --paper-deep: #eee7da;
  --card: #fffdf8;
  --forest: #173f35;
  --forest-light: #275e50;
  --rust: #b7512e;
  --gold: #d8a64c;
  --line: rgba(28, 32, 29, 0.13);
  --shadow: 0 22px 60px rgba(35, 31, 24, 0.13);
  --radius: 24px;
  --shell: 1180px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 10% 5%, rgba(216, 166, 76, 0.14), transparent 25rem),
    linear-gradient(180deg, #faf7f0 0%, var(--paper) 42%, #f3ecdf 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a,
summary {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
}

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

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  letter-spacing: -0.035em;
}

.shell {
  width: min(var(--shell), calc(100% - 40px));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 10px 14px;
  color: #fff;
  background: var(--forest);
  border-radius: 10px;
  transform: translateY(-160%);
  transition: transform 0.18s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 247, 240, 0.9);
  border-bottom: 1px solid rgba(28, 32, 29, 0.08);
  backdrop-filter: blur(16px);
}

.nav-shell {
  width: min(var(--shell), calc(100% - 40px));
  min-height: 74px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  font-weight: 850;
  letter-spacing: -0.02em;
  text-decoration: none;
  white-space: nowrap;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  color: #fff;
  background: var(--forest);
  border-radius: 14px 14px 14px 4px;
  box-shadow: 0 8px 22px rgba(23, 63, 53, 0.24);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.74rem;
  letter-spacing: 0.02em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-nav a {
  padding: 9px 12px;
  color: #3d443f;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 750;
  text-decoration: none;
}

.site-nav a:hover {
  background: rgba(23, 63, 53, 0.07);
}

.site-nav .nav-cta {
  margin-left: 6px;
  padding-inline: 18px;
  color: #fff;
  background: var(--forest);
}

.author-hero {
  position: relative;
  overflow: hidden;
  padding: 82px 0 72px;
}

.author-hero::after {
  content: "";
  position: absolute;
  width: 460px;
  height: 460px;
  right: -180px;
  top: 40px;
  z-index: -1;
  border: 1px solid rgba(183, 81, 46, 0.16);
  border-radius: 50%;
  box-shadow:
    0 0 0 58px rgba(183, 81, 46, 0.04),
    0 0 0 116px rgba(183, 81, 46, 0.026);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.78fr);
  gap: clamp(46px, 7vw, 94px);
  align-items: center;
}

.eyebrow {
  margin-bottom: 14px;
  color: var(--rust);
  font-size: 0.77rem;
  font-weight: 850;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow-light {
  color: #f1bf66;
}

.hero-copy h1 {
  max-width: 780px;
  margin-bottom: 22px;
  font-size: clamp(3.3rem, 7vw, 6.5rem);
  line-height: 0.94;
}

.hero-lede {
  max-width: 690px;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: clamp(1.08rem, 1.8vw, 1.28rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 19px;
  border: 0;
  border-radius: 14px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.button:hover:not(:disabled) {
  transform: translateY(-2px);
}

.button-primary,
.button-submit {
  color: #fff;
  background: var(--forest);
  box-shadow: 0 12px 28px rgba(23, 63, 53, 0.22);
}

.button-primary:hover,
.button-submit:hover:not(:disabled) {
  background: var(--forest-light);
}

.button-secondary {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
}

.button-submit:disabled {
  color: rgba(255, 255, 255, 0.78);
  background: #6f7873;
  box-shadow: none;
  cursor: not-allowed;
}

.hero-note {
  max-width: 640px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.feature-preview {
  padding: 26px;
  background: rgba(255, 253, 248, 0.86);
  border: 1px solid var(--line);
  border-radius: 30px 30px 30px 8px;
  box-shadow: var(--shadow);
  transform: rotate(1.2deg);
}

.preview-kicker {
  margin-bottom: 14px;
  color: var(--rust);
  font-size: 0.75rem;
  font-weight: 850;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.preview-window {
  display: grid;
  grid-template-columns: 118px 1fr;
  gap: 20px;
  padding: 20px;
  background: var(--forest);
  border-radius: 20px;
}

.preview-cover {
  aspect-ratio: 0.68;
  display: grid;
  place-items: center;
  padding: 14px;
  color: #fff8ec;
  background:
    linear-gradient(155deg, transparent 48%, rgba(255, 255, 255, 0.13) 49%, transparent 51%),
    linear-gradient(145deg, var(--rust), #6f2c19);
  border-radius: 4px 12px 12px 4px;
  box-shadow: 8px 10px 20px rgba(0, 0, 0, 0.22);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.28rem;
  line-height: 1.05;
  text-align: center;
}

.preview-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  color: #fff;
}

.preview-label {
  color: #f1bf66;
  font-size: 0.67rem;
  font-weight: 850;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.preview-title {
  margin: 8px 0 14px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1.05;
}

.preview-line {
  width: 100%;
  height: 5px;
  margin-bottom: 7px;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 999px;
}

.preview-line-short {
  width: 68%;
}

.preview-button {
  margin-top: 12px;
  padding: 8px 11px;
  color: var(--ink);
  background: #fff9ec;
  border-radius: 9px;
  font-size: 0.72rem;
  font-weight: 850;
}

.preview-list {
  display: grid;
  gap: 8px;
  margin: 20px 0 0;
  padding: 0;
  color: #3f4742;
  font-size: 0.92rem;
  font-weight: 700;
  list-style: none;
}

.preview-list li {
  display: flex;
  gap: 9px;
  align-items: center;
}

.preview-list li::before,
.check-list li::before {
  content: "✓";
  color: var(--forest);
  font-weight: 900;
}

.principles-strip {
  color: #fff;
  background: var(--forest);
}

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

.principles-grid div {
  padding: 25px 28px;
  border-right: 1px solid rgba(255, 255, 255, 0.14);
}

.principles-grid div:last-child {
  border-right: 0;
}

.principles-grid strong,
.principles-grid span {
  display: block;
}

.principles-grid strong {
  margin-bottom: 3px;
  color: #f1bf66;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
}

.principles-grid span {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.83rem;
}

.section {
  padding-top: 96px;
  padding-bottom: 96px;
  scroll-margin-top: 70px;
}

.section-tint {
  background: rgba(232, 222, 205, 0.52);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.55fr);
  gap: 52px;
  align-items: end;
  margin-bottom: 38px;
}

.section-heading h2,
.application-intro h2,
.resource-card h2 {
  margin-bottom: 0;
  font-size: clamp(2.35rem, 4.8vw, 4.5rem);
  line-height: 1;
}

.section-heading > p,
.section-copy {
  margin-bottom: 4px;
  color: var(--muted);
}

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

.benefit-card {
  min-height: 245px;
  padding: 30px;
  background: rgba(255, 253, 248, 0.8);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 32px rgba(35, 31, 24, 0.07);
}

.card-number {
  display: inline-block;
  margin-bottom: 30px;
  color: var(--rust);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.benefit-card h3 {
  margin-bottom: 10px;
  font-size: 1.7rem;
}

.benefit-card p {
  max-width: 55ch;
  margin-bottom: 0;
  color: var(--muted);
}

.fit-grid {
  display: grid;
  grid-template-columns: 0.82fr 1fr 1fr;
  gap: 22px;
  align-items: stretch;
}

.fit-grid > div:first-child {
  padding: 22px 34px 22px 0;
}

.fit-grid h2 {
  font-size: clamp(2.35rem, 4.5vw, 4.25rem);
  line-height: 1;
}

.check-panel {
  padding: 30px;
  background: var(--forest);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.check-panel-muted {
  background: #4c3d35;
}

.check-panel h3 {
  margin-bottom: 22px;
  color: #fff;
  font-size: 1.55rem;
}

.check-list {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  color: rgba(255, 255, 255, 0.84);
  list-style: none;
}

.check-list li {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
}

.check-list li::before {
  color: #f1bf66;
}

.process-heading {
  grid-template-columns: 1fr;
}

.process-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.process-list li {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 16px;
  padding: 26px 24px;
  background: rgba(255, 253, 248, 0.72);
  border-top: 3px solid var(--rust);
  border-radius: 0 0 18px 18px;
}

.process-list li > span {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--forest);
  border-radius: 50%;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
}

.process-list h3 {
  margin-bottom: 8px;
  font-size: 1.42rem;
}

.process-list p {
  margin-bottom: 0;
  color: var(--muted);
}

.application-section {
  padding: 98px 0;
  color: #fff;
  background:
    radial-gradient(circle at 10% 15%, rgba(216, 166, 76, 0.14), transparent 22rem),
    var(--forest);
  scroll-margin-top: 70px;
}

.application-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(48px, 8vw, 100px);
  align-items: start;
}

.application-intro {
  position: sticky;
  top: 116px;
}

.application-intro h2 {
  margin-bottom: 24px;
}

.application-intro > p {
  color: rgba(255, 255, 255, 0.76);
}

.privacy-note {
  display: grid;
  gap: 5px;
  margin-top: 30px;
  padding: 18px 0 18px 20px;
  border-left: 3px solid #f1bf66;
}

.privacy-note span {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.88rem;
}

.application-form {
  padding: clamp(24px, 5vw, 44px);
  color: var(--ink);
  background: var(--card);
  border-radius: 30px 30px 30px 8px;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.25);
}

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

.field {
  margin-bottom: 20px;
}

.field label,
.label-line {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 7px;
  font-size: 0.88rem;
  font-weight: 800;
}

.field label span,
.label-line span,
.field small {
  color: var(--muted);
  font-weight: 500;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 13px;
  color: var(--ink);
  background: #fff;
  border: 1px solid rgba(28, 32, 29, 0.2);
  border-radius: 10px;
}

.field textarea {
  min-height: 96px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--forest);
  outline: 3px solid rgba(216, 166, 76, 0.36);
  outline-offset: 1px;
}

.field [aria-invalid="true"] {
  border-color: #a93623;
}

.field small {
  display: block;
  margin-top: 6px;
  font-size: 0.78rem;
}

.honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.consent-row {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 11px;
  margin-top: 15px;
  color: #434a45;
  font-size: 0.84rem;
  cursor: pointer;
}

.consent-row input {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: var(--forest);
}

.form-footer {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: center;
  margin-top: 26px;
}

.form-status {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.form-status.is-error {
  color: #9c2f20;
  font-weight: 700;
}

.form-status.is-success {
  color: var(--forest);
  font-weight: 800;
}

.resource-card {
  display: grid;
  grid-template-columns: 1fr minmax(260px, 0.55fr);
  gap: 44px;
  align-items: center;
  overflow: hidden;
  padding: clamp(30px, 6vw, 64px);
  background: rgba(255, 253, 248, 0.78);
  border: 1px solid var(--line);
  border-radius: 32px;
  box-shadow: var(--shadow);
}

.resource-card h2 {
  margin-bottom: 20px;
}

.resource-card p {
  max-width: 68ch;
  color: var(--muted);
}

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

.resource-object {
  position: relative;
  min-height: 260px;
  display: grid;
  place-items: center;
}

.resource-screen {
  width: 148px;
  aspect-ratio: 0.74;
  display: grid;
  place-items: center;
  z-index: 2;
  padding: 20px;
  color: #2b332e;
  background: #e7e2d5;
  border: 9px solid #2d312f;
  border-radius: 14px;
  box-shadow: 18px 22px 34px rgba(0, 0, 0, 0.24);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.45rem;
  line-height: 1;
  text-align: center;
  transform: rotate(-5deg);
}

.resource-keyboard {
  position: absolute;
  width: 250px;
  height: 82px;
  right: 0;
  bottom: 30px;
  background:
    repeating-linear-gradient(90deg, transparent 0 14px, rgba(255, 255, 255, 0.2) 14px 16px),
    repeating-linear-gradient(0deg, transparent 0 14px, rgba(255, 255, 255, 0.18) 14px 16px),
    #4c5751;
  border: 8px solid #29312d;
  border-radius: 12px;
  box-shadow: 14px 18px 30px rgba(0, 0, 0, 0.2);
  transform: rotate(8deg);
}

.faq-section {
  padding-top: 30px;
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  position: relative;
  padding: 23px 52px 23px 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.28rem;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 8px;
  color: var(--rust);
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: 1.6rem;
  font-weight: 400;
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list details p {
  max-width: 820px;
  margin: -5px 0 24px;
  color: var(--muted);
}

.site-footer {
  padding: 58px 0 34px;
  color: rgba(255, 255, 255, 0.78);
  background: #102b24;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 36px;
  align-items: start;
}

.footer-brand {
  color: #fff;
}

.footer-grid > div > p {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.58);
}

.footer-grid nav {
  display: grid;
  grid-template-columns: repeat(2, auto);
  gap: 9px 26px;
}

.footer-grid nav a {
  text-decoration: none;
}

.footer-grid nav a:hover {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.copyright {
  grid-column: 1 / -1;
  margin: 8px 0 0;
  padding-top: 24px;
  color: rgba(255, 255, 255, 0.48);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.8rem;
}

.article-hero {
  padding: 72px 0 40px;
}

.article-hero h1 {
  max-width: 870px;
  margin-bottom: 20px;
  font-size: clamp(3rem, 6vw, 5.8rem);
  line-height: 0.96;
}

.article-lede {
  max-width: 740px;
  color: var(--muted);
  font-size: 1.18rem;
}

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

.product-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: rgba(255, 253, 248, 0.85);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 14px 38px rgba(35, 31, 24, 0.1);
}

.product-card img {
  width: 100%;
  aspect-ratio: 1.28;
  object-fit: cover;
  background: #e9e1d5;
}

.product-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  padding: 24px;
}

.product-copy h2 {
  margin-bottom: 10px;
  font-size: 1.55rem;
}

.product-copy p {
  color: var(--muted);
}

.product-copy .button {
  margin-top: auto;
}

.affiliate-note {
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.8rem;
}

.article-panel {
  max-width: 840px;
  margin: 0 auto;
  padding: 36px;
  background: rgba(255, 253, 248, 0.78);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.article-panel h2 {
  font-size: 2rem;
}

.article-panel p:last-child {
  margin-bottom: 0;
}

@media (max-width: 980px) {
  .site-nav a:not(.nav-cta) {
    display: none;
  }

  .hero-grid,
  .fit-grid,
  .application-grid {
    grid-template-columns: 1fr;
  }

  .feature-preview {
    max-width: 620px;
    transform: none;
  }

  .fit-grid > div:first-child {
    padding-right: 0;
  }

  .process-list,
  .product-grid {
    grid-template-columns: 1fr;
  }

  .application-intro {
    position: static;
  }
}

@media (max-width: 720px) {
  .shell,
  .nav-shell {
    width: min(100% - 28px, var(--shell));
  }

  .site-header .brand > span:last-child {
    display: none;
  }

  .author-hero {
    padding: 62px 0 54px;
  }

  .hero-copy h1 {
    font-size: clamp(3.05rem, 15vw, 4.4rem);
  }

  .hero-actions,
  .hero-actions .button {
    width: 100%;
  }

  .preview-window {
    grid-template-columns: 96px 1fr;
    gap: 15px;
    padding: 16px;
  }

  .preview-title {
    font-size: 1.1rem;
  }

  .principles-grid {
    grid-template-columns: 1fr;
    padding: 8px 0;
  }

  .principles-grid div {
    padding: 15px 4px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .principles-grid div:last-child {
    border-bottom: 0;
  }

  .section {
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .section-heading,
  .benefit-grid,
  .field-row,
  .resource-card,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .section-heading {
    gap: 14px;
    margin-bottom: 28px;
  }

  .benefit-card {
    min-height: 0;
  }

  .process-list li {
    grid-template-columns: 40px 1fr;
    padding: 22px 18px;
  }

  .process-list li > span {
    width: 38px;
    height: 38px;
  }

  .application-section {
    padding: 72px 0;
  }

  .application-form {
    padding: 24px 18px;
    border-radius: 22px 22px 22px 7px;
  }

  .form-footer {
    grid-template-columns: 1fr;
  }

  .form-footer .button {
    width: 100%;
  }

  .resource-card {
    gap: 18px;
  }

  .resource-object {
    min-height: 220px;
  }

  .resource-keyboard {
    width: 210px;
    right: 6%;
  }

  .footer-grid nav {
    grid-template-columns: 1fr;
  }

  .copyright {
    grid-column: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
