/* Roomful. Pine, mist and one amber spot: the colours of the icon. Bricolage Grotesque speaks, Instrument Sans explains. */
:root {
  --pine: #0f3d3a; --deep: #0a2a28; --mist: #edf2ef; --white: #ffffff; --amber: #f2b24a; --ink: #132321; --soft: #4d615d; --line: #cdd9d4;
  --display: "Bricolage Grotesque", "Arial Narrow", Arial, sans-serif; --body: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --edge: clamp(20px, 5vw, 72px); --wide: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--mist); color: var(--ink); font: 400 1.0625rem/1.6 var(--body); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-underline-offset: 0.18em; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--display); margin: 0; letter-spacing: -0.015em; }
h1 { font-size: clamp(2.5rem, 6.4vw, 5rem); line-height: 0.98; font-weight: 750; font-variation-settings: "opsz" 96; max-width: 13ch; }
h2 { font-size: clamp(1.9rem, 3.8vw, 3.1rem); line-height: 1.04; font-weight: 700; max-width: 18ch; }
h2.minor { font-size: clamp(1.4rem, 2.4vw, 1.9rem); margin-top: clamp(48px, 7vw, 88px); }
h3 { font-size: 1.2rem; line-height: 1.25; font-weight: 650; letter-spacing: 0; }
p { margin: 0; max-width: 62ch; }
.lede { font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.5; margin-top: 20px; max-width: 54ch; }

/* top bar */
.top { background: var(--pine); color: var(--mist); display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 16px var(--edge); flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 700 1.35rem/1 var(--display); letter-spacing: -0.01em; }
.brand img { border-radius: 8px; }
.top nav { display: flex; align-items: center; gap: clamp(12px, 2vw, 26px); flex-wrap: wrap; font-size: 0.98rem; }
.top nav a { text-decoration: none; }
.top nav a:hover { text-decoration: underline; }
.top .lang { opacity: 0.75; }

