:root {
  color-scheme: light;
  --paper: #f7f3e9;
  --paper-deep: #efe8d8;
  --surface: #fffdf8;
  --ink: #1d2b26;
  --ink-soft: #5f6d67;
  --forest: #2f5d50;
  --forest-dark: #21453b;
  --forest-pale: #dfeae4;
  --gold: #c88d35;
  --gold-pale: #f6e8cd;
  --line: #ded8ca;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(37, 55, 47, 0.1);
  --shadow-small: 0 10px 34px rgba(37, 55, 47, 0.08);
  --radius-large: 30px;
  --radius: 20px;
  --container: 1120px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--paper);
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 88% 2%, rgba(200, 141, 53, 0.12), transparent 32rem),
    linear-gradient(180deg, #faf7f0 0%, var(--paper) 40%, #f4efe4 100%);
  font-size: 16px;
  line-height: 1.65;
}

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

a {
  color: var(--forest-dark);
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--forest);
}

:focus-visible {
  outline: 3px solid rgba(200, 141, 53, 0.58);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  border-radius: 10px;
  color: var(--white);
  background: var(--forest-dark);
  transform: translateY(-160%);
}

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

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

.narrow {
  width: min(calc(100% - 40px), 850px);
}

.site-header {
  position: relative;
  z-index: 10;
  border-bottom: 1px solid rgba(222, 216, 202, 0.76);
  background: rgba(250, 247, 240, 0.9);
}

.header-inner {
  display: flex;
  min-height: 88px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
}

.brand img {
  flex: 0 0 auto;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(47, 93, 80, 0.17);
}

.brand-copy {
  display: grid;
  line-height: 1.12;
}

.brand-copy strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.28rem;
  font-weight: 600;
}

.brand-copy small {
  margin-top: 5px;
  color: var(--ink-soft);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.5vw, 30px);
}

.header-nav > a:not(.button) {
  color: var(--ink-soft);
  font-size: 0.9rem;
  font-weight: 750;
  text-decoration: none;
}

.header-nav > a:not(.button):hover {
  color: var(--forest-dark);
}

.hero {
  padding: clamp(74px, 10vw, 128px) 0 clamp(78px, 9vw, 112px);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(310px, 0.65fr);
  align-items: center;
  gap: clamp(42px, 7vw, 92px);
}

.hero-copy {
  max-width: 720px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--forest);
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin-top: 0;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.12;
}

h1 {
  margin-bottom: 4px;
  font-size: clamp(3.7rem, 9vw, 7.4rem);
  letter-spacing: -0.055em;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(2.1rem, 4.5vw, 3.45rem);
}

h3 {
  margin-bottom: 14px;
  font-size: clamp(1.45rem, 2.5vw, 1.9rem);
}

.hero-subtitle {
  margin: 0 0 25px;
  color: var(--forest);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.35rem, 3vw, 2rem);
  letter-spacing: 0.015em;
}

.hero-intro {
  max-width: 620px;
  margin: 0 0 30px;
  color: var(--ink-soft);
  font-size: clamp(1.08rem, 2vw, 1.26rem);
  line-height: 1.72;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 13px 21px;
  border: 1px solid transparent;
  border-radius: 15px;
  font-size: 0.96rem;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
}

.button-primary {
  color: var(--white);
  background: var(--forest);
  box-shadow: 0 10px 26px rgba(47, 93, 80, 0.22);
}

.button-primary:hover {
  color: var(--white);
  background: var(--forest-dark);
}

.button-secondary {
  border-color: var(--line);
  color: var(--ink);
  background: var(--surface);
}

.button-secondary:hover {
  border-color: #c9c1b0;
  color: var(--forest-dark);
  background: var(--white);
}

.button-small {
  min-height: 44px;
  padding: 10px 16px;
  color: var(--white);
  background: var(--forest);
  font-size: 0.85rem;
}

.button-small:hover {
  color: var(--white);
  background: var(--forest-dark);
}

.hero-note {
  max-width: 610px;
  margin: 22px 0 0;
  color: var(--ink-soft);
  font-size: 0.83rem;
  line-height: 1.55;
}

.scripture-card {
  position: relative;
  overflow: hidden;
  padding: clamp(30px, 4vw, 46px);
  border: 1px solid rgba(222, 216, 202, 0.92);
  border-radius: var(--radius-large);
  background: rgba(255, 253, 248, 0.88);
  box-shadow: var(--shadow);
}

.scripture-card::after {
  position: absolute;
  right: -62px;
  bottom: -70px;
  width: 180px;
  height: 180px;
  border: 28px solid rgba(200, 141, 53, 0.1);
  border-radius: 50%;
  content: "";
}

.scripture-card img {
  margin-bottom: 28px;
  border-radius: 18px;
}

.scripture-card blockquote {
  position: relative;
  z-index: 1;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.22rem;
  line-height: 1.65;
}

