/* Landing pages: Apple-style bands on top of styles.css + apple.css tokens. Linked only from the landing pages. */
.lp { --card: var(--surface); --gutter: 20px; }
.lp .wrap { max-width: 980px; margin-inline: auto; padding-inline: var(--gutter); }
.band { padding-block: 72px; background: var(--background); }
.band.alt { background: var(--surface); --card: var(--background); }
@media (min-width: 834px) { .band { padding-block: 112px; } }

/* Nav, footer and header mark stay grey, not link blue (apple.css colours every a:not(.btn)). Also linked from the six older pages. */
.hero > a { color: var(--foreground); }
.nav .brand, .nav .nav-link { color: var(--secondary-foreground); }
.nav .brand { color: var(--foreground); }
.nav .nav-link:hover { color: var(--foreground); }
footer a:not(.btn) { color: var(--secondary-foreground); }
footer a:not(.btn):hover { color: var(--foreground); }

/* Buttons: pills, system blue */
.lp .btn-lg { height: 48px; padding: 0 26px; font-size: 17px; font-weight: 400; border-radius: 980px; }
.lp .btn-ghost { border: 1px solid var(--primary); color: var(--link); background: transparent; }
.lp .btn-ghost:hover { background: color-mix(in srgb, var(--primary) 8%, transparent); border-color: var(--primary); }
.lp .ctas { gap: 14px; }
.more { font-size: 17px; text-decoration: none; }
.more::after { content: " \203A"; }
.more:hover { text-decoration: underline; }

/* Hero */
.hero-band { padding-block: 40px 0; text-align: center; overflow: hidden; }
.crumbs ol { list-style: none; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; font-size: 14px; color: var(--faint-foreground); }
.crumbs li + li::before { content: "\203A"; margin-right: 8px; }
.crumbs a:not(.btn) { color: var(--secondary-foreground); text-decoration: none; }
.crumbs a:hover { color: var(--foreground); }
.hero-band h1 { margin: 20px auto 0; max-width: 15em; font-size: clamp(2.5rem, 4.4vw + 1rem, 4.5rem); line-height: 1.05; letter-spacing: -0.035em; text-wrap: balance; }
.hero-band .lede { margin: 24px auto 0; max-width: 38em; font-size: clamp(1.1875rem, .5vw + 1rem, 1.5rem); line-height: 1.4; letter-spacing: -0.015em; color: var(--secondary-foreground); text-wrap: pretty; }
.hero-band .lede b { font-weight: 600; color: var(--foreground); }
.hero-band .ctas { margin-top: 32px; }
.hero-band .meta { margin-top: 16px; font-size: 14px; color: var(--faint-foreground); }
.page-shot { max-width: 1120px; margin: 64px auto 0; padding-inline: var(--gutter); }
.page-shot img { border-radius: 14px; box-shadow: 0 0 0 1px var(--border), 0 30px 80px rgb(0 0 0 / .18); }
.page-shot .devices img { border-radius: 12px; }
.page-shot .phone { border-radius: 22px !important; }
.page-shot figcaption { margin-top: 18px; font-size: 14px; color: var(--faint-foreground); }

/* Section heads */
.band-head { text-align: center; max-width: 40rem; margin-inline: auto; }
.band-head h2 { font-size: clamp(2rem, 2.4vw + 1rem, 3rem); line-height: 1.08; letter-spacing: -0.03em; text-wrap: balance; }
.band-head p { margin-top: 16px; font-size: clamp(1.0625rem, .3vw + 1rem, 1.3125rem); line-height: 1.45; color: var(--secondary-foreground); text-wrap: pretty; }
.band-body { margin-top: 48px; }
.band-body > p { max-width: 40rem; margin: -16px auto 0; text-align: center; font-size: clamp(1.0625rem, .3vw + 1rem, 1.3125rem); line-height: 1.5; color: var(--secondary-foreground); text-wrap: pretty; }
.band-body > p b { font-weight: 600; color: var(--foreground); }

/* Facts */
.facts { display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .facts { grid-template-columns: 1fr 1fr; } }
@media (min-width: 834px) { .facts { grid-template-columns: repeat(3, 1fr); } }
.facts div { padding: 24px 26px 26px; border-radius: 18px; background: var(--card); }
.facts dt { font-size: 14px; font-weight: 600; color: var(--faint-foreground); }
.facts dd { margin: 8px 0 0; font-size: 17px; line-height: 1.45; color: var(--foreground); text-wrap: pretty; }

/* Feature grid from styles.css, on the band card colour */
.lp .grid { margin-top: 0; gap: 12px; }
.lp .grid li { padding: 26px; border-radius: 18px; background: var(--card); }
.lp .grid h3 { font-size: 19px; font-weight: 600; letter-spacing: -0.02em; display: flex; align-items: center; gap: 8px; }
.lp .grid p { margin-top: 8px; font-size: 15px; line-height: 1.5; color: var(--secondary-foreground); }
.lp .chip { --chip-400: var(--accent); --chip-300: var(--accent); font-size: 12px; }

