/* Hourtown site: one stylesheet for every page. System fonts only, so no third-party requests. */
:root {
  --ink: #111318;
  --muted: #5B6270;
  --amber: #FFB454;
  --amber-ink: #8A5300;
  --soft: #F5F6F8;
  --line: #E6E8EC;
  --bg: #FFFFFF;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.55 var(--font); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--ink); }
a:hover { color: var(--muted); }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; }
.pixel { image-rendering: pixelated; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 1; }
.skip:focus { left: 8px; color: #fff; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Type */
h1, h2, h3 { font-family: var(--display); margin: 0; }
h1 { font-weight: 800; font-size: clamp(44px, 6vw, 80px); line-height: 1; letter-spacing: -0.03em; }
h2 { font-weight: 800; font-size: clamp(32px, 4vw, 48px); line-height: 1.05; letter-spacing: -0.025em; }
h3 { font-size: 19px; font-weight: 700; }
.kicker { margin: 0 0 18px; font-size: 14px; font-weight: 600; color: var(--amber-ink); letter-spacing: 0.4px; text-transform: uppercase; }
.lead { font-size: 20px; color: var(--muted); max-width: 520px; margin: 28px 0 0; }
.muted { color: var(--muted); }
.small { font-size: 14px; }

/* Buttons */
.btn { display: inline-block; font: inherit; font-weight: 600; text-decoration: none; padding: 15px 26px; border-radius: 999px; border: 1px solid transparent; cursor: pointer; }
.btn-amber { background: var(--amber); color: #000; border-color: rgba(0,0,0,.12); }
.btn-amber:hover { color: #000; background: #FFA733; }
.btn-soft { background: #F2F3F5; color: var(--ink); }
.btn-dark { background: var(--ink); color: #fff; font-size: 15px; padding: 10px 18px; }
.btn-dark:hover { color: #fff; background: #2A2D35; }

/* Header and footer */
.site-header { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; padding-top: 20px; padding-bottom: 20px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--display); font-weight: 800; font-size: 22px; letter-spacing: -0.4px; margin-right: auto; }
.logo img { width: 40px; height: 40px; border-radius: 9px; } /* the app icon, at 1 CSS px per art pixel */
.site-nav { display: flex; gap: 24px; flex-wrap: wrap; font-size: 15px; font-weight: 500; }
.site-nav a { text-decoration: none; }
.site-footer { display: flex; flex-wrap: wrap; gap: 16px 32px; padding-top: 40px; padding-bottom: 48px; font-size: 14px; color: var(--muted); }
.site-footer p { margin: 0; flex: 1 1 420px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 24px; }
.site-footer a { color: var(--muted); }

/* Hero */
.hero { display: flex; flex-wrap: wrap; align-items: center; gap: 64px; padding-top: 56px; padding-bottom: 96px; }
.hero-text { flex: 1 1 460px; min-width: 0; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero-art { flex: 0 1 420px; display: flex; justify-content: center; position: relative; margin: 0 auto; }
.phone { width: 300px; border-radius: 52px; background: #15161A; padding: 10px; box-shadow: 0 40px 80px rgba(17,19,24,.22); }
.phone-screen { height: 566px; border-radius: 42px; overflow: hidden; background: #8a8f4a; }
.phone-screen img { width: 100%; height: 100%; object-fit: cover; object-position: center bottom; }
.build-card { position: absolute; left: -8px; bottom: 64px; width: 250px; background: rgba(255,255,255,.94); border: 1px solid rgba(0,0,0,.08); border-radius: 20px; padding: 14px 16px; box-shadow: 0 16px 40px rgba(17,19,24,.16); display: flex; gap: 12px; align-items: center; }
.build-card img { width: 52px; height: 45px; flex: none; }
.build-card div { flex: 1; display: flex; flex-direction: column; gap: 6px; }
.build-card p { margin: 0; display: flex; justify-content: space-between; font-size: 14px; font-weight: 600; }
.build-card p span { color: var(--muted); font-weight: 500; }
.bar { height: 6px; border-radius: 3px; background: #ECEDEF; overflow: hidden; }
.bar span { display: block; width: 62%; height: 6px; background: var(--amber); }

/* Sections */
.band { background: var(--soft); padding: 96px 0; }
.section { padding-top: 96px; padding-bottom: 96px; }
.section-intro { margin: 16px 0 48px; color: var(--muted); max-width: 560px; }

/* Stages */
.stages { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.stage { background: #fff; border-radius: 24px; padding: 28px; }
.stage p { margin: 0; color: var(--muted); }
.stage h3 { margin: 6px 0 8px; }
.segments { display: flex; gap: 6px; margin-bottom: 28px; }
.segments span { flex: 1; height: 8px; border-radius: 4px; background: var(--line); }
.segments .on { background: var(--amber); }
.minutes { font-family: var(--display); font-weight: 800; font-size: 40px; letter-spacing: -1px; }

/* Island */
.island img { width: 100%; height: auto; aspect-ratio: 900 / 560; object-fit: cover; border-radius: 28px; }
.island figcaption { margin-top: 18px; color: var(--muted); font-size: 15px; }

/* Features */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px 48px; }
.features h3 { margin: 14px 0 6px; }
.features p { margin: 0; color: var(--muted); }
.features svg { width: 28px; height: 28px; fill: none; stroke: var(--ink); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* The rule */
.rule { background: var(--ink); color: #fff; border-radius: 32px; overflow: hidden; display: flex; flex-wrap: wrap; }
.rule-text { flex: 1 1 420px; padding: 56px; min-width: 0; }
.rule-text .kicker { color: var(--amber); }
.rule-text h2 { font-size: clamp(30px, 3.6vw, 44px); }
.rule-text p { margin: 20px 0 0; color: #B9BEC8; }
.rule img { flex: 1 1 420px; min-width: 0; max-height: 420px; object-fit: cover; }

/* Signup */
.signup { max-width: 640px; margin: 0 auto; text-align: center; }
.app-icon { width: 80px; height: 80px; margin: 0 auto 28px; border-radius: 18px; box-shadow: 0 12px 28px rgba(17,19,24,.18); }
.signup p { margin: 16px 0 32px; color: var(--muted); }
.signup form { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.signup input[type=email] { flex: 1 1 260px; min-width: 0; font: inherit; padding: 14px 20px; border-radius: 999px; border: 1px solid #C9CDD5; background: #fff; }
.hp { display: none; }

/* Text pages (support, privacy, thanks, 404) */
.doc { max-width: 720px; padding-top: 48px; padding-bottom: 96px; }
.doc h1 { font-size: clamp(40px, 5vw, 56px); margin-bottom: 16px; }
.doc h2 { font-size: 26px; letter-spacing: -0.01em; margin: 48px 0 12px; }
.doc h3 { margin: 28px 0 6px; }
.doc p, .doc li { color: #2E323B; }
.doc ul { padding-left: 22px; }

@media (max-width: 560px) {
  .site-header { gap: 12px 24px; }
  .site-nav { order: 1; width: 100%; }
  .rule-text { padding: 36px 24px; }
  .build-card { left: 0; }
}
