/* PhoneFit page stylesheet. Leans on /styles.css for layout and takes its look from the app itself:
   the tokens below mirror design/tokens/lazyfit.theme.json in the PhoneFit repo (ink ground, one lime
   accent, orange for the push, blue for calm; 14 / 20 / 28 radii; heavy type; big pill buttons). */

body.lf-page {
  --lf-ink: #0f1115;
  --lf-surface: #181b21;
  --lf-sunken: #22262e;
  --lf-line: rgba(255, 255, 255, .10);
  --lf-lime: #c8f04b;
  --lf-lime-soft: #2a3418;
  --lf-orange: #ff6b3d;
  --lf-blue: #7dd3fc;
  --lf-text: #f7f8fa;
  --lf-muted: #9aa1ac;
  --lf-r-md: 14px;
  --lf-r-lg: 20px;
  --lf-r-xl: 28px;
  --bg: var(--lf-ink);
  --surface: var(--lf-surface);
  --text: var(--lf-text);
  --muted: var(--lf-muted);
  background: var(--lf-ink);
  color: var(--lf-text);
}

/* Header & footer accents */
.lf-page .site-header,
.lf-page footer { border-color: var(--lf-line); }
.lf-page .brand-mark { --brand-mark: var(--lf-lime); }
.lf-page nav a:hover,
.lf-page nav a:focus-visible,
.lf-page footer a:hover,
.lf-page footer a:focus-visible { color: var(--lf-lime); }

main { padding-bottom: 80px; }
.lf-page h1, .lf-page h2, .lf-page h3 { font-weight: 800; }
.lf-page h2 { font-size: clamp(26px, 3.4vw, 40px); line-height: 1.08; letter-spacing: -.03em; margin: 0 0 12px; }

/* HERO */
.lf-hero {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: center;
  padding: 72px 0 64px;
}
.lf-eyebrow {
  margin: 0 0 18px;
  color: var(--lf-lime);
  font: 800 12px/1 Inter, ui-sans-serif, -apple-system, sans-serif;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.lf-hero h1 {
  font-size: clamp(40px, 5.8vw, 68px);
  line-height: 1.02;
  letter-spacing: -.045em;
  font-weight: 800;
  margin: 0 0 24px;
}
.lf-hero h1 span { color: var(--lf-lime); }
.lf-lead {
  max-width: 580px;
  margin: 0 0 26px;
  color: var(--lf-muted);
  font-size: clamp(17px, 1.8vw, 19px);
  line-height: 1.55;
}
.lf-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 0 0 22px;
  color: var(--lf-muted);
  font-size: 14px;
}
.lf-pill {
  background: var(--lf-lime);
  color: var(--lf-ink);
  border-radius: 999px;
  padding: 3px 13px;
  font-weight: 800;
  font-size: 13px;
}
.lf-store .lf-ico { width: 18px; height: 18px; margin-right: 9px; flex: none; }
.lf-store-links { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; }
.lf-store {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  margin: 0;
  padding: 0 22px;
  border: 1px solid var(--lf-line);
  border-radius: 999px;
  background: var(--lf-surface);
  color: var(--lf-text);
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
}
/* the primary action wears the accent, like the app's Start button */
.lf-store-links .lf-store:first-child { background: var(--lf-lime); border-color: var(--lf-lime); color: var(--lf-ink); font-weight: 800; }
.lf-store:hover, .lf-store:focus-visible { border-color: var(--lf-lime); }
.lf-store--beta { border-style: dashed !important; color: var(--lf-muted); background: transparent; }
.lf-store--soon { color: var(--lf-blue); background: transparent; border-style: dashed; cursor: default; }

