/* Room AI, roomaidecor.com
   One stylesheet, no framework. The tokens mirror the iOS app's design
   system (ink on warm off-white, generous radii, pill buttons) with a
   warmer, editorial palette for the web. */

:root {
  --bg: #F7F3EC;
  --bg-2: #EFE9DF;
  --stone: #E4DBCC;
  --line: #E3DBCF;
  --ink: #1B1815;
  --ink-2: #5A544B;
  --ink-3: #8A8377;
  --on-ink: #FFFFFF;
  --clay: #A9683E;
  --white: #FFFFFF;

  --font-display: 'Fraunces', 'Iowan Old Style', 'Palatino', Georgia, serif;
  --font-body: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  --radius-sm: 12px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --radius-xl: 28px;
  --pill: 999px;

  --gutter: clamp(20px, 5vw, 48px);
  --measure: 62ch;
  --max: 1200px;

  --ease: cubic-bezier(.2, .7, .2, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

img, picture, video { display: block; max-width: 100%; height: auto; }
img { color: transparent; }

a { color: inherit; text-decoration: none; }
a:hover { text-decoration: none; }
.prose a, .lede a, .answer a { text-decoration: underline; text-underline-offset: .16em; text-decoration-color: var(--ink-3); }
.prose a:hover, .lede a:hover, .answer a:hover { text-decoration-color: var(--ink); }

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip-link {
  position: absolute; left: 12px; top: -60px;
  padding: 10px 14px; background: var(--ink); color: var(--on-ink);
  border-radius: var(--radius-sm); z-index: 100;
}
.skip-link:focus { top: 12px; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- Type ---------- */

h1, h2, h3, h4 { margin: 0; font-weight: 400; letter-spacing: -0.01em; }
.display, h1 {
  font-family: var(--font-display);
  font-weight: 300;
  font-variation-settings: 'opsz' 144, 'SOFT' 30;
  line-height: 1.02;
  letter-spacing: -0.025em;
  font-size: clamp(2.6rem, 2rem + 3.2vw, 5rem);
  text-wrap: balance;
}
h2 {
  font-family: var(--font-display);
  font-weight: 300;
  font-variation-settings: 'opsz' 96;
  line-height: 1.06;
  letter-spacing: -0.02em;
  font-size: clamp(1.9rem, 1.4rem + 2vw, 3.2rem);
  text-wrap: balance;
}
h3 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.125rem;
  line-height: 1.3;
  letter-spacing: -0.005em;
}
p { margin: 0; }
.lede {
  font-size: clamp(1.05rem, 1rem + .35vw, 1.25rem);
  line-height: 1.5;
  color: var(--ink-2);
  max-width: 34em;
  text-wrap: pretty;
}
.muted { color: var(--ink-2); }
.eyebrow {
  display: inline-block;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 14px;
}

/* ---------- Layout ---------- */

.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
.section { padding-block: clamp(56px, 9vw, 120px); }
.section + .section { padding-top: 0; }
.section-head { max-width: 40em; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head .lede { margin-top: 14px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .lede { margin-inline: auto; }

.grid { display: grid; gap: clamp(16px, 2.5vw, 28px); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 900px) {
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: minmax(0, 1fr); }
  .grid-4.keep-2, .grid-3.keep-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px;
  border-radius: var(--pill);
  font-family: var(--font-body);
  font-weight: 600; font-size: 1.02rem; line-height: 1;
  white-space: nowrap;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .18s var(--ease), background-color .18s var(--ease), border-color .18s var(--ease), color .18s var(--ease);
}
.btn:active { transform: scale(.985); }
.btn-primary { background: var(--ink); color: var(--on-ink); }
.btn-primary:hover { background: #2B2621; }
.btn-secondary { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-secondary:hover { background: rgba(27, 24, 21, .06); }
.btn-light { background: var(--white); color: var(--ink); }
.btn-light:hover { background: #F3EEE6; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-store { padding-left: 20px; }
.btn-store .store-lines { display: flex; flex-direction: column; align-items: flex-start; gap: 1px; line-height: 1; }
.btn-store .store-lines small { font-size: .68rem; font-weight: 500; letter-spacing: .02em; opacity: .8; }
.btn-store .store-lines span { font-size: 1.05rem; }
.btn-store svg { width: 22px; height: 22px; }

.cta-row { display: flex; flex-wrap: wrap; gap: 12px 14px; align-items: center; }
.cta-note { font-size: .9rem; color: var(--ink-3); width: 100%; }

/* ---------- Header ---------- */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s var(--ease);
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.nav {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 68px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 1.08rem; letter-spacing: -0.01em; }
.brand img { width: 32px; height: 32px; border-radius: 9px; }
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links a:not(.btn) {
  display: inline-block; padding: 10px 14px; border-radius: var(--pill);
  font-weight: 500; font-size: .98rem; color: var(--ink-2);
  transition: color .15s var(--ease), background-color .15s var(--ease);
}
.nav-links a:not(.btn):hover { color: var(--ink); background: rgba(27, 24, 21, .05); }
.nav-cta { display: flex; align-items: center; gap: 8px; }
.nav .btn { min-height: 44px; padding-inline: 20px; font-size: .95rem; }
.nav-toggle {
  display: none; width: 44px; height: 44px; border-radius: var(--pill);
  border: 0; background: transparent; cursor: pointer; align-items: center; justify-content: center;
  color: var(--ink);
}
.nav-toggle svg { width: 22px; height: 22px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .nav-cta .btn { display: none; }
  .nav-links {
    display: none;
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 2px;
    padding: 8px var(--gutter) 20px;
    background: var(--bg); border-bottom: 1px solid var(--line);
  }
  .nav-links.is-open { display: flex; }
  .nav-links a:not(.btn) { padding: 14px 12px; font-size: 1.1rem; }
  .nav-links .nav-links-cta { margin-top: 10px; }
  .nav-links .nav-links-cta .btn { width: 100%; }
}
@media (min-width: 861px) { .nav-links-cta { display: none; } }

/* ---------- Hero ---------- */

.hero { padding-block: clamp(28px, 5vw, 72px) clamp(48px, 7vw, 96px); }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  grid-template-areas: "copy visual" "actions visual";
  grid-template-rows: auto 1fr;
  column-gap: clamp(28px, 5vw, 72px);
  align-items: start;
  align-content: center;
}
.hero-copy { grid-area: copy; align-self: end; }
.hero-actions { grid-area: actions; }
.hero-actions .lede { margin-top: 20px; }
.hero-actions .cta-row { margin-top: 32px; }
.hero-visual { grid-area: visual; position: relative; }
.hero-visual .compare { aspect-ratio: 4 / 5; }
.hero-caption {
  display: flex; justify-content: space-between; gap: 12px;
  margin-top: 12px; font-size: .88rem; color: var(--ink-3);
}
@media (min-width: 861px) {
  .hero-grid { min-height: min(72vh, 760px); }
  .hero-copy { align-self: center; padding-top: 24px; }
}
@media (max-width: 860px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "copy" "visual" "actions";
    grid-template-rows: auto;
    row-gap: 24px;
  }
  .hero-visual { max-width: 560px; }
  .hero-visual .compare { aspect-ratio: 4 / 5; max-height: 68vh; }
  .hero-actions .lede { margin-top: 0; }
  .hero-actions .cta-row { margin-top: 20px; }
}
@media (max-width: 560px) {
  .hero { padding-top: 12px; }
  .hero-actions .cta-row .btn { width: 100%; }
}

/* ---------- Before / after compare ---------- */

.compare {
  position: relative; overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--stone);
  aspect-ratio: 4 / 5;
  isolation: isolate;
  --pos: 50%;
}
.compare img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.compare .compare-before {
  clip-path: inset(0 calc(100% - var(--pos)) 0 0);
  /* Promote to its own layer so clipping does not repaint the photo. */
  transform: translateZ(0);
  backface-visibility: hidden;
}
.compare-handle { will-change: left; }
.compare-handle {
  position: absolute; top: 0; bottom: 0; left: var(--pos);
  width: 2px; margin-left: -1px; background: rgba(255, 255, 255, .95);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .12);
  pointer-events: none;
}
.compare-handle::after {
  content: ''; position: absolute; top: 50%; left: 50%;
  width: 44px; height: 44px; margin: -22px 0 0 -22px;
  border-radius: 50%; background: var(--white);
  box-shadow: 0 4px 16px rgba(0, 0, 0, .22);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='44' height='44' viewBox='0 0 44 44'><path d='M17 15l-7 7 7 7M27 15l7 7-7 7' fill='none' stroke='%231B1815' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/></svg>");
}
.compare-range {
  position: absolute; inset: 0; width: 100%; height: 100%; margin: 0;
  opacity: 0; cursor: ew-resize;
  touch-action: pan-y;
  -webkit-appearance: none; appearance: none;
  z-index: 2;
}
.compare-range::-webkit-slider-thumb { -webkit-appearance: none; width: 44px; height: 100%; }
.compare-range::-moz-range-thumb { width: 44px; height: 100%; border: 0; }
.compare:has(.compare-range:focus-visible) { outline: 2px solid var(--ink); outline-offset: 3px; }
.compare-label {
  position: absolute; bottom: 14px; z-index: 1;
  padding: 6px 11px; border-radius: var(--pill);
  font-size: .74rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  color: var(--white); background: rgba(20, 18, 16, .55);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  pointer-events: none;
}
.compare-label.before { left: 14px; }
.compare-label.after { right: 14px; }
.compare.is-landscape { aspect-ratio: 3 / 2; }

.compare-card figcaption { margin-top: 14px; }
.compare-card figcaption strong { display: block; font-weight: 600; }
.compare-card figcaption span { display: block; color: var(--ink-2); font-size: .95rem; margin-top: 2px; }
figure { margin: 0; }

/* ---------- Steps: three panels, copy beside a piece of the product ---------- */

.step-cards { display: flex; flex-direction: column; }
.step-card {
  display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 5vw, 72px); align-items: center;
  background: var(--bg-2); color: var(--ink);
  border-radius: var(--radius-xl);
  padding: clamp(28px, 4.5vw, 64px);
}
.step-then { display: flex; justify-content: center; padding: 12px 0; color: var(--ink-3); font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.step-then span { display: inline-flex; align-items: center; gap: 8px; }
.step-then span::after { content: ''; width: 1px; height: 14px; background: var(--ink-3); }
.step-pill {
  display: inline-block; padding: 7px 12px; border-radius: var(--pill);
  border: 1px solid rgba(27, 24, 21, .22); color: var(--ink-2);
  font-size: .78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  margin-bottom: 20px;
}
.step-card h3 { font-family: var(--font-display); font-weight: 300; font-size: clamp(2.2rem, 1.6rem + 2.2vw, 3.6rem); line-height: 1; letter-spacing: -0.02em; }
.step-card p { margin-top: 16px; color: var(--ink-2); max-width: 30em; }
.step-points { list-style: none; margin: 22px 0 0; padding: 0; color: var(--ink-2); font-size: .97rem; }
.step-points li { position: relative; padding-left: 26px; }
.step-points li + li { margin-top: 10px; }
.step-points li strong { color: var(--ink); font-weight: 600; }
.step-points li::before {
  content: ''; position: absolute; left: 0; top: .2em; width: 16px; height: 16px; border-radius: 50%;
  background: var(--stone);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path d='M4.5 8.5l2.3 2.3L11.5 6' fill='none' stroke='%231B1815' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/></svg>");
}

/* The product panel: white, our radii, our pills, laid out for a wide screen. */
.ui-panel {
  background: var(--white); color: var(--ink);
  border-radius: var(--radius-lg); padding: 22px;
  border: 1px solid rgba(27, 24, 21, .06);
  box-shadow: 0 18px 50px rgba(27, 24, 21, .10);
  min-width: 0;
}
.ui-panel img { display: block; }
.u-head { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 16px; }
.u-head svg { flex: none; margin-top: 2px; }
.u-head b { display: block; font-weight: 600; font-size: 1.05rem; }
.u-head span { display: block; color: var(--ink-2); font-size: .9rem; margin-top: 2px; }
.u-drop { border: 1.5px dashed #C9C3B8; border-radius: var(--radius-md); padding: 14px; background: #FAF8F4; }
.u-file { display: flex; align-items: center; gap: 14px; min-width: 0; }
.u-file img { width: 64px; height: 64px; flex: none; object-fit: cover; border-radius: 10px; }
.u-file > div { min-width: 0; }
.u-file b { display: block; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.u-file span { display: block; color: var(--ink-2); font-size: .9rem; white-space: nowrap; }
.u-check { flex: none; }
.u-check { margin-left: auto; width: 22px; height: 22px; border-radius: 50%; background: var(--ink); background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'><path d='M6.5 11.5l3 3 6-6' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/></svg>"); }
.u-btn { display: inline-block; margin-top: 16px; background: var(--ink); color: #fff; border-radius: var(--pill); font-weight: 600; font-size: 1rem; padding: 14px 32px; }
.u-row { display: flex; align-items: baseline; justify-content: space-between; margin: 4px 0 10px; }
.u-row b { font-weight: 600; }
.u-row span { font-size: .85rem; color: var(--ink-2); }
.u-row + .u-tiles { margin-bottom: 18px; }
.u-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.u-tile { position: relative; border-radius: 14px; overflow: hidden; aspect-ratio: 1; background: var(--stone); }
.u-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease); }
.u-tile span { position: absolute; left: 8px; right: 8px; bottom: 8px; font-size: .78rem; font-weight: 600; color: #fff; background: rgba(20, 18, 16, .42); padding: 4px 8px; border-radius: 999px; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.u-tile.is-on { box-shadow: inset 0 0 0 2.5px #fff, inset 0 0 0 4px rgba(27, 24, 21, .18); }
.u-tile.is-on img { transform: scale(1.04); }
.u-tile.is-on span { background: #fff; color: var(--ink); }
.u-tile.is-on::after { content: ''; position: absolute; top: 8px; right: 8px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 2px 8px rgba(0, 0, 0, .18); background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'><path d='M6.5 11.5l3 3 6-6' fill='none' stroke='%231B1815' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/></svg>"); }
.u-result-panel { padding: 12px; }
.u-result { position: relative; border-radius: 14px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--stone); }
.u-result img { width: 100%; height: 100%; object-fit: cover; }
.u-tags { position: absolute; top: 12px; right: 12px; display: flex; flex-direction: column; gap: 6px; align-items: flex-end; }
.u-tags span { font-size: .76rem; color: rgba(255, 255, 255, .85); background: rgba(20, 18, 16, .6); padding: 6px 10px; border-radius: 999px; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.u-tags b { color: #fff; font-weight: 600; }
.u-chip { position: absolute; bottom: 12px; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #fff; background: rgba(20, 18, 16, .55); padding: 6px 10px; border-radius: 999px; }
.u-chip-l { left: 12px; } .u-chip-r { right: 12px; }
.u-actions { display: flex; gap: 8px; padding: 12px 4px 4px; overflow: hidden; }
.u-act { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 5px; padding: 10px 6px; border-radius: 12px; background: #F4F1EC; color: var(--ink); min-width: 0; }
.u-act small { font-size: .72rem; font-weight: 600; white-space: nowrap; }
.u-act.is-on { background: var(--ink); color: #fff; }

@media (max-width: 900px) {
  .step-card { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .ui-panel { order: 2; }
}
@media (max-width: 560px) {
  .ui-panel { padding: 16px; }
  .u-tiles { gap: 8px; }
  /* Labels under the tiles on a phone, where a pill would truncate. */
  .u-tile { aspect-ratio: auto; overflow: visible; border-radius: 0; background: none; }
  .u-tile img { width: 100%; height: auto; aspect-ratio: 1; border-radius: 12px; }
  .u-tile span { position: static; display: block; margin-top: 6px; background: none; color: var(--ink); padding: 0; font-size: .68rem; line-height: 1.2; text-align: center; white-space: normal; overflow: visible; }
  .u-row { margin-top: 14px; }
  .u-row:first-child { margin-top: 0; }
  .u-tile.is-on { box-shadow: none; }
  .u-tile.is-on img { transform: none; box-shadow: inset 0 0 0 2.5px #fff; outline: 1.5px solid rgba(27, 24, 21, .25); outline-offset: 0; }
  .u-tile.is-on span { background: none; color: var(--ink); font-weight: 700; }
  .u-tile.is-on::after { top: 6px; right: 6px; width: 18px; height: 18px; }
  .u-actions { flex-wrap: wrap; }
  .u-act { flex: 1 1 30%; }
}

/* ---------- Styles grid ---------- */

.tile { position: relative; border-radius: var(--radius-md); overflow: hidden; background: var(--stone); aspect-ratio: 1; display: block; }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.tile:hover img { transform: scale(1.03); }
@media (prefers-reduced-motion: reduce) { .tile img { transition: none; } .tile:hover img { transform: none; } }
.tile-name {
  position: absolute; left: 12px; bottom: 12px;
  padding: 7px 12px; border-radius: var(--pill);
  background: rgba(255, 255, 255, .92); color: var(--ink);
  font-size: .85rem; font-weight: 600;
}
.tile-name { max-width: calc(100% - 24px); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tile-name.dark { background: rgba(20, 18, 16, .6); color: var(--white); }

/* ---------- Features ---------- */

.feature { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(20px, 4vw, 56px); align-items: center; }
.feature + .feature { margin-top: clamp(40px, 6vw, 88px); }
.feature:nth-child(even) .feature-media { order: 2; }
.feature-media { border-radius: var(--radius-lg); overflow: hidden; background: var(--stone); aspect-ratio: 1.9 / 1; }
.feature-media img { width: 100%; height: 100%; object-fit: cover; }
.feature h3 { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.1rem); line-height: 1.12; letter-spacing: -0.015em; }
.feature p { margin-top: 12px; color: var(--ink-2); max-width: 30em; }
@media (max-width: 760px) {
  .feature { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .feature:nth-child(even) .feature-media { order: 0; }
  .feature + .feature { margin-top: 40px; }
}

/* ---------- Bands ---------- */

.band {
  background: var(--bg-2);
  border-radius: var(--radius-xl);
  padding: clamp(32px, 6vw, 72px);
}
.band.ink { background: var(--ink); color: var(--on-ink); }
.band.ink .lede, .band.ink .muted { color: rgba(255, 255, 255, .72); }
.band.ink .eyebrow { color: rgba(255, 255, 255, .55); }
.app-cta { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: clamp(20px, 4vw, 48px); align-items: center; }
.app-cta .app-icon { width: clamp(72px, 10vw, 112px); height: auto; border-radius: 22%; box-shadow: 0 10px 30px rgba(0, 0, 0, .25); }
@media (max-width: 760px) {
  .app-cta { grid-template-columns: minmax(0, 1fr); text-align: center; justify-items: center; }
}

/* ---------- FAQ ---------- */

.faq { max-width: 760px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 4px; font-weight: 600; font-size: 1.05rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ''; flex: none; width: 12px; height: 12px;
  border-right: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink);
  transform: rotate(45deg); margin-right: 6px; transition: transform .2s var(--ease);
}
.faq details[open] summary::after { transform: rotate(225deg); margin-top: 6px; }
.faq .answer { padding: 0 4px 22px; color: var(--ink-2); max-width: 62ch; }
.faq .answer p + p { margin-top: 10px; }

/* ---------- Cards / links ---------- */

.card-link {
  display: block; border-radius: var(--radius-lg); overflow: hidden; background: var(--white);
  border: 1px solid var(--line);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.card-link:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(27, 24, 21, .08); }
.card-link .card-media { aspect-ratio: 3 / 2; background: var(--stone); }
.card-link .card-media img { width: 100%; height: 100%; object-fit: cover; }
.card-link .card-body { padding: 18px 20px 22px; }
.card-link .card-body h3 { font-size: 1.1rem; }
.card-link .card-body p { margin-top: 6px; color: var(--ink-2); font-size: .97rem; }
.card-link .card-body .more { display: inline-block; margin-top: 12px; font-weight: 600; font-size: .95rem; }

/* ---------- Prose (supporting pages) ---------- */

.prose { max-width: var(--measure); }
.prose h2 { margin-top: clamp(40px, 6vw, 64px); }
.prose h3 { margin-top: 28px; }
.prose p, .prose ul, .prose ol { margin-top: 14px; color: var(--ink-2); }
.prose p:first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li + li { margin-top: 6px; }
.prose strong { color: var(--ink); font-weight: 600; }
.page-hero { padding-block: clamp(28px, 5vw, 64px) clamp(32px, 5vw, 56px); }
.page-hero .lede { margin-top: 18px; }
.page-hero + .section { padding-top: clamp(16px, 3vw, 40px); }
.page-hero-media { margin-top: clamp(24px, 4vw, 40px); border-radius: var(--radius-xl); overflow: hidden; background: var(--stone); aspect-ratio: 16 / 9; }
.page-hero-media img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 560px) { .page-hero-media { aspect-ratio: 4 / 3; } }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0 0 18px; padding: 0; font-size: .9rem; color: var(--ink-3); }
.breadcrumb li + li::before { content: '/'; margin-right: 6px; color: var(--line); }
.breadcrumb a { color: var(--ink-2); }

.style-entry { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 24px; align-items: start; padding: 24px 0; border-top: 1px solid var(--line); }
.style-entry:last-child { border-bottom: 1px solid var(--line); }
.style-entry .tile { aspect-ratio: 1; }
.style-entry p { margin-top: 6px; color: var(--ink-2); }
.style-entry p a { text-decoration: underline; text-underline-offset: .16em; font-weight: 500; color: var(--ink); }
@media (max-width: 560px) { .style-entry { grid-template-columns: 96px minmax(0, 1fr); gap: 16px; } }

/* ---------- Footer ---------- */

.site-footer { border-top: 1px solid var(--line); padding: clamp(40px, 6vw, 72px) 0 30px; color: var(--ink-2); font-size: .95rem; }
.footer-main { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(420px, .75fr); gap: clamp(40px, 8vw, 128px); align-items: start; }
.footer-brand p { max-width: 29ch; margin: 12px 0 0; font-family: var(--font-display); font-size: clamp(1.2rem, 2vw, 1.45rem); line-height: 1.3; color: var(--ink); }
.footer-download { display: inline-flex; gap: 8px; align-items: center; margin-top: 22px; padding-bottom: 3px; border-bottom: 1px solid var(--ink); color: var(--ink); font-weight: 600; }
.footer-download span { transition: transform .2s var(--ease); }
.footer-download:hover span { transform: translate(2px, -2px); }
.footer-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
.footer-links h4 { margin: 3px 0 15px; font-size: .72rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; color: var(--ink-3); }
.footer-links ul { list-style: none; margin: 0; padding: 0; }
.footer-links li + li { margin-top: 9px; }
.footer-links a { transition: color .2s var(--ease); }
.footer-links a:hover { color: var(--ink); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px; margin-top: clamp(40px, 6vw, 64px); padding-top: 20px; border-top: 1px solid var(--line); font-size: .82rem; color: var(--ink-3); }
.footer-legal { display: flex; gap: 18px; }
.footer-legal a:hover { color: var(--ink); }
@media (max-width: 760px) { .footer-main { grid-template-columns: 1fr; gap: 38px; } .footer-nav { max-width: 420px; } }
@media (max-width: 420px) { .footer-nav { grid-template-columns: 1fr; gap: 28px; } .footer-bottom { align-items: flex-start; flex-direction: column; } }

/* ---------- Reveal ---------- */

.reveal { opacity: 0; transform: translateY(14px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Small screens ---------- */

@media (max-width: 400px) {
  body { font-size: 16px; }
  .btn { padding-inline: 20px; }
}
