/* swiminfo.net landing. Layout and type after touchpadapp.com, light palette. */
:root {
  color-scheme: light;
  --bg: #F5EFE8; --bg-2: #EDE6DD;
  --ink: #17110C; --ink-2: rgba(23,17,12,.66); --ink-3: rgba(23,17,12,.44);
  --line: rgba(23,17,12,.10); --line-2: rgba(23,17,12,.16); --card: rgba(23,17,12,.04);
  --lane-A: #3D6DD4; --lane-B: #CC5030; --lane-C: #2CA58E; --lane-D: #C5A600; --lane-E: #CF8522; --lane-F: #B33AA5;
  --lane-D-ink: #8F6E00; /* yellow eyebrow text needs a darker step on the light ground */
  --sans: "Geist", Inter, system-ui, -apple-system, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --maxw: 1120px; --pad: 26px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.5;
  -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
h1, h2 { margin: 0; letter-spacing: -.03em; }
:focus-visible { outline: 2px solid var(--lane-A); outline-offset: 3px; }
.in { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad); }

/* nav */
.nav { border-bottom: 1px solid var(--line); }
.nav .in { display: flex; align-items: center; justify-content: space-between; padding-top: 14px; padding-bottom: 14px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; letter-spacing: -.01em; }
.brand img { width: 28px; height: 28px; border-radius: 7px; }
.nav-links { display: flex; align-items: center; gap: 22px; font-size: 14px; color: var(--ink-2); }
.nav-links a:hover { color: var(--ink); }

