/*
Public/pre-login pages styling (index.html, sign_up.html,
registration/login.html, f-liiga_front.html, f-liiga_product.html,
references.html) — scoped under .landing so it can never leak into the
shared styles.css used by the logged-in app (team-selection, shot-map,
editors, etc). The name predates covering more than the homepage; kept
as-is to avoid an unnecessary rename across already-shipped templates.
*/

.landing {
    --landing-navy: #002072;
    --landing-navy-dark: #001648;
    --landing-accent: #3046FB;
    --landing-ink: #14161f;
    --landing-muted: #5b5f6e;
    --landing-bg: #f5f6fa;
    font-family: 'Montserrat', sans-serif;
    color: var(--landing-ink);
    background: var(--landing-bg);
    overflow-x: hidden;
}

.landing__section {
    max-width: 1120px;
    margin: 0 auto;
    padding: 88px 24px;
}

/* Hero */

.landing-hero {
    display: flex;
    align-items: center;
    gap: 56px;
    max-width: 1120px;
    margin: 0 auto;
    padding: 72px 24px 96px;
}

.landing-hero__text {
    flex: 1 1 480px;
}

.landing-hero__media {
    flex: 1 1 420px;
}

.landing-hero__media img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 24px 48px -24px rgba(0, 32, 114, 0.35);
    display: block;
}

.landing-eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 13px;
    font-weight: 700;
    color: var(--landing-accent);
    margin: 0 0 16px;
}

.landing-hero h1 {
    font-size: 44px;
    line-height: 1.15;
    font-weight: 700;
    margin: 0 0 20px;
    color: var(--landing-navy-dark);
}

.landing-lead {
    font-size: 18px;
    line-height: 1.6;
    color: var(--landing-muted);
    margin: 0 0 32px;
    max-width: 46ch;
}

.landing-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 28px;
}

.landing-btn {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.landing-btn:hover {
    text-decoration: none;
    transform: translateY(-2px);
}

.landing-btn--primary {
    background: var(--landing-navy);
    color: #fff;
    box-shadow: 0 12px 24px -10px rgba(0, 32, 114, 0.55);
}

.landing-btn--primary:hover {
    color: #fff;
    box-shadow: 0 16px 28px -10px rgba(0, 32, 114, 0.65);
}

.landing-btn--ghost {
    background: transparent;
    color: var(--landing-navy);
    border: 2px solid rgba(0, 32, 114, 0.2);
}

.landing-btn--ghost:hover {
    color: var(--landing-navy);
    border-color: var(--landing-navy);
}

/* Lets a <button> (e.g. a Stripe checkout <form>) match the look of the <a>-based
   .landing-btn used everywhere else. Only resets native button chrome (OS-drawn
   border/background, UI font) — never sets border/background/color itself, so
   .landing-btn--primary/--ghost stay in full control of those despite this rule's
   higher specificity (button.landing-btn beats a single .landing-btn--ghost class). */
button.landing-btn {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    font-family: inherit;
    cursor: pointer;
    line-height: normal;
}

.landing-stats-section {
    max-width: 1120px;
    margin: 0 auto;
    padding: 64px 24px;
    text-align: center;
}

.landing-stats {
    display: flex;
    justify-content: center;
    gap: 64px;
    flex-wrap: wrap;
}

.landing-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: landingStatIn 0.6s ease-out both;
}

.landing-stat:nth-child(2) {
    animation-delay: 0.15s;
}

