:root {
  --bg: #f4f2ee;
  --panel: #fffdf9;
  --line: #e2ddd3;
  --text: #2b2723;
  --muted: #6f675e;
  --accent: #7a3b2e;
  --accent-soft: #f3e4dd;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
}

* { box-sizing: border-box; }
body { margin: 0; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

header.top { padding: 18px 0; }
header.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { font-weight: 700; font-size: 19px; letter-spacing: 0.02em; color: var(--accent); text-decoration: none; display: flex; align-items: center; gap: 8px; }
.brand img { width: 26px; height: 26px; }

.button {
  display: inline-block; padding: 10px 18px; border-radius: 8px; font-weight: 600;
  text-decoration: none; border: 1px solid var(--accent); color: var(--accent); background: var(--panel);
}
.button.primary { background: var(--accent); color: #fff; }
.button:hover { filter: brightness(1.08); }

.hero { padding: 40px 0 56px; }
.hero .wrap { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(34px, 5vw, 52px); line-height: 1.1; margin: 0 0 18px; letter-spacing: -0.01em; }
.hero p { font-size: 19px; color: var(--muted); margin: 0 0 26px; max-width: 32em; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.note { font-size: 15px; color: var(--muted); }

.showcase { margin: 0; }
.showcase .stack { position: relative; }
.showcase .design { border-radius: 10px; box-shadow: 0 2px 10px rgb(0 0 0 / 0.15); }
.showcase .photo {
  position: absolute; left: -18px; bottom: -22px; width: 34%;
  border: 4px solid var(--panel); border-radius: 8px; box-shadow: 0 4px 14px rgb(0 0 0 / 0.25);
}
.showcase figcaption { margin-top: 8px; padding-left: calc(34% - 6px); text-align: left; }
figcaption { font-size: 14px; color: var(--muted); margin-top: 6px; text-align: center; }

section { padding: 56px 0; }
section.alt { background: var(--panel); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
section h2 { font-size: 30px; margin: 0 0 28px; letter-spacing: -0.01em; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.features h3 { font-size: 18px; margin: 0 0 6px; }
.features p { margin: 0; color: var(--muted); }

.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.gallery figure { margin: 0; }
.gallery img { aspect-ratio: 1; object-fit: cover; border-radius: 10px; }

.closing { text-align: center; }
.closing p { color: var(--muted); max-width: 34em; margin: 0 auto 24px; }

footer { padding: 32px 0 48px; font-size: 15px; color: var(--muted); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }
footer nav { display: flex; gap: 20px; }
footer a { color: var(--muted); }

.prose { max-width: 720px; padding: 24px 20px 56px; margin: 0 auto; }
.prose h1 { font-size: 36px; margin: 0 0 4px; }
.prose h2 { font-size: 21px; margin: 32px 0 8px; }
.prose .updated { color: var(--muted); margin: 0 0 24px; }

@media (max-width: 800px) {
  .hero { padding: 16px 0 40px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 32px; }
  .features, .gallery { grid-template-columns: 1fr; }
  .showcase .photo { left: 8px; width: 38%; }
  .showcase figcaption { padding-left: calc(38% + 20px); }
  section { padding: 40px 0; }
}

.waitlist { max-width: 460px; margin: 0 auto 20px; display: grid; gap: 14px; text-align: left; }
.waitlist label { display: grid; gap: 6px; font-weight: 600; font-size: 15px; }
.waitlist .optional { font-weight: 400; color: var(--muted); }
.waitlist input, .waitlist textarea {
  font: inherit; font-weight: 400; padding: 10px 12px; border: 1px solid var(--line);
  border-radius: 8px; background: #fff; color: var(--text);
}
.waitlist input:focus, .waitlist textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.waitlist .website { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.waitlist button { justify-self: start; cursor: pointer; font: inherit; font-weight: 600; }
.waitlist button:disabled { opacity: 0.6; cursor: default; }
.closing .form-status { margin: 0; min-height: 1.5em; color: var(--muted); font-size: 15px; }
.closing .form-status.error { color: #a3271b; }
.closing .form-done { margin: 0; padding: 16px; border-radius: 8px; background: var(--accent-soft); color: var(--accent); font-weight: 600; text-align: center; }
