/* Screen Door PC — pre-launch landing page
   Type: Fraunces (headlines) + Atkinson Hyperlegible (body), both self-hosted.
   Palette drawn from a sunlit porch: linen, sage, deep forest, warm wood. */

@font-face {
  font-family: "Fraunces";
  src: url("fonts/fraunces-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Fraunces";
  src: url("fonts/fraunces-latin-400-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Fraunces";
  src: url("fonts/fraunces-latin-600-normal.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Fraunces";
  src: url("fonts/fraunces-latin-700-normal.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Atkinson Hyperlegible";
  src: url("fonts/AtkinsonHyperlegible-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Atkinson Hyperlegible";
  src: url("fonts/AtkinsonHyperlegible-Italic.ttf") format("truetype");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Atkinson Hyperlegible";
  src: url("fonts/AtkinsonHyperlegible-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Atkinson Hyperlegible";
  src: url("fonts/AtkinsonHyperlegible-BoldItalic.ttf") format("truetype");
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

:root {
  --linen: #F7F1E6;
  --linen-deep: #EFE6D4;
  --paper: #FFFBF4;
  --sage-wash: #E3EDE4;
  --ink: #1C1914;
  --ink-soft: #3A342B;
  --green: #163024;
  --green-mid: #234833;
  --sage: #4E6A55;
  --wood: #6F4A2F;
  --rust: #8E3A18;
  --gold: #E6D2A0;
  --line: #D4C8B0;
  --focus: #8E3A18;
  --header-h: 5.25rem;
  --shadow: 0 12px 32px rgba(28, 25, 20, 0.08);
  --radius: 1.25rem;
  --font-display: "Fraunces", Georgia, "Palatino Linotype", Palatino, "Times New Roman", serif;
  --font-body: "Atkinson Hyperlegible", system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

body {
  margin: 0;
  background: var(--linen);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.25rem; /* 20px */
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 0 0.6em;
}

h1 {
  font-size: clamp(2.35rem, 4.6vw, 3.85rem);
  font-weight: 600;
}

h2 {
  font-size: clamp(2rem, 3.4vw, 2.85rem);
}

h3 {
  font-size: 1.45rem;
  letter-spacing: -0.015em;
  margin-bottom: 0.4em;
}

p {
  margin: 0 0 1em;
}

p:last-child {
  margin-bottom: 0;
}

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

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

:focus {
  outline: none;
}

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

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100%;
  z-index: 1000;
  background: var(--green);
  color: var(--linen);
  padding: 0.7rem 1.1rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: 0 0 0.4rem 0.4rem;
}

.skip-link:focus-visible {
  top: 0;
  color: var(--linen);
  outline-color: var(--gold);
}

.wrap {
  width: min(1120px, calc(100% - 2.5rem));
  margin-inline: auto;
}

.wrap.narrow {
  width: min(42rem, calc(100% - 2.5rem));
}

.wrap.narrow-plus {
  width: min(48rem, calc(100% - 2.5rem));
}

/* Header
   -------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 241, 230, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  min-height: var(--header-h);
  padding: 0.7rem 0;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--green);
  text-decoration: none;
}

.logo:hover {
  color: var(--green-mid);
}

.logo-mark {
  width: 2.35rem;
  height: 2.35rem;
  flex: 0 0 auto;
}

.logo-word {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.45rem;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1;
}

.logo-pc {
  font-weight: 400;
  font-style: italic;
  color: var(--wood);
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.15rem;
  margin-left: auto;
}

.site-nav a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 1.0625rem;
  font-weight: 700;
  padding: 0.55rem 0.8rem;
  border-radius: 999px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.site-nav a:hover {
  color: var(--green);
  background: rgba(22, 48, 36, 0.06);
}

.nav-cta {
  background: var(--green);
  color: var(--linen);
  margin-left: 0.15rem;
  padding: 0.55rem 1.05rem;
  border-radius: 999px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  font-size: 1.0625rem;
  font-weight: 700;
  text-decoration: none;
  line-height: 1.2;
}

.nav-cta:hover {
  background: var(--green-mid);
  color: #fff;
}

.nav-cta:focus-visible {
  outline-color: var(--focus);
}

#how,
#who,
#questions,
#notify {
  scroll-margin-top: 6.5rem;
}

/* Hero
   -------------------------------------------------- */
.hero {
  padding: 2.75rem 0 3.25rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

.eyebrow {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--wood);
  margin: 0 0 0.85rem;
}

.hero-copy h1 {
  margin-bottom: 0.7em;
}

.lede {
  font-size: 1.35rem;
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 34em;
  margin-bottom: 1.6rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  margin: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  padding: 0.7rem 1.35rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 1.125rem;
  font-weight: 700;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  line-height: 1.2;
}

.btn-primary {
  background: var(--green);
  color: #F7F1E6;
  border-color: var(--green);
}

.btn-primary:hover {
  background: var(--green-mid);
  border-color: var(--green-mid);
  color: #fff;
}

.btn-quiet {
  background: transparent;
  color: var(--green);
  border-color: #9BB39F;
}

.btn-quiet:hover {
  background: var(--sage-wash);
  color: var(--green);
  border-color: var(--sage);
}

.btn-on-green {
  background: var(--linen);
  color: var(--green);
  border-color: var(--linen);
  min-height: 3.4rem;
  padding-inline: 1.5rem;
}

.btn-on-green:hover {
  background: #fff;
  color: var(--green);
}

.hero-art {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(111, 74, 47, 0.15);
}

.hero-art img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: 60% 50%;
}

/* Promise band
   -------------------------------------------------- */
.promise {
  background: var(--sage-wash);
  padding: 2.4rem 0;
  border-block: 1px solid #c9d6cb;
}

.promise p {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.2vw, 1.7rem);
  font-weight: 400;
  font-style: italic;
  line-height: 1.45;
  color: var(--ink);
  text-align: center;
  margin: 0;
}

/* Shared section chrome
   -------------------------------------------------- */
.how,
.who,
.questions {
  padding: 4.25rem 0;
}

.section-head {
  margin-bottom: 2.4rem;
}

.how .section-head,
.who .section-head,
.questions .section-head {
  max-width: 40rem;
}

.section-lead {
  font-size: 1.25rem;
  color: var(--ink-soft);
  margin: 0;
}

/* Steps
   -------------------------------------------------- */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.15rem;
}

.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.15rem 1.35rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem 1.5rem 1.5rem;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset;
}

.step-num {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: var(--green);
  color: var(--linen);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.45rem;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  margin-top: 0.15rem;
}

.step-body h3 {
  color: var(--ink);
}

.step-body p {
  color: var(--ink-soft);
  font-size: 1.1875rem;
}

/* Who
   -------------------------------------------------- */
.who {
  background: var(--linen-deep);
  border-block: 1px solid var(--line);
}

.who-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.who-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.8rem 1.7rem 1.9rem;
  box-shadow: var(--shadow);
}

.who-kicker {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--wood);
  margin: 0 0 0.45rem;
}

.who-card h3 {
  font-size: 1.75rem;
  margin-bottom: 0.7em;
}

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

.who-card p + p {
  margin-top: 0.9em;
}

/* FAQ — kept fully open for older readers
   -------------------------------------------------- */
.faq {
  display: grid;
  gap: 0;
}

.faq-item {
  padding: 1.55rem 0;
  border-top: 1px solid var(--line);
}

.faq-item:last-child {
  border-bottom: 1px solid var(--line);
}

.faq-item h3 {
  font-size: 1.5rem;
  margin-bottom: 0.45em;
}

.faq-item p {
  color: var(--ink-soft);
  font-size: 1.1875rem;
}

/* Notify
   -------------------------------------------------- */
.notify {
  background: var(--green);
  color: var(--linen);
  padding: 4.25rem 0 4.5rem;
}

.notify .eyebrow.light {
  color: #E6D2A0;
}

.notify h2,
.notify .section-lead {
  color: var(--linen);
}

.notify .section-head {
  max-width: none;
  margin-bottom: 1.8rem;
}

.notify .section-lead {
  color: #E9E2D2;
}

.signup {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: flex-end;
}

.field {
  flex: 1 1 16rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.field label {
  font-weight: 700;
  font-size: 1.0625rem;
  color: var(--linen);
}

.field input {
  width: 100%;
  min-height: 3.4rem;
  padding: 0.7rem 1rem;
  border: 2px solid #C9D6C4;
  border-radius: 0.7rem;
  background: #FFFBF4;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.1875rem;
  line-height: 1.3;
}

.field input::placeholder {
  color: #6B655C;
  opacity: 1;
}

.field input:focus-visible {
  outline: 3px solid #E6D2A0;
  outline-offset: 2px;
  border-color: var(--green);
}

.form-note {
  min-height: 1.5em;
  margin: 1rem 0 0;
  font-size: 1.0625rem;
  color: #E6D2A0;
}

/* Footer
   -------------------------------------------------- */
.site-footer {
  background: #102319;
  color: #E9E2D2;
  padding: 2.4rem 0 2.6rem;
}

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

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--linen);
  margin: 0 0 0.35rem;
}

