/* timeline.samalstudios.com: one stylesheet for every page. Light and dark follow the system. */
:root {
  --bg: #ffffff; --bg2: #f5f5f7; --ink: #1d1d1f; --ink2: #6e6e73; --ink3: #86868b; --hair: rgba(0, 0, 0, .1);
  --accent: #0071e3; --red: #ff3b30; --amber: #ff9f0a; --green: #34c759; --card: #ffffff;
  --nav: rgba(255, 255, 255, .78); --shadow: 0 30px 60px -20px rgba(0, 0, 0, .25), 0 0 0 1px rgba(0, 0, 0, .06);
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #000000; --bg2: #111113; --ink: #f5f5f7; --ink2: #a1a1a6; --ink3: #86868b; --hair: rgba(255, 255, 255, .14);
    --accent: #2997ff; --red: #ff453a; --amber: #ffd60a; --green: #30d158; --card: #1c1c1e;
    --nav: rgba(22, 22, 23, .72); --shadow: 0 30px 60px -20px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 255, 255, .1);
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.47 var(--sans); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

/* navigation */
nav { position: sticky; top: 0; z-index: 10; background: var(--nav); backdrop-filter: saturate(180%) blur(20px);
      -webkit-backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid var(--hair); }
nav .in { max-width: 1024px; margin: 0 auto; height: 52px; padding: 0 22px; display: flex; align-items: center; gap: 24px; }
nav .brand { display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 600; font-size: 17px; margin-right: auto; white-space: nowrap; }
nav .brand:hover { text-decoration: none; }
nav .brand img { width: 28px; height: 28px; border-radius: 7px; }
nav .links a { color: var(--ink2); font-size: 14px; margin-left: 22px; }
nav .links a:hover { color: var(--ink); text-decoration: none; }
.pill { display: inline-flex; align-items: center; gap: 8px; background: var(--ink); color: var(--bg); border-radius: 999px;
        font-weight: 600; text-decoration: none; transition: transform .15s ease, opacity .15s ease; }
.pill:hover { text-decoration: none; opacity: .88; }
.pill:active { transform: scale(.97); }
.pill.soon { cursor: default; opacity: 1; background: var(--bg2); color: var(--ink2); box-shadow: inset 0 0 0 1px var(--hair); }
.pill.soon:hover { opacity: 1; }
.pill.soon:active { transform: none; }
nav .pill { font-size: 13px; padding: 6px 14px; white-space: nowrap; }
.store { font-size: 17px; padding: 14px 26px; }
.store svg { width: 20px; height: 20px; fill: currentColor; }
.store span small { display: block; font-size: 11px; font-weight: 500; opacity: .8; line-height: 1; margin-bottom: 2px; }
.store span { text-align: left; line-height: 1.1; }