.scripture-card p {
  margin: 20px 0 0;
  color: var(--forest);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section {
  padding: clamp(76px, 9vw, 112px) 0;
}

.section-soft {
  border-block: 1px solid rgba(222, 216, 202, 0.88);
  background: rgba(239, 232, 216, 0.48);
}

.section-heading {
  max-width: 720px;
  margin-bottom: 42px;
}

.section-heading > p:last-child {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.04rem;
  line-height: 1.75;
}

.centered {
  margin-inline: auto;
  text-align: center;
}

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

.card {
  padding: clamp(28px, 4vw, 42px);
  border: 1px solid rgba(222, 216, 202, 0.92);
  border-radius: var(--radius);
  background: rgba(255, 253, 248, 0.92);
  box-shadow: var(--shadow-small);
}

.card-accent {
  border-top: 5px solid var(--forest);
}

.card-number {
  margin: 0 0 28px;
  color: var(--gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1rem;
  font-weight: 700;
}

.card > p:not(.card-number) {
  color: var(--ink-soft);
}

.card > p:last-of-type {
  margin-bottom: 25px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--forest);
  font-weight: 850;
  text-decoration-thickness: 1px;
}

.steps {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
}

.steps li {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 19px;
  padding: 22px 0;
  border-bottom: 1px solid rgba(222, 216, 202, 0.96);
}

.steps li:last-child {
  border-bottom: 0;
}

.step-number {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 50%;
  color: var(--forest-dark);
  background: var(--forest-pale);
  font-weight: 850;
}

.steps strong {
  display: block;
  margin: 1px 0 3px;
  font-size: 1.04rem;
}

.steps p {
  margin: 0;
  color: var(--ink-soft);
}

.contact-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 26px;
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 253, 248, 0.75);
}

.contact-line span {
  color: var(--ink-soft);
  font-size: 0.85rem;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.contact-line a {
  overflow-wrap: anywhere;
  font-weight: 800;
}

.device-grid {
  align-items: stretch;
}

.device-card {
  display: flex;
  flex-direction: column;
}

.device-heading {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.device-heading h3 {
  margin: 0;
}

.device-icon {
  display: grid;
  width: 52px;
  height: 52px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 15px;
  color: var(--forest-dark);
  background: var(--forest-pale);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.03em;
}

.instruction-list {
  display: grid;
  gap: 11px;
  margin: 2px 0 22px;
  padding-left: 1.35rem;
}

.instruction-list li::marker {
  color: var(--gold);
  font-weight: 800;
}

.device-card > p {
  color: var(--ink-soft);
}

.device-card > p:last-child {
  margin-top: auto;
  margin-bottom: 0;
  padding-top: 8px;
  border-top: 1px solid rgba(222, 216, 202, 0.82);
  font-size: 0.9rem;
}

.section-about {
  background: var(--forest-dark);
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(250px, 0.58fr) minmax(0, 1.42fr);
  gap: clamp(38px, 8vw, 100px);
}

.section-about .eyebrow {
  color: #efd093;
}

.section-about h2 {
  color: var(--surface);
}

.about-copy p {
  margin: 0;
  color: #e7ede9;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.08rem, 2vw, 1.3rem);
  line-height: 1.85;
}

.contact-section {
  padding: clamp(64px, 8vw, 94px) 0;
}

.contact-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 36px;
  padding: clamp(30px, 5vw, 54px);
  border: 1px solid var(--line);
  border-radius: var(--radius-large);
  background: var(--surface);
  box-shadow: var(--shadow-small);
}

.contact-card h2 {
  margin-bottom: 12px;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
}

.contact-card p:last-child {
  max-width: 650px;
  margin: 0;
  color: var(--ink-soft);
}

.contact-actions {
  justify-content: flex-end;
}

.site-footer {
  padding: 58px 0 max(48px, env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--line);
  background: rgba(239, 232, 216, 0.62);
}

.footer-inner {
  display: grid;
  justify-items: center;
  max-width: 720px;
  text-align: center;
}

.footer-inner img {
  margin-bottom: 16px;
  border-radius: 12px;
}

.footer-inner p {
  margin: 0;
}

.footer-inner blockquote {
  margin: 22px 0 8px;
  color: var(--ink-soft);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.95rem;
  line-height: 1.7;
}

.footer-inner .scripture-reference {
  color: var(--forest);
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

@media (max-width: 880px) {
  .header-nav > a:not(.button) {
    display: none;
  }

  .hero-grid,
  .about-grid,
  .contact-card {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    max-width: 760px;
  }

  .scripture-card {
    max-width: 620px;
  }

  .contact-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 700px) {
  .container,
  .narrow {
    width: min(calc(100% - 32px), var(--container));
  }

  .header-inner {
    min-height: 76px;
  }

  .brand img {
    width: 42px;
    height: 42px;
  }

  .brand-copy strong {
    font-size: 1.15rem;
  }

  .brand-copy small {
    font-size: 0.62rem;
  }

  .hero {
    padding-top: 62px;
  }

  .hero-grid {
    gap: 50px;
  }

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

  .contact-line {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }
}

@media (max-width: 460px) {
  .header-nav {
    display: none;
  }

  h1 {
    font-size: clamp(3.35rem, 19vw, 4.7rem);
  }

  .button-row {
    display: grid;
    grid-template-columns: 1fr;
  }

  .button,
  .button-wide-mobile {
    width: 100%;
  }

  .card,
  .scripture-card {
    padding: 26px 22px;
    border-radius: 20px;
  }

  .steps li {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 14px;
  }

  .step-number {
    width: 40px;
    height: 40px;
  }

  .contact-card {
    padding: 28px 22px;
    border-radius: 20px;
  }
}