@keyframes landingStatIn {
    from {
        opacity: 0;
        transform: translateY(14px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.landing-stat__number {
    font-size: 44px;
    font-weight: 800;
    color: var(--landing-accent);
    line-height: 1;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

.landing-stat__label {
    font-size: 15px;
    font-weight: 600;
    color: var(--landing-muted);
    margin-top: 6px;
}

/* Feature rows */

.landing-feature {
    display: flex;
    align-items: center;
    gap: 64px;
    max-width: 1120px;
    margin: 0 auto;
    padding: 56px 24px;
}

.landing-feature--reverse {
    flex-direction: row-reverse;
}

.landing-feature__media,
.landing-feature__text {
    flex: 1 1 440px;
}

.landing-media-pair {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.landing-feature__media img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 20px 40px -20px rgba(20, 22, 31, 0.25);
    display: block;
}

/* shotmap.jpg is a small, low-res source image (180x285) — stretching it to
   the full column width like the other feature photos makes it look blurry.
   Cap it near its native size instead of scaling it up. */
.landing-feature__media--compact {
    display: flex;
    justify-content: center;
}

.landing-feature__media--compact img {
    width: auto;
    max-width: 200px;
}

.landing-feature h2 {
    font-size: 30px;
    font-weight: 700;
    color: var(--landing-navy-dark);
    margin: 0 0 16px;
}

.landing-feature p {
    font-size: 16px;
    line-height: 1.7;
    color: var(--landing-muted);
    margin: 0;
}

.landing-checklist {
    list-style: none;
    margin: 24px 0 0;
    padding: 0;
    display: grid;
    gap: 12px;
}

.landing-checklist li {
    font-size: 16px;
    color: var(--landing-ink);
    padding-left: 30px;
    position: relative;
}

.landing-checklist li::before {
    content: '\2713';
    position: absolute;
    left: 0;
    top: 0;
    width: 20px;
    height: 20px;
    color: #fff;
    background: var(--landing-navy);
    border-radius: 50%;
    font-size: 12px;
    line-height: 20px;
    text-align: center;
}

/* Demo / video */

.landing-demo {
    text-align: center;
    background: #fff;
    padding: 72px 24px;
}

.landing-demo h2 {
    font-size: 30px;
    font-weight: 700;
    color: var(--landing-navy-dark);
    margin: 0 0 32px;
}

.landing-video {
    max-width: 720px;
    margin: 0 auto;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 40px -20px rgba(20, 22, 31, 0.25);
    aspect-ratio: 16 / 9;
}

.landing-video iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

/* Closing CTA */

.landing-footer-cta {
    text-align: center;
}

.landing-footer-cta h2 {
    font-size: 30px;
    font-weight: 700;
    color: var(--landing-navy-dark);
    margin: 0 0 28px;
}

.landing-footer-cta p {
    margin: 24px 0 0;
    font-size: 15px;
    color: var(--landing-muted);
}

.landing-footer-cta a:not(.landing-btn) {
    color: var(--landing-navy);
    font-weight: 700;
}

/* Responsive */

@media (max-width: 860px) {
    .landing-hero,
    .landing-feature,
    .landing-feature--reverse {
        flex-direction: column;
        gap: 32px;
        padding-top: 48px;
        padding-bottom: 48px;
        text-align: center;
    }

    .landing-hero h1 {
        font-size: 32px;
    }

    .landing-lead {
        max-width: none;
    }

    .landing-cta {
        justify-content: center;
    }

    .landing-stats {
        justify-content: center;
        gap: 40px;
    }

    .landing-stat__number {
        font-size: 48px;
    }

    .landing-checklist {
        text-align: left;
        max-width: 320px;
        margin-left: auto;
        margin-right: auto;
    }

    .landing-media-pair {
        grid-template-columns: 1fr;
    }
}

/* Page header — intro block for interior pages (sign up, references, f-liiga) */

.landing-page-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto;
    padding: 72px 24px 32px;
}

.landing-page-header img {
    margin: 0 auto 24px;
    display: block;
}

.landing-page-header h1 {
    font-size: 36px;
    font-weight: 700;
    color: var(--landing-navy-dark);
    margin: 0 0 16px;
}

.landing-page-header p {
    font-size: 17px;
    line-height: 1.6;
    color: var(--landing-muted);
    margin: 0;
}

/* Card grid — used for the F-Liiga hub links and references/testimonials */

.landing-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
    max-width: 1120px;
    margin: 0 auto;
    padding: 32px 24px 88px;
}

.landing-card {
    background: #fff;
    border-radius: 16px;
    padding: 40px 28px;
    text-align: center;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 20px 40px -28px rgba(20, 22, 31, 0.25);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    display: block;
}

a.landing-card:hover {
    text-decoration: none;
    color: inherit;
    transform: translateY(-4px);
    box-shadow: 0 24px 44px -24px rgba(20, 22, 31, 0.3);
}

.landing-card img {
    display: block;
    margin: 0 auto 20px;
}

.landing-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--landing-navy-dark);
    margin: 0 0 8px;
}

