/* Fonts: Alfa Slab One and Work Sans (SIL Open Font License), self-hosted so pages make no outside requests. */
@font-face { font-family: "Alfa Slab One"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/alfa-slab-one.woff") format("woff"); }
@font-face { font-family: "Work Sans"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("/assets/fonts/work-sans.woff") format("woff"); }

:root {
  --cream: #FAF2E0;
  --soot: #1E1F22;
  --slate: #4A4F58;
  --stone: #D9CDB4;
  --brick: #A8392B;
  --brick-dark: #8F2F23;
  --teal: #1F7A7A;
  --gold: #E8A917;
  --panel: #FFF9EA;
  --slab: "Alfa Slab One", Rockwell, "Roboto Slab", Georgia, serif;
  --sans: "Work Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--soot);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
}
a { color: var(--brick); text-underline-offset: 0.18em; }
a:hover { color: var(--brick-dark); }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 4px; }
.wrap { width: min(680px, calc(100% - 2.5rem)); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 0; background: var(--soot); color: var(--cream); padding: 0.5rem 0.9rem; z-index: 10; }
.skip:focus { left: 0.5rem; top: 0.5rem; }

header { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 0.5rem 1rem; padding: 1.5rem 0 0; }
.brand { display: inline-flex; align-items: center; gap: 0.7rem; color: inherit; text-decoration: none; }
.brand:hover { color: inherit; }
.brand svg { width: 56px; height: 56px; flex: none; }
.brand-name { font-family: var(--slab); font-size: 1.35rem; color: var(--soot); line-height: 1; }
.by { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.85rem; color: var(--slate); text-decoration: none; }
.by:hover { color: var(--slate); }
.by:hover .by-name { color: var(--brick); }
.by svg { width: 30px; height: 30px; flex: none; }
.by-name { font-family: var(--slab); color: var(--soot); font-size: 0.95rem; }
.name { font-family: var(--slab); font-size: 1.25rem; }
@media (max-width: 480px) {
  header { flex-wrap: nowrap; gap: 0.5rem; }
  .name { font-size: 1.1rem; white-space: nowrap; }
  .by { gap: 0.3rem; font-size: 0.78rem; white-space: nowrap; }
  .by svg { width: 24px; height: 24px; }
  .by-name { font-size: 0.82rem; }
  .brand svg { width: 48px; height: 48px; }
  .brand-name { font-size: 1.15rem; }
}

.hero { padding: 3.5rem 0 3rem; display: grid; gap: 2rem; }
.hero-art { display: block; width: 88px; height: 88px; order: -1; }
.terrace { display: block; width: min(260px, 68vw); height: auto; }
.pill { display: inline-block; background: var(--teal); color: var(--cream); font-size: 0.85rem; font-weight: 600; padding: 0.3rem 0.8rem; border-radius: 999px; margin: 0 0 1.25rem; }
h1 { font-family: var(--slab); font-weight: 400; font-size: clamp(2.1rem, 8.4vw, 3.5rem); line-height: 1.1; margin: 0 0 1.1rem; text-wrap: balance; }
h1 span { display: block; }
h1 span.accent, h1.home-title { color: var(--brick); }
h1.home-title { color: var(--soot); }
h1.home-title span.accent { color: var(--brick); display: inline; }
.lede { font-size: 1.15rem; color: var(--slate); margin: 0 0 1.75rem; max-width: 34rem; }
@media (min-width: 860px) {
  .wrap { width: min(920px, calc(100% - 4rem)); }
  .hero { grid-template-columns: minmax(0, 1fr) 220px; align-items: start; gap: 3rem; }
  .hero-art { order: 0; width: 220px; height: 220px; margin-top: 2.6rem; }
  .hero.studio { grid-template-columns: minmax(0, 1fr) 280px; align-items: center; }
  .hero.studio .terrace { width: 280px; margin: 0; }
}

