/* Public site: warm paper, petrol ink, and a small peach accent. No app styles shared. */
:root {
  --ink:#183e45;
  --muted:#576967;
  --paper:#f7f5ef;
  --line:#d7ddd5;
  --peach:#f0b99c;
  --white:#fffefa;
  --font:"Segoe UI",system-ui,sans-serif;
  color-scheme:light;
}

* {
  box-sizing:border-box;
}

html {
  scroll-behavior:smooth;
  scroll-padding-top:90px;
}

body {
  margin:0;
  background:var(--paper);
  color:var(--ink);
  font:16px/1.6 var(--font);
}

img {
  display:block;
  max-width:100%;
  height:auto;
}

a {
  color:inherit;
}

a:focus-visible,summary:focus-visible {
  outline:3px solid #9c4b28;
  outline-offset:5px;
}

.wrap {
  width:min(1200px,100% - 64px);
  margin:auto;
}

.narrow {
  width:min(760px,100% - 64px);
}

h1,h2,h3,p {
  margin-top:0;
}

h1,h2,h3 {
  font-weight:600;
}

h1 {
  font-size:clamp(62px,6.8vw,96px);
  line-height:.99;
  letter-spacing:-.065em;
  margin-bottom:0;
}

h1 em {
  font-family:Georgia,serif;
  font-weight:400;
  letter-spacing:-.065em;
  position:relative;
  white-space:nowrap;
}

h1 em:after {
  content:"";
  position:absolute;
  bottom:-7px;
  left:0;
  right:0;
  height:9px;
  background:var(--peach);
  border-radius:50%;
  transform:rotate(-2deg);
  z-index:-1;
}

h2 {
  font-size:clamp(32px,3.3vw,46px);
  line-height:1.15;
  letter-spacing:-.04em;
  margin-bottom:16px;
}

h3 {
  font-size:20px;
  line-height:1.3;
  margin-bottom:12px;
}

.eyebrow {
  font-size:11px;
  font-weight:700;
  letter-spacing:.14em;
  text-transform:uppercase;
  margin-bottom:24px;
}

.skip-link {
  position:fixed;
  top:-100px;
  left:16px;
  z-index:20;
  padding:12px;
  background:var(--white);
}

.skip-link:focus {
  top:12px;
}

.site-head {
  background:var(--paper);
  border-bottom:1px solid var(--line);
}

.head-row {
  height:84px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:20px;
}

.lockup {
  display:flex;
  align-items:center;
  gap:10px;
  font-size:19px;
  font-weight:650;
  letter-spacing:-.04em;
  text-decoration:none;
}

.site-nav {
  display:flex;
  align-items:center;
  gap:30px;
}

.site-nav a:not(.btn) {
  font-size:14px;
  text-decoration:none;
}

.site-nav a:hover {
  text-decoration:underline;
}

.btn {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:30px;
  min-height:52px;
  padding:13px 23px;
  border-radius:5px;
  text-decoration:none;
  font-weight:600;
  font-size:14px;
  transition:background .2s,transform .2s;
}

.btn:hover {
  transform:translateY(-2px);
}

.btn-primary {
  color:var(--white);
  background:var(--ink);
}

.btn-primary:hover {
  background:#28535a;
}

.btn-small {
  min-height:42px;
  padding:9px 18px;
}

.btn-light {
  background:var(--peach);
  color:var(--ink);
}

.hero {
  padding:62px 0 0;
  isolation:isolate;
}

.hero-grid {
  display:grid;
  grid-template-columns:1.3fr 1fr;
  gap:80px;
  align-items:end;
  margin-bottom:65px;
}

.tiny-house {
  font-size:20px;
  vertical-align:-2px;
  margin-right:8px;
}

.hero-intro {
  max-width:365px;
  padding-bottom:8px;
}

.hero-intro>p:not(.lead):not(.fine) {
  color:var(--muted);
  font-size:17px;
  margin-bottom:28px;
}

.lead {
  font-size:25px;
  line-height:1.3;
  letter-spacing:-.03em;
  margin-bottom:16px;
  font-weight:600;
}

.fine {
  font-size:12px;
  color:var(--muted);
  margin:18px 0 0;
}

.inbox-stage {
  position:relative;
  background:#e7e9df;
  border:1px solid #cfd7c9;
  border-radius:12px 12px 0 0;
  padding:0 30px;
  box-shadow:0 25px 70px -50px #183e4570;
}

.stage-bar {
  min-height:78px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:20px;
}

.stage-caption {
  font-size:10px;
  letter-spacing:.11em;
}

