/* ThirtyFive — shared styles. Black, white, thin rules, light weights, one green accent. */

@font-face {
  font-family: "Libre Franklin";
  src: url("fonts/libre-franklin-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #111111;
  --muted: #5f5f5f;
  --rule: #d6d6d6;
  --paper: #ffffff;
  --wash: #f6f6f4;
  --accent: #0e7c66;       /* the green of the "35" badge in the demo video */
  --accent-dark: #0a5e4d;
  --accent-wash: #eef6f3;
  --gutter: 24px;
  --wide: 1040px;
  --text: 680px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Libre Franklin", "Helvetica Neue", Arial, sans-serif;
  font-weight: 300;
  font-size: 18px;
  line-height: 1.6;
}

a { color: inherit; text-decoration-color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent); text-decoration-thickness: 2px; }

.wrap { max-width: var(--wide); margin: 0 auto; padding: 0 var(--gutter); }

/* Header */
.site-header { border-top: 4px solid var(--accent); }
.site-header .bar {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 28px; padding-bottom: 28px;
  border-bottom: 1px solid var(--rule);
}
.site-header img { height: 40px; width: auto; display: block; }
.site-header nav a { font-size: 15px; font-weight: 400; }

/* Sections, separated by thin rules */
section { padding: 72px 0; border-bottom: 1px solid var(--rule); }
section:last-of-type { border-bottom: 0; }

.label {
  margin: 0 0 24px;
  font-size: 12px; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent);
}

h1 {
  margin: 0; max-width: 820px;
  font-size: clamp(34px, 5.4vw, 56px);
  font-weight: 300; line-height: 1.12; letter-spacing: -0.015em;
}
.lede { margin: 20px 0 0; max-width: var(--text); font-size: 21px; }
.hero .video { margin-top: 40px; }
.lede strong { font-weight: 500; color: var(--accent); }

h2 { margin: 0 0 12px; font-size: 24px; font-weight: 400; line-height: 1.3; }
p { margin: 0 0 16px; max-width: var(--text); }
p:last-child { margin-bottom: 0; }

.hero { padding: 56px 0 48px; border-bottom: 0; }

/* Video */
.video { margin: 0; }
.video video {
  display: block; width: 100%; height: auto;
  border: 1px solid var(--rule); background: var(--wash);
}
.video figcaption { margin-top: 14px; font-size: 14px; color: var(--muted); }

/* Two halves / two founders */
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.pair > div { padding-right: 48px; }
.pair > div + div { padding-right: 0; padding-left: 48px; border-left: 1px solid var(--rule); }

.photo {
  width: 120px; height: 120px; margin-bottom: 24px;
  object-fit: cover; filter: grayscale(100%);
  border: 1px solid var(--rule);
}
.photo-missing {
  display: flex; align-items: center; justify-content: center; text-align: center;
  font-size: 11px; letter-spacing: 0.08em; color: var(--muted); background: var(--wash);
}
.role { margin: -6px 0 16px; font-size: 15px; color: var(--muted); }

/* Waitlist: a pale green panel */
.waitlist-band { margin: 0; padding: 64px 56px; background: var(--accent-wash); border-bottom: 0; }
.waitlist { max-width: 480px; margin-top: 32px; display: grid; gap: 20px; }
.waitlist label { display: grid; gap: 6px; font-size: 14px; font-weight: 400; color: var(--muted); }
.waitlist input {
  font: inherit; font-size: 18px; color: var(--ink);
  padding: 8px 0; border: 0; border-bottom: 1px solid var(--ink); border-radius: 0; background: transparent;
}
.waitlist input:focus { outline: none; border-bottom: 2px solid var(--accent); padding-bottom: 7px; }
.waitlist button {
  justify-self: start; margin-top: 8px; padding: 14px 28px;
  font: inherit; font-size: 15px; font-weight: 400; letter-spacing: 0.02em;
  color: var(--paper); background: var(--accent); border: 1px solid var(--accent); border-radius: 0; cursor: pointer;
}
.waitlist button:hover { background: var(--accent-dark); border-color: var(--accent-dark); }
.waitlist button:disabled { opacity: 0.5; cursor: default; }
.waitlist .trap { position: absolute; left: -9999px; }
.waitlist[hidden] { display: none; }
.waitlist .done { margin: 0; font-size: 20px; font-weight: 400; color: var(--accent); }
.waitlist .actions { display: flex; gap: 12px; margin-top: 8px; }
.waitlist .actions button { margin-top: 0; }
.waitlist .skip { color: var(--accent); background: transparent; }
.waitlist .skip:hover { color: var(--paper); background: var(--accent); }
.topics { margin: 0; padding: 0; border: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.topics legend { padding: 0; margin-bottom: 12px; font-size: 14px; font-weight: 400; color: var(--muted); }
.topics label { display: block; cursor: pointer; }
.topics input { position: absolute; opacity: 0; }
.topics span {
  display: inline-block; padding: 9px 16px; font-size: 15px; font-weight: 400; color: var(--ink);
  border: 1px solid var(--accent); background: var(--paper); transition: background 0.15s, color 0.15s;
}
.topics input:checked + span { color: var(--paper); background: var(--accent); }
.topics input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.form-status { margin: 0; min-height: 1.6em; font-size: 15px; }

/* Footer */
.site-footer .bar {
  display: flex; flex-wrap: wrap; gap: 8px 32px; justify-content: space-between;
  padding-top: 28px; padding-bottom: 40px;
  border-top: 1px solid var(--rule);
  font-size: 14px; color: var(--muted);
}
.site-footer .links { display: flex; flex-wrap: wrap; gap: 8px 32px; }

/* Privacy notice page */
.doc { padding-top: 72px; padding-bottom: 96px; }
.doc h1 { font-size: clamp(34px, 4.6vw, 48px); margin-bottom: 12px; }
.doc .updated { color: var(--muted); font-size: 15px; margin-bottom: 48px; }
.doc h2 { margin: 48px 0 14px; padding-top: 28px; border-top: 1px solid var(--rule); font-size: 22px; }
.doc ul { max-width: var(--text); margin: 0 0 16px; padding-left: 20px; }
.doc li { margin-bottom: 8px; }
.doc table { width: 100%; max-width: var(--text); border-collapse: collapse; margin: 0 0 16px; font-size: 16px; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 10px 16px 10px 0; border-bottom: 1px solid var(--rule); }
.doc th { font-weight: 500; }

/* Phone width */
@media (max-width: 720px) {
  :root { --gutter: 16px; }
  body { font-size: 17px; }
  .site-header .bar { padding-top: 20px; padding-bottom: 20px; }
  .site-header img { height: 32px; }
  section { padding: 56px 0; }
  .hero { padding: 28px 0 32px; }
  .hero .video { margin-top: 24px; }
  h1 { font-size: 30px; }
  .lede { margin-top: 12px; font-size: 17px; }
  .pair { grid-template-columns: 1fr; }
  .pair > div, .pair > div + div { padding: 0; border-left: 0; }
  .pair > div + div { margin-top: 40px; padding-top: 40px; border-top: 1px solid var(--rule); }
  .contact .pair > div + div { margin-top: 8px; padding-top: 0; border-top: 0; }
  .waitlist-band { margin: 0 calc(-1 * var(--gutter)); padding: 48px var(--gutter); }
  .doc { padding-top: 48px; padding-bottom: 64px; }
  .doc th, .doc td { display: block; padding: 4px 0; border: 0; }
  .doc tr { display: block; padding: 10px 0; border-bottom: 1px solid var(--rule); }
}