.button { display: inline-block; background: var(--amber); color: var(--deep); font: 650 1.05rem/1 var(--body); padding: 17px 26px; border-radius: 999px; text-decoration: none; border: 0; cursor: pointer; }
.button:hover { background: #f6c36c; text-decoration: none !important; }
.button.small { padding: 11px 18px; font-size: 0.95rem; }
.plain { margin-left: 22px; }

/* hero: the room fills up, once */
.hero { background: var(--pine); color: var(--mist); display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: clamp(24px, 5vw, 80px); align-items: end; padding: clamp(36px, 7vw, 96px) var(--edge) 0; overflow: hidden; }
.hero-text { padding-bottom: clamp(40px, 7vw, 96px); }
.hero .lede { color: #cfe0da; }
.actions { margin-top: 34px; display: flex; align-items: center; flex-wrap: wrap; gap: 12px 0; }
.spots { display: flex; gap: clamp(8px, 1.4vw, 16px); margin-top: clamp(44px, 6vw, 76px); }
.spots i { width: clamp(26px, 4.2vw, 54px); aspect-ratio: 1; border-radius: 50%; background: var(--amber); }
.spots-caption { margin-top: 14px; font-size: 0.95rem; color: #a9c4bc; }
@media (prefers-reduced-motion: no-preference) {
  .spots i { background: rgba(237, 242, 239, 0.16); animation: take 0.01s linear forwards; animation-delay: calc(0.6s + var(--n) * 0.28s); }
  .spots-caption { opacity: 0; animation: show 0.5s ease forwards 3s; }
}
.spots i:nth-child(1) { --n: 0; } .spots i:nth-child(2) { --n: 1; } .spots i:nth-child(3) { --n: 2; } .spots i:nth-child(4) { --n: 3; }
.spots i:nth-child(5) { --n: 4; } .spots i:nth-child(6) { --n: 5; } .spots i:nth-child(7) { --n: 6; } .spots i:nth-child(8) { --n: 7; }
@keyframes take { to { background: var(--amber); } }
@keyframes show { to { opacity: 1; } }

/* a phone that holds a real screen */
.phone { justify-self: center; width: min(310px, 78vw); border: 10px solid #06201e; border-bottom: 0; border-radius: 44px 44px 0 0; overflow: hidden; background: #06201e; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.55); }
.phone img { width: 100%; border-radius: 34px 34px 0 0; }
.phone.tilt { border-bottom: 10px solid #06201e; border-radius: 44px; align-self: start; }
.phone.tilt img { border-radius: 34px; }

/* sections */
.band { padding: clamp(56px, 9vw, 128px) var(--edge); }
.band > *, .hero > * { max-width: var(--wide); }
.band.dark { background: var(--deep); color: var(--mist); }
.band.dark .lede { color: #cfe0da; }
.band.tint { background: var(--white); }
.split { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: clamp(32px, 6vw, 96px); align-items: start; }

.steps { list-style: none; counter-reset: step; padding: 0; margin: clamp(32px, 5vw, 56px) 0 0; display: grid; gap: 26px; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 56px 1fr; column-gap: 18px; }
.steps li::before { content: counter(step); grid-row: span 2; width: 56px; height: 56px; border-radius: 50%; background: var(--pine); color: var(--amber); font: 750 1.6rem/56px var(--display); text-align: center; }
.steps p { color: var(--soft); margin-top: 4px; }
.ticks, .included { list-style: none; padding: 0; margin: 36px 0 0; }
.ticks li, .included li { padding: 12px 0 12px 30px; border-top: 1px solid var(--line); position: relative; }
.ticks li::before, .included li::before { content: ""; position: absolute; left: 4px; top: 1.25em; width: 11px; height: 11px; border-radius: 50%; background: var(--amber); }
.included { columns: 2 320px; column-gap: clamp(28px, 5vw, 72px); margin-top: 24px; }
.included li { break-inside: avoid; }

.screen { margin-top: clamp(32px, 5vw, 56px); border-radius: 14px; border: 1px solid rgba(255, 255, 255, 0.14); box-shadow: 0 30px 70px -30px rgba(0, 0, 0, 0.6); width: 100%; }
.band:not(.dark) .screen { border-color: var(--line); box-shadow: 0 30px 70px -40px rgba(10, 42, 40, 0.5); }
.three, .four { display: grid; gap: clamp(24px, 4vw, 56px); margin-top: clamp(32px, 5vw, 56px); }
.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.three p, .four p { margin-top: 8px; color: #b9cdc6; }
.four p, .band:not(.dark) .three p { color: var(--soft); }

.tabs { display: inline-flex; gap: 6px; margin-top: 36px; padding: 6px; background: var(--white); border-radius: 26px; border: 1px solid var(--line); flex-wrap: wrap; }
.tabs button { font: 600 1rem/1 var(--body); padding: 12px 14px; border-radius: 999px; border: 0; background: transparent; color: var(--ink); cursor: pointer; }
.tabs button[aria-selected="true"] { background: var(--pine); color: var(--mist); }
[role="tabpanel"] > p { margin-top: 22px; font-size: 1.1rem; }
[role="tabpanel"] .screen { margin-top: 24px; }

.plans { width: 100%; border-collapse: collapse; margin-top: clamp(28px, 4vw, 48px); }
.plans th, .plans td { text-align: left; vertical-align: baseline; padding: 22px 18px 22px 0; border-top: 1px solid var(--line); }
.plans th { font: 700 1.6rem/1.1 var(--display); width: 9ch; }
.plans .price { white-space: nowrap; width: 16ch; color: var(--soft); }
.plans .price b { font: 750 2.1rem/1 var(--display); color: var(--ink); }

form { display: grid; gap: 16px; }
label { display: grid; gap: 6px; font-weight: 600; font-size: 0.95rem; }
input, textarea { font: 400 1.05rem/1.4 var(--body); padding: 13px 14px; border-radius: 10px; border: 1px solid #2f5a55; background: #0f3532; color: var(--mist); width: 100%; }
input::placeholder { color: #7f9f97; }
form .button { justify-self: start; margin-top: 6px; }
form .button:disabled { opacity: 0.6; cursor: wait; }
form [hidden] { display: none !important; }
.hint { font-size: 0.9rem; color: #a9c4bc; }
.hint a { color: var(--mist); }
.sent { font: 600 1.2rem/1.45 var(--body); color: var(--mist); padding: 22px 0; }
.choice { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.choice legend { font-weight: 600; font-size: 0.95rem; margin-bottom: 8px; padding: 0; }
.choice label { display: block; position: relative; cursor: pointer; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice span { display: inline-block; padding: 11px 18px; border-radius: 999px; border: 1px solid #2f5a55; background: #0f3532; color: var(--mist); font-weight: 600; }
.choice input:checked + span { background: var(--amber); border-color: var(--amber); color: var(--deep); }
.choice input:focus-visible + span { outline: 2px solid var(--mist); outline-offset: 2px; }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.foot { background: var(--pine); color: #cfe0da; padding: 40px var(--edge); display: flex; flex-wrap: wrap; gap: 14px 40px; align-items: center; justify-content: space-between; font-size: 0.95rem; }
.foot .brand { color: var(--mist); font-size: 1.15rem; }
.foot p a { margin-right: 18px; }

.legal { padding: clamp(40px, 7vw, 88px) var(--edge); max-width: 760px; }
.legal h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); margin-top: 24px; }
.legal h2 { font-size: 1.4rem; margin-top: 40px; max-width: none; }
.legal p { margin-top: 12px; }

@media (max-width: 860px) {
  .hero, .split { grid-template-columns: 1fr; }
  .hero-text { padding-bottom: 8px; }
  .three, .four { grid-template-columns: 1fr; }
  .top nav a:not(.button):not(.lang) { display: none; }
  .phone.tilt { justify-self: start; }
  .plans th, .plans td { display: block; width: auto; padding: 0; border: 0; }
  .plans tr { display: block; padding: 20px 0; border-top: 1px solid var(--line); }
  .plans .price { margin: 6px 0; }
  .plain { margin-left: 18px; }
}

@media (max-width: 480px) {
  .tabs { display: flex; border-radius: 26px; }
  .tabs button { padding: 11px 12px; font-size: 0.93rem; flex: 1; }
}
