/* Thirdwood coming-soon site.
   Neutral page (off-white, charcoal, gold details); logo greens stay in the logo.
   Poppins for the logo and headings, Figtree for reading text. Fonts are self-hosted. */

@font-face { font-family: "Figtree"; src: url("/fonts/figtree-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("/fonts/figtree-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("/fonts/poppins-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("/fonts/poppins-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("/fonts/poppins-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --page: #F6F7F4;
  --surface: #FFFFFF;
  --ink: #1F2933;
  --muted: #56615F;
  --line: #D9DDD6;
  --gold: #E1AE3D;
  --gold-ink: #8A6414;
  --wood: #0D5738;
  --stripe-a: #ECEEE9;
  --stripe-b: #E3E6E0;
  --focus: #1F2933;
  --gutter: clamp(16px, 5vw, 64px);
  --measure: 68rem;
  --head: "Poppins", "Segoe UI", Arial, sans-serif;
  --body: "Figtree", "Segoe UI", Arial, sans-serif;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
}

a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 2px; }

.skip {
  position: absolute; left: -999px; top: 8px;
  background: var(--ink); color: #fff; padding: 8px 14px; z-index: 10;
}
.skip:focus { left: 8px; }

/* ---------- header ---------- */
.site-header {
  max-width: var(--measure);
  margin: 0 auto;
  padding: 22px var(--gutter) 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-tree { display: block; width: 40px; height: auto; }
.logo-canopy { stroke: var(--page); }
.logo-words { display: flex; flex-direction: column; line-height: 1; }
.logo-name { font-family: var(--head); font-size: 1.6rem; letter-spacing: -0.01em; }
.logo-third { font-weight: 400; }
.logo-wood { font-weight: 700; color: var(--wood); }
.logo-tech {
  font-family: var(--head); font-weight: 400; font-size: 0.58rem;
  letter-spacing: 0.32em; text-transform: uppercase; color: #5B6B66; margin-top: 5px; padding-left: 2px;
}

.contact-links { display: flex; gap: 20px; font-weight: 600; font-size: 0.98rem; }
.contact-links a { text-decoration: none; padding: 6px 0; border-bottom: 2px solid transparent; }
.contact-links a:hover { border-bottom-color: var(--gold); }

/* ---------- shared ---------- */
main { max-width: var(--measure); margin: 0 auto; padding: 0 var(--gutter); }

h1, h2, h3 { font-family: var(--head); font-weight: 600; line-height: 1.12; margin: 0; letter-spacing: -0.015em; }

.button {
  display: inline-block;
  font: 600 1rem/1 var(--body);
  background: var(--ink);
  color: #fff;
  border: 2px solid var(--ink);
  border-radius: 6px;
  padding: 15px 22px;
  text-decoration: none;
  cursor: pointer;
}
.button:hover { background: #2E3A45; border-color: #2E3A45; }
.button-quiet { background: transparent; color: var(--ink); }
.button-quiet:hover { background: var(--surface); border-color: var(--ink); }

.muted { color: var(--muted); }
.small-link { font-size: 0.95rem; color: var(--muted); }
.small-link:hover { color: var(--ink); }

/* ---------- hero ---------- */
.hero { padding: clamp(56px, 11vw, 128px) 0 clamp(48px, 8vw, 96px); }
.hero h1 { font-size: clamp(2.35rem, 6.4vw, 4.6rem); max-width: 15ch; }
.hero.narrow h1 { font-size: clamp(2rem, 4.6vw, 3.2rem); max-width: 20ch; }
.lede { font-size: clamp(1.1rem, 1.8vw, 1.3rem); color: var(--muted); max-width: 38rem; margin: 26px 0 0; }
.lede a { color: var(--ink); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

/* ---------- what's coming ---------- */
.coming { border-top: 1px solid var(--line); padding-top: 48px; }
.section-head { display: grid; gap: 12px; max-width: 40rem; margin-bottom: 28px; }
.section-head h2 { font-size: clamp(1.7rem, 3.2vw, 2.3rem); }
.section-head p { margin: 0; color: var(--muted); }

.product-list { list-style: none; margin: 0; padding: 0; }

.product {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(20px, 4vw, 56px);
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}

.status { margin: 0 0 8px; font-size: 0.95rem; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.status-next { color: var(--gold-ink); font-weight: 600; }
.status-next::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--gold); flex: none; }

.product h3 { font-size: clamp(1.45rem, 2.4vw, 1.85rem); }
.product-line { margin: 8px 0 18px; max-width: 34rem; }

.covered {
  min-height: 190px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: repeating-linear-gradient(-45deg, var(--stripe-a) 0 14px, var(--stripe-b) 14px 28px);
  display: flex;
  align-items: flex-end;
  padding: 16px;
}
.covered span {
  background: var(--page);
  color: var(--muted);
  font-size: 0.9rem;
  padding: 6px 10px;
  border-radius: 4px;
}

/* sign-up */
.signup-box { margin-bottom: 14px; }
.signup-box summary {
  display: inline-block;
  cursor: pointer;
  font-weight: 600;
  padding: 11px 16px;
  border: 2px solid var(--ink);
  border-radius: 6px;
  list-style: none;
}
.signup-box summary::-webkit-details-marker { display: none; }
.signup-box summary::after { content: "  +"; }
.signup-box[open] summary::after { content: "  −"; }
.signup-box summary:hover { background: var(--surface); }

.signup {
  margin-top: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px;
}
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.field label { display: block; font-weight: 600; font-size: 0.95rem; margin-bottom: 5px; }
.field input {
  width: 100%;
  font: 400 1rem/1.3 var(--body);
  color: var(--ink);
  background: #fff;
  border: 1.5px solid #9BA5A2;
  border-radius: 6px;
  padding: 11px 12px;
}
.field input:focus-visible { outline: 3px solid var(--gold); outline-offset: 0; border-color: var(--ink); }
.hint { margin: 5px 0 0; font-size: 0.88rem; color: var(--muted); }

.tick { display: flex; gap: 10px; align-items: flex-start; margin-top: 14px; font-size: 0.97rem; }
.tick input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--ink); flex: none; }

.turnstile-slot { margin-top: 14px; min-height: 0; }
.turnstile-slot:not(:empty) { min-height: 65px; }

.form-foot { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; margin-top: 18px; }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- about / partners ---------- */
.about { padding: 64px 0 24px; max-width: 44rem; }
.about h2 { font-size: clamp(1.7rem, 3.2vw, 2.3rem); margin-bottom: 18px; }
.about p { margin: 0 0 16px; }

.partners { padding: 8px 0 72px; }
.partners p {
  margin: 0;
  padding: 18px 20px;
  border-left: 3px solid var(--gold);
  background: var(--surface);
  max-width: 44rem;
}
.partners a { font-weight: 600; }

/* ---------- privacy text ---------- */
.prose { max-width: 42rem; padding: 56px 0 72px; }
.prose h1 { font-size: clamp(2rem, 4vw, 2.8rem); }
.prose h2 { font-size: 1.3rem; margin: 34px 0 8px; }
.prose p, .prose li { margin: 0 0 12px; }
.prose ul { padding-left: 1.2em; }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); background: var(--surface); }
.footer-inner { max-width: var(--measure); margin: 0 auto; padding: 32px var(--gutter) 40px; font-size: 0.97rem; }
.footer-inner p { margin: 0 0 6px; }
.footer-name { font-family: var(--head); font-weight: 600; }
.footer-small { color: var(--muted); font-size: 0.9rem; margin-top: 14px !important; }

/* ---------- reveal animation (used once a product is revealed) ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- phones ---------- */
@media (max-width: 760px) {
  .product { grid-template-columns: 1fr; padding: 28px 0; }
  .covered { min-height: 120px; order: -1; }
  .field-grid { grid-template-columns: 1fr; }
  .contact-links { gap: 16px; }
}

@media (max-width: 420px) {
  .site-header { flex-direction: column; align-items: flex-start; gap: 10px; }
  .actions .button { width: 100%; text-align: center; }
}
