/* Offsider website. Brand: orange #FF7900 on primer grey / near-black, Barlow + Barlow Condensed (as in the app). */
:root {
  --bg: #151719;
  --bg-2: #1d2023;
  --card: #23272b;
  --line: #34393e;
  --ink: #eef0f1;
  --ink-2: #b9bfc4;
  --muted: #8a9197;
  --accent: #ff7900;
  --accent-ink: #151719;
  --radius: 10px;
  --wrap: 1120px;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  overflow-x: clip;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.6 'Barlow', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: var(--accent);
  text-underline-offset: 3px;
}
h1,
h2,
h3 {
  font-family: 'Barlow Condensed', 'Barlow', sans-serif;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: 0.01em;
  margin: 0 0 0.5em;
}
h1 {
  font-size: clamp(44px, 8vw, 88px);
  text-transform: uppercase;
}
h2 {
  font-size: clamp(32px, 5vw, 52px);
  text-transform: uppercase;
}
h3 {
  font-size: 24px;
}
p {
  margin: 0 0 1em;
}
.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 20px;
}
.eyebrow {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent);
  font-size: 15px;
  margin-bottom: 10px;
}
.lead {
  font-size: clamp(18px, 2.2vw, 22px);
  color: var(--ink-2);
  max-width: 40em;
}
.muted {
  color: var(--muted);
}

/* ---- Header ---- */
.site-head {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(21, 23, 25, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-head .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 64px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 24px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.brand img {
  width: 34px;
  height: 34px;
  border-radius: 8px;
}
.site-nav {
  display: flex;
  gap: 22px;
  align-items: center;
}
.site-nav a {
  white-space: nowrap;
  color: var(--ink-2);
  text-decoration: none;
  font-weight: 500;
}
.site-nav a:hover,
.site-nav a[aria-current='page'] {
  color: var(--ink);
}
.btn {
  display: inline-block;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 700;
  text-decoration: none;
  padding: 12px 22px;
  border-radius: 8px;
  border: 0;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.btn:hover {
  filter: brightness(1.08);
}
.btn.ghost {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--line);
}
.site-nav .btn {
  padding: 8px 16px;
  white-space: nowrap;
  color: var(--accent-ink);
}
@media (max-width: 860px) {
  .site-nav a:not(.btn):not([aria-current]) {
    display: none;
  }
}
@media (max-width: 640px) {
  .site-nav a:not(.btn) {
    display: none;
  }
  .site-nav .btn {
    padding: 7px 12px;
    font-size: 15px;
  }
  .brand {
    font-size: 20px;
  }
}

/* ---- Hero ---- */
.hero {
  padding: 72px 0 56px;
  background:
    radial-gradient(900px 400px at 85% 10%, rgba(255, 121, 0, 0.14), transparent 60%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.hero .wrap {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}
.hero-logo {
  width: min(420px, 90%);
  margin-bottom: 28px;
}
.hero .cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 28px;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: 99px;
  padding: 4px 12px;
}
.pill::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}
@media (max-width: 860px) {
  .hero .wrap {
    grid-template-columns: 1fr;
  }
  .hero {
    padding-top: 40px;
  }
  .hero-logo {
    width: min(280px, 75%);
  }
}

/* ---- Phone frames ---- */
.phone {
  aspect-ratio: 9 / 19.5;
  width: min(300px, 100%);
  margin: 0 auto;
  border-radius: 34px;
  border: 8px solid #0b0c0d;
  box-shadow:
    0 0 0 1.5px #3a3f44,
    0 30px 60px rgba(0, 0, 0, 0.45);
  background: var(--card);
  overflow: hidden;
  position: relative;
}
.phone img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}
.phone .placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 20px;
  color: var(--muted);
  font-size: 14px;
  background: repeating-linear-gradient(135deg, var(--card) 0 14px, #262a2f 14px 28px);
}
.phone .placeholder b {
  display: block;
  color: var(--ink-2);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 22px;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.hero .phone {
  width: min(320px, 80%);
  transform: rotate(2deg);
}

/* ---- Sections ---- */
section {
  padding: 80px 0;
}
section.alt {
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.split.flip > :first-child {
  order: 2;
}
@media (max-width: 860px) {
  .split {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .split.flip > :first-child {
    order: 0;
  }
}
.ticks {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
}
.ticks li {
  padding: 6px 0 6px 30px;
  position: relative;
  color: var(--ink-2);
}
.ticks li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 13px;
  width: 14px;
  height: 8px;
  border-left: 3px solid var(--accent);
  border-bottom: 3px solid var(--accent);
  transform: rotate(-45deg);
}
.ticks b {
  color: var(--ink);
}

/* ---- Feature grid ---- */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(250px, 100%), 1fr));
  gap: 16px;
  margin-top: 36px;
}
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}
.card h3 {
  margin-bottom: 6px;
}
.card p {
  color: var(--ink-2);
  margin: 0;
  font-size: 16px;
}
.card .tag {
  display: inline-block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 8px;
}

