/* MindEast on mindeast.ai. Values follow the approved gate design (Design canvas "The gate · desktop", 27 Oct 2026). */

@font-face {
  font-family: "Instrument Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(/fonts/instrument-sans-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF,
    U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Instrument Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(/fonts/instrument-sans-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --page: #EEF3F7;
  --card: #FFFFFF;
  --ink: #111A22;
  --muted: #55626E;
  --rule: #E1E8ED;
  --field: #F1F5F8;
  --cyan: #22D3EE;
  --cyan-deep: #0E9BB5;
  --error: #A61B1B;
  --font: "Instrument Sans", -apple-system, system-ui, sans-serif;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  min-height: 100vh;
  padding: 24px 16px 48px;
  background: var(--page);
  font-family: var(--font);
  color: var(--ink);
  font-size: 14.7px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--ink); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}

.card {
  max-width: 980px;
  margin: 0 auto;
  background: var(--card);
  border-radius: 12px;
  box-shadow: 0 1px 6px rgba(17, 26, 34, .05), 0 0 0 1px rgba(17, 26, 34, .07);
  padding: clamp(28px, 5vw, 56px) clamp(20px, 5vw, 64px);
}

/* Top bar */
.top { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.wordmark {
  display: inline-flex; align-items: center; gap: 9px; text-decoration: none; color: var(--ink);
  font-weight: 600; font-size: 16px; letter-spacing: -0.02em;
}
.monogram {
  width: 22px; height: 22px; border-radius: 6px; background: #1F2328; display: flex; align-items: center;
  justify-content: center; font-size: 10px; font-weight: 700; color: #FFFFFF; letter-spacing: -0.04em;
}
.monogram b { color: var(--cyan); font-weight: 700; }
.wordmark .east { color: var(--cyan-deep); }
.nav { font-size: 13px; color: var(--muted); }
.nav a { color: var(--muted); }
.nav a[aria-current="page"] { color: var(--ink); text-decoration: none; }

/* Gate */
h1 {
  margin: 48px 0 10px; font-size: 38px; font-weight: 560; line-height: 1.1; letter-spacing: -0.015em; max-width: 40rem;
}
.question { margin: 0 0 8px; font-size: 17px; font-weight: 500; }
.lede { margin: 0; max-width: 38rem; color: var(--muted); font-size: 15.5px; line-height: 1.55; }

.doors { margin-top: 36px; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
.door {
  display: grid; gap: 8px; align-content: start; padding: 20px; border-radius: 10px;
  border: 1px solid var(--rule); text-decoration: none; color: var(--ink);
  transition: border-color .15s ease;
}
.door:hover { border-color: #C5D0D8; }
.door.is-chosen { border: 1.5px solid var(--ink); padding: 19.5px; }
.door-title { font-weight: 560; font-size: 16px; }
.door-text { color: var(--muted); font-size: 13.8px; line-height: 1.5; }
.door-go { font-size: 13.5px; font-weight: 500; margin-top: 4px; }
.door-go .arrow { display: inline-block; transition: transform .15s ease; }
.door:hover .door-go .arrow { transform: translateY(2px); }
.follow { margin: 14px 0 0; font-size: 13.5px; color: var(--muted); }

/* Forms */
.form-section { margin-top: 48px; padding-top: 36px; border-top: 1px solid var(--rule); max-width: 40rem; scroll-margin-top: 24px; }
.js .form-section[hidden] { display: none; }
h2 { margin: 0 0 6px; font-size: 22px; font-weight: 560; letter-spacing: -0.01em; }
.form-intro { margin: 0; color: var(--muted); }
.closed-note { display: none; margin: 14px 0 0; padding: 10px 12px; border-radius: 8px; background: var(--field); font-size: 13.2px; color: var(--ink); }
[data-forms="closed"] .closed-note { display: block; }

form { margin-top: 24px; display: grid; gap: 14px; }
.group { margin: 6px 0 0; font-size: 12px; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.group + .group, .group.spaced { margin-top: 14px; }
.row { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.field { display: grid; gap: 6px; min-width: 0; align-content: start; }
.field.narrow { max-width: 20rem; }
.field label { font-size: 13px; font-weight: 500; color: var(--muted); }
.field input, .field select {
  font: 400 14.7px var(--font); color: var(--ink); background: var(--field); border: 1px solid transparent;
  border-radius: 8px; padding: 10px 12px; min-height: 44px; width: 100%; margin: 0;
}
.field select {
  appearance: none; -webkit-appearance: none; padding-right: 34px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%2355626E' stroke-width='1.4'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center;
}
.field input::placeholder { color: #8A96A1; }
.field input:focus, .field select:focus { border-color: var(--ink); outline: none; background-color: #FFFFFF; }
.field input:disabled { opacity: .5; }
.field.invalid input, .field.invalid select { border-color: var(--error); }
.error { margin: 0; font-size: 12.5px; color: var(--error); }
.error:empty { display: none; }

.check { display: flex; gap: 10px; font-size: 13.2px; color: var(--muted); align-items: flex-start; }
.check input { width: 16px; height: 16px; margin: 4px 0 0; flex: none; accent-color: var(--ink); }
.check.first { margin-top: 8px; }
.check.tight { margin-top: -4px; }
.check.invalid span { color: var(--error); }
.small { margin: 0; font-size: 13px; color: var(--muted); }

.button {
  font: 560 14px var(--font); background: var(--ink); color: #FFFFFF; border: 0; border-radius: 8px;
  padding: 12px 18px; min-height: 44px; cursor: pointer; width: max-content; margin-top: 6px;
}
.status { margin: 0; font-size: 13.5px; }
.status:empty { display: none; }

.honey { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Text pages (Privacy, Ethics) */
.page { max-width: 40rem; }
.page h1 { margin-bottom: 12px; }
.page h2 { margin-top: 36px; font-size: 18px; }
.page p, .page li { color: var(--ink); }
.page ul { padding-left: 1.2em; margin: 8px 0 0; }
.page li + li { margin-top: 6px; }
.facts { margin: 16px 0 0; border-top: 1px solid var(--rule); }
.facts div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--rule); }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; font-weight: 500; }
.updated { margin-top: 36px; font-size: 13px; color: var(--muted); }

.footer { margin-top: 56px; padding-top: 20px; border-top: 1px solid var(--rule); font-size: 13px; color: var(--muted); }

.page strong { font-weight: 560; }

/* iPhones zoom into any text box under 16px when it's tapped: keep phones at 16px. */
@media (max-width: 600px) {
  .field input, .field select { font-size: 16px; }
}