.landing-card p {
    font-size: 15px;
    color: var(--landing-muted);
    margin: 0;
}

/* Locked card — a feature the current license tier doesn't include. Icon and
   copy are dimmed so it reads as unavailable, but the badge stays full-color
   as the upsell hook, and the card stays a clickable link into the upgrade
   path. */

.landing-card--locked:hover {
    transform: none;
}

.landing-card--locked img {
    filter: grayscale(1);
    opacity: 0.45;
}

.landing-card--locked h3,
.landing-card--locked p {
    color: var(--landing-muted);
    opacity: 0.75;
}

.landing-card__badge {
    display: inline-block;
    margin-top: 14px;
    padding: 5px 14px;
    border-radius: 999px;
    background: var(--landing-navy);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

/* Match cards (live.html, built by livepage.js) */

.landing-match-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    max-width: 1120px;
    margin: 0 auto;
    padding: 32px 24px 88px;
}

.landing-match-card {
    background: #fff;
    border-radius: 16px;
    padding: 28px;
    box-shadow: 0 20px 40px -28px rgba(20, 22, 31, 0.25);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.landing-match-card__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.landing-match-card__date {
    font-size: 13px;
    font-weight: 600;
    color: var(--landing-muted);
}

.landing-match-card__live {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 700;
    color: #d92d20;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.landing-match-card__live::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #d92d20;
    animation: landingLivePulse 1.4s ease-in-out infinite;
}

@keyframes landingLivePulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.landing-match-card__teams {
    font-size: 18px;
    font-weight: 700;
    color: var(--landing-navy-dark);
}

.landing-match-card__score {
    font-size: 36px;
    font-weight: 800;
    color: var(--landing-accent);
    line-height: 1;
}

.landing-match-card__meta {
    display: flex;
    gap: 16px;
    font-size: 14px;
    color: var(--landing-muted);
}

.landing-match-card .landing-btn {
    align-self: flex-start;
    margin-top: 4px;
}

/* Compact single-row-per-game list (f-liiga_live.html "Today's Matches") —
   deliberately not a card grid, so many games are scannable at a glance,
   especially on mobile. */

.landing-match-list {
    display: flex;
    flex-direction: column;
    max-width: 720px;
    margin: 0 auto;
    padding: 8px 24px 88px;
}

.landing-match-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 8px;
    border-bottom: 1px solid #eceef3;
    font-size: 14px;
    color: inherit;
    text-decoration: none;
}

.landing-match-row:hover {
    background: #f8f9fc;
    text-decoration: none;
    color: inherit;
}

.landing-match-row:last-child {
    border-bottom: none;
}

.landing-match-row__logo {
    flex: 0 0 auto;
    width: 22px;
    height: 22px;
    object-fit: contain;
}

.landing-match-row__status {
    flex: 0 0 52px;
    font-size: 13px;
    font-weight: 700;
    color: var(--landing-muted);
    white-space: nowrap;
}

.landing-match-row__status--live {
    color: #d92d20;
    display: flex;
    align-items: center;
}

.landing-match-row__status--live::before {
    content: '';
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #d92d20;
    margin-right: 5px;
    flex: 0 0 auto;
    animation: landingLivePulse 1.4s ease-in-out infinite;
}

.landing-match-row__teams {
    flex: 1 1 auto;
    font-weight: 600;
    color: var(--landing-ink);
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.landing-match-row__score {
    flex: 0 0 auto;
    font-weight: 800;
    color: var(--landing-accent);
    font-size: 15px;
    min-width: 44px;
    text-align: right;
}

.landing-match-row__chevron {
    flex: 0 0 auto;
    color: var(--landing-muted);
    font-size: 20px;
    line-height: 1;
}

/* Match selector (f-liiga_results.html: league/season/stage/game dropdowns) */

.landing-match-selector {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 24px 32px;
}

.landing-select-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 200px;
}