.stage-caption b {
  font-weight:700;
}

.preview-controls {
  display:flex;
  gap:5px;
  padding:5px;
  border:1px solid #c9d1c4;
  border-radius:30px;
}

.preview-controls label {
  display:flex;
  align-items:center;
  gap:8px;
  font-size:12px;
  cursor:pointer;
  padding:8px 13px;
  border-radius:22px;
  transition:background .2s;
}

.swatch {
  height:12px;
  width:12px;
  border-radius:50%;
  border:1px solid #71817a;
}

.swatch-light {
  background:#fffefa;
}

.swatch-dark {
  background:#183e45;
}

.swatch-terminal {
  background:#101710;
  box-shadow:inset 0 0 0 3px #87be79;
}

.theme-radio {
  position:absolute;
  width:1px;
  height:1px;
  opacity:0;
  top:30px;
  left:50%;
}

#preview-light:checked~.stage-bar label[for=preview-light],#preview-dark:checked~.stage-bar label[for=preview-dark],#preview-terminal:checked~.stage-bar label[for=preview-terminal] {
  background:var(--white);
  box-shadow:0 2px 5px #183e4510;
}

#preview-light:focus-visible~.stage-bar label[for=preview-light],#preview-dark:focus-visible~.stage-bar label[for=preview-dark],#preview-terminal:focus-visible~.stage-bar label[for=preview-terminal] {
  outline:3px solid #9c4b28;
  outline-offset:2px;
}

.preview-window {
  border-radius:7px;
  overflow:hidden;
  border:1px solid #b9c6bd;
  box-shadow:0 12px 30px #183e4514;
  background:var(--white);
}

.preview {
  display:none;
  margin:0;
}

.preview img {
  width:100%;
}

#preview-light:checked~.preview-window .preview-light,#preview-dark:checked~.preview-window .preview-dark,#preview-terminal:checked~.preview-window .preview-terminal {
  display:block;
  animation:arrive .35s ease-out;
}

.stage-foot {
  display:flex;
  justify-content:space-between;
  gap:20px;
  font-size:11px;
  padding:16px 0;
  color:#455c53;
}

.stage-foot span:last-child {
  font-family:Georgia,serif;
  font-style:italic;
  font-size:14px;
}

.promise-strip {
  border-block:1px solid var(--line);
  background:var(--white);
}

.promise-row {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:40px;
  padding-block:28px;
}

.promise-row p {
  margin:0;
}

.promise-row p:first-child {
  font-size:24px;
  font-weight:600;
  letter-spacing:-.04em;
  white-space:nowrap;
}

.promise-row p:first-child span {
  padding:0 15px;
  color:#a55e3b;
}

.promise-row p:last-child {
  font-size:13px;
  max-width:450px;
  color:var(--muted);
}

.promise-row a {
  white-space:nowrap;
  text-underline-offset:4px;
}

.section {
  padding:96px 0;
}

.section-lead {
  max-width:620px;
  color:var(--muted);
  margin-bottom:40px;
}

.cards {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:38px 50px;
  counter-reset:feature;
}

.card {
  border-top:1px solid var(--line);
  padding-top:22px;
}

.card:before {
  counter-increment:feature;
  content:"0" counter(feature);
  display:block;
  font:italic 19px Georgia,serif;
  color:#9b5938;
  margin-bottom:25px;
}

.card p {
  color:var(--muted);
  font-size:15px;
  margin-bottom:0;
}

.section-alt {
  background:#edece4;
  border-block:1px solid var(--line);
}

.theme-grid {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:36px;
}

.shot {
  margin:0;
  min-width:0;
}

.theme-shot img {
  border-radius:6px;
  border:1px solid #c7cfc6;
  transition:transform .25s,box-shadow .25s;
}

.theme-shot:hover img {
  transform:translateY(-4px);
  box-shadow:0 15px 25px #183e4512;
}

.theme-shot figcaption {
  padding-top:14px;
  font-size:13px;
  color:var(--muted);
}

.theme-shot b {
  display:block;
  color:var(--ink);
  font-size:16px;
  font-weight:600;
  margin-bottom:2px;
}

.more {
  color:var(--muted);
  font-size:14px;
  margin:32px 0 0;
}

details {
  border-bottom:1px solid var(--line);
}

details:first-of-type {
  margin-top:30px;
  border-top:1px solid var(--line);
}

summary {
  padding:21px 0;
  font-weight:600;
  cursor:pointer;
}

