/* Roomaru website. Pine green and coral from the app and the film; Plus Jakarta Sans is the app's typeface. */
:root {
  --pine-950: #0a1f17;
  --pine-900: #0f2c21;
  --pine-800: #143a2c;
  --pine-700: #1d5c45; /* the app's primary */
  --pine-500: #3fa67c;
  --pine-100: #e6efe9;
  --coral: #ff5a3c;
  --coral-soft: #ffece7;
  --ink: #141413;
  --ink-2: #4a4a47;
  --ink-3: #8a8a85;
  --paper: #fbfaf7;
  --mist: #f1efe9;
  --line: rgba(20, 20, 19, 0.09);
  --white: #fff;
  --sans: 'Plus Jakarta Sans', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --serif: 'Instrument Serif', ui-serif, Georgia, serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --gutter: clamp(16px, 4vw, 48px);
  --max: 1200px;
}

*,
*::before,
*::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.55 var(--sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--coral); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; text-decoration: none; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- type ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--pine-700);
}
.eyebrow::before { content: ''; width: 18px; height: 2px; background: currentColor; border-radius: 2px; }
.on-dark .eyebrow { color: var(--pine-500); }
.display {
  margin: 0; font-weight: 800; letter-spacing: -0.045em; line-height: 0.98;
  font-size: clamp(44px, 7.2vw, 104px); text-wrap: balance;
}
.h1 { text-wrap: balance; margin: 0; font-weight: 800; letter-spacing: -0.04em; line-height: 1.02; font-size: clamp(38px, 5.6vw, 76px); }
.h2 { text-wrap: balance; margin: 0; font-weight: 800; letter-spacing: -0.035em; line-height: 1.06; font-size: clamp(30px, 3.6vw, 48px); }
.h3 { margin: 0; font-weight: 700; letter-spacing: -0.02em; line-height: 1.2; font-size: clamp(21px, 1.8vw, 26px); }
.lede { margin: 0; font-size: clamp(18px, 1.6vw, 22px); line-height: 1.5; color: var(--ink-2); max-width: 34em; }
.on-dark .lede { color: rgba(255, 255, 255, 0.72); }
.hl { color: var(--coral); }
.dot { color: var(--coral); }
.serif { font-family: var(--serif); font-weight: 400; font-style: italic; letter-spacing: -0.01em; }
.muted { color: var(--ink-3); }

