/* Outroom website: shared styles for every page. Ported from mockup/styles.css. */

/* Fonts are served from this site, never from a font CDN (see privacy.html). */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 400 800;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url('fonts/archivo-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 400 800;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url('fonts/archivo-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/ibm-plex-mono-400.woff2') format('woff2');
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/ibm-plex-mono-500.woff2') format('woff2');
}

/* Ember palette, from the canvas's "Palette & type" board */
:root {
  --ground: #1F1E1C;
  --raised: #292825;
  --line: #3B3935;
  --well: #141412;
  --accent: #D4BF98;
  --text: #EFE8DA;
  --muted: #A39C8E;
  --field: #E3D3B2;
  --on-accent-muted: #3D3A33;
  --placeholder: #4A463F;
  --display: 'Archivo', system-ui, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; color-scheme: dark; }
body {
  margin: 0;
  background: var(--ground);
  color: var(--text);
  font-family: var(--display);
  font-size: 17px;
  line-height: 1.55;
  overflow-x: hidden;
}
a { color: inherit; }
a:hover { opacity: .85; }
h1, h2, h3, p, ul, ol { margin: 0; }
img, video, iframe { display: block; max-width: 100%; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.get-started :focus-visible { outline-color: var(--ground); }
button, a { touch-action: manipulation; }

.skip-link { position: absolute; top: -100px; left: 16px; padding: 12px 20px; background: var(--text); color: var(--ground); z-index: 10; }
.skip-link:focus { top: 12px; }
.site-note { padding: 10px 24px; text-align: center; background: var(--raised); border-bottom: 1px solid var(--line); color: var(--muted); font-family: var(--mono); font-size: 12px; letter-spacing: .04em; }

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

/* ---------- Shared type ---------- */

.wrap { max-width: 1200px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.eyebrow {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
}
.section-title {
  font-size: clamp(30px, 3.6vw, 48px);
  line-height: 1.06;
  font-weight: 800;
  font-stretch: 88%;
}
.lede { font-size: 20px; line-height: 1.5; color: var(--muted); max-width: 32em; }
.more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* ---------- Brand lockup: play-crown mark + letterspaced wordmark ---------- */

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  text-decoration: none;
  color: var(--accent);
}
.brand span { font-weight: 700; font-stretch: 112%; letter-spacing: .22em; font-size: 18px; }

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  text-decoration: none;
  font-weight: 700;
}
.btn-sm { padding: 10px 18px; min-height: 44px; }
.btn-lg { padding: 14px 26px; font-size: 17px; line-height: 1.25; min-height: 52px; }
.btn-accent { background: var(--accent); color: var(--ground); }
.btn-outline { border: 1px solid var(--muted); color: var(--text); }
/* For use on the sand CTA band */
.btn-dark { background: var(--ground); color: var(--accent); }
.btn-outline-dark { border: 1px solid var(--ground); color: var(--ground); }

/* ---------- Header and footer ---------- */

.site-header { border-bottom: 1px solid var(--line); }
.site-header .wrap {
  padding-top: 16px;
  padding-bottom: 16px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
}
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 24px; font-size: 15px; }
.nav-link { text-decoration: none; color: var(--muted); min-height: 44px; display: inline-flex; align-items: center; }
.nav-link[aria-current="page"] { color: var(--text); text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 6px; }

.site-footer {
  padding-top: 36px;
  padding-bottom: 36px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px 24px;
  font-size: 14px;
  color: var(--muted);
}
.site-footer .brand span { font-size: 15px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 4px 24px; }
.site-footer nav a { text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }

/* ---------- Sections ---------- */

.section { padding-top: 88px; padding-bottom: 88px; }
.rule { border-top: 1px solid var(--line); }
.band { background: var(--raised); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px 40px; }
.section-head .eyebrow { margin-bottom: 16px; }

/* Subpage header */
.page-head { padding-top: 72px; padding-bottom: 64px; }
.page-head .eyebrow { margin-bottom: 18px; }
.page-head h1 {
  font-size: clamp(38px, 5.4vw, 72px);
  line-height: 1;
  font-weight: 800;
  font-stretch: 88%;
  letter-spacing: -.015em;
  max-width: 16em;
}
.page-head .lede { margin-top: 24px; }

