/*
 * Landing page (Carlo, 12.11.2026): chapters with large type and real screenshots in device frames, a dark «floodlight»
 * chapter for statistics and AI, privacy, the comparison of the packages (radio buttons, no script), questions and the
 * free account. The pitch lines behind the hero are the only ornament; the screenshots rise once on load.
 */
:root {
  --lp-ink: var(--ink); --lp-muted: var(--muted); --lp-green: #1f6f43; --lp-green-ink: #fff;
  --lp-chalk: #f1f5ef; --lp-night: #0c3321; --lp-night-2: #0f4029; --lp-night-ink: #eef5ef; --lp-night-muted: #a9c3b2;
  --lp-frame: #fff; --lp-frame-bar: #eef1ed; --lp-shadow: 0 40px 80px -30px rgba(12, 51, 33, .45), 0 0 0 1px rgba(12, 51, 33, .08);
  --lp-radius: 16px; --lp-paper: #fff;
}
@media (prefers-color-scheme: dark) {
  :root { --lp-paper: #111613; --lp-chalk: #18201b; --lp-frame: #1a211d; --lp-frame-bar: #232c27; --lp-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7), 0 0 0 1px rgba(255, 255, 255, .06); --lp-green: #2f8f58; }
}

main.wrap.landing { max-width: none; padding: 0; background: var(--lp-paper); }
.landing .flash, .landing .notice { max-width: 1120px; margin: 16px auto; }
.lp-inner { max-width: 1120px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 40px); }
.lp-center { text-align: center; }

/* Type: the system face (San Francisco on Apple devices), heavy and tight for headlines, generous body. */
.lp-display { font-size: clamp(2.6rem, 7.4vw, 5.6rem); line-height: 1.02; letter-spacing: -.035em; font-weight: 750; margin: 0 auto .35em; max-width: 13ch; text-wrap: balance; }
.lp-display-small { font-size: clamp(2.2rem, 5.6vw, 4.2rem); }
.lp-title { font-size: clamp(2rem, 4.8vw, 3.6rem); line-height: 1.06; letter-spacing: -.03em; font-weight: 720; margin: 0 0 .45em; text-wrap: balance; }
.lp-title-left { text-align: left; }
.lp-lead { font-size: clamp(1.15rem, 1.9vw, 1.45rem); line-height: 1.45; color: var(--lp-muted); max-width: 36em; margin: 0 auto 1.4em; text-wrap: pretty; }
.lp-text { font-size: clamp(1.08rem, 1.5vw, 1.28rem); line-height: 1.55; color: var(--lp-muted); max-width: 32em; margin: 0; text-wrap: pretty; }
.lp-text-center { margin: 0 auto; }
.lp-note { color: var(--lp-muted); font-size: .95rem; margin: 0; }
.lp-apps { margin-top: .35em; }

