/* The site wears the app's own look: its black ground, its graphite cards, intake green
   for Energy and the lift tracker's orange for Lift. No web fonts and no scripts. */
:root {
  --ground: #000000;
  --card: #1C1C1E;
  --line: #2C2C2E;
  --frame: #3A3A3C;
  --text: #FFFFFF;
  --soft: #B4B4BA;
  --faint: #8E8E93;
  --energy: #30D158;
  --lift: #FF9F43;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ground);
  color: var(--text);
  font: 17px/1.55 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p, h1, h2, h3, figure, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.energy { color: var(--energy); }
.lift { color: var(--lift); }

h1 { font-size: clamp(34px, 5.2vw, 58px); line-height: 1.05; letter-spacing: -0.035em; font-weight: 700; text-wrap: balance; }
h1 span { display: block; }
h2 { font-size: clamp(30px, 4.6vw, 50px); line-height: 1.06; letter-spacing: -0.025em; font-weight: 700; text-wrap: balance; }
h3 { font-size: clamp(22px, 2.6vw, 28px); line-height: 1.15; letter-spacing: -0.015em; font-weight: 700; text-wrap: balance; }
.eyebrow { font-size: 13px; line-height: 1; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.lede { font-size: clamp(18px, 2.2vw, 21px); line-height: 1.5; color: var(--soft); max-width: 34em; }
.body { color: var(--soft); max-width: 30em; }
.note { font-size: 14px; line-height: 1.45; color: var(--faint); }

/* Header */
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 22px 0; }
.site-header img { height: 34px; width: auto; }
.site-header nav { display: flex; gap: 26px; font-size: 15px; }
.site-header nav a { color: var(--soft); text-decoration: none; padding: 10px 0; }
.site-header nav a:hover { color: var(--text); }

/* Pictures of the app */
.phone {
  width: 100%;
  max-width: 290px;
  aspect-ratio: 1320 / 2868;
  border-radius: 13.5% / 6.2%;
  overflow: hidden;
  background: #000000;
  border: 1px solid var(--frame);
  box-shadow: 0 0 0 7px #0D0D0F, 0 0 0 8px #29292C;
}
.phone img { width: 100%; }
.shot { border-radius: 22px; overflow: hidden; background: #000000; border: 1px solid var(--frame); }
figcaption { margin-top: 12px; }

/* Top of the page */
.hero { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 48px; align-items: center; padding: 48px 0 104px; }
.hero-text { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.soon { display: inline-flex; align-items: center; height: 52px; padding: 0 26px; border-radius: 26px; background: var(--lift); color: #000000; font-weight: 600; }
/* Two phones side by side and level. Each keeps its own height, and the gap leaves room
   between the rings drawn around them, which stand 8px outside each. */
.pair { display: flex; justify-content: center; align-items: flex-start; gap: 38px; padding: 8px; }

/* A part of the page */
.band { border-top: 1px solid var(--line); padding: 96px 0; }
.band-head { display: flex; flex-direction: column; gap: 18px; max-width: 46em; }
.feature { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px; align-items: center; padding-top: 88px; }
.feature-text { display: flex; flex-direction: column; gap: 18px; }
.feature .figure { display: flex; flex-direction: column; align-items: center; }
.feature.flip .figure { order: -1; }

.flow { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 14px; line-height: 1.3; }
.flow span { background: var(--card); border-radius: 12px; padding: 10px 14px; text-align: center; color: #D1D1D6; }
.flow .to { background: none; padding: 0; color: var(--faint); }
.flow .us { color: var(--energy); font-weight: 600; }

.parts { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 16px; row-gap: 12px; font-size: 16px; }
.parts dt { display: flex; align-items: center; gap: 9px; font-weight: 600; }
.parts dt i { width: 9px; height: 9px; border-radius: 50%; }
.parts dd { margin: 0; color: var(--soft); }

.steps { display: flex; flex-direction: column; gap: 22px; width: 100%; max-width: 440px; }
.steps li { display: flex; flex-direction: column; gap: 10px; }
.steps b { display: flex; align-items: center; gap: 10px; font-size: 16px; }
.steps b i { display: flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 50%; background: var(--energy); color: #000000; font-size: 13px; font-style: normal; }

.row-head { padding-top: 96px; text-align: center; }
.row { display: grid; gap: 32px; padding-top: 56px; }
.row-head + .row { padding-top: 40px; }
.row.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.row.four { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 26px; }
.row figure { display: flex; flex-direction: column; align-items: center; text-align: center; }
.row figcaption { margin-top: 18px; max-width: 16em; color: var(--soft); font-size: 15px; line-height: 1.45; }
.row figcaption b { display: block; color: var(--text); font-size: 17px; margin-bottom: 2px; }

.needs { margin-top: 64px; background: var(--card); border-radius: 22px; padding: 28px 32px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 32px; align-items: center; }
.needs ul { display: flex; flex-direction: column; gap: 8px; }
.needs li { padding-left: 22px; position: relative; }
.needs li::before { content: ""; position: absolute; left: 2px; top: 0.62em; width: 8px; height: 8px; border-radius: 50%; background: var(--energy); }

/* Plans */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; padding-top: 48px; }
.plan { background: var(--card); border-radius: 22px; padding: 26px; display: flex; flex-direction: column; gap: 10px; border: 1px solid transparent; }
.plan.both { border-color: var(--lift); }
.plan p { color: var(--soft); font-size: 16px; }
.plan .note { margin-top: auto; padding-top: 10px; }

/* Questions */
.questions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 56px; padding-top: 48px; }
.questions div { display: flex; flex-direction: column; gap: 8px; }
.questions p { color: var(--soft); font-size: 16px; }

/* Foot of the page */
.site-footer { border-top: 1px solid var(--line); padding: 36px 0 56px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 32px; font-size: 14px; color: var(--faint); }
.site-footer nav { display: flex; gap: 24px; }
.site-footer a { color: var(--soft); text-decoration: none; }
.site-footer a:hover { color: var(--text); }

/* The other pages: plain reading */
.page { max-width: 720px; padding: 56px 0 96px; display: flex; flex-direction: column; gap: 18px; }
.page h1 { font-size: clamp(34px, 5vw, 48px); }
.page h2 { font-size: 24px; letter-spacing: -0.01em; margin-top: 22px; }
.page p, .page li { color: var(--soft); }
.page ul { list-style: disc; padding-left: 22px; display: flex; flex-direction: column; gap: 6px; }
.page a { color: var(--lift); }
.page b { color: var(--text); font-weight: 600; }
.draft { align-self: flex-start; padding: 8px 14px; border-radius: 10px; border: 1px solid var(--lift); color: var(--lift) !important; font-size: 14px; font-weight: 600; }
.updated { color: var(--faint) !important; font-size: 14px; }

@media (max-width: 860px) {
  .site-header nav { gap: 18px; }
  .hero { grid-template-columns: minmax(0, 1fr); padding: 24px 0 72px; gap: 40px; }
  .band { padding: 72px 0; }
  .feature { grid-template-columns: minmax(0, 1fr); gap: 32px; padding-top: 64px; }
  .feature.flip .figure { order: 0; }
  .needs { grid-template-columns: minmax(0, 1fr); gap: 16px; padding: 24px; }
  .plans, .questions { grid-template-columns: minmax(0, 1fr); }
  /* Rows of phones become a strip to swipe along */
  .row-head { padding-top: 72px; text-align: left; }
  .row.three, .row.four { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 64%; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -24px; padding: 40px 32px 12px; }
  .row figure { scroll-snap-align: center; }
}
@media (max-width: 520px) {
  .site-header nav a.wide { display: none; }
  .pair { gap: 32px; padding: 8px; }
}