/* ---------- Home hero ---------- */

.hero { padding-top: 80px; padding-bottom: 88px; display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.hero-copy { flex: 1 1 520px; min-width: 0; }
.hero .eyebrow { margin-bottom: 20px; }
.hero h1 {
  font-size: clamp(40px, 6vw, 80px);
  line-height: .98;
  font-weight: 800;
  font-stretch: 88%;
  letter-spacing: -.02em;
}
.hero .lede { margin-top: 28px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }

/* ---------- Steps ---------- */

.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 0 40px; margin-top: 48px; }
.step { padding: 28px 0; border-top: 1px solid var(--line); }
.step-num { font-size: 52px; font-weight: 800; font-stretch: 75%; line-height: 1; color: var(--accent); }
.step h3 { margin: 20px 0 10px; font-size: 22px; }
.step p:last-child { color: var(--muted); }

/* How it works: one row per step */
.step-row { display: flex; flex-wrap: wrap; gap: 24px 64px; padding: 48px 0; border-top: 1px solid var(--line); }
.step-row:last-child { border-bottom: 1px solid var(--line); }
.step-row .step-num { flex: 0 0 96px; }
.step-main { flex: 1 1 380px; min-width: 0; }
.step-main h2 { font-size: clamp(26px, 2.8vw, 36px); line-height: 1.1; font-weight: 800; font-stretch: 88%; }
.step-main p { margin-top: 16px; color: var(--muted); max-width: 32em; }
.step-main .note { font-family: var(--mono); font-size: 13px; color: var(--accent); }
.step-detail { flex: 1 1 300px; min-width: 0; }
.step-detail .eyebrow { font-size: 12px; color: var(--muted); margin-bottom: 8px; }

.step-list { padding: 0; list-style: none; }
.step-list + .callout { margin-top: 48px; }
.step-list ~ .cta-row { padding-bottom: 88px; }

.checklist { padding: 0; list-style: none; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; border-top: 1px solid var(--line); }
.checklist svg { flex: 0 0 auto; margin-top: 5px; color: var(--accent); }

/* ---------- Chips ---------- */

.includes { margin-top: 36px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; font-size: 15px; }
.includes-label { padding: 8px 0; color: var(--muted); }
.chip { border: 1px solid var(--line); padding: 8px 14px; }

.timing { margin-top: 32px; color: var(--muted); max-width: 40em; }

/* ---------- Two-column split ---------- */

.split { display: flex; flex-wrap: wrap; gap: 40px 64px; }
.split > :first-child { flex: 1 1 380px; min-width: 0; }
.split > :last-child { flex: 1 1 460px; min-width: 0; }

.problems { padding: 0; list-style: none; font-size: 19px; }
.problems li { padding: 16px 0; border-top: 1px solid var(--line); }
.problems li:last-child { border-bottom: 1px solid var(--line); }

/* ---------- Principles (about) ---------- */

.principles { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 0 40px; margin-top: 48px; }
.principle { padding: 24px 0; border-top: 1px solid var(--line); }
.principle h3 { font-size: 20px; }
.principle p { margin-top: 8px; color: var(--muted); }

/* ---------- Team (about) ---------- */

.team { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 280px)); gap: 40px; margin-top: 48px; }
.photo {
  aspect-ratio: 1 / 1;
  background: var(--raised);
  border: 1px dashed var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
}
/* A real headshot in the photo slot: same square, cropped to keep the face */
img.photo { width: 100%; height: auto; object-fit: cover; object-position: 50% 22%; border: 0; }
.person h3 { margin-top: 16px; font-size: 20px; }
.person .role { margin-top: 2px; font-family: var(--mono); font-size: 12px; letter-spacing: .08em; color: var(--accent); }
.person p:last-child { margin-top: 8px; font-size: 15px; color: var(--muted); }
.backed { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); }