/* ---------- buttons ---------- */
.btn {
  --h: 52px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--h); padding: 0 26px; border-radius: 999px; border: 0;
  font-weight: 700; font-size: 16px; letter-spacing: -0.01em; text-decoration: none; cursor: pointer;
  transition: transform 0.4s var(--ease), background-color 0.25s, box-shadow 0.4s var(--ease), opacity 0.2s;
  white-space: nowrap;
}
.btn:active { transform: scale(0.97); }
.btn-coral { background: var(--coral); color: #fff; box-shadow: 0 10px 30px -10px rgba(255, 90, 60, 0.7); }
.btn-coral:hover { background: #ff6b4f; box-shadow: 0 14px 34px -10px rgba(255, 90, 60, 0.8); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: #2a2a28; }
.btn-pine { background: var(--pine-700); color: #fff; }
.btn-pine:hover { background: #226b51; }
.btn-ghost { background: transparent; color: inherit; padding: 0 6px; }
.btn-ghost:hover .arrow { transform: translateX(4px); }
.btn-line { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.btn-line:hover { box-shadow: inset 0 0 0 1px rgba(20, 20, 19, 0.25); }
.btn-sm { --h: 38px; padding: 0 16px; font-size: 14px; }
.arrow { transition: transform 0.35s var(--ease); }
.play {
  width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  box-shadow: inset 0 0 0 1.5px currentColor;
}

/* ---------- header ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50; height: 64px;
  transition: background-color 0.4s, box-shadow 0.4s, color 0.4s;
  color: #fff;
}
.nav.solid, .nav.light {
  background: rgba(251, 250, 247, 0.78);
  -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
  box-shadow: 0 1px 0 var(--line); color: var(--ink);
}
.nav .wrap { height: 100%; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-size: 20px; letter-spacing: -0.03em; }
.brand img { width: 30px; height: 31px; }
.nav-links { display: flex; gap: 28px; margin: 0 auto; padding: 0; list-style: none; font-size: 14px; font-weight: 600; }
.nav-links a { text-decoration: none; opacity: 0.78; transition: opacity 0.2s; }
.nav-links a:hover { opacity: 1; }
.nav-cta { display: flex; align-items: center; gap: 8px; }
.nav-cta .signin { font-size: 14px; font-weight: 600; text-decoration: none; padding: 8px 12px; opacity: 0.85; }
.nav:not(.solid):not(.light) .btn-ink { background: #fff; color: var(--ink); }
@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav .wrap { justify-content: space-between; }
}
@media (max-width: 420px) { .nav-cta .signin { display: none; } }

/* ---------- phone frame ---------- */
.phone {
  --w: 300px;
  position: relative; width: var(--w); aspect-ratio: 390 / 870; flex: none;
  border-radius: calc(var(--w) * 0.16); padding: calc(var(--w) * 0.032);
  background: linear-gradient(145deg, #2b2b2b, #0c0c0c 40%, #1b1b1b);
  box-shadow:
    inset 0 0 0 1.5px rgba(255, 255, 255, 0.14),
    0 1px 1px rgba(0, 0, 0, 0.08),
    0 40px 80px -30px rgba(10, 31, 23, 0.55),
    0 24px 40px -24px rgba(0, 0, 0, 0.4);
}
.phone .screen {
  position: relative; width: 100%; height: 100%; overflow: hidden; background: #fff;
  border-radius: calc(var(--w) * 0.13);
  display: flex; flex-direction: column;
}
.phone .status {
  flex: none; height: 6.2%; display: flex; align-items: center; justify-content: space-between;
  padding: 2% 9% 0; font-size: calc(var(--w) * 0.044); font-weight: 700; letter-spacing: -0.01em; color: #111;
  position: relative;
}
.phone .status::after { /* the island */
  content: ''; position: absolute; left: 50%; top: 22%; transform: translateX(-50%);
  width: 31%; height: 58%; border-radius: 99px; background: #000;
}
.phone .status i { display: inline-flex; gap: 4px; align-items: center; font-style: normal; }
.phone .status i::before { content: ''; width: calc(var(--w) * 0.05); height: calc(var(--w) * 0.025); border-radius: 3px; box-shadow: inset 0 0 0 1.4px currentColor; }
.phone.dark .screen { background: #0f0f0f; }
.phone.dark .status { color: #fff; }
.phone.photo .status { color: #fff; position: absolute; inset: 0 0 auto; z-index: 2; height: 6.2%; }
.phone .screen img { width: 100%; flex: 1; min-height: 0; object-fit: cover; object-position: top; }
.phone .layer { position: absolute; inset: 6.2% 0 0; opacity: 0; transition: opacity 0.7s var(--ease), transform 0.9s var(--ease); transform: scale(1.015); }
.phone .layer.on { opacity: 1; transform: none; }
.phone .layer img { height: 100%; }
.phone .btns::before, .phone .btns::after { content: ''; position: absolute; width: 3px; border-radius: 2px; background: #1a1a1a; }
.phone .btns::before { left: -2px; top: 22%; height: 7%; }
.phone .btns::after { right: -2px; top: 28%; height: 12%; }

/* ---------- reveal ---------- */
.rv { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); }
.rv.in { opacity: 1; transform: none; }
.rv.d1 { transition-delay: 0.08s; } .rv.d2 { transition-delay: 0.16s; } .rv.d3 { transition-delay: 0.24s; }

/* ---------- hero ---------- */
.hero {
  position: relative; min-height: 100svh; color: #fff; isolation: isolate; overflow: hidden;
  background: var(--pine-950);
  display: flex; flex-direction: column;
}
.hero-bg { position: absolute; inset: 0; z-index: -1; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 70%; transform: scale(var(--hs, 1.08)); opacity: 0.55; filter: saturate(0.9) blur(1.5px); }
.hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 31, 23, 0.55) 0%, rgba(10, 31, 23, 0.2) 35%, rgba(10, 31, 23, 0.85) 75%, var(--pine-950) 100%);
}
.hero-copy { padding-top: clamp(120px, 18vh, 190px); text-align: center; display: grid; justify-items: center; gap: 26px; }
.hero-copy .display { max-width: 11.5em; }
.hero-copy .lede { color: rgba(255, 255, 255, 0.78); max-width: 30em; }
.pill {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 8px; border-radius: 99px;
  background: rgba(255, 255, 255, 0.1); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  font-size: 13px; font-weight: 600; letter-spacing: 0.01em;
}
.pill b { background: var(--coral); color: #fff; border-radius: 99px; padding: 3px 9px; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px 22px; justify-content: center; align-items: center; }
.hero-stage {
  position: relative; margin-top: clamp(48px, 8vh, 90px); height: clamp(420px, 62vw, 700px);
  display: flex; justify-content: center; align-items: flex-start;
}
.hero-stage .phone { position: absolute; top: 0; will-change: transform; }
.hero-stage .p-main { --w: clamp(250px, 26vw, 330px); z-index: 3; transform: translateY(calc(var(--hp, 0) * -40px)); }
.hero-stage .p-left, .hero-stage .p-right { --w: clamp(210px, 22vw, 280px); z-index: 2; top: 9%; }
.hero-stage .p-left { transform: translateX(calc(-62% - var(--hp, 0) * 70px)) rotate(calc(-6deg - var(--hp, 0) * 3deg)); right: 50%; }
.hero-stage .p-right { transform: translateX(calc(62% + var(--hp, 0) * 70px)) rotate(calc(6deg + var(--hp, 0) * 3deg)); left: 50%; }
.hero-stage .p-left { margin-right: calc(var(--w) * -0.5); }
.hero-stage .p-right { margin-left: calc(var(--w) * -0.5); }
.toast {
  position: absolute; z-index: 4; display: flex; align-items: center; gap: 10px;
  background: rgba(255, 255, 255, 0.96); color: var(--ink); border-radius: 16px; padding: 10px 16px 10px 10px;
  font-size: 14px; font-weight: 700; letter-spacing: -0.01em; box-shadow: 0 20px 40px -16px rgba(0, 0, 0, 0.45);
  animation: float 6s ease-in-out infinite;
}
.toast small { display: block; font-weight: 500; color: var(--ink-3); font-size: 12px; }
.toast .ic { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--coral-soft); color: var(--coral); flex: none; }
.toast .ic.g { background: var(--pine-100); color: var(--pine-700); }
.toast.t1 { top: 30%; left: calc(50% + clamp(140px, 15vw, 190px)); }
.toast.t2 { top: 58%; right: calc(50% + clamp(140px, 15vw, 190px)); animation-delay: -3s; }
@keyframes float { 50% { transform: translateY(-10px); } }
@media (max-width: 760px) {
  .hero-stage .p-left, .hero-stage .p-right { display: none; }
  .hero-stage { height: 520px; }
  .toast.t1 { left: auto; right: 8px; top: 24%; }
  .toast.t2 { right: auto; left: 8px; top: 62%; }
}

/* ---------- places marquee ---------- */
.places { background: var(--pine-950); color: rgba(255, 255, 255, 0.5); padding: 30px 0 34px; overflow: hidden; border-top: 1px solid rgba(255, 255, 255, 0.06); }
.places .track { display: flex; gap: 48px; width: max-content; animation: marquee 60s linear infinite; font-size: clamp(20px, 2.2vw, 28px); font-weight: 600; letter-spacing: -0.02em; white-space: nowrap; }
.places span::after { content: '·'; margin-left: 48px; color: var(--coral); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- statement (words light up as you scroll) ---------- */
.statement { padding: clamp(110px, 18vh, 200px) 0; }
.statement p {
  margin: 0; font-weight: 800; letter-spacing: -0.035em; line-height: 1.12;
  font-size: clamp(30px, 4.4vw, 62px); max-width: 17em;
}
.statement .w { color: rgba(20, 20, 19, 0.14); transition: color 0.35s; }
.statement .w.lit { color: var(--ink); }
.statement .w.lit.hl { color: var(--coral); }

/* ---------- section scaffolding ---------- */
.section { padding: clamp(90px, 14vh, 160px) 0; position: relative; }
.section-head { display: grid; gap: 22px; margin-bottom: clamp(48px, 8vh, 90px); max-width: 860px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; justify-items: center; }
.on-dark { background: var(--pine-950); color: #fff; }

/* ---------- renter story: sticky phone ---------- */
.story { display: grid; grid-template-columns: 1fr minmax(300px, 420px); gap: clamp(32px, 6vw, 110px); }
.story-steps { display: grid; }
.step { min-height: 78vh; display: flex; flex-direction: column; justify-content: center; gap: 18px; padding: 40px 0; opacity: 0.25; transition: opacity 0.6s var(--ease); }
.step.on { opacity: 1; }
.step .num { font-size: 14px; font-weight: 700; color: var(--coral); letter-spacing: 0.06em; font-variant-numeric: tabular-nums; }
.step .h2 { max-width: 12em; }
.step p { margin: 0; color: var(--ink-2); font-size: 19px; max-width: 28em; }
.step ul { margin: 6px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; color: var(--ink-2); font-size: 16px; }
.step li { display: flex; gap: 12px; align-items: baseline; }
.step li::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--pine-700); flex: none; transform: translateY(-2px); }
.step .phone { display: none; }
.story-phone { position: sticky; top: 0; height: 100vh; display: grid; place-items: center; }
.story-phone .phone { --w: min(340px, 26vw); }
.progress { position: absolute; right: -28px; top: 50%; transform: translateY(-50%); display: grid; gap: 10px; }
.progress i { width: 4px; height: 22px; border-radius: 4px; background: var(--line); transition: background 0.4s, height 0.4s var(--ease); }
.progress i.on { background: var(--coral); height: 40px; }
@media (max-width: 900px) {
  .story { grid-template-columns: 1fr; }
  .story-phone { display: none; }
  .step { min-height: 0; opacity: 1; padding: 0 0 90px; align-items: flex-start; }
  .step .phone { display: block; --w: min(300px, 78vw); margin: 26px auto 0; align-self: center; }
}

/* ---------- trust ---------- */
.trust { overflow: hidden; }
.trust-glow { position: absolute; inset: auto -20% -40% -20%; height: 80%; background: radial-gradient(closest-side, rgba(63, 166, 124, 0.22), transparent 70%); pointer-events: none; }
.trust-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 3vw, 40px); align-items: start; }
.trust-card { display: grid; gap: 22px; justify-items: center; text-align: center; }
.trust-card:nth-child(2) { margin-top: clamp(0px, 6vw, 80px); }
.trust-card .phone { --w: min(290px, 100%); }
.trust-card h3 { margin: 0; font-size: 20px; letter-spacing: -0.02em; }
.trust-card p { margin: 6px 0 0; color: rgba(255, 255, 255, 0.64); font-size: 16px; max-width: 22em; }
.promise {
  margin-top: clamp(70px, 10vh, 120px); display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.promise div { padding: 30px 28px 0 0; }
.promise div + div { padding-left: 28px; border-left: 1px solid rgba(255, 255, 255, 0.12); }
.promise b { display: block; font-size: 17px; margin-bottom: 6px; letter-spacing: -0.01em; }
.promise span { color: rgba(255, 255, 255, 0.6); font-size: 15px; }
@media (max-width: 860px) {
  .trust-row { grid-template-columns: 1fr; gap: 64px; }
  .trust-card:nth-child(2) { margin-top: 0; }
  .promise { grid-template-columns: 1fr; }
  .promise div, .promise div + div { padding: 24px 0; border-left: 0; border-bottom: 1px solid rgba(255, 255, 255, 0.12); }
}

/* ---------- bills bento ---------- */
.bento { display: grid; grid-template-columns: 1.15fr 1fr 1fr; grid-auto-rows: minmax(0, auto); gap: 18px; }
.tile {
  position: relative; border-radius: 30px; background: var(--white); overflow: hidden; padding: 34px;
  box-shadow: 0 1px 0 var(--line), 0 30px 60px -40px rgba(20, 20, 19, 0.25);
  display: flex; flex-direction: column; gap: 10px;
}
.tile h3 { margin: 0; font-size: 22px; letter-spacing: -0.025em; line-height: 1.2; }
.tile p { margin: 0; color: var(--ink-2); font-size: 16px; }
.tile .crop { margin: 18px -34px -34px; flex: 1; min-height: 240px; overflow: hidden; display: flex; align-items: flex-start; justify-content: center; }
.tile .crop img { width: 86%; border-radius: 18px 18px 0 0; box-shadow: 0 0 0 1px var(--line), 0 20px 40px -20px rgba(0, 0, 0, 0.2); }
.tile.big { grid-row: span 2; background: var(--pine-900); color: #fff; }
.tile.big p { color: rgba(255, 255, 255, 0.7); }
.tile.big .phone { --w: min(300px, 80%); margin: auto auto -140px; transform: translateY(26px); }
.tile.mist { background: var(--mist); box-shadow: none; }
.tile .stat { font-size: clamp(44px, 4.6vw, 64px); font-weight: 800; letter-spacing: -0.05em; line-height: 1; }
.tile .stat small { font-size: 0.4em; letter-spacing: -0.02em; color: var(--ink-3); margin-left: 6px; }
.tile.wide { grid-column: span 2; flex-direction: row; align-items: center; gap: 34px; }
.tile.wide > div:first-child { flex: 1; display: grid; gap: 10px; }
.modes { display: flex; gap: 14px; align-items: flex-end; }
.modes .phone { --w: 150px; transition: transform 0.6s var(--ease); }
.modes .phone:last-child { transform: translateY(18px); }
.switch { display: inline-flex; gap: 4px; padding: 4px; border-radius: 99px; background: var(--mist); width: max-content; margin-top: 8px; }
.switch button { border: 0; background: transparent; border-radius: 99px; padding: 8px 16px; font-size: 14px; font-weight: 700; cursor: pointer; color: var(--ink-2); transition: background 0.3s, color 0.3s; }
.switch button[aria-pressed='true'] { background: #fff; color: var(--ink); box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08); }
.tile.wide.is-dark { background: #121212; color: #fff; }
.tile.wide.is-dark p { color: rgba(255, 255, 255, 0.65); }
.tile.wide.is-dark .switch { background: #262626; }
.tile.wide.is-dark .switch button { color: rgba(255, 255, 255, 0.6); }
.tile.wide.is-dark .switch button[aria-pressed='true'] { background: #3a3a3a; color: #fff; }
.tile, .tile p, .tile h3 { transition: background-color 0.5s var(--ease), color 0.5s var(--ease); }
@media (max-width: 980px) {
  .bento { grid-template-columns: 1fr 1fr; }
  .tile.big { grid-column: span 2; grid-row: auto; }
  .tile.big .phone { margin-bottom: -160px; }
}
@media (max-width: 640px) {
  .bento { grid-template-columns: 1fr; }
  .tile.big, .tile.wide { grid-column: auto; }
  .tile.wide { flex-direction: column; align-items: stretch; }
  .modes { justify-content: center; }
  .tile { padding: 28px; border-radius: 26px; }
  .tile .crop { margin: 18px -28px -28px; }
}

/* ---------- landlords: pinned horizontal gallery ---------- */
.hscroll { position: relative; }
.hscroll .pin { position: sticky; top: 0; height: 100vh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; gap: 44px; padding-top: 64px; }
.hscroll .rail { display: flex; gap: clamp(22px, 3vw, 44px); padding: 0 var(--gutter); will-change: transform; width: max-content; }
.slide { display: grid; gap: 18px; width: min(clamp(240px, 21vw, 300px), calc((100vh - 230px) * 0.448)); }
.slide .phone { --w: 100%; width: 100%; }
.slide figcaption b { display: block; font-size: 18px; letter-spacing: -0.02em; }
.slide figcaption span { color: var(--ink-2); font-size: 15px; }
.slide.lead { width: clamp(300px, 34vw, 460px); align-self: center; gap: 22px; }
.slide.lead .lede { font-size: 19px; }
.rail-hint, .ll-head { display: none; }
.ll-head { gap: 22px; }
@media (max-width: 860px), (prefers-reduced-motion: reduce) {
  .hscroll { height: auto !important; }
  .hscroll .pin { position: static; height: auto; padding: 90px 0; }
  .hscroll .rail { overflow-x: auto; width: auto; scroll-snap-type: x mandatory; transform: none !important; padding-bottom: 20px; scrollbar-width: none; }
  .hscroll .rail::-webkit-scrollbar { display: none; }
  .slide { scroll-snap-align: center; width: 72vw; max-width: 300px; flex: none; }
  .slide.lead { width: 84vw; max-width: 420px; }
  .rail-hint { display: block; text-align: center; color: var(--ink-3); font-size: 13px; }
  .ll-head { display: grid; }
  .slide.lead { display: none; }
  .hscroll .pin { gap: 36px; }
}

/* ---------- film ---------- */
.film { background: var(--pine-900); color: #fff; overflow: hidden; }
.film-grid { display: grid; grid-template-columns: 1fr auto; gap: clamp(40px, 7vw, 120px); align-items: center; }
.film-frame { position: relative; width: min(360px, 80vw); aspect-ratio: 9 / 16; border-radius: 34px; overflow: hidden; box-shadow: 0 50px 100px -40px rgba(0, 0, 0, 0.7), inset 0 0 0 1px rgba(255, 255, 255, 0.1); background: #000; }
.film-frame video { width: 100%; height: 100%; object-fit: cover; }
.film-frame button {
  position: absolute; right: 14px; bottom: 14px; width: 42px; height: 42px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(0, 0, 0, 0.45); color: #fff; display: grid; place-items: center; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.film-lines { display: grid; gap: 4px; margin: 34px 0 0; padding: 0; list-style: none; }
.film-lines li { font-size: clamp(22px, 2.6vw, 34px); font-weight: 800; letter-spacing: -0.035em; line-height: 1.15; color: rgba(255, 255, 255, 0.3); transition: color 0.5s; }
.film-lines li.on { color: #fff; }
.film-lines li.on em { color: var(--coral); }
.film-lines em { font-style: normal; transition: color 0.5s; }
@media (max-width: 860px) {
  .film-grid { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .film-grid .section-head { justify-items: center; }
  .film-lines { justify-items: center; }
}

/* ---------- Baguio + mascot ---------- */
.home-town { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(30px, 6vw, 90px); align-items: center; }
.home-town .mascot { width: 100%; max-width: 480px; justify-self: center; filter: drop-shadow(0 40px 40px rgba(10, 31, 23, 0.12)); }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 34px; margin-top: 40px; }
.facts b { display: block; font-size: 17px; letter-spacing: -0.015em; margin-bottom: 4px; }
.facts span { color: var(--ink-2); font-size: 15px; }
@media (max-width: 860px) {
  .home-town { grid-template-columns: 1fr; }
  .home-town .mascot { max-width: 320px; order: -1; }
}
@media (max-width: 480px) { .facts { grid-template-columns: 1fr; } }

/* ---------- closing CTA ---------- */
.closing { position: relative; color: #fff; text-align: center; overflow: hidden; isolation: isolate; padding: clamp(130px, 22vh, 220px) 0; }
.closing .hero-bg img { opacity: 0.7; object-position: 50% 40%; transform: none; }
.closing .hero-bg::after { background: linear-gradient(180deg, rgba(10, 31, 23, 0.82), rgba(10, 31, 23, 0.4) 50%, rgba(10, 31, 23, 0.9)); }
.closing .inner { display: grid; justify-items: center; gap: 28px; }
.stores { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.store {
  display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 18px 0 14px; border-radius: 14px;
  background: rgba(0, 0, 0, 0.55); color: #fff; text-decoration: none; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); font-size: 17px; font-weight: 700; letter-spacing: -0.01em; line-height: 1.1;
}
.store small { display: block; font-size: 11px; font-weight: 500; opacity: 0.75; letter-spacing: 0; }
.store[aria-disabled='true'] { cursor: default; opacity: 0.85; }
.store svg { flex: none; }

/* ---------- footer ---------- */
.footer { background: var(--paper); padding: 70px 0 40px; font-size: 14px; color: var(--ink-2); }
.footer-top { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 34px; padding-bottom: 50px; border-bottom: 1px solid var(--line); }
.footer h4 { margin: 0 0 14px; font-size: 13px; color: var(--ink); letter-spacing: 0.02em; }
.footer ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--ink); }
.footer .brand { color: var(--ink); margin-bottom: 14px; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 26px; color: var(--ink-3); font-size: 13px; }
@media (max-width: 760px) { .footer-top { grid-template-columns: 1fr 1fr; } .footer-top > :first-child { grid-column: span 2; } }

/* ---------- account pages (register, auth, legal) ---------- */
.acct { min-height: 100svh; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.acct-art { position: relative; color: #fff; overflow: hidden; isolation: isolate; background: var(--pine-950); display: flex; flex-direction: column; justify-content: space-between; padding: 30px clamp(28px, 4vw, 56px) 0; }
.acct-art .hero-bg img { opacity: 0.6; transform: none; object-position: 50% 60%; }
.acct-art .hero-bg::after { background: linear-gradient(180deg, rgba(10, 31, 23, 0.7), rgba(10, 31, 23, 0.25) 45%, rgba(10, 31, 23, 0.95)); }
.acct-art .h1 { font-size: clamp(36px, 4vw, 60px); max-width: 9em; margin-top: 12vh; }
.acct-art .phone { --w: min(300px, 60%); margin: 40px auto -200px; }
.acct-form { display: flex; flex-direction: column; padding: 30px clamp(20px, 5vw, 80px) 40px; }
.acct-form .top { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 14px; }
.acct-form .top a.brand { display: none; }
.acct-form .body { flex: 1; display: flex; flex-direction: column; justify-content: center; width: 100%; max-width: 440px; margin: 0 auto; padding: 50px 0; gap: 28px; }
.acct-form h1 { margin: 0; font-size: clamp(32px, 3vw, 42px); letter-spacing: -0.04em; line-height: 1.05; font-weight: 800; }
.acct-form .sub { margin: 10px 0 0; color: var(--ink-2); }
.roles { display: grid; gap: 12px; border: 0; padding: 0; margin: 0; }
.roles legend { font-size: 14px; font-weight: 700; margin-bottom: 12px; padding: 0; }
.role { position: relative; display: flex; gap: 16px; align-items: center; padding: 18px; border-radius: 18px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); cursor: pointer; transition: box-shadow 0.25s, background 0.25s; }
.role:hover { box-shadow: inset 0 0 0 1px rgba(20, 20, 19, 0.25); }
.role input { position: absolute; opacity: 0; pointer-events: none; }
.role .ic { width: 46px; height: 46px; border-radius: 14px; background: var(--mist); display: grid; place-items: center; flex: none; color: var(--pine-700); transition: background 0.25s, color 0.25s; }
.role b { display: block; font-size: 16px; letter-spacing: -0.01em; }
.role span { font-size: 14px; color: var(--ink-2); }
.role .tick { margin-left: auto; width: 22px; height: 22px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px rgba(20, 20, 19, 0.2); flex: none; display: grid; place-items: center; transition: background 0.2s, box-shadow 0.2s; }
.role .tick svg { opacity: 0; transition: opacity 0.2s; }
.role:has(input:checked) { box-shadow: inset 0 0 0 2px var(--pine-700); background: #fcfefd; }
.role:has(input:checked) .ic { background: var(--pine-700); color: #fff; }
.role:has(input:checked) .tick { background: var(--pine-700); box-shadow: none; }
.role:has(input:checked) .tick svg { opacity: 1; }
.role:has(input:focus-visible) { outline: 2px solid var(--coral); outline-offset: 3px; }
.providers { display: grid; gap: 12px; }
.provider { width: 100%; height: 54px; border-radius: 14px; border: 0; display: flex; align-items: center; justify-content: center; gap: 12px; font-weight: 700; font-size: 16px; cursor: pointer; transition: transform 0.3s var(--ease), box-shadow 0.25s, background 0.2s, opacity 0.2s; }
.provider:active { transform: scale(0.985); }
.provider.google { background: #fff; box-shadow: inset 0 0 0 1px rgba(20, 20, 19, 0.16); color: var(--ink); }
.provider.google:hover { box-shadow: inset 0 0 0 1px rgba(20, 20, 19, 0.32); }
.provider.facebook { background: #1877f2; color: #fff; }
.provider.facebook:hover { background: #166fe5; }
.provider[disabled] { opacity: 0.6; cursor: progress; }
.field { display: grid; gap: 8px; }
.field label { font-size: 14px; font-weight: 700; }
.field input { height: 52px; border-radius: 14px; border: 0; box-shadow: inset 0 0 0 1px rgba(20, 20, 19, 0.16); padding: 0 16px; font: 600 17px var(--sans); letter-spacing: 0.12em; text-transform: uppercase; background: #fff; }
.field input:focus { outline: none; box-shadow: inset 0 0 0 2px var(--pine-700); }
.field small { color: var(--ink-3); font-size: 13px; }
details.invite summary { cursor: pointer; font-size: 15px; font-weight: 600; color: var(--pine-700); list-style: none; display: inline-flex; gap: 8px; align-items: center; }
details.invite summary::-webkit-details-marker { display: none; }
details.invite summary::before { content: '+'; font-size: 20px; line-height: 1; transition: transform 0.3s var(--ease); }
details.invite[open] summary::before { transform: rotate(45deg); }
details.invite .field { margin-top: 14px; }
.fine { font-size: 13px; color: var(--ink-3); line-height: 1.5; margin: 0; }
.fine a { color: var(--ink-2); }
.alert { padding: 14px 16px; border-radius: 14px; font-size: 14px; font-weight: 600; background: var(--coral-soft); color: #a3301b; }
.alert[hidden] { display: none; }
.switch-mode { font-size: 15px; color: var(--ink-2); margin: 0; }
.switch-mode a { color: var(--ink); font-weight: 700; }
.spin { width: 18px; height: 18px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.state { display: grid; gap: 22px; }
.state[hidden] { display: none; }
.badge-ok { width: 64px; height: 64px; border-radius: 50%; background: var(--pine-700); color: #fff; display: grid; place-items: center; animation: pop 0.7s var(--ease); }
.badge-err { width: 64px; height: 64px; border-radius: 50%; background: var(--coral-soft); color: var(--coral); display: grid; place-items: center; }
@keyframes pop { from { transform: scale(0.6); opacity: 0; } }
.next-steps { margin: 0; padding: 0; list-style: none; counter-reset: s; display: grid; gap: 16px; }
.next-steps li { counter-increment: s; display: grid; grid-template-columns: 32px 1fr; gap: 14px; font-size: 15px; color: var(--ink-2); }
.next-steps li::before { content: counter(s); width: 32px; height: 32px; border-radius: 50%; background: var(--mist); color: var(--ink); font-weight: 800; display: grid; place-items: center; font-size: 14px; }
.next-steps b { color: var(--ink); display: block; font-size: 16px; }
.code-chip { display: inline-block; font-weight: 800; letter-spacing: 0.14em; background: var(--pine-100); color: var(--pine-700); border-radius: 8px; padding: 2px 8px; }
.signed { display: flex; gap: 14px; align-items: center; padding: 14px 16px; border-radius: 16px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.signed img, .signed .av { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; background: var(--pine-100); color: var(--pine-700); font-weight: 800; display: grid; place-items: center; flex: none; }
.signed div { flex: 1; min-width: 0; }
.signed b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.signed span { font-size: 13px; color: var(--ink-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: block; }
.linkbtn { background: none; border: 0; padding: 0; font-weight: 700; text-decoration: underline; cursor: pointer; font-size: 14px; }
@media (max-width: 900px) {
  .acct { grid-template-columns: 1fr; }
  .acct-art { display: none; }
  .acct-form .top a.brand { display: inline-flex; }
}

.legal { max-width: 720px; margin: 0 auto; padding: 130px var(--gutter) 90px; }
.legal h1 { font-size: clamp(36px, 5vw, 56px); letter-spacing: -0.04em; margin: 0 0 8px; line-height: 1.05; }
.legal h2 { font-size: 22px; letter-spacing: -0.02em; margin: 44px 0 10px; }
.legal p, .legal li { color: var(--ink-2); }
.legal .updated { color: var(--ink-3); font-size: 14px; margin-bottom: 30px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .rv { opacity: 1; transform: none; }
  .statement .w { color: var(--ink); }
}

[hidden] { display: none !important; }
.acct .store { background: var(--ink); box-shadow: none; }
