/* Elsewhere — elsewr.in. The icon's blue, light and dark. */
:root {
  --brand: #4897F8;
  --brand-deep: #16408F;
  --brand-text: #2C7DEB;      /* the blue as text on a light page: a shade deeper, to read */
  --bg: #F6F7F9;
  --surface: #FFFFFF;
  --surface-2: #EEF1F5;
  --text: #0F1216;
  --muted: #5B6370;
  --line: #E2E6EC;
  --shadow: 0 18px 50px rgba(16, 32, 64, .14);
  --warn: #B7791F;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --brand-text: #6AAEFF;
    --bg: #07090D;
    --surface: #12151B;
    --surface-2: #1A1E26;
    --text: #F2F4F7;
    --muted: #A0A8B5;
    --line: #232833;
    --shadow: 0 18px 50px rgba(0, 0, 0, .5);
    --warn: #F0B429;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.55 ui-rounded, "SF Pro Rounded", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, system-ui, sans-serif;
}
a { color: var(--brand-text); }
img { max-width: 100%; display: block; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 720px; }

/* Header */
header.site { display: flex; align-items: center; justify-content: space-between; padding: 18px 0; }
header.site .brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 20px; color: var(--text); text-decoration: none; }
header.site .brand img { width: 34px; height: 34px; border-radius: 9px; }
header.site nav a { color: var(--muted); text-decoration: none; margin-left: 18px; font-size: 15px; font-weight: 600; }
header.site nav a:hover { color: var(--text); }
.hero header.site .brand, .hero header.site nav a { color: #fff; }
.hero header.site nav a { opacity: .85; }

/* Type */
h1 { font-size: clamp(36px, 7vw, 64px); line-height: 1.04; margin: 28px 0 14px; letter-spacing: -0.025em; }
h2 { font-size: clamp(26px, 4.4vw, 38px); line-height: 1.12; margin: 0 0 10px; letter-spacing: -0.02em; }
h3 { font-size: 19px; margin: 0 0 6px; }
p, li { color: var(--text); }
.muted { color: var(--muted); }
.lede { font-size: clamp(18px, 2.4vw, 21px); color: var(--muted); max-width: 34em; }
.eyebrow { font-size: 14px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--brand-text); margin: 0 0 10px; }