.section-title + .lede, .eyebrow + .section-title + .lede { margin-top: 24px; }
.eyebrow.above { margin-bottom: 16px; }

/* ---------- Text pages (checklist, privacy) ---------- */

.prose { max-width: 760px; padding-bottom: 88px; }
.prose h2 { margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 24px; line-height: 1.25; }
.prose p, .prose ul { margin-top: 14px; color: var(--muted); }
.prose ul { padding-left: 22px; }
.prose li + li { margin-top: 8px; }
.prose a { color: var(--accent); }
.prose strong { color: var(--text); }
.prose code { font-family: var(--mono); font-size: .9em; color: var(--text); }
.callout { margin-top: 48px; border-left: 3px solid var(--accent); background: var(--raised); padding: 20px 24px; color: var(--text); }

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

.faq-page { padding-bottom: 88px; }
.faq-group + .faq-group { margin-top: 56px; }
.faq-group .eyebrow { margin-bottom: 8px; font-weight: 500; }
.faq-list { border-top: 1px solid var(--line); max-width: 820px; }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  cursor: pointer;
  list-style: none;
  font-size: 19px;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 0;
  min-height: 44px;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary span { color: var(--accent); font-family: var(--mono); }
.faq-list details p { margin-bottom: 22px; color: var(--muted); max-width: 40em; }
.faq-more { margin-top: 40px; color: var(--muted); }
.faq-more a { color: var(--accent); }

/* ---------- CTA band ---------- */

.cta-band { background: var(--accent); color: var(--ground); }
.cta-band .wrap {
  padding-top: 88px;
  padding-bottom: 88px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 32px 64px;
}
.cta-band .wrap > div:first-child { flex: 1 1 420px; min-width: 0; }
.cta-band h2 { font-size: clamp(32px, 4.4vw, 56px); line-height: 1; font-weight: 800; font-stretch: 88%; letter-spacing: -.01em; }
.cta-band p { margin-top: 16px; font-size: 19px; max-width: 30em; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Get started form ---------- */

.get-started { background: var(--accent); color: var(--ground); color-scheme: light; }
.get-started .wrap { padding-top: 88px; padding-bottom: 96px; display: flex; flex-wrap: wrap; gap: 48px 64px; align-items: flex-start; }
.get-started-copy { flex: 1 1 400px; min-width: 0; }
.get-started h2 { font-size: clamp(38px, 5.4vw, 68px); line-height: 1; font-weight: 800; font-stretch: 88%; letter-spacing: -.015em; }
.get-started-copy p { margin-top: 24px; font-size: 19px; max-width: 30em; }
.get-started-copy .fine { margin-top: 32px; font-size: 15px; color: var(--on-accent-muted); }

.signup { flex: 1 1 460px; min-width: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.signup .full { grid-column: 1 / -1; }
.signup fieldset { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 24px; }
.signup legend { font-size: 14px; font-weight: 600; margin-bottom: 6px; padding: 0; }
.radio { display: flex; align-items: center; gap: 10px; min-height: 44px; font-size: 15px; }
.radio input { width: 20px; height: 20px; margin: 0; accent-color: var(--ground); }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; }
.field input, .field select, .field textarea {
  font: inherit;
  font-weight: 400;
  font-size: 16px;
  padding: 12px 14px;
  border: 1px solid var(--ground);
  border-radius: 0;
  background: var(--field);
  color: var(--ground);
  min-height: 48px;
  width: 100%;
}
.field textarea { min-height: 96px; resize: vertical; }
.field ::placeholder { color: var(--placeholder); opacity: 1; }
.submit { display: flex; flex-direction: column; gap: 12px; }
.submit button {
  font: inherit;
  font-weight: 700;
  font-size: 17px;
  line-height: 1.25;
  background: var(--ground);
  color: var(--accent);
  border: 0;
  padding: 14px 26px;
  min-height: 52px;
  cursor: pointer;
  width: 100%;
}
.submit p { font-size: 14px; color: var(--on-accent-muted); }
.submit p a { color: var(--ground); font-weight: 600; }
.submit .form-status { font-weight: 600; color: var(--ground); }