/* Buttons: pills, the main action filled. */
.lp-ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin: 0 0 18px; }
.lp-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 26px; border-radius: 999px; font-weight: 650; font-size: 1.05rem; text-decoration: none; border: 1.5px solid transparent; }
.lp-btn-primary { background: var(--lp-green); color: var(--lp-green-ink); }
.lp-btn-primary:hover { background: color-mix(in srgb, var(--lp-green) 85%, #000); text-decoration: none; }
.lp-btn-quiet { color: var(--lp-green); border-color: color-mix(in srgb, var(--lp-green) 45%, transparent); }
.lp-btn-quiet:hover { background: color-mix(in srgb, var(--lp-green) 8%, transparent); }
.lp-btn-light { background: #fff; color: var(--lp-night); }
.lp-btn-light:hover { background: #e7f1ea; }
.lp-btn-small { min-height: 40px; padding: 0 16px; font-size: .95rem; margin-top: 12px; }
.lp-btn:focus-visible, .lp-q summary:focus-visible { outline: 3px solid color-mix(in srgb, var(--lp-green) 60%, #fff); outline-offset: 3px; }

/* Hero: centred words, then the stage with the pitch lines, the browser and the phone. */
.lp-hero { padding: clamp(48px, 9vw, 112px) 0 clamp(56px, 8vw, 104px); overflow: hidden; }
.lp-stage { position: relative; max-width: 1180px; margin: clamp(36px, 6vw, 72px) auto 0; padding: 0 clamp(16px, 4vw, 40px) 4%; }
.lp-pitch { position: absolute; left: -6%; right: -6%; top: 14%; width: 112%; height: auto; color: var(--lp-green); opacity: .14; z-index: 0; }
.lp-stage .lp-browser { position: relative; z-index: 1; width: 84%; }
.lp-phone-hero { position: absolute; z-index: 2; right: clamp(16px, 4vw, 40px); bottom: 0; width: 23%; }

/* Device frames. */
.lp-browser { margin: 0; background: var(--lp-frame); border-radius: var(--lp-radius); box-shadow: var(--lp-shadow); overflow: hidden; }
.lp-browser-bar { display: flex; gap: 7px; padding: 11px 14px; background: var(--lp-frame-bar); }
.lp-browser-bar i { width: 11px; height: 11px; border-radius: 50%; background: color-mix(in srgb, var(--lp-muted) 35%, transparent); }
.lp-browser img, .lp-phone img, .lp-card img { display: block; width: 100%; height: auto; }
.lp-phone { margin: 0; padding: 9px; background: #0b1510; border-radius: 42px; box-shadow: var(--lp-shadow); }
.lp-phone img { border-radius: 33px; }

/* Chapters. */
.lp-chapter { padding: clamp(72px, 11vw, 140px) 0; }
.lp-chalk { background: var(--lp-chalk); }
.lp-wide { margin-top: clamp(36px, 5vw, 64px); }
.lp-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.lp-split-flip { grid-template-columns: 1.45fr 1fr; }
.lp-split-flip .lp-copy { order: 2; }
.lp-split-ai { grid-template-columns: 1fr 1.2fr; }
.lp-media-phone { display: flex; justify-content: center; }
.lp-media-board { display: flex; justify-content: center; }
.lp-media-board .lp-card { width: min(440px, 92%); }
.lp-media-phone .lp-phone { width: min(340px, 78%); }

/* Night chapter: statistics and AI under floodlights. */
.lp-night { background: radial-gradient(120% 70% at 50% 0%, var(--lp-night-2), var(--lp-night) 62%); color: var(--lp-night-ink); }
.lp-night .lp-text { color: var(--lp-night-muted); }
.lp-night .lp-browser { --lp-shadow: 0 40px 90px -30px rgba(0, 0, 0, .75), 0 0 0 1px rgba(255, 255, 255, .08); }
.lp-pair { position: relative; padding-bottom: 6%; }
.lp-pair > .lp-browser:first-child { width: 78%; }
.lp-pair .lp-browser-small { position: absolute; right: clamp(16px, 4vw, 40px); bottom: 0; width: 38%; }
.lp-split-ai { margin-top: clamp(80px, 11vw, 140px); }

/* Together: the board on the phone next to the monthly card. */
.lp-together { display: flex; justify-content: center; align-items: center; gap: clamp(24px, 6vw, 80px); margin-top: clamp(36px, 5vw, 64px); }
.lp-together .lp-phone { width: min(320px, 44%); }
.lp-card { margin: 0; width: min(330px, 46%); border-radius: 22px; overflow: hidden; box-shadow: var(--lp-shadow); transform: rotate(2.5deg); }

/* Privacy: four facts side by side, a line on top of each. */
.lp-facts { list-style: none; margin: clamp(28px, 4vw, 48px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.lp-facts li { border-top: 2px solid var(--lp-green); padding-top: 16px; }
.lp-facts h3 { font-size: 1.15rem; margin: 0 0 .4em; letter-spacing: -.01em; }
.lp-facts p { margin: 0; color: var(--lp-muted); line-height: 1.5; }

/* About us (16.11.2026): the founder on the pitch next to the story, four figures below it, under the floodlights. */
.lp-about { --lp-night-accent: #8fd9ad; }
.lp-about-row { display: flex; align-items: center; gap: clamp(32px, 6vw, 88px); }
.lp-portrait { margin: 0; flex: 0 0 auto; width: clamp(170px, 20vw, 230px); }
.lp-portrait img { display: block; width: 100%; height: auto; border-radius: 22px; box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .75), 0 0 0 1px rgba(255, 255, 255, .08); }
.lp-portrait figcaption { margin-top: 14px; text-align: center; font-size: .9rem; line-height: 1.4; color: var(--lp-night-muted); }
.lp-about .lp-copy { flex: 1 1 auto; min-width: 0; }
.lp-eyebrow { margin: 0 0 .9em; font-size: .85rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--lp-night-accent); }
.lp-about .lp-text + .lp-text { margin-top: 1em; }
.lp-about-facts { list-style: none; margin: clamp(28px, 4vw, 44px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 32px; max-width: 34em; }
.lp-about-facts li { border-top: 1px solid rgba(255, 255, 255, .18); padding-top: 14px; }
.lp-about-facts b { display: block; font-size: clamp(1.7rem, 3vw, 2.3rem); line-height: 1.1; font-weight: 750; letter-spacing: -.02em; color: var(--lp-night-accent); }
.lp-about-facts span { display: block; margin-top: 4px; color: var(--lp-night-muted); line-height: 1.4; }
.lp-about-more { margin: clamp(28px, 4vw, 40px) 0 0; }
.lp-about-more a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 20px; border-radius: 999px; border: 1.5px solid rgba(255, 255, 255, .35);
  color: var(--lp-night-ink); font-weight: 650; text-decoration: none; }
.lp-about-more a:hover { background: rgba(255, 255, 255, .08); }
.lp-about-more a:focus-visible { outline: 3px solid var(--lp-night-accent); outline-offset: 3px; }

/* Packages: switches (radio buttons + labels) and one table per holder. */
.lp-plans { margin-top: clamp(28px, 4vw, 48px); }
.lp-radio { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.lp-switches { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 28px; }
.lp-seg { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--lp-chalk); box-shadow: inset 0 0 0 1px var(--line); }
.lp-seg label { padding: 9px 18px; border-radius: 999px; cursor: pointer; font-weight: 600; color: var(--lp-muted); user-select: none; }
#lp-month:checked ~ .lp-switches label[for="lp-month"], #lp-year:checked ~ .lp-switches label[for="lp-year"],
#lp-person:checked ~ .lp-switches label[for="lp-person"], #lp-club:checked ~ .lp-switches label[for="lp-club"] { background: var(--surface); color: var(--lp-ink); box-shadow: 0 1px 3px rgba(0, 0, 0, .14); }
#lp-month:focus-visible ~ .lp-switches label[for="lp-month"], #lp-year:focus-visible ~ .lp-switches label[for="lp-year"],
#lp-person:focus-visible ~ .lp-switches label[for="lp-person"], #lp-club:focus-visible ~ .lp-switches label[for="lp-club"] { outline: 3px solid color-mix(in srgb, var(--lp-green) 60%, #fff); outline-offset: 2px; }
#lp-month:checked ~ .lp-plan-panel .lp-p-year, #lp-year:checked ~ .lp-plan-panel .lp-p-month { display: none; }
#lp-person:checked ~ .lp-plan-panel.lp-for-club, #lp-club:checked ~ .lp-plan-panel.lp-for-person { display: none; }
.lp-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--lp-radius); box-shadow: 0 0 0 1px var(--line); background: var(--surface); }
.lp-plan-table { width: 100%; border-collapse: collapse; min-width: 640px; table-layout: fixed; } /* columns of the same width (20.11.2026) */
.lp-plan-table th, .lp-plan-table td { padding: 12px 16px; text-align: center; border-bottom: 1px solid var(--line); vertical-align: middle; }
.lp-plan-table .lp-rowhead { text-align: left; font-weight: 500; width: 24%; position: sticky; left: 0; background: var(--surface); }
/* The head in rows (20.11.2026): name, price, price per team, button, text line up across the columns. */
.lp-plan-table thead th, .lp-plan-table thead td { vertical-align: top; border-bottom: 0; padding-top: 4px; padding-bottom: 4px; }
.lp-plan-table thead .lp-rowhead { border-bottom: 1px solid var(--line); }
.lp-plan-table .lp-head-name th { padding-top: 24px; }
.lp-plan-table .lp-head-text td { padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.lp-plan-head > span { display: block; }
.lp-plan-name { font-weight: 720; letter-spacing: -.02em; line-height: 1.15; }
.lp-plan-name > span { display: block; }
.lp-plan-brand { font-size: .78rem; font-weight: 650; letter-spacing: 0; color: var(--lp-muted); }
.lp-plan-size { font-size: 1.6rem; }
.lp-price { display: block; font-size: 1.15rem; font-weight: 650; margin-top: 2px; white-space: nowrap; }
.lp-price small { display: block; white-space: normal; }
.lp-star { color: var(--lp-green); font-weight: 700; margin-left: 1px; }
.lp-price::first-letter { text-transform: uppercase; }
.lp-price small { font-weight: 500; color: var(--lp-muted); font-size: .8rem; }
.lp-per-team { display: block; font-size: .8rem; font-weight: 600; color: var(--lp-ink, inherit); }
.lp-plan-text { display: block; font-size: .82rem; font-weight: 400; color: var(--lp-muted); margin: 6px auto 0; max-width: 22em; line-height: 1.4; }
.lp-group th { text-align: left; font-size: .95rem; font-weight: 700; background: var(--lp-chalk); position: static; }
/* The title of a group stays in view when the table scrolls sideways on a small screen (13.11.2026): the cell spans
   the whole table, the text sticks to the left edge of the visible part and wraps within it. */
/* Promotions (13.11.2026): the column of a package with a promotion stands out, its price before is struck. */
.lp-plan-table .lp-has-promo { background: color-mix(in srgb, var(--lp-green) 9%, var(--surface)); }
.lp-plan-table th.lp-has-promo { box-shadow: inset 0 3px 0 var(--lp-green); }
.lp-plan-head > span.lp-promo { display: inline-block; }
.lp-promo { margin: 8px auto 0; padding: 3px 10px; border-radius: 999px; background: var(--lp-green); color: var(--lp-green-ink); font-size: .78rem; font-weight: 700; line-height: 1.3; }
.lp-price s { color: var(--lp-muted); font-weight: 500; font-size: .85em; margin-right: 2px; }
.lp-promo-then { font-size: .78rem; color: var(--lp-muted); margin-top: 2px; }
.lp-promo-note { margin: 0 0 12px; text-align: center; font-size: .95rem; color: var(--lp-green); }
.lp-group-title { display: inline-block; position: sticky; left: 16px; max-width: calc(100vw - 72px); }
.lp-yes { color: var(--lp-green); font-weight: 800; font-size: 1.15rem; }
.lp-no { color: color-mix(in srgb, var(--lp-muted) 70%, transparent); }
.lp-option { display: inline-block; font-size: .78rem; font-weight: 650; padding: 1px 8px; border-radius: 999px; background: color-mix(in srgb, var(--lp-green) 12%, transparent); color: var(--lp-green); }
.lp-plan-table td small { display: block; color: var(--lp-muted); font-size: .78rem; }
.lp-fine { text-align: center; color: var(--lp-muted); font-size: .92rem; margin-top: 18px; }

/* Questions. */
.lp-faq { display: grid; grid-template-columns: 1fr 2fr; gap: clamp(24px, 5vw, 64px); align-items: start; }
.lp-faq-list { border-top: 1px solid var(--line); }
.lp-q { border-bottom: 1px solid var(--line); }
.lp-q summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; padding: 20px 0; font-size: 1.12rem; font-weight: 650; }
.lp-q summary::-webkit-details-marker { display: none; }
.lp-q summary::after { content: "+"; font-weight: 400; font-size: 1.5rem; line-height: 1; color: var(--lp-green); transition: transform .2s ease; }
.lp-q[open] summary::after { transform: rotate(45deg); }
.lp-q p { margin: 0 0 20px; color: var(--lp-muted); line-height: 1.55; max-width: 40em; }

/* Last call. */
.lp-final { background: var(--lp-night); color: var(--lp-night-ink); padding: clamp(72px, 11vw, 136px) 0; }
.lp-final .lp-lead { color: var(--lp-night-muted); }
.lp-final .install-app { margin-top: 8px; color: var(--lp-night-ink); }
.lp-final .install-app .btn { background: transparent; color: var(--lp-night-ink); border-color: rgba(255, 255, 255, .35); }
.lp-final .install-help, .lp-final .muted { color: var(--lp-night-muted); }

/* The one moment of motion: the screenshots of the hero rise into place. */
@keyframes lp-rise { from { opacity: 0; transform: translateY(48px); } to { opacity: 1; transform: none; } }
.lp-rise { animation: lp-rise .9s cubic-bezier(.2, .7, .2, 1) both; }
.lp-rise-late { animation-delay: .22s; }
@media (prefers-reduced-motion: reduce) { .lp-rise, .lp-q summary::after { animation: none; transition: none; } }

@media (max-width: 900px) {
  .lp-facts { grid-template-columns: 1fr 1fr; }
  .lp-faq { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .lp-split, .lp-split-flip, .lp-split-ai { grid-template-columns: 1fr; }
  .lp-split-flip .lp-copy { order: 0; }
  .lp-stage .lp-browser { width: 100%; }
  .lp-phone-hero { width: 34%; bottom: -8%; right: 6px; border-radius: 26px; padding: 5px; }
  .lp-phone-hero img { border-radius: 21px; }
  .lp-stage { padding-bottom: 12%; }
  .lp-pair > .lp-browser:first-child { width: 100%; }
  .lp-pair .lp-browser-small { position: relative; right: auto; width: 100%; margin-top: 20px; }
  .lp-pair { padding-bottom: 0; }
  .lp-together { flex-direction: column; }
  .lp-together .lp-phone, .lp-card { width: min(300px, 82%); }
  .lp-facts { grid-template-columns: 1fr; }
  /* Five columns of the same width: the table scrolls sideways, the names of the rows stay (20.11.2026). */
  .lp-plan-table { min-width: 720px; }
  .lp-plan-table th, .lp-plan-table td { padding: 10px 10px; }
  .lp-plan-table .lp-rowhead { width: 22%; }
  .lp-price { font-size: 1rem; }
  .lp-plan-size { font-size: 1.35rem; }
  .lp-about-row { flex-direction: column; align-items: stretch; }
  .lp-portrait { width: min(240px, 66%); margin: 0 auto; }
  .lp-portrait img { aspect-ratio: 3 / 4; object-fit: cover; object-position: 50% 14%; }
}
/* Match day (15.11.2026 evening): the tablet with the live tab, the phone with the penalty shootout in front. */
.lp-pair-phone > .lp-browser:first-child { width: 80%; }
.lp-pair-phone > .lp-phone { position: absolute; right: clamp(8px, 3vw, 32px); bottom: 0; width: 22%; }
@media (max-width: 760px) {
  .lp-pair-phone > .lp-browser:first-child { width: 100%; }
  .lp-pair-phone > .lp-phone { position: relative; right: auto; width: min(280px, 70%); margin: 24px auto 0; }
}
.lp-head-btn .lp-btn-small { margin-top: 8px; }