.landing-select-group label {
    font-size: 13px;
    font-weight: 700;
    color: var(--landing-ink);
}

.landing-select-group select {
    padding: 12px 14px;
    border: 1px solid #d8dae3;
    border-radius: 8px;
    font-size: 15px;
    font-family: inherit;
    color: var(--landing-ink);
    background: #fff;
}

.landing-select-group select:focus {
    outline: none;
    border-color: var(--landing-navy);
    box-shadow: 0 0 0 3px rgba(0, 32, 114, 0.12);
}

/* Edit levels/teams/players (accounts/edit_levels.html, edit_teams.html,
   edit_players.html) — CSS-only restyle; editfunctions.js/editvariables.js
   only ever look elements up by id and set .value/.checked/.disabled, so
   the surrounding markup and classes are free to change. */

.landing-edit-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 24px 88px;
    align-items: start;
}

@media (max-width: 860px) {
    .landing-edit-layout {
        grid-template-columns: 1fr;
    }
}

.landing-edit-selectors {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.landing-edit-selectors img {
    display: block;
    margin: 8px auto 0;
    max-width: 140px;
}

.landing-form-card .landing-checkbox-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 4px 0 18px;
}

.landing-form-card .landing-checkbox-row label {
    display: inline;
    margin: 0;
    font-weight: 600;
    font-size: 14px;
}

.landing-form-card .landing-checkbox-row input[type="checkbox"] {
    width: 17px;
    height: 17px;
    accent-color: var(--landing-navy);
}

.landing-form-card form input[type="button"] {
    background: var(--landing-navy);
    color: #fff;
    border: none;
    font-weight: 700;
    cursor: pointer;
    width: auto;
    padding: 12px 30px;
}

.landing-form-card form input[type="button"]:hover {
    box-shadow: 0 12px 24px -10px rgba(0, 32, 114, 0.55);
}

.landing-form-card form input:disabled,
.landing-form-card form select:disabled {
    background: #f5f6fa;
    color: var(--landing-muted);
    cursor: not-allowed;
}

.landing-delete-icon {
    display: inline-block;
    width: 26px;
    height: 26px;
    margin-top: 16px;
    cursor: pointer;
    opacity: 0.65;
    transition: opacity 0.15s ease;
}

.landing-delete-icon:hover {
    opacity: 1;
}

/* F-Liiga match result (f-liiga_results.html) — CSS-only restyle of markup
   whose element IDs are relied on by fliigapage.js, so structure/IDs are
   untouched; only classes, wrapping, and presentation changed. */

.landing-result {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 24px 80px;
}

.landing-result__meta {
    text-align: center;
    color: var(--landing-muted);
    font-size: 14px;
    font-weight: 600;
    margin: 0 0 4px;
}

/* Live/pregame/post-game analysis text and the live insight feed
   (insights.views.pregame_analysis/post_game_analysis/live_insights) */
.insights-feed {
    list-style: none;
    margin: 12px 0 0;
    padding: 0;
    text-align: left;
}

.insights-feed li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 8px 0;
    border-top: 1px solid rgba(20, 22, 31, 0.08);
    font-size: 14px;
    color: var(--landing-ink);
    text-align: left;
}

.insights-feed li:first-child {
    border-top: none;
}

.insights-feed li .bullet-icon {
    /* logo_transparent.png is a wide wordmark (icon mark + text) - shown at
       a fixed height with the crop anchored left so only the square mark
       renders, instead of squashing the whole wordmark into a tiny box. */
    width: 14px;
    height: 14px;
    margin-top: 3px;
    flex-shrink: 0;
    background-image: url("/static/logo_transparent.8f31a7f8db3a.png");
    background-size: auto 14px;
    background-position: left center;
    background-repeat: no-repeat;
}