details p {
  color:var(--muted);
  padding-right:25px;
  margin-bottom:22px;
}

#privacy p,.plain-list {
  color:var(--muted);
}

.plain-list {
  padding-left:20px;
}

.plain-list li {
  margin-bottom:10px;
}

.plain-list b {
  color:var(--ink);
}

.cta-band {
  background:var(--ink);
  color:var(--white);
  position:relative;
  overflow:hidden;
}

.cta-band:after {
  content:"âŒ‚";
  position:absolute;
  right:25%;
  top:-110px;
  font:350px Georgia,serif;
  color:#ffffff06;
  pointer-events:none;
}

.cta-band-row {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:30px;
  position:relative;
  z-index:1;
}

.cta-band h2 {
  font-family:Georgia,serif;
  font-style:italic;
  font-weight:400;
}

.cta-band p {
  color:#c5d3cf;
  margin-bottom:0;
}

.site-foot {
  padding:28px 0;
  font-size:12px;
  color:var(--muted);
}

.foot-row {
  display:flex;
  justify-content:space-between;
  gap:20px;
}

.foot-row nav {
  display:flex;
  gap:25px;
}

.foot-row a {
  text-decoration:none;
}

@keyframes arrive {
  from {
    opacity:.5;
    transform:translateY(4px);
  }
  to {
    opacity:1;
    transform:translateY(0);
  }
}

@media(min-width:1500px) {
  .hero {
    padding-top:80px;
  }
}

@media(max-width:900px) {
  .hero-grid {
    gap:35px;
    grid-template-columns:1.2fr 1fr;
  }
  h1 {
    font-size:65px;
  }
  .hero-intro>p:not(.lead):not(.fine) {
    font-size:15px;
  }
  .hero .eyebrow {
    font-size:9px;
  }
  .cards {
    grid-template-columns:repeat(2,1fr);
  }
  .stage-caption {
    display:none;
  }
  .stage-bar {
    justify-content:center;
  }
  .promise-row {
    gap:20px;
  }
  .promise-row p:first-child {
    font-size:20px;
  }
  .theme-grid {
    gap:24px;
  }
  .cta-band-row {
    align-items:flex-start;
    flex-direction:column;
  }
}

@media(max-width:640px) {
  .wrap,.narrow {
    width:calc(100% - 36px);
  }
  .head-row {
    height:72px;
    gap:12px;
  }
  .lockup {
    font-size:16px;
    gap:7px;
  }
  .lockup img {
    width:29px;
  }
  .site-nav a:not(.btn) {
    display:none;
  }
  .site-nav .btn {
    font-size:12px;
    padding:9px 12px;
  }
  .hero {
    padding-top:36px;
  }
  .hero-grid {
    grid-template-columns:1fr;
    gap:30px;
    margin-bottom:35px;
  }
  h1 {
    font-size:clamp(55px,12vw,76px);
  }
  .hero .eyebrow {
    font-size:9px;
    letter-spacing:.11em;
    margin-bottom:20px;
  }
  .hero-intro {
    max-width:100%;
  }
  .lead {
    font-size:23px;
  }
  .hero-intro>p:not(.lead):not(.fine) {
    font-size:16px;
    margin-bottom:22px;
  }
  .fine br {
    display:none;
  }
  .inbox-stage {
    padding:0 10px;
  }
  .stage-bar {
    min-height:65px;
  }
  .preview-controls {
    gap:0;
    padding:3px;
  }
  .preview-controls label {
    font-size:11px;
    padding:8px 9px;
    gap:5px;
  }
  .stage-foot {
    font-size:10px;
    padding:12px 2px;
  }
  .stage-foot span:last-child {
    display:none;
  }
  .promise-row {
    flex-direction:column;
    align-items:flex-start;
    gap:12px;
    padding-block:25px;
  }
  .promise-row p:first-child {
    font-size:23px;
  }
  .section {
    padding:60px 0;
  }
  .cards {
    grid-template-columns:1fr;
    gap:25px;
  }
  .card {
    padding-left:42px;
    position:relative;
  }
  .card:before {
    position:absolute;
    left:0;
    top:24px;
    font-size:16px;
  }
  .theme-grid {
    grid-template-columns:1fr;
    gap:30px;
  }
  .foot-row {
    flex-direction:column;
  }
  .eyebrow {
    margin-bottom:17px;
  }
}

@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior:auto;
  }
  *,*:before,*:after {
    animation:none!important;
    transition:none!important;
  }
  .btn:hover,.theme-shot:hover img {
    transform:none;
  }
}
