/* BlockFile landing page.
   Typographic, print-influenced. System fonts only — no webfont requests.
   One accent colour. Rules, not cards. */

:root {
  color-scheme: light;

  --paper:      #fbf9f4;
  --panel:      #f4f1e8;
  --field:      #fffdf8;
  --ink:        #1b1a17;
  --ink-soft:   #4d4941;
  --ink-faint:  #77726a;
  --rule:       #d9d3c5;
  --rule-firm:  #c3bcab;
  --accent:     #2c4638;
  --accent-tint:#e6eae2;

  --serif: "Iowan Old Style", "Hoefler Text", "Palatino Linotype", Palatino,
           "Book Antiqua", Charter, Georgia, "Times New Roman", serif;
  --sans:  "Helvetica Neue", Helvetica, Arial, "Segoe UI", system-ui, sans-serif;

  --measure: 33rem;   /* prose only */
  --column:  37.5rem; /* structural blocks + rules */
}

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

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.58;
  -webkit-font-smoothing: antialiased;
}

.page {
  max-width: var(--column);
  margin: 0 auto;
  padding: 0 1.5rem 4rem;
}

p { margin: 0 0 1.1em; max-width: var(--measure); }

a { color: var(--accent); text-underline-offset: 2px; }

hr.rule {
  border: 0;
  border-top: 1px solid var(--rule);
  margin: 2.75rem 0 2.25rem;
}

/* ---------- masthead ---------- */

.masthead {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: 2.25rem 0 0.75rem;
  border-bottom: 2px solid var(--ink);
  margin-bottom: 3.5rem;
}

.wordmark {
  font-size: 1.3rem;
  letter-spacing: 0.005em;
  font-weight: 600;
  margin: 0;
}

.tagline {
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.01em;
  color: var(--ink-faint);
  margin: 0.2rem 0 0;
  max-width: none;
}

.masthead .locale {
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-faint);
  text-align: right;
}

/* ---------- hero ---------- */

h1 {
  font-size: clamp(2rem, 6.2vw, 3rem);
  line-height: 1.07;
  letter-spacing: -0.017em;
  font-weight: 600;
  margin: 0 0 1.1rem;
  max-width: 19ch;
}

.standfirst {
  font-size: 1.16rem;
  line-height: 1.5;
  color: var(--ink-soft);
  max-width: 32rem;
  margin-bottom: 0;
}

/* ---------- section labels ---------- */

h2 {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 1.25rem;
}

/* ---------- feature list ---------- */

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

.does li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.95rem;
}

.does li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 0.5rem;
  height: 1px;
  background: var(--ink-faint);
}

.does li:last-child { margin-bottom: 0; }

/* ---------- aside: what it doesn't do ---------- */

.doesnt {
  border-left: 2px solid var(--rule-firm);
  padding-left: 1.25rem;
}

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

/* ---------- price ---------- */

.price {
  background: var(--panel);
  border: 1px solid var(--rule);
  padding: 1.5rem 1.6rem 1.3rem;
}

.price .amount {
  font-size: 1.32rem;
  line-height: 1.3;
  margin-bottom: 0.55rem;
}

.price .amount strong { font-weight: 600; }

.price p:last-child {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 0.97rem;
}

/* ---------- form ---------- */

.reserve h2 { margin-bottom: 0.75rem; }

.reserve > .intro {
  color: var(--ink-soft);
  margin-bottom: 2rem;
}

form { max-width: none; }

.field { margin-bottom: 1.4rem; }

.row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem;
}

label, legend {
  display: block;
  font-family: var(--sans);
  font-size: 0.855rem;
  font-weight: 600;
  letter-spacing: 0.005em;
  color: var(--ink);
  margin-bottom: 0.4rem;
  padding: 0;
}

.hint {
  display: block;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 400;
  color: var(--ink-faint);
  margin: -0.2rem 0 0.45rem;
}

input[type="text"],
input[type="email"],
input[type="number"] {
  width: 100%;
  font-family: var(--serif);
  font-size: 1rem;
  color: var(--ink);
  background: var(--field);
  border: 1px solid var(--rule-firm);
  border-radius: 2px;
  padding: 0.62rem 0.7rem;
}

input:focus-visible,
button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="number"]:focus {
  border-color: var(--accent);
  outline: none;
  box-shadow: inset 0 0 0 1px var(--accent);
}

fieldset {
  border: 0;
  padding: 0;
  margin: 0 0 1.4rem;
}

.choices {
  display: flex;
  gap: 1.75rem;
  margin-top: 0.15rem;
}

.choice {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 400;
  margin: 0;
  cursor: pointer;
}

input[type="radio"],
input[type="checkbox"] {
  accent-color: var(--accent);
  width: 1.05rem;
  height: 1.05rem;
  margin: 0;
  flex: none;
  cursor: pointer;
}

/* the commitment box — the one field the test turns on */
.commit {
  background: var(--accent-tint);
  border: 1px solid #c4cfc3;
  padding: 1.05rem 1.15rem;
  margin: 2rem 0 1.75rem;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.commit label {
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.45;
  margin: 0;
  cursor: pointer;
}

.commit input[type="checkbox"] { margin-top: 0.2rem; }

button {
  font-family: var(--sans);
  font-size: 0.94rem;
  font-weight: 600;
  letter-spacing: 0.012em;
  color: #fbf9f4;
  background: var(--accent);
  border: 1px solid var(--accent);
  border-radius: 2px;
  padding: 0.75rem 1.5rem;
  cursor: pointer;
}

button:hover { background: #22372b; border-color: #22372b; }

/* ---------- privacy ---------- */

.privacy {
  margin-top: 2.5rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--rule);
  font-family: var(--sans);
  font-size: 0.8rem;
  line-height: 1.6;
  color: var(--ink-faint);
}

.privacy h3 {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--ink-soft);
  margin: 0 0 0.4rem;
}

.privacy p { max-width: none; margin-bottom: 0.6rem; }
.privacy p:last-child { margin-bottom: 0; }

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

footer {
  margin-top: 4rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--rule);
  font-family: var(--sans);
  font-size: 0.8rem;
  color: var(--ink-faint);
}

footer p { margin: 0; max-width: none; }

/* ---------- narrow screens ---------- */

@media (max-width: 34rem) {
  body { font-size: 16.5px; }
  .row { grid-template-columns: 1fr; gap: 0; }
  .row .field { margin-bottom: 1.4rem; }
  .masthead { padding-top: 1.75rem; margin-bottom: 2.75rem; }
}

/* honeypot — never shown to a person */
.decoy { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
