/* ------------------------------------------------------------------
   Sit Still — the page that explains the room.
   Its own stylesheet: the room is a fixed-height app, this one scrolls.
------------------------------------------------------------------- */

:root {
  --paper:      #f6efe3;
  --paper-deep: #ece0cf;
  --ink:        #2b2620;
  --ink-soft:   #6b6154;
  --line:       rgba(43, 38, 32, .12);
  --terra:      #c4775a;
  --terra-deep: #a95c41;
  --sage:       #7c8b6d;
  --moss:       #5b6249;
  --brass:      #c9a34a;
  --serif: ui-serif, "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: ui-sans-serif, -apple-system, "Segoe UI", Inter, system-ui, sans-serif;
  --edge: 26px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background:
    radial-gradient(1200px 700px at 20% -10%, #fffaf1 0%, transparent 55%),
    radial-gradient(900px 600px at 95% 10%, #f3e3cd 0%, transparent 60%),
    linear-gradient(160deg, #f8f2e7 0%, #efe4d3 55%, #e8dac6 100%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--terra-deep); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--ink); }

h1, h2, h3 { font-family: var(--serif); font-weight: 600; letter-spacing: -.02em; }

/* ── top bar ─────────────────────────────────────────── */

.topbar {
  position: sticky; top: 0; z-index: 30;
  display: flex; align-items: center; gap: 16px;
  height: 62px; padding: 0 var(--edge);
  border-bottom: 1px solid rgba(30, 34, 22, .45);
  background:
    radial-gradient(700px 120px at 12% -40%, rgba(255, 255, 255, .1), transparent 70%),
    linear-gradient(to bottom, #5f6751, #545c45);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .09);
}
.brand {
  display: flex; align-items: center; gap: 10px; flex: none;
  color: #f7f0e2; text-decoration: none;
}
.brand-mark {
  width: 32px; height: 32px; border-radius: 10px; overflow: hidden; flex: none;
  background: var(--paper);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .22), 0 9px 18px -11px rgba(0, 0, 0, .7);
}
.brand-mark img { display: block; width: 100%; height: 100%; }
.brand-text { display: flex; flex-direction: column; gap: 2px; line-height: 1; }
.brand-name {
  font-family: var(--serif); font-size: 18px; font-weight: 600;
  letter-spacing: -.015em; color: #fbf5e8;
}
.brand-sub {
  font-size: 8.5px; font-weight: 600; letter-spacing: .15em;
  text-transform: uppercase; color: rgba(247, 240, 226, .62);
}
.topbar-mid {
  display: flex; align-items: center; gap: 8px;
  margin: 0 auto 0 0; padding-left: 17px;
  border-left: 1px solid rgba(255, 255, 255, .18);
  font-size: 12.5px; color: rgba(247, 240, 226, .76);
}
.topbar-dot {
  width: 6px; height: 6px; border-radius: 50%; flex: none;
  background: #d9c884; box-shadow: 0 0 0 3px rgba(217, 200, 132, .2);
}
.ghost-btn {
  flex: none; display: inline-flex; align-items: center; justify-content: center;
  font: inherit; font-size: 12.5px; color: rgba(250, 244, 232, .86);
  padding: 7px 14px; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .22); background: rgba(255, 255, 255, .1);
  text-decoration: none; transition: .22s ease;
}
.ghost-btn:hover { color: #fffdf8; background: rgba(255, 255, 255, .2); }

/* ── page frame ──────────────────────────────────────── */

main, .site-foot { width: min(1080px, calc(100% - var(--edge) * 2)); margin: 0 auto; }

/* ── hero ────────────────────────────────────────────── */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 48px; align-items: center;
  padding: 66px 0 58px;
}
.eyebrow {
  margin: 0 0 14px;
  font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--terra-deep);
}
.hero h1 {
  margin: 0 0 18px;
  font-size: clamp(34px, 4.6vw, 52px);
  line-height: 1.06;
  letter-spacing: -.03em;
}
.hero .lede {
  margin: 0 0 24px;
  font-size: 16.5px; line-height: 1.65; color: #4b4338;
  max-width: 46ch;
}
.cta-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 14px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font: inherit; font-size: 14px; font-weight: 550;
  padding: 12px 20px; border-radius: 12px; text-decoration: none;
  transition: transform .15s ease, filter .2s ease, background .2s ease;
}
.btn.primary {
  color: #fff7ec; background: linear-gradient(180deg, #cf8465, var(--terra-deep));
  box-shadow: 0 12px 24px -14px rgba(169, 92, 65, .95), inset 0 1px 0 rgba(255, 255, 255, .3);
}
.btn.primary:hover { filter: brightness(1.06); color: #fff7ec; }
.btn.primary:active { transform: translateY(1px); }
.btn.ghost {
  color: var(--ink); background: rgba(255, 255, 255, .55);
  border: 1px solid var(--line);
}
.btn.ghost:hover { background: #fff; color: var(--ink); }
.hero-note { margin: 0; font-size: 12px; color: var(--ink-soft); }

.hero-art { margin: 0; }
.hero-art img {
  display: block; width: 100%; height: auto;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, .8);
  box-shadow: 0 30px 70px -32px rgba(74, 54, 32, .55);
}
.hero-art figcaption {
  margin-top: 9px; text-align: center;
  font-size: 11px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--ink-soft);
}

/* the pair of current screens in the what-it-is band */
.shots {
  display: grid; grid-template-columns: minmax(0, 1fr) 212px;
  gap: 20px 22px; align-items: end; margin-top: 28px;
}
.shots figure { margin: 0; min-width: 0; }
.shots img {
  display: block; width: 100%; height: auto;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, .8);
  box-shadow: 0 26px 60px -34px rgba(74, 54, 32, .55);
}
.shots figcaption {
  margin-top: 8px; font-size: 11px; letter-spacing: .08em;
  text-transform: uppercase; color: var(--ink-soft);
}