.signup { background: var(--panel); border: 2px solid var(--soot); border-radius: 14px; padding: 1.1rem; max-width: 34rem; }
.row { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
input[type="email"] {
  flex: 1 1 14rem; min-width: 0; font: inherit; color: var(--soot); background: #fff;
  border: 2px solid var(--slate); border-radius: 10px; padding: 0.75rem 0.9rem;
}
input[type="email"]::placeholder { color: var(--slate); opacity: 1; }
button[type="submit"], .btn {
  flex: 1 1 auto; font: inherit; font-weight: 600; color: var(--cream); background: var(--brick);
  border: 0; border-radius: 10px; padding: 0.8rem 1.2rem; cursor: pointer;
  text-decoration: none; display: inline-block;
}
button[type="submit"]:hover, .btn:hover { background: var(--brick-dark); color: var(--cream); }
.consent { display: flex; gap: 0.65rem; align-items: flex-start; margin: 0.9rem 0 0.6rem; font-size: 0.92rem; }
.consent input { margin-top: 0.3rem; flex: none; width: 1.1rem; height: 1.1rem; accent-color: var(--brick); }
.fine { margin: 0; font-size: 0.85rem; color: var(--slate); }
.price-note { margin: 1rem 0 0; font-size: 0.95rem; color: var(--slate); max-width: 34rem; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { margin: 0.2rem 0 0.7rem; padding: 0.6rem 0.8rem; border-radius: 10px; font-weight: 600; font-size: 0.95rem; border: 2px solid var(--soot); }
.form-msg.ok { background: #DDEFEA; color: var(--teal); border-color: var(--teal); }
.form-msg.err { background: #F8E1DC; color: var(--brick-dark); border-color: var(--brick); }
button[type="submit"][disabled] { opacity: 0.6; cursor: wait; }
.signup.done .row, .signup.done .consent { display: none; }

section { padding: 0 0 3rem; }
h2 { font-family: var(--slab); font-weight: 400; font-size: 1.6rem; line-height: 1.2; margin: 0 0 1rem; }
h3 { font-size: 1.02rem; font-weight: 700; margin: 0 0 0.3rem; }
p { margin: 0 0 0.8rem; }
.muted { color: var(--slate); }
.three { display: grid; gap: 1.5rem; }
.three > div { border-top: 4px solid var(--brick); padding-top: 0.9rem; }
.three > div:nth-child(2) { border-color: var(--gold); }
.three > div:nth-child(3) { border-color: var(--teal); }
.three p { color: var(--slate); margin: 0; }
@media (min-width: 700px) { .three { grid-template-columns: repeat(3, 1fr); gap: 1.75rem; } }
ul.plain { margin: 0.6rem 0 0; padding-left: 1.2rem; color: var(--slate); }
ul.plain li { margin: 0.3rem 0; }
ul.plain strong { color: var(--soot); }

details { border-top: 2px solid var(--stone); }
details:last-of-type { border-bottom: 2px solid var(--stone); }
summary { cursor: pointer; font-weight: 600; padding: 0.9rem 0; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-family: var(--slab); color: var(--brick); }
details[open] summary::after { content: "–"; }
details p { color: var(--slate); margin: 0 0 1rem; }

.app-card {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 0.2rem 1.25rem;
  align-items: start;
  background: var(--panel);
  border: 2px solid var(--soot);
  border-radius: 14px;
  padding: 1.15rem;
  max-width: 36rem;
}
.app-card .icon { width: 88px; height: 88px; grid-row: 1 / span 5; }
.app-card h3 { font-family: var(--slab); font-weight: 400; font-size: 1.45rem; margin: 0.15rem 0 0.2rem; }
.app-card .desc { color: var(--slate); margin: 0 0 0.45rem; }
.app-card .coming { margin: 0 0 0.9rem; font-size: 0.85rem; font-weight: 600; color: var(--teal); }
.app-card .btn { justify-self: start; }
@media (max-width: 480px) {
  .app-card { grid-template-columns: 1fr; }
  .app-card .icon { grid-row: auto; width: 72px; height: 72px; }
}

.privacy { font-size: 0.92rem; color: var(--slate); padding-top: 2.5rem; }
.privacy h1 { font-size: clamp(1.8rem, 6vw, 2.4rem); }
.privacy h2 { font-size: 1.2rem; }

.skyline { display: block; width: 100%; max-width: 1400px; margin: 1rem auto 0; height: clamp(76px, 10.3vw, 144px); }
footer { background: var(--soot); color: var(--cream); padding: 1.5rem 0 2.25rem; font-size: 0.92rem; }
footer a { color: var(--cream); }
footer a:hover { color: var(--gold); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 0.6rem 1.5rem; align-items: center; }
footer strong { font-family: var(--slab); font-weight: 400; font-size: 1.1rem; margin-right: auto; }
footer :focus-visible { outline-color: var(--gold); }