.insights-feed li .bullet-text {
    flex: 1;
}

.insights-feed li time {
    display: block;
    color: var(--landing-muted);
    font-size: 12px;
    margin-top: 2px;
}

/* fliigalivegame.js prepends a live badge (img) or scheduled kickoff time
   (h5) as the first child of #gstats depending on match state. */
.landing-result > img {
    display: block;
    margin: 0 auto 12px;
}

.landing-result > h5 {
    text-align: center;
    color: var(--landing-muted);
    font-weight: 600;
    margin: 0 0 12px;
}

.landing-result__teams {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    margin: 20px 0 4px;
}

.landing-result__teams img {
    width: 84px;
    height: auto;
}

.landing-result__vs {
    font-size: 13px;
    font-weight: 700;
    color: var(--landing-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.landing-result__period {
    text-align: center;
    color: var(--landing-muted);
    font-size: 14px;
    font-weight: 600;
    margin: 12px 0 0;
}

.landing-result__score {
    text-align: center;
    font-size: 56px;
    font-weight: 800;
    color: var(--landing-navy-dark);
    line-height: 1;
    margin: 4px 0 24px;
}

/* Live power-play banner (#ppIndicator, f-liiga_game.html only) - a bit of
   visual tension while a team has the man advantage, goal chance is high. */
.pp-indicator {
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 0 auto 20px;
    padding: 10px 22px;
    max-width: 360px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--landing-accent), var(--landing-navy));
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.04em;
    box-shadow: 0 8px 24px -8px rgba(48, 70, 251, 0.6);
    animation: pp-indicator-pulse 1.4s ease-in-out infinite;
}

.pp-indicator__dot {
    width: 10px;
    height: 10px;
    flex: 0 0 auto;
    border-radius: 50%;
    background: #fff;
    animation: pp-indicator-dot 1.4s ease-in-out infinite;
}

.pp-indicator__time {
    font-variant-numeric: tabular-nums;
    background: rgba(255, 255, 255, 0.22);
    padding: 2px 9px;
    border-radius: 999px;
}

@keyframes pp-indicator-pulse {
    0%, 100% { box-shadow: 0 8px 24px -8px rgba(48, 70, 251, 0.6); transform: scale(1); }
    50% { box-shadow: 0 10px 32px -4px rgba(48, 70, 251, 0.9); transform: scale(1.03); }
}

@keyframes pp-indicator-dot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

/* 6-on-5 banner (#sixVFiveIndicator, f-liiga_game.html only) - own goalie
   pulled for an extra attacker; red/orange to read as higher-stakes than the
   power-play banner's blue, and to stay distinct when both could theoretically
   show (the situation model always resolves to 6V5 over PP/SH in that case). */
.pp-indicator--sixvfive {
    background: linear-gradient(90deg, #dc2626, #f97316);
    box-shadow: 0 8px 24px -8px rgba(220, 38, 38, 0.6);
    animation-name: sixvfive-indicator-pulse;
}

@keyframes sixvfive-indicator-pulse {
    0%, 100% { box-shadow: 0 8px 24px -8px rgba(220, 38, 38, 0.6); transform: scale(1); }
    50% { box-shadow: 0 10px 32px -4px rgba(220, 38, 38, 0.9); transform: scale(1.03); }
}

.landing-result__stats {
    display: grid;
    gap: 10px;
    max-width: 480px;
    margin: 0 auto 8px;
}

.landing-result__stat-row {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    font-weight: 700;
    color: var(--landing-ink);
}

.landing-result__stat-row > span:first-child {
    text-align: right;
}

.landing-result__stat-row > span:last-child {
    text-align: left;
}

.landing-result__stat-label {
    text-align: center;
    font-size: 12px;
    font-weight: 600;
    color: var(--landing-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.landing-result__section-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--landing-navy-dark);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin: 44px 0 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--landing-navy);
}

.landing-result__player-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    font-size: 15px;
    color: var(--landing-ink);
}