/* ── sections ────────────────────────────────────────── */

.band { padding: 46px 0; border-top: 1px solid var(--line); }
.band > h2 { margin: 0 0 18px; font-size: clamp(25px, 3vw, 33px); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 46px; }
.two-col p { margin: 0; color: #4b4338; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; }
.steps li { display: flex; gap: 16px; align-items: flex-start; }
.step-num {
  flex: none; width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--serif); font-size: 14px;
  color: #fff7ec; background: var(--sage);
  box-shadow: 0 8px 16px -10px rgba(91, 98, 73, .9);
}
.steps h3 { margin: 2px 0 4px; font-size: 17.5px; letter-spacing: -.01em; }
.steps p { margin: 0; color: #4b4338; font-size: 14.5px; max-width: 62ch; }
.aside-note {
  margin: 26px 0 0; padding: 14px 16px;
  font-size: 13.5px; line-height: 1.6; color: var(--ink-soft);
  background: rgba(255, 255, 255, .45);
  border: 1px solid var(--line); border-radius: 12px;
  max-width: 70ch;
}

.cards {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
}
.cards li {
  padding: 18px 18px 16px; border-radius: 16px;
  background: rgba(255, 252, 246, .66);
  border: 1px solid rgba(255, 255, 255, .7);
  box-shadow: 0 18px 34px -30px rgba(74, 54, 32, .8);
}
.cards h3 { margin: 0 0 6px; font-size: 16.5px; }
.cards p { margin: 0; font-size: 13.5px; line-height: 1.6; color: var(--ink-soft); }

.plain-list { margin: 0; padding: 0 0 0 20px; display: grid; gap: 8px; color: #4b4338; }
.plain-list strong { color: var(--ink); }

/* ── questions ───────────────────────────────────────── */

.faq details {
  padding: 14px 2px;
  border-top: 1px solid var(--line);
}
.faq details:first-of-type { border-top: 0; }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  cursor: pointer; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary h3 { margin: 0; font-size: 17px; }
.faq summary::after {
  content: "+"; flex: none;
  font-family: var(--serif); font-size: 20px; line-height: 1;
  color: var(--terra-deep); transition: transform .2s ease;
}
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 8px 0 2px; color: #4b4338; font-size: 14.5px; max-width: 74ch; }

/* ── closing ─────────────────────────────────────────── */

.closing {
  margin: 12px 0 60px; padding: 44px 30px;
  text-align: center;
  border-radius: 22px;
  background: linear-gradient(170deg, rgba(255, 255, 255, .8), rgba(247, 236, 219, .6));
  border: 1px solid rgba(255, 255, 255, .8);
  box-shadow: 0 26px 60px -40px rgba(74, 54, 32, .9);
}
.closing h2 { margin: 0 0 8px; font-size: clamp(24px, 3vw, 31px); }
.closing p { margin: 0 0 20px; color: var(--ink-soft); }

/* ── footer ──────────────────────────────────────────── */

.site-foot {
  display: flex; flex-wrap: wrap; gap: 22px; justify-content: space-between;
  padding: 26px 0 40px; border-top: 1px solid var(--line);
}
.foot-brand { max-width: 56ch; }
.foot-brand .brand-name { color: var(--ink); }
.foot-brand p { margin: 4px 0 0; font-size: 12px; color: var(--ink-soft); }
.foot-links { display: flex; flex-wrap: wrap; gap: 16px; font-size: 13px; align-items: flex-start; }

/* ── dark mode ───────────────────────────────────────── */

:root[data-theme="dark"] {
  color-scheme: dark;
  --paper:      #1b1916;
  --paper-deep: #23201a;
  --ink:        #f2eadc;
  --ink-soft:   #ab9f8f;
  --line:       rgba(242, 234, 220, .16);
  --terra:      #d68a67;
  --terra-deep: #e5a687;
  --sage:       #98a78a;
  --moss:       #c3ccb1;
  --brass:      #e3bd6d;
}

:root[data-theme="dark"] body {
  background:
    radial-gradient(1100px 700px at 18% -10%, #2a2620 0%, transparent 58%),
    radial-gradient(900px 600px at 95% 8%, #292219 0%, transparent 62%),
    linear-gradient(160deg, #191712 0%, #1e1b16 55%, #141210 100%);
}
:root[data-theme="dark"] .topbar {
  background:
    radial-gradient(700px 120px at 12% -40%, rgba(255, 255, 255, .06), transparent 70%),
    linear-gradient(to bottom, #2c3127, #232820);
  border-bottom-color: rgba(0, 0, 0, .5);
}
:root[data-theme="dark"] .hero .lede,
:root[data-theme="dark"] .two-col p,
:root[data-theme="dark"] .steps p,
:root[data-theme="dark"] .plain-list,
:root[data-theme="dark"] .faq details p { color: #c6bbaa; }
:root[data-theme="dark"] .plain-list strong { color: var(--ink); }
:root[data-theme="dark"] .hero-art img { border-color: rgba(255, 255, 255, .1); box-shadow: 0 30px 70px -28px #000; }
:root[data-theme="dark"] .shots img { border-color: rgba(255, 255, 255, .1); box-shadow: 0 30px 70px -28px #000; }
:root[data-theme="dark"] .cards li {
  background: rgba(255, 255, 255, .045);
  border-color: rgba(255, 255, 255, .08);
  box-shadow: 0 18px 34px -26px #000;
}
:root[data-theme="dark"] .cards p { color: #bcb1a0; }
:root[data-theme="dark"] .aside-note { background: rgba(255, 255, 255, .04); }
:root[data-theme="dark"] .btn.primary {
  background: linear-gradient(180deg, #bb755a, #8f5238);
  color: #fff6ea;
  box-shadow: 0 12px 24px -14px rgba(0, 0, 0, .9), inset 0 1px 0 rgba(255, 255, 255, .14);
}
:root[data-theme="dark"] .btn.ghost { color: var(--ink); background: rgba(255, 255, 255, .07); }
:root[data-theme="dark"] .btn.ghost:hover { background: rgba(255, 255, 255, .13); }
:root[data-theme="dark"] .closing {
  background: linear-gradient(170deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .03));
  border-color: rgba(255, 255, 255, .1);
  box-shadow: 0 26px 60px -34px #000;
}
:root[data-theme="dark"] .step-num { color: #211d17; background: var(--sage); }
:root[data-theme="dark"] .foot-brand .brand-name { color: var(--ink); }
:root[data-theme="dark"] a { color: var(--terra-deep); }

/* the moon / sun switch */
.theme-btn { padding: 7px 10px; margin-left: 6px; }
.theme-btn svg { display: block; }
.theme-btn .theme-icon { display: block; }
.theme-btn .theme-icon-sun { display: none; }
:root[data-theme="dark"] .theme-btn .theme-icon { display: none; }
:root[data-theme="dark"] .theme-btn .theme-icon-sun { display: block; }

/* ── narrow screens ──────────────────────────────────── */

@media (max-width: 860px) {
  :root { --edge: 16px; }
  .topbar-mid { display: none; }
  .brand { margin-right: auto; }
  .hero { grid-template-columns: 1fr; gap: 28px; padding: 40px 0 34px; }
  .hero h1 { font-size: clamp(31px, 8vw, 40px); }
  .hero .lede { font-size: 15.5px; }
  .two-col { grid-template-columns: 1fr; gap: 16px; }
  .cards { grid-template-columns: 1fr 1fr; }
  .band { padding: 34px 0; }
  .closing { margin-bottom: 40px; padding: 34px 20px; }
}

@media (max-width: 700px) {
  .shots { grid-template-columns: minmax(0, 1fr); }
  .shots .phone { width: 200px; }
}

@media (max-width: 560px) {
  .cards { grid-template-columns: 1fr; }
  .brand-sub { display: none; }
  .btn { flex: 1 1 auto; }
  .site-foot { flex-direction: column; gap: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