/* real screens in the hero: an iPhone and an Android phone, overlapped */
.lf-hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  min-height: 460px;
}
.lf-shot { margin: 0; position: absolute; border-radius: 34px; overflow: hidden; border: 6px solid #2a2f38; background: #000; box-shadow: 0 30px 60px rgba(0, 0, 0, .55); }
.lf-shot img { display: block; width: 100%; height: auto; }
.lf-shot--a { width: min(46%, 230px); left: 4%; top: 0; transform: rotate(-4deg); }
.lf-shot--b { width: min(46%, 230px); right: 4%; bottom: 0; transform: rotate(3deg); border-radius: 26px; }

/* HOW IT WORKS */
.lf-how { padding: 56px 0 72px; border-top: 1px solid var(--lf-line); }
.lf-how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.lf-step {
  background: var(--lf-surface);
  border-radius: var(--lf-r-lg);
  padding: 24px;
}
.lf-step h3 { margin: 12px 0 8px; font-size: 20px; letter-spacing: -.02em; }
.lf-step p { margin: 0; color: var(--lf-muted); font-size: 15px; }
.lf-step-num { color: var(--lf-lime); font: 800 12px/1 Inter, ui-sans-serif, sans-serif; letter-spacing: .14em; }
.lf-where { margin: 32px 0 0; color: var(--lf-blue); font-weight: 700; }

/* SCREENS */
.lf-screens { padding: 64px 0 72px; border-top: 1px solid var(--lf-line); }
.lf-gal {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  align-items: start;
}
.lf-gal-item { margin: 0; }
.lf-gal-item img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--lf-r-xl);
  border: 1px solid var(--lf-line);
  background: var(--lf-surface);
}
.lf-gal-item figcaption { margin-top: 10px; color: var(--lf-muted); font-size: 13px; font-weight: 700; letter-spacing: .02em; text-align: center; }
.lf-gal-item--wide { grid-column: span 3; max-width: 560px; justify-self: center; }

/* MOVES */
.lf-moves { padding: 64px 0 72px; border-top: 1px solid var(--lf-line); }
.lf-section-desc { margin: 0 0 28px; color: var(--lf-muted); }
.lf-move-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.lf-move-list li {
  padding: 11px 20px;
  border-radius: 999px;
  background: var(--lf-surface);
  border: 1px solid var(--lf-line);
  font-weight: 700;
  font-size: 15px;
}
.lf-move-list li:nth-child(3n + 1) { border-color: rgba(200, 240, 75, .5); }
.lf-move-list li:nth-child(3n + 2) { border-color: rgba(255, 107, 61, .5); }
.lf-move-list li:nth-child(3n) { border-color: rgba(125, 211, 252, .5); }

/* FEATURES */
.lf-features { padding: 64px 0 80px; border-top: 1px solid var(--lf-line); }
.lf-features h2 { margin-bottom: 28px; }
.lf-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}
.lf-card {
  background: var(--lf-surface);
  border: 1px solid transparent;
  border-radius: var(--lf-r-lg);
  padding: 24px;
  transition: border-color .15s ease;
}
.lf-card:hover { border-color: rgba(200, 240, 75, .5); }
.lf-card--new { background: var(--lf-lime-soft); }
.lf-card h3 { margin: 0 0 8px; font-size: 18px; letter-spacing: -.01em; }
.lf-card p { margin: 0; color: var(--lf-muted); font-size: 15px; }

/* PRIVACY */
.lf-privacy { border-top: 1px solid var(--lf-line); padding-top: 48px; max-width: 720px; }
.lf-privacy p { color: var(--lf-muted); margin: 0 0 14px; }
.lf-links { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 22px; }
.lf-links a { color: var(--lf-lime); text-decoration: none; font-size: 14px; font-weight: 700; }
.lf-links a:hover, .lf-links a:focus-visible { text-decoration: underline; }

/* Policy page on this palette */
.lf-page .policy .eyebrow,
.lf-page .policy a { color: var(--lf-lime); }

/* RESPONSIVE */
@media (max-width: 860px) {
  .lf-hero { grid-template-columns: 1fr; gap: 28px; padding-top: 48px; }
  .lf-hero-visual { order: -1; min-height: 420px; }
  .lf-how-grid { grid-template-columns: 1fr; }
  .lf-gal { grid-template-columns: repeat(2, 1fr); }
  .lf-gal-item--wide { grid-column: span 2; }
}
@media (max-width: 460px) {
  .lf-shot--a, .lf-shot--b { width: 48%; }
  .lf-hero-visual { min-height: 360px; }
}

@media (prefers-reduced-motion: reduce) {
  .lf-card { transition: none; }
}

/* Japanese: break at phrase boundaries, not mid-word */
:lang(ja) h1, :lang(ja) h2, :lang(ja) h3, :lang(ja) p, :lang(ja) li { word-break: auto-phrase; line-break: strict; }