/* hero */
.hero { padding: clamp(32px, 4vw, 48px) 0; }
.hero .in { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(48px, 7.5vw, 88px); font-weight: 800; letter-spacing: -.045em; line-height: .9; }
.hero .sub { font-size: clamp(17px, 2vw, 20px); color: var(--ink-2); line-height: 1.45; max-width: 26em; margin: 18px 0 0; }
.hero .sub-note { font-size: 15px; color: var(--ink-3); margin: 10px 0 0; }
.cta { display: flex; flex-direction: column; align-items: flex-start; margin-top: 26px; }
.stores { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.stores a { display: inline-flex; border-radius: 11px; transition: transform .12s, filter .2s; }
.stores a:hover { filter: brightness(1.09); }
.stores a:active { transform: scale(.97); }
.stores img { height: 52px; width: auto; }
.seelink { display: inline-flex; align-items: center; gap: 6px; margin-top: 18px; font-size: 15px; color: var(--ink-2); transition: color .2s, gap .2s; }
.seelink:hover { color: var(--ink); gap: 9px; }

/* hero ladder: four rungs, one blue ramp fastest -> slowest */
.ladder-box { max-width: 420px; margin-left: auto; width: 100%; }
.tabs { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 12px; font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.tab-set { display: flex; gap: 6px; }
.asof { color: var(--ink-3); font-size: 11px; letter-spacing: .06em; white-space: nowrap; }
.tabs label { padding: 7px 13px; white-space: nowrap; border-radius: 999px; border: 1px solid var(--line-2); color: var(--ink-2); cursor: pointer; transition: background .15s, color .15s; }
.tabs label:hover { color: var(--ink); }
#lad-open:checked ~ .tabs label[for="lad-open"], #lad-masters:checked ~ .tabs label[for="lad-masters"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.ladder { display: flex; flex-direction: column; gap: 8px; width: 100%; }
.ladder.masters { display: none; }
#lad-masters:checked ~ .ladder.masters { display: flex; }
#lad-masters:checked ~ .ladder.open { display: none; }
.rung { position: relative; overflow: hidden; display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 14px;
  padding: 12px 18px; border-radius: 14px; color: #fff; text-decoration: none; transition: transform .15s; }
.rung .key { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.1; }
.rung::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255,255,255,.10), rgba(0,0,0,.06)); pointer-events: none; }
.rung:hover { transform: translateX(4px); }
.rung .lb { font-weight: 800; font-size: clamp(20px, 2.3vw, 24px); letter-spacing: -.02em; line-height: 1; }
.rung .ds { font-family: var(--mono); font-size: 11px; opacity: .78; letter-spacing: .02em; margin-top: 5px; }
.rung .ag { font-family: var(--mono); font-weight: 400; font-size: 12px; letter-spacing: .02em; opacity: .72; margin-left: 4px; vertical-align: 2px; }
.rung .tm { font-family: var(--mono); font-weight: 700; font-size: clamp(18px, 2.1vw, 22px); font-variant-numeric: tabular-nums; }
.rung .val { display: flex; flex-direction: column; align-items: flex-end; line-height: 1.1; }
.rung .pts { font-family: var(--mono); font-size: 11px; opacity: .78; letter-spacing: .02em; margin-top: 3px; }
.r1 { background: #1B4FB8; } .r2 { background: #3D6DD4; } .r3 { background: #7A9BE0; }
.r4 { background: #BFCDEE; color: var(--ink); } .r4 .ds, .r4 .pts { opacity: .6; }
.m1 { background: #1F7A6A; } .m2 { background: #2CA58E; } .m3 { background: #7FC7B6; }
.m4 { background: #CDE8E1; color: var(--ink); } .m4 .ds, .m4 .pts { opacity: .6; }
.rung.note { display: flex; align-items: center; justify-content: center; text-align: center; min-height: 62px; background: var(--card); border: 1px dashed var(--line-2); color: var(--ink-2); font-size: 14px; }
.rung.note::after { display: none; }
.rung.note:hover { color: var(--ink); }
.ladder-cap { text-align: center; font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); margin-top: 12px; }

/* why band */
.why { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.why .in { padding-top: 30px; padding-bottom: 30px; display: grid; grid-template-columns: auto 1fr; gap: 36px; align-items: baseline; }
.why .k { font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--lane-A); white-space: nowrap; }
.why p { font-size: clamp(17px, 2vw, 21px); line-height: 1.45; font-weight: 500; letter-spacing: -.01em; margin: 0; max-width: 46em; }
.why .dim { display: block; color: var(--ink-3); margin-top: .35em; }

/* features */
.feat-wrap { padding: 22px 0; }
.feat { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.feat.rev .feat-media { order: -1; }
.eyebrow { font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.feat-copy h2 { font-size: clamp(30px, 4.2vw, 46px); font-weight: 800; line-height: 1.02; margin: 14px 0 0; }
.feat-copy p { font-size: clamp(16px, 1.9vw, 19px); color: var(--ink-2); line-height: 1.5; margin: 16px 0 0; max-width: 30em; }
.feat-copy .aside { font-size: 14px; color: var(--ink-3); margin-top: 14px; }
.feat-copy .aside a { color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; }
.feat-copy .aside a:hover { color: var(--ink); }
.feat-media { display: flex; justify-content: center; }
.shot { border-radius: 28px; overflow: hidden; max-width: 520px; }
.shot img { width: 100%; height: auto; }
.cap { margin-top: 15px; text-align: center; font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }

/* facts: freshness, bordered cards */
.facts { padding: clamp(24px, 4vw, 48px) 0 0; }
.facts .eyebrow { display: block; color: var(--lane-A); margin-bottom: 18px; }
.facts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.fact { display: grid; grid-template-columns: auto 1fr; gap: 16px; padding: 20px; background: var(--card); border: 1px solid var(--line); border-radius: 15px; }
.fact .idx { font-family: var(--mono); font-size: 12px; color: var(--ink-3); padding-top: 2px; }
.fact h3 { font-size: 17px; font-weight: 700; letter-spacing: -.01em; margin: 0 0 5px; }
.fact p { margin: 0; color: var(--ink-2); font-size: 14px; line-height: 1.45; }

/* get the app */
.get { text-align: center; padding: clamp(56px, 8vw, 96px) 0; }
.get .eyebrow { display: block; color: var(--lane-C); }
.get h2 { font-size: clamp(30px, 4.2vw, 46px); font-weight: 800; line-height: 1.02; margin: 14px 0 26px; }
.get .stores { justify-content: center; }
.fine { margin-top: 18px; font-size: 14px; color: var(--ink-3); }

/* footer */
.foot { border-top: 1px solid var(--line); }
.foot .in { padding-top: 28px; padding-bottom: 40px; display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: baseline; justify-content: space-between; font-size: 14px; color: var(--ink-2); }
.foot .copy { max-width: 34em; margin: 0; }
.foot .links { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.foot .links a:hover { color: var(--ink); }

@media (max-width: 860px) {
  .hero .in { grid-template-columns: 1fr; gap: 44px; }
  .ladder-box { margin: 0 auto; max-width: 360px; }
  .feat { grid-template-columns: 1fr; gap: 36px; }
  .feat.rev .feat-media { order: 0; }
  .feat-wrap { padding: 18px 0; }
  .why .in { grid-template-columns: 1fr; gap: 14px; }
  .facts-grid { grid-template-columns: 1fr; }
}
@media (max-width: 660px) {
  .nav-links .hide-sm { display: none; }
  .stores img { height: 44px; }
  .tabs { letter-spacing: .05em; }
  .tabs label { padding: 7px 10px; }
}

/* prose pages (privacy) */
.prose { max-width: 42rem; padding-top: clamp(32px, 5vw, 56px); padding-bottom: clamp(48px, 8vw, 96px); }
.prose h1 { font-size: clamp(30px, 4.2vw, 46px); font-weight: 800; line-height: 1.02; margin: 0 0 12px; }
.prose .muted { color: var(--ink-3); font-size: 14px; margin: 0 0 32px; }
.prose h2 { font-size: 20px; font-weight: 700; letter-spacing: -.01em; margin: 32px 0 8px; }
.prose p { color: var(--ink-2); margin: 0 0 12px; }
.prose a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
