/* Antinodal — the app's own palette and typographic rules, so the site and the
   product look like one thing.

   Three typefaces with three jobs, which is what makes a page read as an
   instrument rather than as a brochure:
     serif        the voice — headlines and the sentences that carry meaning
     sans         prose
     monospaced   labels and figures, always small-caps for labels

   And brass is the single accent. It is spent on very few things on purpose,
   so that when it appears it means something. */

:root {
  --ground:   #0a0a0b;
  --surface:  #131316;
  --raised:   #1a1a1e;
  --hairline: #25252a;
  --ink:      #f2f0ec;   /* warm off-white: pure white on near-black is harsh */
  /* Long prose on a website is read further from the eye and in more light than
     a phone screen in a listening room, so the app's inkSoft — right for a
     secondary line under a figure — reads as switched off across a paragraph.
     Body prose gets its own value; inkSoft stays for captions and notes. */
  --ink-body: #d2cdc4;
  --ink-soft: #9c978e;
  --ink-faint:#676259;
  --brass:    #c7a76b;
  --settled:  #7ab198;
  --attention:#d4964f;

  --serif: ui-serif, "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

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

body {
  background: var(--ground);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.wrap { max-width: 44rem; margin: 0 auto; padding: 0 1.5rem; }

/* --- the mark ------------------------------------------------------------ */

.mark {
  font-family: var(--mono);
  font-size: 0.8rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  display: inline-block;
}
.mark:hover { color: var(--brass); }

header.bar {
  border-bottom: 1px solid var(--hairline);
  padding: 1.4rem 0;
}
header.bar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
header.bar nav a {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--ink-soft);
  text-decoration: none;
}
header.bar nav a:hover { color: var(--ink); }

/* --- type ---------------------------------------------------------------- */

h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.1rem, 6vw, 3.1rem);
  line-height: 1.15;
  letter-spacing: -0.015em;
}

h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.5rem, 4vw, 1.9rem);
  line-height: 1.25;
  margin-bottom: 0.9rem;
}

h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.2rem;
  margin-bottom: 0.4rem;
}

.label {
  font-family: var(--mono);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  display: block;
  margin-bottom: 0.9rem;
}

.lede {
  font-family: var(--serif);
  font-size: clamp(1.15rem, 3vw, 1.4rem);
  line-height: 1.5;
  color: var(--ink);
}

p { margin-bottom: 1.1rem; color: var(--ink-body); }
p.tight { margin-bottom: 0.5rem; }
p strong { color: var(--ink); font-weight: 600; }
a { color: var(--brass); }

section { padding: 3.4rem 0; border-bottom: 1px solid var(--hairline); }
section:last-of-type { border-bottom: none; }

/* --- panels and figures -------------------------------------------------- */

.panel {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: 14px;
  padding: 1.5rem;
  margin: 1.6rem 0;
}

.figure {
  font-family: var(--mono);
  font-size: 1.6rem;
  color: var(--brass);
  font-variant-numeric: tabular-nums;
}

table.rooms { width: 100%; border-collapse: collapse; font-family: var(--mono); font-size: 0.9rem; }
table.rooms th {
  text-align: left; font-weight: 500; font-size: 0.76rem;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-soft);
  padding-bottom: 0.7rem; border-bottom: 1px solid var(--hairline);
}
table.rooms td { padding: 0.75rem 0; border-bottom: 1px solid var(--hairline); color: var(--ink-body); }
table.rooms tr:last-child td { border-bottom: none; }
table.rooms td.n { text-align: right; color: var(--brass); font-variant-numeric: tabular-nums; white-space: nowrap; }
table.rooms td.room { color: var(--ink); }

/* Two columns of plain statements: what it can, what it cannot. The point of
   the layout is that they are the same size — the limits are not a footnote. */
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
@media (max-width: 620px) { .two { grid-template-columns: 1fr; } }

.two .panel { margin: 0; }
.two h3 { display: flex; align-items: baseline; gap: 0.55rem; }
.two .can h3 { color: var(--settled); }
.two .cannot h3 { color: var(--attention); }
.two ul { list-style: none; }
.two li {
  color: var(--ink-body);
  padding: 0.5rem 0 0.5rem 1.1rem;
  position: relative;
  font-size: 0.95rem;
  line-height: 1.5;
}
.two li::before { content: "—"; position: absolute; left: 0; color: var(--ink-faint); }

/* --- the waitlist -------------------------------------------------------- */

.field { margin-bottom: 1.2rem; }
.field > label {
  font-family: var(--mono);
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  display: block;
  margin-bottom: 0.6rem;
}

input[type="email"], select {
  width: 100%;
  padding: 0.85rem 1rem;
  background: var(--raised);
  border: 1px solid var(--hairline);
  border-radius: 10px;
  color: var(--ink);
  font-size: 1rem;
  font-family: var(--sans);
  outline: none;
  transition: border-color 0.2s ease;
  -webkit-appearance: none;
  appearance: none;
}
select {
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath fill='%239c978e' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}
input[type="email"]::placeholder { color: var(--ink-faint); }
input[type="email"]:focus, select:focus { border-color: var(--brass); }

button.primary {
  width: 100%;
  padding: 0.95rem 1.5rem;
  background: var(--brass);
  color: #17130c;
  border: none;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  font-family: var(--sans);
  cursor: pointer;
  transition: filter 0.2s ease;
}
button.primary:hover { filter: brightness(1.08); }

.note { font-size: 0.85rem; color: var(--ink-soft); margin-bottom: 0; }
.success {
  display: none;
  font-family: var(--serif);
  font-size: 1.15rem;
  color: var(--settled);
}

/* --- download ------------------------------------------------------------ */

.download {
  display: inline-flex; align-items: center; gap: 0.7rem;
  font-family: var(--mono); font-size: 0.9rem;
  color: var(--brass); text-decoration: none;
  border: 1px solid var(--brass); border-radius: 10px;
  padding: 0.8rem 1.2rem;
}
.download:hover { background: rgba(199, 167, 107, 0.1); }

/* --- footer -------------------------------------------------------------- */

footer {
  border-top: 1px solid var(--hairline);
  padding: 2.4rem 0 3.4rem;
  color: var(--ink-faint);
  font-size: 0.85rem;
}
footer .wrap { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
footer a { color: var(--ink-soft); text-decoration: none; }
footer a:hover { color: var(--ink); }
footer .links { display: flex; gap: 1.4rem; }

/* A limit that ends on something we CAN do is still a limit, but it reads as
   competence rather than apology — John's note, and he is right that the order
   of the clause does the work. The emphasis marks the turn. */
.two .cannot li em { color: var(--ink); font-style: normal; font-weight: 600; }