.footer-tag {
  margin: 0 0 1rem;
  font-size: 1.0625rem;
  color: #C9D2C4;
}

.footer-meta {
  margin: 0;
  font-size: 1rem;
  color: #B7C0B2;
}

.footer-meta span + span {
  margin-left: 0.15rem;
}

/* Breakpoints
   -------------------------------------------------- */
@media (min-width: 760px) {
  .hero {
    padding: 3.5rem 0 4rem;
  }

  .who-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }

  .step {
    padding: 1.6rem 1.8rem 1.7rem;
    gap: 1.15rem 1.6rem;
  }
}

@media (min-width: 960px) {
  .wrap {
    width: min(1120px, calc(100% - 4rem));
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 3rem;
  }

  .hero-art img {
    aspect-ratio: 4 / 3;
    min-height: 100%;
    object-position: 70% 50%;
  }

  .hero-copy {
    padding-right: 0.5rem;
  }

  .steps {
    gap: 1.25rem;
  }
}

@media (min-width: 960px) and (max-width: 1180px) {
  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 820px) {
  .header-inner {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "logo cta"
      "nav nav";
    align-items: center;
    column-gap: 0.75rem;
    row-gap: 0.2rem;
    padding: 0.55rem 0 0.45rem;
  }

  .logo {
    grid-area: logo;
  }

  .nav-cta {
    grid-area: cta;
    justify-self: end;
    margin-left: 0;
  }

  .site-nav {
    grid-area: nav;
    margin-left: 0;
    width: 100%;
    justify-content: space-between;
    gap: 0;
  }

  .site-nav a {
    flex: 1 1 auto;
    justify-content: center;
    padding: 0.45rem 0.4rem;
    font-size: 1rem;
  }

  #how,
  #who,
  #questions,
  #notify {
    scroll-margin-top: 7.25rem;
  }
}

@media (max-width: 480px) {
  body {
    font-size: 1.1875rem;
  }

  .wrap,
  .wrap.narrow,
  .wrap.narrow-plus {
    width: min(1120px, calc(100% - 1.75rem));
  }

  .logo-word {
    font-size: 1.3rem;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .step {
    grid-template-columns: 1fr;
    gap: 0.7rem;
    padding: 1.2rem 1.15rem 1.3rem;
  }

  .step-num {
    margin-top: 0;
  }

  .signup {
    flex-direction: column;
    align-items: stretch;
  }

  .field {
    flex: 0 0 auto;
    width: 100%;
  }

  .btn-on-green {
    width: 100%;
  }
}