/* sections */
section { padding: 120px 22px; }
section.alt { background: var(--bg2); }
.wrap { max-width: 1024px; margin: 0 auto; }
.narrow { max-width: 720px; margin: 0 auto; text-align: center; }
.eyebrow { font-size: 17px; font-weight: 600; color: var(--ink3); margin: 0 0 12px; }
h1, h2 { margin: 0; letter-spacing: -0.025em; line-height: 1.07; font-weight: 700; text-wrap: balance; }
h1 { font-size: clamp(44px, 8vw, 80px); }
h2 { font-size: clamp(36px, 5.5vw, 56px); }
h3 { margin: 0 0 6px; font-size: 21px; letter-spacing: -0.01em; }
.lede { font-size: clamp(19px, 2.4vw, 24px); line-height: 1.38; color: var(--ink2); margin: 20px auto 0; max-width: 640px; text-wrap: pretty; }
.cta { margin-top: 36px; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.cta .note { font-size: 14px; color: var(--ink3); }

/* hero */
.hero { padding-top: 96px; text-align: center; overflow: hidden; }
.phones { display: flex; justify-content: center; align-items: flex-end; gap: 28px; margin-top: 72px; }
.phone { width: 270px; flex: none; border-radius: 46px; padding: 10px; background: #1d1d1f; box-shadow: var(--shadow); }
.phone img { border-radius: 36px; background: var(--card); }
.phone.side { width: 230px; opacity: .96; }
.phone.side.l { transform: translateY(28px) rotate(-4deg); }
.phone.side.r { transform: translateY(28px) rotate(4deg); }

/* split rows */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.split p { color: var(--ink2); font-size: 19px; margin: 18px 0 0; }
.steps { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 10px; }
.steps li { display: flex; align-items: center; gap: 14px; font-size: 17px; }
.steps i { width: 8px; height: 32px; border-radius: 4px; background: #f3b9b2; flex: none; }
.steps li.core i { background: #b33a2f; height: 56px; }
.steps small { color: var(--ink3); margin-left: auto; font-variant-numeric: tabular-nums; }

/* checks */
.checks { background: var(--card); border-radius: 22px; padding: 26px 28px; box-shadow: var(--shadow); }
.checks h4 { margin: 18px 0 8px; font-size: 13px; color: var(--ink3); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.checks h4:first-child { margin-top: 0; }
.checks p { display: flex; align-items: center; gap: 12px; margin: 10px 0; font-size: 17px; color: var(--ink); }
.dot { width: 9px; height: 9px; border-radius: 50%; flex: none; }
.dot.red { background: var(--red); } .dot.amber { background: var(--amber); } .dot.green { background: var(--green); }

/* a phone beside the text, or two side by side */
.split > .phone { width: 280px; justify-self: center; }
.duo { display: flex; justify-content: center; gap: 24px; }
.duo .phone { flex: 1 1 0; width: auto; max-width: 250px; min-width: 0; border-radius: 40px; padding: 9px; }
.duo .phone img { border-radius: 31px; }

/* small print under a paragraph */
.split p.fine, .fine { font-size: 14px; color: var(--ink3); margin-top: 16px; }
.fine.center { text-align: center; margin: 32px auto 0; max-width: 640px; font-size: 16px; color: var(--ink2); }

/* kinds of plans */
.kinds { list-style: none; padding: 0; margin: 44px auto 0; max-width: 760px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.kinds li { padding: 9px 18px; border-radius: 999px; background: var(--bg2); color: var(--ink); font-size: 16px; }
section.alt .kinds li { background: var(--bg); }

/* mac */
.mac { margin-top: 64px; border-radius: 14px; overflow: hidden; box-shadow: var(--shadow); }
.mac-duo { display: grid; grid-template-columns: 740fr 1058fr; gap: 28px; margin-top: 28px; align-items: start; }
.mac-duo figure { margin: 0; }
.mac-duo .shot { border-radius: 14px; overflow: hidden; box-shadow: var(--shadow); }
.mac-duo figcaption { margin-top: 16px; text-align: center; color: var(--ink2); font-size: 15px; }

/* tiles: features, glances, privacy */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 56px; text-align: left; }
.tiles.four { grid-template-columns: repeat(4, 1fr); }
.tile h3 { font-size: 19px; }
.tile { background: var(--card); border-radius: 22px; padding: 28px; }
section.alt .tile { background: var(--bg); }
.tile p { margin: 0; color: var(--ink2); font-size: 16px; }
.tile svg { width: 30px; height: 30px; margin-bottom: 16px; fill: none; stroke: var(--accent); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* plain pages (privacy, support, legal notice) */
.doc { max-width: 680px; margin: 0 auto; padding: 80px 22px 120px; }
.doc h1 { font-size: clamp(36px, 6vw, 48px); }
.doc h2 { font-size: 24px; margin: 40px 0 12px; letter-spacing: -0.01em; }
.doc p, .doc li { color: var(--ink2); font-size: 17px; }
.doc ul { padding-left: 20px; display: grid; gap: 10px; }
.doc .updated { color: var(--ink3); font-size: 14px; margin-top: 48px; }
.doc strong { color: var(--ink); font-weight: 600; }

footer { border-top: 1px solid var(--hair); padding: 28px 22px 48px; color: var(--ink3); font-size: 13px; }
footer .in { max-width: 1024px; margin: 0 auto; display: flex; flex-wrap: wrap; gap: 8px 24px; }
footer a { color: var(--ink2); }
footer .grow { margin-right: auto; }

@media (max-width: 1000px) {
  .tiles.four { grid-template-columns: repeat(2, 1fr); }
  .duo .phone { border-radius: 32px; padding: 7px; }
  .duo .phone img { border-radius: 25px; }
}
@media (max-width: 820px) {
  section { padding: 84px 16px; }
  .split { grid-template-columns: 1fr; gap: 48px; }
  .split.rev > :first-child { order: 2; }
  .tiles, .tiles.four { grid-template-columns: 1fr; gap: 16px; margin-top: 44px; }
  .tile { padding: 24px; }
  .phones { gap: 0; }
  .phone.side { display: none; }
  .duo { gap: 16px; }
  .mac { margin-top: 44px; border-radius: 10px; }
  .mac-duo { grid-template-columns: 1fr; gap: 32px; }
  .mac-duo figure:first-child { width: 70%; margin: 0 auto; } /* the same scale as the wider shot */
  .mac-duo .shot { border-radius: 10px; }
  nav .links a.hide-s { display: none; }
  nav .in { gap: 14px; padding: 0 16px; }
  nav .links a { margin-left: 0; }
  footer { padding: 28px 16px 48px; }
  .doc { padding: 64px 16px 96px; }
}
@media (max-width: 400px) {
  nav .in { gap: 12px; }
  nav .brand { font-size: 16px; gap: 8px; }
  nav .pill { padding: 6px 12px; }
}
@media (max-width: 359px) {
  nav .pill { display: none; }
}
@media (max-width: 380px) {
  .duo { gap: 12px; }
  .duo .phone { border-radius: 26px; padding: 6px; }
  .duo .phone img { border-radius: 20px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .pill { transition: none; } }
.doc .doc-lede { margin: 20px 0 0; }