.landing-result__player-row img {
    height: 48px;
    width: auto;
    max-width: 48px;
    border-radius: 8px;
    object-fit: contain;
    background: #eef0f5;
}

.landing-result__event-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 0;
    font-size: 14px;
    color: var(--landing-ink);
}

.landing-result__event-row img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.landing-result__card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 20px 40px -28px rgba(20, 22, 31, 0.25);
    padding: 28px;
    margin-top: 16px;
}

/* The season-stats table (many columns, needs every pixel it can get) uses
   these to shed side padding on narrow screens instead of the game/results
   pages' standard spacing, which .landing-result/.landing-result__card
   otherwise share everywhere. Declared after the base rules above so this
   isn't overridden by their unconditional padding shorthand. */
@media (max-width: 600px) {
    .landing-result--wide {
        padding-left: 8px;
        padding-right: 8px;
    }

    .landing-result__card--flush {
        padding-left: 8px;
        padding-right: 8px;
    }
}

.landing-result__legend {
    font-size: 12px;
    color: var(--landing-muted);
    margin-top: 16px;
    line-height: 1.6;
}

.landing-result__shotmap-label {
    text-align: center;
    font-size: 14px;
    font-weight: 700;
    color: var(--landing-navy-dark);
    margin: 12px 0 8px;
}

.landing-result canvas#liveShotMap {
    display: block;
    margin: 0 auto;
    border-radius: 12px;
}

/* Testimonial cards (references.html) */

.landing-testimonial {
    background: #fff;
    border-radius: 16px;
    padding: 32px 28px;
    box-shadow: 0 20px 40px -28px rgba(20, 22, 31, 0.25);
}

.landing-testimonial p.landing-quote {
    font-size: 16px;
    line-height: 1.6;
    color: var(--landing-ink);
    margin: 0 0 20px;
    font-style: italic;
}

.landing-testimonial .landing-quote-placeholder {
    color: var(--landing-muted);
    font-style: italic;
}

.landing-testimonial-author {
    font-size: 14px;
    font-weight: 700;
    color: var(--landing-navy-dark);
}

.landing-testimonial-role {
    font-size: 13px;
    color: var(--landing-muted);
}

/* Centered content card — login form, simple message pages */

.landing-narrow {
    max-width: 480px;
    margin: 0 auto;
    padding: 72px 24px 96px;
}

.landing-form-card {
    background: #fff;
    border-radius: 16px;
    padding: 40px 32px;
    box-shadow: 0 20px 40px -28px rgba(20, 22, 31, 0.25);
    text-align: center;
}

.landing-form-card h1 {
    font-size: 26px;
    font-weight: 700;
    color: var(--landing-navy-dark);
    margin: 0 0 12px;
}

.landing-form-card > p {
    font-size: 15px;
    color: var(--landing-muted);
    margin: 0 0 28px;
}

.landing-form-card form p {
    text-align: left;
    margin: 0 0 18px;
}

.landing-form-card form label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: var(--landing-ink);
    margin: 0 0 6px;
}

.landing-form-card form input {
    width: 100%;
    box-sizing: border-box;
    padding: 12px 14px;
    border: 1px solid #d8dae3;
    border-radius: 8px;
    font-size: 15px;
    font-family: inherit;
}

.landing-form-card form input:focus {
    outline: none;
    border-color: var(--landing-navy);
    box-shadow: 0 0 0 3px rgba(0, 32, 114, 0.12);
}

.landing-form-card form input[type="submit"] {
    background: var(--landing-navy);
    color: #fff;
    border: none;
    font-weight: 700;
    cursor: pointer;
    margin-top: 4px;
}

.landing-form-card form input[type="submit"]:hover {
    box-shadow: 0 12px 24px -10px rgba(0, 32, 114, 0.55);
}

/* Social icon row (sign_up.html) */

.landing-social {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 28px 0;
}

.landing-social a {
    display: block;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 12px 24px -14px rgba(20, 22, 31, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.15s ease;
}

.landing-social a:hover {
    transform: translateY(-3px);
}

.landing-social img {
    width: 26px;
    height: 26px;
}