/* ---- Screens strip ---- */
.screens {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  padding: 12px 4px 28px;
  scroll-snap-type: x mandatory;
}
.screens figure {
  margin: 0;
  flex: 0 0 240px;
  scroll-snap-align: start;
}
.screens .phone {
  width: 240px;
  border-width: 6px;
  border-radius: 28px;
}
.screens figcaption {
  text-align: center;
  color: var(--muted);
  font-size: 15px;
  margin-top: 12px;
}

/* ---- Offline band ---- */
.band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 32px;
}
.band div {
  border-top: 3px solid var(--accent);
  padding-top: 16px;
}
.band h3 {
  font-size: 26px;
}
.band p {
  color: var(--ink-2);
}
@media (max-width: 760px) {
  .band {
    grid-template-columns: 1fr;
  }
}

/* ---- Sign-up ---- */
.signup {
  text-align: center;
}
.signup .lead {
  margin: 0 auto 28px;
}
.signup form {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 520px;
  margin: 0 auto;
}
.signup input[type='email'] {
  flex: 1 1 260px;
  font: inherit;
  padding: 12px 14px;
  border-radius: 8px;
  border: 1.5px solid var(--line);
  background: var(--bg);
  color: var(--ink);
}
.signup input[type='email']:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}
.form-note {
  margin-top: 14px;
  font-size: 15px;
  color: var(--muted);
}

/* ---- Footer ---- */
.site-foot {
  border-top: 1px solid var(--line);
  padding: 36px 0 48px;
  color: var(--muted);
  font-size: 15px;
}
.site-foot .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
}
.site-foot nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
.site-foot a {
  color: var(--ink-2);
  text-decoration: none;
}
.site-foot a:hover {
  color: var(--ink);
}

/* ---- Text pages (privacy, media) ---- */
.page {
  padding: 56px 0 80px;
}
.page .wrap {
  max-width: 820px;
}
.page h1 {
  font-size: clamp(40px, 6vw, 64px);
}
.page h2 {
  font-size: clamp(26px, 3.4vw, 34px);
  margin-top: 1.6em;
}
.page p,
.page li {
  color: var(--ink-2);
}
.page li {
  margin-bottom: 6px;
}
.page strong {
  color: var(--ink);
}
.summary {
  background: var(--card);
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  padding: 18px 22px;
  margin: 24px 0;
}
.summary p:last-child,
.summary ul:last-child {
  margin-bottom: 0;
}
table {
  width: 100%;
  border-collapse: collapse;
  margin: 12px 0 20px;
  font-size: 16px;
}
th,
td {
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
th {
  color: var(--ink);
  font-weight: 600;
}
td {
  color: var(--ink-2);
}
.table-scroll {
  overflow-x: auto;
}

/* Media pack */
.downloads {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(220px, 100%), 1fr));
  gap: 16px;
  margin: 16px 0 8px;
}
.dl {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  color: var(--ink);
}
.dl .thumb {
  aspect-ratio: 16 / 10;
  display: grid;
  place-items: center;
  padding: 18px;
}
.dl .thumb.checker {
  background-color: #e9ebed;
  background-image:
    linear-gradient(45deg, #d5d9dc 25%, transparent 25%),
    linear-gradient(-45deg, #d5d9dc 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, #d5d9dc 75%),
    linear-gradient(-45deg, transparent 75%, #d5d9dc 75%);
  background-size: 20px 20px;
  background-position:
    0 0,
    0 10px,
    10px -10px,
    -10px 0;
}
.dl .thumb.black {
  background: #000;
}
.dl .thumb {
  overflow: hidden;
}
.dl .thumb img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
}
.dl .meta {
  padding: 12px 14px;
  font-size: 15px;
  border-top: 1px solid var(--line);
}
.dl .meta span {
  display: block;
  color: var(--muted);
  font-size: 14px;
}
.swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 12px 0 20px;
}
.swatch {
  width: 150px;
  font-size: 14px;
  color: var(--ink-2);
}
.swatch i {
  display: block;
  height: 64px;
  border-radius: 8px;
  border: 1px solid var(--line);
  margin-bottom: 8px;
}
.copy-block {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 44px 18px 16px;
  margin: 10px 0 18px;
}
.copy-block p:last-of-type {
  margin-bottom: 0;
}
.copy-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  font: inherit;
  font-size: 13px;
  background: var(--bg);
  color: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 3px 10px;
  cursor: pointer;
}
.copy-btn:hover {
  color: var(--ink);
}