/* Buttons */
.button {
  display: inline-flex; align-items: center; gap: 10px; padding: 14px 22px; border-radius: 999px;
  background: var(--brand); color: #fff; font-weight: 700; text-decoration: none; font-size: 17px;
  transition: transform .15s ease, box-shadow .15s ease;
}
.button:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(72, 151, 248, .35); }
.button.store { background: #000; color: #fff; padding: 12px 22px 12px 18px; }
.button.store svg { width: 26px; height: 26px; }
.button.store small { display: block; font-size: 11px; font-weight: 600; opacity: .8; line-height: 1; }
.button.store span { display: block; line-height: 1.1; }
.button.secondary { background: var(--surface-2); color: var(--text); }

/* Hero */
.hero {
  color: #fff;
  background:
    radial-gradient(1200px 600px at 85% -10%, rgba(255, 255, 255, .22), transparent 60%),
    linear-gradient(170deg, var(--brand) 0%, #2E6FD6 45%, var(--brand-deep) 100%);
  padding-bottom: 0;
  overflow: hidden;
}
.hero h1 { color: #fff; }
.hero .lede { color: rgba(255, 255, 255, .88); }
.hero .note { color: rgba(255, 255, 255, .75); font-size: 15px; margin-top: 14px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 28px; align-items: end; }
.hero-copy { padding: 40px 0 90px; }
.hero-icon { width: 84px; height: 84px; border-radius: 20px; box-shadow: 0 12px 30px rgba(0, 0, 0, .25); }
.phones { position: relative; height: 560px; }
.phone {
  position: absolute; bottom: -40px; width: 250px; border-radius: 40px; overflow: hidden;
  border: 7px solid #0b0d12; background: #0b0d12; box-shadow: 0 30px 70px rgba(0, 0, 0, .35);
}
.phone img { width: 100%; height: auto; }
.phone.a { left: 0; bottom: -90px; transform: rotate(-6deg); }
.phone.b { left: 30%; z-index: 2; }
.phone.c { right: -10px; bottom: -110px; transform: rotate(6deg); }

/* Sections */
section { padding: 84px 0; }
section.alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.center { text-align: center; }
.center .lede { margin-left: auto; margin-right: auto; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 34px; }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 22px; }
section.alt .step { background: var(--bg); }
.step .n {
  width: 36px; height: 36px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 800;
  display: grid; place-items: center; margin-bottom: 14px;
}

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 34px; }
.feature { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 22px; }
.feature .icon {
  width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; margin-bottom: 14px;
  background: color-mix(in srgb, var(--brand) 16%, transparent); color: var(--brand-text);
}
.feature .icon svg { width: 24px; height: 24px; }
.feature p { margin: 0; color: var(--muted); font-size: 16px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.split .shot { justify-self: center; width: min(300px, 80%); border-radius: 40px; overflow: hidden; border: 7px solid #0b0d12; box-shadow: var(--shadow); }
.ticks { list-style: none; padding: 0; margin: 18px 0 0; }
.ticks li { padding-left: 32px; position: relative; margin: 10px 0; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat;
}

.plans { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 34px; max-width: 820px; margin-left: auto; margin-right: auto; text-align: left; }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 26px; }
section.alt .plan { background: var(--bg); }
.plan.pro { border: 2px solid var(--brand); }
.plan .price { font-size: 15px; color: var(--muted); margin: 4px 0 14px; }
.plan .options { display: grid; gap: 8px; margin-top: 16px; }
.plan .option { display: flex; justify-content: space-between; gap: 12px; background: var(--surface-2); border-radius: 14px; padding: 10px 14px; font-size: 15px; }
.plan .option b { white-space: nowrap; }

.privacy-band {
  border-radius: 28px; padding: 40px; color: #fff;
  background: linear-gradient(150deg, #20262F, #0B0E13);
  display: grid; grid-template-columns: auto 1fr; gap: 26px; align-items: center;
}
.privacy-band h2 { color: #fff; }
.privacy-band p { color: rgba(255, 255, 255, .8); margin: 0; }
.privacy-band .lock { width: 72px; height: 72px; border-radius: 20px; background: rgba(255, 255, 255, .1); display: grid; place-items: center; }
.privacy-band .lock svg { width: 36px; height: 36px; }

.cta { text-align: center; }
.cta .hero-icon { margin: 0 auto 18px; }

/* Footer */
footer.site { border-top: 1px solid var(--line); margin-top: 0; padding: 26px 0 44px; color: var(--muted); font-size: 14px; }
footer.site a { color: var(--muted); margin-right: 14px; }

/* Plain pages (help, privacy, terms) */
.page main h1 { margin-top: 18px; }
.page main h2 { font-size: 23px; margin: 36px 0 8px; }
.page main h3 { margin: 22px 0 6px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 18px; margin: 14px 0; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.pill { display: inline-block; font-size: 13px; padding: 2px 9px; border-radius: 999px; background: var(--surface-2); color: var(--muted); }

/* A shared trip (/t/) */
.day { border-left: 5px solid var(--brand); padding-left: 14px; margin: 22px 0; }
.day h2 { margin: 0 0 2px; font-size: 21px; letter-spacing: 0; }
.day ol { margin: 10px 0 6px; padding-left: 22px; }
.day li { margin: 4px 0; }
.sleep { font-weight: 600; margin-top: 8px; }

/* Smaller screens */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { padding: 24px 0 10px; }
  .phones { height: 430px; margin: 0 auto; width: 100%; max-width: 480px; }
  .phone { width: 190px; border-radius: 32px; border-width: 6px; }
  .phone.b { left: calc(50% - 95px); }
  .steps, .features { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; }
  .split .shot { order: -1; }
}
@media (max-width: 600px) {
  section { padding: 60px 0; }
  .steps, .features, .plans { grid-template-columns: 1fr; }
  .phones { height: 360px; }
  .phone { width: 150px; border-radius: 26px; border-width: 5px; }
  .phone.b { left: calc(50% - 75px); }
  .phone.a { left: -10px; }
  .phone.c { right: -10px; }
  .privacy-band { grid-template-columns: 1fr; padding: 28px; }
  header.site nav a { margin-left: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
}