.shot { max-width: 760px; margin: 40px auto 0; }
.shot img { border-radius: 14px; box-shadow: 0 0 0 1px var(--border), 0 20px 50px rgb(0 0 0 / .14); }
.shot figcaption { margin-top: 14px; text-align: center; font-size: 14px; color: var(--faint-foreground); }

/* Comparison table: scrolls sideways on phones, first column stays put */
.compare { border-radius: 18px; background: var(--card); overflow-x: auto; overscroll-behavior-x: contain; }
.compare:focus-visible { border-radius: 18px; }
.compare table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 15px; line-height: 1.5; }
.compare th, .compare td { text-align: left; vertical-align: top; padding: 16px 20px; border-top: 1px solid var(--border); }
.compare thead th, .compare thead td { border-top: 0; padding-block: 20px 14px; font-size: 17px; font-weight: 600; color: var(--foreground); }
.compare tbody th { width: 9rem; font-size: 14px; font-weight: 600; color: var(--faint-foreground); }
.compare tr > :first-child { position: sticky; left: 0; z-index: 1; background: var(--card); }
.compare td { color: var(--secondary-foreground); }
.compare td:nth-child(2) { color: var(--foreground); }
.compare thead th:nth-child(2) { color: var(--accent); }
.band-body > p.scroll-hint { display: none; margin: 12px auto 0; text-align: center; font-size: 13px; color: var(--faint-foreground); }
.band-body > p.source { margin: 20px auto 0; max-width: 46rem; text-align: center; font-size: 13px; line-height: 1.6; color: var(--faint-foreground); }
@media (max-width: 679px) {
  .band-body > p.scroll-hint { display: block; }
  .compare tbody th { width: 6.5rem; }
  .compare th, .compare td { padding: 14px 14px; }
}

/* Choose X if / choose Kosmica if */
.choose { display: grid; gap: 12px; margin-top: 40px; }
.band-body > .choose:first-child { margin-top: 0; }
@media (min-width: 720px) { .choose { grid-template-columns: repeat(var(--cols, 2), 1fr); } .choose.cols-3 { --cols: 3; } }
.choose > div { padding: 28px; border-radius: 18px; background: var(--card); }
.choose h3 { font-size: 21px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.2; }
.choose .pick h3 { color: var(--accent); }
.choose ul { list-style: none; padding: 0; margin-top: 16px; }
.choose li { position: relative; padding-left: 22px; font-size: 15px; line-height: 1.5; color: var(--secondary-foreground); }
.choose li + li { margin-top: 10px; }
.choose li::before { content: ""; position: absolute; left: 2px; top: .6em; width: 6px; height: 6px; border-radius: 50%; background: var(--faint-foreground); }
.choose .pick li { color: var(--foreground); }
.choose .pick li::before { background: var(--accent); }

/* Steps */
.steps { list-style: none; padding: 0; display: grid; gap: 12px; counter-reset: step; max-width: 46rem; margin-inline: auto; }
.steps li { counter-increment: step; position: relative; padding: 22px 24px 22px 72px; border-radius: 18px; background: var(--card); font-size: 17px; line-height: 1.45; color: var(--secondary-foreground); }
.steps li::before { content: counter(step); position: absolute; left: 24px; top: 20px; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: var(--primary); color: #fff; font-size: 15px; font-weight: 600; font-variant-numeric: tabular-nums; }
.steps b { font-weight: 600; color: var(--foreground); }
.band-body > p.note { margin: 20px auto 0; max-width: 46rem; text-align: center; font-size: 14px; line-height: 1.55; color: var(--faint-foreground); }

/* FAQ */
.lp .faq-list { max-width: 46rem; margin: 0 auto; border-top: 1px solid var(--border); }
.lp .faq summary { padding: 22px 0; font-size: 19px; font-weight: 600; letter-spacing: -0.02em; }
.lp .faq summary:hover { color: var(--accent); }
.lp .faq details p { margin: -6px 0 24px; font-size: 17px; line-height: 1.55; }

/* Closing CTA */
.cta-band { text-align: center; }
.cta-band .mark { width: 44px; margin-bottom: 24px; color: var(--foreground); }
.cta-band h2 { font-size: clamp(2.25rem, 3.4vw + 1rem, 3.75rem); line-height: 1.05; letter-spacing: -0.035em; text-wrap: balance; }
.cta-band p { margin: 16px auto 0; max-width: 34rem; font-size: clamp(1.0625rem, .3vw + 1rem, 1.3125rem); color: var(--secondary-foreground); }
.cta-band .ctas { margin-top: 32px; align-items: center; gap: 24px; }

/* Related pages */
.related { list-style: none; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.related a:not(.btn) { display: block; height: 100%; padding: 22px 24px; border-radius: 18px; background: var(--card); color: var(--foreground); text-decoration: none; transition: transform .3s cubic-bezier(.28,.11,.32,1); }
.related a:hover { transform: translateY(-2px); }
.related b { display: block; font-size: 17px; font-weight: 600; letter-spacing: -0.02em; }
.related b::after { content: " \203A"; color: var(--link); }
.related span { display: block; margin-top: 6px; font-size: 14px; line-height: 1.45; color: var(--secondary-foreground); }
@media (prefers-reduced-motion: reduce) { .related a:hover { transform: none; } }
