/* Tempo Score — swingtempo.app. The app's own look: forest green, lime, white,
   Plus Jakarta Sans. One stylesheet for every page. */

:root {
  --forest: #084628;
  --forest-2: #0d5532;
  --forest-3: #155e3b;
  --line: rgba(255, 255, 255, 0.14);
  --lime: #a4ed00;
  --lime-soft: #e9f2da;
  --ink: #10231a;
  --white: #ffffff;
  --sub: #c8dccf;
  --mute: #93b4a1;
  --radius: 18px;
  --wrap: 1120px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--forest);
  color: var(--white);
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 17px;
  line-height: 1.6;
}
/* height: auto, or an image's height attribute stretches it once its width shrinks. */
img { max-width: 100%; height: auto; display: block; }
a { color: var(--lime); }
a:hover { text-decoration-thickness: 2px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: 20px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; background: var(--lime); color: var(--ink); padding: 8px 12px; border-radius: 8px; z-index: 10; }

/* Header */
.header { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 20px; }
.wordmark { display: inline-flex; align-items: center; gap: 10px; color: var(--white); text-decoration: none; font-weight: 800; font-size: 21px; letter-spacing: -0.2px; }
.wordmark img { width: 34px; height: 34px; border-radius: 9px; }
.header nav { display: flex; gap: 22px; }
.header nav a { color: var(--sub); text-decoration: none; font-weight: 600; font-size: 15px; }
.header nav a:hover { color: var(--white); }

.badge { display: inline-flex; align-items: center; gap: 8px; background: var(--lime); color: var(--ink); font-weight: 700; font-size: 15px; padding: 11px 18px; border-radius: 12px; text-decoration: none; white-space: nowrap; }
/* The App Store button: black, Apple's mark, two lines, as Apple's own badge. */
.store { display: inline-flex; align-items: center; gap: 10px; background: #000; color: #fff; border: 1.5px solid rgba(255, 255, 255, 0.55); border-radius: 12px; padding: 9px 20px 9px 16px; text-decoration: none; line-height: 1.1; }
.store svg { width: 28px; height: 28px; flex: none; }
.store span { display: flex; flex-direction: column; font-weight: 700; font-size: 22px; letter-spacing: -0.3px; }
.store small { font-weight: 500; font-size: 11.5px; letter-spacing: 0.2px; }
.store:hover { border-color: #fff; }
.badge.ghost { background: transparent; color: var(--white); border: 1.5px solid var(--line); }

/* Hero */
.hero { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center; padding-block: 48px 72px; }
.eyebrow { color: var(--lime); font-weight: 700; font-size: 14px; letter-spacing: 1.2px; text-transform: uppercase; margin: 0 0 14px; }
h1 { font-size: clamp(40px, 6vw, 64px); line-height: 1.04; letter-spacing: -1.5px; margin: 0 0 20px; font-weight: 800; text-wrap: balance; }
.lead { font-size: 19px; color: var(--sub); max-width: 34em; margin: 0 0 28px; }
.ratio { display: inline-flex; align-items: baseline; gap: 10px; font-weight: 800; font-size: 22px; color: var(--white); margin-bottom: 28px; }
.ratio b { color: var(--lime); font-size: 30px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.soon { color: var(--mute); font-size: 14px; }

.phones { position: relative; display: flex; justify-content: center; gap: 18px; }
.phone { width: min(260px, 44vw); aspect-ratio: 923 / 2000; border-radius: 34px; background: #000; padding: 8px; box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35); }
.phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 27px; }
.phone.back { transform: translateY(40px); }

/* Sections */
section { padding-block: 64px; }
section h2 { font-size: clamp(28px, 4vw, 40px); letter-spacing: -0.8px; line-height: 1.12; margin: 0 0 14px; text-wrap: balance; }
.section-lead { color: var(--sub); max-width: 38em; margin: 0 0 36px; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: step; }
.step { background: var(--forest-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.step::before { counter-increment: step; content: counter(step); display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--lime); color: var(--ink); font-weight: 800; margin-bottom: 14px; }
.step h3 { margin: 0 0 6px; font-size: 19px; }
.step p { margin: 0; color: var(--sub); font-size: 15.5px; }

.banner { border-radius: 22px; overflow: hidden; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; }
.ticks li::before { content: ''; flex: none; width: 22px; height: 22px; margin-top: 3px; border-radius: 50%; background: var(--lime) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2310231a' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 14px no-repeat; }

.price { background: var(--lime-soft); color: var(--ink); border-radius: 22px; padding: 32px; }
.price h2 { color: var(--ink); }
.price p { color: #2b3a12; margin: 0 0 10px; }
.price .amount { font-size: 34px; font-weight: 800; color: var(--ink); margin: 6px 0 4px; }
.price small { color: #4b5563; }

/* Legal and support pages */
.page { padding-block: 32px 72px; max-width: 760px; }
.page h1 { font-size: clamp(34px, 5vw, 48px); margin-bottom: 8px; }
.page h2 { font-size: 22px; letter-spacing: -0.3px; margin: 36px 0 10px; }
.page p, .page li { color: var(--sub); }
.page strong { color: var(--white); }
.page ul { padding-left: 20px; }
.updated { color: var(--mute) !important; font-size: 15px; }
.contact { background: var(--forest-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; margin-top: 24px; }
.contact p { margin: 0 0 6px; }
.contact a { font-weight: 700; font-size: 19px; }
details { background: var(--forest-2); border: 1px solid var(--line); border-radius: 14px; padding: 16px 20px; margin-bottom: 12px; }
details summary { cursor: pointer; font-weight: 700; color: var(--white); }
details p { margin: 10px 0 0; }

/* Footer */
.footer { border-top: 1px solid var(--line); padding-block: 32px 40px; display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; justify-content: space-between; }
.footer nav { display: flex; flex-wrap: wrap; gap: 18px; }
.footer nav a { color: var(--sub); text-decoration: none; font-size: 15px; }
.footer nav a:hover { color: var(--white); }
.footer small { flex-basis: 100%; color: var(--mute); font-size: 13px; }

@media (max-width: 860px) {
  .hero, .split { grid-template-columns: 1fr; }
  .hero { padding-top: 24px; gap: 40px; }
  .steps { grid-template-columns: 1fr; }
  .header nav { display: none; }
}
@media (max-width: 420px) {
  .phone.back { display: none; }
  .phone { width: 70vw; }
}
