:root {
    --font-body: "Inter", "Segoe UI", sans-serif;
    --font-heading: "Space Grotesk", "Segoe UI", sans-serif;
    --ink-strong: #E4E9EE;
    --ink-soft: #9ba8a0;
    --surface-base: #101412;
    --surface-quiet: #161d19;
    --surface-pop: #1e2a24;
    --line-soft: #2a3d33;
    --accent: #388566;
    --accent-deep: #4caf7d;
    --mint: #6db89a;
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    min-height: 100%;
    font-family: var(--font-body);
    color: var(--ink-soft);
    background:
        radial-gradient(circle at 12% 0%, rgba(56, 133, 102, 0.12) 0, transparent 35%),
        linear-gradient(180deg, #101412 0%, #131a15 40%, #0f1411 100%);
}

h1,
h2,
h3 {
    margin: 0;
    color: var(--ink-strong);
    font-family: var(--font-heading);
}

h1 {
    font-size: clamp(2.1rem, 3.4vw, 3.3rem);
    line-height: 1.08;
}

h2 {
    font-size: clamp(1.35rem, 2vw, 1.8rem);
}

p {
    margin: 0;
}

ul {
    margin: 0;
    padding-left: 1.1rem;
    display: grid;
    gap: 0.5rem;
}

.panel {
    border: 1px solid var(--line-soft);
    border-radius: 14px;
    background: color-mix(in srgb, #162019 86%, transparent);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.hero,
.benefit-grid,
.detail-links,
.detail-hero,
.detail-grid,
.flow-grid,
.graphic-panel,
.flow-graphic,
.status-panel {
    animation: rise-in 420ms ease-out both;
}

.hero,
.benefit-grid,
.detail-links,
.detail-hero,
.detail-grid,
.flow-grid {
    margin-inline: auto;
    width: min(1100px, 92vw);
}

.hero,
.detail-hero {
    margin-top: clamp(1.2rem, 3vw, 2.3rem);
    padding: clamp(1.1rem, 2.8vw, 2rem);
    display: grid;
    gap: 1.3rem;
    align-items: center;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border: none !important;
    box-shadow: none !important;
}

.eyebrow {
    color: var(--mint);
    text-transform: uppercase;
    letter-spacing: 0.09em;
    font-size: 0.76rem;
    font-weight: 700;
    margin-bottom: 0.65rem;
}

.lead {
    margin-top: 1rem;
    max-width: 60ch;
    line-height: 1.6;
}

.cta-row {
    margin-top: 1.4rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.btn-primary {
    background: linear-gradient(130deg, var(--accent), var(--accent-deep));
    border: 0;
}

.hero-graphic {
    position: relative;
    aspect-ratio: 16 / 10;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid #2a3d33;
    background: linear-gradient(140deg, #111c16 10%, #162520 40%, #1a3028 100%);
}

.hero-graphic svg {
    width: 100%;
    height: 100%;
    fill: none;
    stroke: rgba(42, 85, 65, 0.4);
    stroke-width: 5;
}

.pulse {
    position: absolute;
    border-radius: 999px;
    border: 2px solid rgba(76, 175, 125, 0.45);
    animation: pulse 2.6s infinite;
}

.pulse-a {
    width: 60px;
    height: 60px;
    top: 19%;
    right: 24%;
}

.pulse-b {
    width: 50px;
    height: 50px;
    bottom: 16%;
    left: 20%;
    animation-delay: 0.5s;
}

.rider-dot {
    position: absolute;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #1a3028;
    bottom: 24%;
    left: 48%;
    box-shadow: 0 0 0 7px rgba(26, 48, 40, 0.18);
}

.benefit-grid {
    margin-top: 1rem;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.benefit-card {
    padding: 1.1rem;
    display: grid;
    gap: 0.6rem;
    background: linear-gradient(180deg, rgba(22, 44, 34, 0.9) 0%, rgba(16, 33, 26, 0.9) 100%);
}

.detail-links {
    margin-top: 1rem;
    margin-bottom: 2rem;
    padding: clamp(1rem, 2.5vw, 1.7rem);
    display: grid;
    gap: 1rem;
}

.link-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.7rem;
}

.link-grid a {
    border-radius: 12px;
    border: 1px solid var(--line-soft);
    padding: 0.9rem;
    text-decoration: none;
    color: inherit;
    display: grid;
    gap: 0.45rem;
    background: rgba(16, 33, 26, 0.88);
    transition: transform 150ms ease, border-color 150ms ease;
}

.link-grid a:hover {
    border-color: #3d6b55;
    transform: translateY(-2px);
}

.about-link {
    position: relative;
}

.about-link--featured {
    border-color: color-mix(in srgb, var(--accent) 58%, var(--line-soft)) !important;
    background: linear-gradient(165deg, rgba(33, 66, 52, 0.92) 0%, rgba(18, 36, 28, 0.94) 100%) !important;
    box-shadow: 0 0 0 1px rgba(74, 169, 120, 0.2), 0 8px 24px rgba(0, 0, 0, 0.25);
}

.about-link-badge {
    justify-self: start;
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #cde8da;
    border: 1px solid rgba(116, 196, 151, 0.45);
    border-radius: 999px;
    padding: 0.2rem 0.5rem;
    background: rgba(26, 54, 41, 0.75);
}

.about-link-title {
    font-family: var(--font-heading);
    font-size: 1.02rem;
    color: #e3ece7;
}

.about-link-copy {
    color: #aab9b0;
    line-height: 1.45;
    font-size: 0.92rem;
}

.hero-logo {
    position: absolute;
    width: clamp(70px, 14vw, 130px);
    top: 1rem;
    right: 1rem;
    opacity: 0.9;
}

.hero-monitor {
    position: absolute;
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    padding: 1rem;
    border-radius: 12px;
    background: rgba(12, 21, 17, 0.86);
    border: 1px solid rgba(60, 120, 90, 0.4);
}

.hero-monitor h3 {
    font-size: 1.08rem;
    margin-bottom: 0.55rem;
}

.hero-feed-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.92rem;
    padding: 0.28rem 0;
    border-top: 1px dashed rgba(80, 140, 110, 0.25);
}

.hero-kpis {
    margin-top: 1.25rem;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.55rem;
}

.hero-kpis div {
    border: 1px solid rgba(60, 120, 90, 0.32);
    border-radius: 10px;
    padding: 0.55rem 0.65rem;
    background: rgba(14, 27, 22, 0.75);
    display: grid;
    gap: 0.16rem;
}

.hero-kpis strong {
    font-family: var(--font-heading);
    color: #e4e9ee;
    font-size: 1.08rem;
}

.hero-kpis span {
    font-size: 0.78rem;
    color: #9ba8a0;
}

.final-cta {
    width: min(1100px, 92vw);
    margin: 0 auto 2rem;
    padding: clamp(1.1rem, 2.8vw, 2rem);
    display: grid;
    gap: 0.8rem;
    background: linear-gradient(130deg, rgba(22, 55, 42, 0.95), rgba(16, 35, 28, 0.95));
}

.detail-hero {
    grid-template-columns: 1fr;
}

.detail-grid {
    margin-top: 1rem;
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 1rem;
}

.detail-grid .panel,
.graphic-panel,
.status-panel {
    padding: 1.1rem;
    display: grid;
    gap: 0.9rem;
}

.mini-chart {
    min-height: 140px;
    border-radius: 12px;
    background: linear-gradient(180deg, #d4ede3 0%, #e8f0e8 100%);
    border: 1px solid #8cb8a4;
    padding: 0.8rem;
    display: flex;
    align-items: flex-end;
    gap: 0.45rem;
}

.mini-chart span {
    display: block;
    flex: 1;
    border-radius: 7px 7px 3px 3px;
    background: linear-gradient(180deg, #388566, #245a44);
}

.metric-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.5rem;
}

.metric-row div {
    border: 1px solid rgba(56, 100, 78, 0.35);
    border-radius: 10px;
    padding: 0.45rem 0.5rem;
    background: rgba(16, 31, 25, 0.68);
    display: grid;
    gap: 0.2rem;
}

.metric-row small {
    color: #8cb8a4;
    font-size: 0.74rem;
}

.metric-row strong {
    color: #e4e9ee;
    font-size: 0.94rem;
}

.flow-grid {
    margin-top: 1rem;
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.flow-step {
    padding: 1.1rem;
    display: grid;
    gap: 0.6rem;
}

.graphic-panel {
    margin-inline: auto;
    margin-top: 1rem;
    margin-bottom: 2rem;
    width: min(1100px, 92vw);
}

.flow-graphic {
    width: 100%;
    height: auto;
}

.flow-graphic rect {
    fill: #d4ede3;
    stroke: #8cb8a4;
}

.flow-graphic circle {
    fill: #1a3028;
}

.status-panel {
    align-content: start;
}

.status-panel h3 {
    font-size: 1.15rem;
}

.status-panel div {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.95rem;
}

.login-panel {
    width: min(760px, 92vw);
    margin: clamp(1.2rem, 4vw, 3rem) auto;
    padding: clamp(1.1rem, 3vw, 2rem);
    display: grid;
    gap: 0.95rem;
}

.login-panel h1 {
    font-size: clamp(1.8rem, 4.1vw, 2.95rem);
    line-height: 1.12;
    text-wrap: balance;
    overflow-wrap: anywhere;
}

.login-panel > p {
    max-width: 68ch;
}

.login-panel .auth-muted {
    color: #b7c4bc;
}

.login-panel .auth-muted a {
    color: #8ec3ff;
    text-underline-offset: 2px;
}

.login-form {
    display: grid;
    gap: 0.6rem;
    max-width: 100%;
}

.social-auth-stack {
    display: grid;
    gap: 0.55rem;
}

.social-auth-stack .btn {
    width: 100%;
    min-height: 46px;
    border-radius: 10px;
    font-weight: 600;
}

.social-auth-stack .btn-outline-dark {
    color: #dce9e2;
    border-color: #355344;
    background: rgba(16, 32, 24, 0.55);
}

.social-auth-stack .btn-outline-dark:hover,
.social-auth-stack .btn-outline-dark:focus-visible {
    color: #f2f7f4;
    border-color: #4f8066;
    background: rgba(28, 49, 38, 0.8);
}

.oauth-form {
    margin: 0;
}

.login-form input {
    border: 1px solid var(--line-soft);
    border-radius: 10px;
    padding: 0.68rem 0.8rem;
    width: 100%;
    max-width: 560px;
    background: rgba(12, 20, 16, 0.65);
    color: #e8eeeb;
}

.login-form input:focus {
    outline: none;
    border-color: #4f8066;
    box-shadow: 0 0 0 3px rgba(79, 128, 102, 0.18);
}

.login-form .btn-primary {
    width: 100%;
    max-width: 560px;
    min-height: 44px;
    border-radius: 10px;
    font-weight: 600;
}

.verify-box {
    border: 1px solid var(--line-soft);
    border-radius: 12px;
    background: #f0f5f1;
    padding: 0.9rem;
    display: grid;
    gap: 0.7rem;
}

.alert-line {
    border: 1px solid #e7ba98;
    background: #fff2e8;
    color: #8f4f28;
    padding: 0.65rem 0.8rem;
    border-radius: 10px;
}

.two-col {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.table-panel {
    width: min(1100px, 92vw);
    margin: 1rem auto 2rem;
    padding: 1rem;
}

.table-wrap {
    overflow-x: auto;
}

.form-panel {
    width: min(1100px, 92vw);
    margin: 1rem auto;
    padding: 1rem;
    display: grid;
    gap: 0.9rem;
}

.admin-form {
    display: grid;
    gap: 0.55rem;
    max-width: 720px;
}

.admin-form input {
    border: 1px solid var(--line-soft);
    border-radius: 10px;
    padding: 0.58rem 0.72rem;
}

.two-col-form {
    max-width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: end;
    column-gap: 1rem;
}

.two-col-form .checkbox-row,
.two-col-form button {
    grid-column: span 2;
}

.checkbox-row {
    display: flex;
    gap: 0.55rem;
    align-items: center;
}

.small-note {
    font-size: 0.85rem;
    color: var(--ink-soft);
}

.inline-role-form {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    align-items: center;
}

.inline-role-form label {
    display: inline-flex;
    gap: 0.3rem;
    align-items: center;
    font-size: 0.85rem;
}

.admin-flow-grid {
    width: min(1100px, 92vw);
    margin-inline: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    min-width: 720px;
}

th,
td {
    text-align: left;
    border-bottom: 1px solid var(--line-soft);
    padding: 0.6rem 0.5rem;
    font-size: 0.92rem;
}

thead th {
    font-family: var(--font-heading);
    color: var(--ink-strong);
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.status-dot {
    width: 0.7rem;
    height: 0.7rem;
    border-radius: 999px;
}

.online {
    background: #2E8F55;
}

.watching {
    background: #388566;
}

.notice {
    background: #E1A64F;
}

.panel + .panel {
    margin-top: 1rem;
}

.account-shell .detail-hero,
.account-shell .detail-grid,
.account-shell .detail-links {
    width: min(980px, 92vw);
}

.account-shell .account-subnav {
    width: min(980px, 92vw);
    margin: 0.55rem auto 0.65rem;
    padding: 0.4rem;
    display: flex;
    gap: 0.35rem;
    flex-wrap: wrap;
    align-items: center;
    border-radius: 10px;
    border: 1px solid rgba(109, 184, 154, 0.28);
    background: rgba(15, 26, 21, 0.88);
}

.account-shell .account-subnav a {
    text-decoration: none;
    color: #a5b4ab;
    padding: 0.32rem 0.58rem;
    border-radius: 7px;
    border: 1px solid transparent;
    font-size: 0.82rem;
    font-weight: 600;
    line-height: 1.2;
}

.account-shell .account-subnav a:hover {
    border-color: rgba(109, 184, 154, 0.42);
    background: rgba(56, 133, 102, 0.18);
    color: #e4e9ee;
}

.account-shell .account-subnav a.active {
    border-color: rgba(109, 184, 154, 0.65);
    background: rgba(56, 133, 102, 0.26);
    color: #e4e9ee;
}

.account-shell .account-hero {
    margin-top: 1rem;
    padding: clamp(1.1rem, 2.8vw, 1.7rem);
}

.account-shell .rides-recent-panel {
    gap: 0.8rem;
}

.account-shell .rides-recent-link,
.account-shell .rides-list-item {
    text-decoration: none;
    color: inherit;
    border: 1px solid rgba(56, 100, 78, 0.35);
    border-radius: 12px;
    background: rgba(16, 31, 25, 0.68);
}

.account-shell .rides-recent-link {
    padding: 0.75rem;
    display: grid;
    gap: 0.75rem;
    min-height: 2.75rem;
}

.account-shell .rides-map-shell {
    min-height: 220px;
    border-radius: 10px;
    border: 1px solid rgba(56, 100, 78, 0.45);
    background: rgba(12, 23, 18, 0.72);
    display: grid;
    place-items: center;
    padding: 0.5rem;
}

.account-shell .rides-map-shell .ride-map-svg,
.account-shell .detail-grid .ride-map-svg {
    width: 100%;
    height: auto;
    color: #6db89a;
}

.account-shell .rides-list {
    display: grid;
    gap: 0.6rem;
}

.account-shell .rides-list-item {
    padding: 0.65rem;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr)) auto;
    gap: 0.45rem;
    align-items: center;
    min-height: 2.75rem;
}

.account-shell .rides-list-item small,
.account-shell .rides-recent-link small {
    color: #8cb8a4;
    font-size: 0.74rem;
}

.account-shell .rides-list-item strong,
.account-shell .rides-recent-link strong {
    color: #e4e9ee;
    font-size: 0.94rem;
}

.account-shell .rides-list-item span,
.account-shell .rides-recent-link span {
    color: #cfe3da;
    font-weight: 600;
}

.account-shell .rides-recent-link:focus-visible,
.account-shell .rides-list-item:focus-visible,
.account-shell .detail-links a:focus-visible {
    outline: 2px solid rgba(109, 184, 154, 0.8);
    outline-offset: 2px;
}

.account-shell .rides-chart-panel {
    margin-top: 0.85rem;
}

.account-shell .rides-chart-grid {
    display: grid;
    gap: 0.8rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 1200px) {
    .account-shell .rides-chart-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.account-shell .rides-chart-card {
    display: grid;
    gap: 0.65rem;
}

.account-shell .rides-chart-card h3 {
    font-size: 1.02rem;
}

.account-shell .rides-chart-svg {
    width: 100%;
    height: auto;
    border: 1px solid rgba(56, 100, 78, 0.45);
    border-radius: 10px;
    background: rgba(12, 23, 18, 0.72);
    color: #6db89a;
}

.account-shell .rides-chart-svg--heart {
    color: #e786a0;
}

.account-shell .rides-chart-svg--power {
    color: #f2c57c;
}

.account-shell .rides-chart-axis {
    stroke: rgba(140, 184, 164, 0.5);
    stroke-width: 1.5;
}

.account-profile-panel,
.account-plan-panel {
    padding: 1rem;
}

.account-profile-grid {
    display: grid;
    gap: 0.85rem;
    margin-top: 0.5rem;
}

.account-profile-grid p {
    display: grid;
    gap: 0.25rem;
}

.account-profile-grid strong {
    font-size: 0.8rem;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: var(--mint);
}

.account-profile-grid code {
    color: var(--ink-strong);
    background: rgba(18, 29, 24, 0.72);
    border: 1px solid var(--line-soft);
    border-radius: 8px;
    padding: 0.3rem 0.45rem;
    width: fit-content;
    max-width: 100%;
    overflow-wrap: anywhere;
}

.account-plan-panel h3 {
    margin-bottom: 0.55rem;
}

.account-plan-panel h2 {
    margin-bottom: 0.55rem;
    font-size: 1.15rem;
}

.admin-shell {
    --admin-space-1: 0.25rem;
    --admin-space-2: 0.5rem;
    --admin-space-3: 0.75rem;
    --admin-space-4: 1rem;
    --admin-line: rgba(109, 184, 154, 0.28);
    --admin-surface: color-mix(in srgb, #162019 90%, transparent);
    --admin-surface-strong: color-mix(in srgb, #1b2921 95%, transparent);
    --admin-surface-soft: rgba(15, 26, 21, 0.88);
    --admin-ink: #e4e9ee;
    --admin-muted: #a5b4ab;
    --admin-shadow: 0 10px 26px rgba(0, 0, 0, 0.3);
}

.admin-shell .detail-hero,
.admin-shell .detail-grid,
.admin-shell .flow-grid,
.admin-shell .detail-links,
.admin-shell .table-panel,
.admin-shell .form-panel,
.admin-shell .admin-flow-grid {
    width: min(1160px, 95vw);
}

.admin-shell .admin-subnav {
    width: min(1160px, 95vw);
    margin: 0.55rem auto 0.65rem;
    padding: 0.4rem;
    display: flex;
    gap: 0.35rem;
    flex-wrap: wrap;
    align-items: center;
    border-radius: 10px;
    border: 1px solid var(--admin-line);
    background: var(--admin-surface-soft);
}

.admin-shell .admin-subnav a {
    text-decoration: none;
    color: var(--admin-muted);
    padding: 0.3rem 0.56rem;
    border-radius: 7px;
    border: 1px solid transparent;
    font-size: 0.8rem;
    font-weight: 600;
    line-height: 1.2;
}

.admin-shell .admin-subnav a:hover {
    border-color: rgba(109, 184, 154, 0.42);
    background: rgba(56, 133, 102, 0.18);
    color: var(--admin-ink);
}

.admin-shell .admin-subnav a.active {
    border-color: rgba(109, 184, 154, 0.65);
    background: rgba(56, 133, 102, 0.26);
    color: var(--admin-ink);
}

.admin-shell .detail-hero {
    margin-top: 0.8rem;
    padding: 0.85rem 1rem;
    gap: 0.65rem;
}

.admin-shell .detail-hero h1 {
    font-size: clamp(1.55rem, 2vw, 2rem);
    line-height: 1.2;
}

.admin-shell .lead {
    margin-top: 0.4rem;
    line-height: 1.4;
    font-size: 0.94rem;
}

.admin-shell .eyebrow {
    margin-bottom: 0.2rem;
    letter-spacing: 0.06em;
    font-size: 0.69rem;
}

.admin-shell .panel {
    border-radius: 12px;
    border-color: var(--admin-line);
    box-shadow: var(--admin-shadow);
    background: var(--admin-surface);
}

.admin-shell .admin-subnav.panel {
    border: 1px solid var(--admin-line);
    border-radius: 10px;
    background: var(--admin-surface-soft);
}

.admin-shell .detail-grid,
.admin-shell .flow-grid,
.admin-shell .detail-links,
.admin-shell .table-panel,
.admin-shell .form-panel,
.admin-shell .admin-flow-grid {
    margin-top: 0.7rem;
    margin-bottom: 0.75rem;
}

.admin-shell .detail-grid .panel,
.admin-shell .status-panel,
.admin-shell .flow-step,
.admin-shell .table-panel,
.admin-shell .form-panel {
    padding: 0.8rem;
    gap: 0.55rem;
}

.admin-shell .flow-step h2,
.admin-shell .table-panel h2,
.admin-shell .form-panel h2,
.admin-shell .status-panel h3,
.admin-shell .detail-grid h2 {
    font-size: 1.04rem;
    line-height: 1.25;
    color: var(--admin-ink);
}

.admin-shell .status-panel div,
.admin-shell p,
.admin-shell li {
    font-size: 0.9rem;
    color: var(--admin-muted);
}

.admin-shell .btn {
    min-height: 2rem;
    padding: 0.24rem 0.62rem;
    font-size: 0.82rem;
    border-radius: 8px;
}

.admin-shell .btn-outline-secondary,
.admin-shell .btn-outline-danger {
    color: var(--admin-ink);
    border-color: var(--admin-line);
    background: rgba(17, 29, 24, 0.92);
}

.admin-shell .btn-outline-secondary:hover,
.admin-shell .btn-outline-danger:hover {
    border-color: rgba(109, 184, 154, 0.55);
    background: rgba(56, 133, 102, 0.22);
}

.admin-shell .btn-outline-danger {
    color: #f5bcc0;
    border-color: rgba(212, 117, 126, 0.58);
}

.admin-shell .btn-outline-danger:hover {
    border-color: rgba(212, 117, 126, 0.78);
    background: rgba(117, 49, 58, 0.32);
}

.admin-shell .btn-sm {
    min-height: 1.75rem;
    padding: 0.2rem 0.52rem;
    font-size: 0.78rem;
}

.admin-shell .admin-form {
    gap: 0.35rem;
}

.admin-shell .admin-form input,
.admin-shell .admin-form select,
.admin-shell .admin-form textarea {
    min-height: 2rem;
    padding: 0.4rem 0.58rem;
    border-radius: 8px;
    font-size: 0.86rem;
    border: 1px solid var(--admin-line);
    background: var(--admin-surface-soft);
    color: var(--admin-ink);
}

.admin-shell .admin-form label,
.admin-shell .checkbox-row,
.admin-shell .inline-role-form label {
    font-size: 0.8rem;
    color: var(--admin-muted);
}

.admin-shell .table-wrap {
    border: 1px solid var(--admin-line);
    border-radius: 10px;
    background: var(--admin-surface-soft);
    max-height: 68vh;
    overflow: auto;
}

.admin-shell .table-tools {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.6rem;
    margin-bottom: 0.5rem;
    flex-wrap: wrap;
}

.admin-shell .table-filter-input {
    min-height: 2rem;
    border: 1px solid var(--admin-line);
    border-radius: 8px;
    padding: 0.38rem 0.56rem;
    min-width: min(28rem, 100%);
    font-size: 0.83rem;
    background: rgba(14, 24, 20, 0.9);
    color: var(--admin-ink);
}

.admin-shell .table-filter-input:focus {
    outline: none;
    border-color: rgba(109, 184, 154, 0.62);
    box-shadow: 0 0 0 2px rgba(56, 133, 102, 0.26);
}

.admin-shell table {
    min-width: 680px;
    font-size: 0.84rem;
}

.admin-shell .admin-table thead th {
    position: sticky;
    top: 0;
    z-index: 2;
    background: #21352b;
}

.admin-shell .admin-table .sticky-col {
    position: sticky;
    left: 0;
    z-index: 1;
    background: #17261f;
}

.admin-shell .admin-table thead .sticky-col {
    z-index: 3;
    background: #22372d;
}

.admin-shell th,
.admin-shell td {
    padding: 0.45rem 0.42rem;
    border-bottom-color: rgba(109, 184, 154, 0.2);
    color: var(--admin-ink);
}

.admin-shell thead th {
    font-size: 0.72rem;
    letter-spacing: 0.03em;
    color: #cfe3da;
}

.admin-shell .inline-role-form {
    gap: 0.35rem;
}

.admin-shell .inline-role-form select,
.admin-shell .inline-role-form input:not([type="checkbox"]):not([type="hidden"]) {
    min-height: 2rem;
    padding: 0.4rem 0.58rem;
    border-radius: 8px;
    font-size: 0.86rem;
    border: 1px solid var(--admin-line);
    background: var(--admin-surface-soft);
    color: var(--admin-ink);
}

.admin-shell .col-email {
    min-width: 13rem;
    max-width: 20rem;
}

.admin-shell .truncate-inline {
    display: inline-block;
    max-width: 20rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    vertical-align: bottom;
}

.admin-shell .truncate-code {
    display: inline-block;
    max-width: 16rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    vertical-align: bottom;
}

.admin-shell .wrap-code {
    display: inline-block;
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: break-word;
    white-space: normal;
    vertical-align: bottom;
}

.admin-shell .row-actions {
    display: flex;
    gap: 0.35rem;
    flex-wrap: wrap;
}

.admin-shell .status-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 5.5rem;
    padding: 0.15rem 0.55rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.admin-shell .status-chip-draft {
    color: #fef3c7;
    background: rgba(245, 158, 11, 0.2);
    border: 1px solid rgba(245, 158, 11, 0.45);
}

.admin-shell .status-chip-published {
    color: #dcfce7;
    background: rgba(34, 197, 94, 0.2);
    border: 1px solid rgba(34, 197, 94, 0.45);
}

.admin-shell .status-chip-archived {
    color: #e5e7eb;
    background: rgba(107, 114, 128, 0.25);
    border: 1px solid rgba(107, 114, 128, 0.55);
}

.admin-shell .status-chip-default {
    color: #e2e8f0;
    background: rgba(148, 163, 184, 0.2);
    border: 1px solid rgba(148, 163, 184, 0.45);
}

.admin-shell .editor-input {
    width: 100%;
    min-width: 8rem;
}

.admin-shell .admin-field-block {
    display: grid;
    gap: 0.3rem;
}

.admin-shell .admin-field-help {
    margin: 0;
    color: #a6b3c5;
    font-size: 0.82rem;
}

.admin-shell .admin-field-error {
    margin: 0;
    color: #fecaca;
    font-size: 0.82rem;
    font-weight: 600;
}

.admin-shell .validation-message {
    color: #fecaca;
    font-size: 0.82rem;
    margin-top: 0.1rem;
}

.admin-shell .validation-list {
    margin: 0.6rem 0 0;
    padding-left: 1.1rem;
    color: #fecaca;
}

.admin-shell details.form-panel summary {
    cursor: pointer;
    margin-bottom: 0.8rem;
}

.admin-shell .advanced-body {
    display: grid;
    gap: 1rem;
}

.admin-shell .user-edit-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.admin-shell .user-edit-sticky-actions {
    display: flex;
    gap: 0.4rem;
    flex-wrap: wrap;
}

.admin-shell .col-datetime {
    width: 12.5rem;
    min-width: 12.5rem;
}

.admin-shell .col-id {
    width: 17rem;
    min-width: 17rem;
}

.admin-shell .col-time {
    width: 6rem;
    min-width: 6rem;
}

.admin-shell .num {
    text-align: right;
}

.admin-shell .center {
    text-align: center;
}

.admin-shell .admin-subnav a:focus-visible,
.admin-shell .btn:focus-visible,
.admin-shell input:focus-visible,
.admin-shell select:focus-visible,
.admin-shell textarea:focus-visible {
    outline: 2px solid rgba(109, 184, 154, 0.75);
    outline-offset: 2px;
}

.admin-shell p strong {
    color: var(--admin-ink);
}

.admin-shell input[type="checkbox"],
.admin-shell input[type="radio"] {
    accent-color: var(--accent);
}

.role-badges {
    display: flex;
    gap: 0.35rem;
    flex-wrap: wrap;
}

.role-badge {
    display: inline-flex;
    align-items: center;
    line-height: 1;
    border-radius: 999px;
    border: 1px solid;
    padding: 0.2rem 0.45rem;
    font-size: 0.73rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.role-viewer {
    color: #c5e9f8;
    border-color: rgba(99, 176, 199, 0.55);
    background: rgba(47, 101, 121, 0.26);
}

.role-admin {
    color: #f6d79f;
    border-color: rgba(224, 178, 88, 0.58);
    background: rgba(119, 84, 24, 0.28);
}

.role-owner {
    color: #f5bcc0;
    border-color: rgba(212, 117, 126, 0.58);
    background: rgba(117, 49, 58, 0.28);
}

.admin-shell .panel,
.admin-shell .table-panel,
.admin-shell .form-panel,
.admin-shell .detail-grid,
.admin-shell .flow-grid,
.admin-shell .status-panel {
    animation: none;
}

@media (max-width: 960px) {
    .hero,
    .benefit-grid,
    .link-grid,
    .detail-grid,
    .flow-grid {
        grid-template-columns: 1fr;
    }

    .two-col {
        grid-template-columns: 1fr;
    }

    .two-col-form {
        grid-template-columns: 1fr;
    }

    .two-col-form .checkbox-row,
    .two-col-form button {
        grid-column: span 1;
    }

    .hero-graphic {
        min-height: 220px;
    }

    .hero-kpis,
    .metric-row {
        grid-template-columns: 1fr;
    }

    .account-shell .rides-list-item {
        grid-template-columns: 1fr;
    }
}

@keyframes rise-in {
    from {
        transform: translateY(8px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes pulse {
    0% {
        transform: scale(0.6);
        opacity: 0;
    }

     30% {
         opacity: 1;
     }

     100% {
         transform: scale(1.4);
         opacity: 0;
     }
}

/* Home Page Styles */

.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
    margin-top: 1rem;
    padding: 2rem;
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.hero-image {
    overflow: hidden;
    border-radius: 8px;
    aspect-ratio: 4/3;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.value-prop {
    margin-inline: auto;
    width: min(1100px, 92vw);
    margin-top: 4rem;
    text-align: center;
}

.value-prop h2 {
    margin-bottom: 2rem;
    font-size: clamp(1.8rem, 3vw, 2.2rem);
}

.home-flow-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.flow-step {
    padding: 2rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    justify-content: center;
}

.step-icon {
    width: 48px;
    height: 48px;
    color: var(--accent);
    flex-shrink: 0;
}

.step-icon svg {
    width: 100%;
    height: 100%;
}

.flow-step h3 {
    font-size: 1.3rem;
}

.flow-step p {
    font-size: 0.95rem;
    line-height: 1.5;
}

.technical-section {
    margin-inline: auto;
    width: min(1100px, 92vw);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: stretch;
    margin-top: 4rem;
    margin-bottom: 4rem;
}

.tech-content {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.tech-content h2 {
    margin-bottom: 1rem;
    font-size: clamp(1.8rem, 3vw, 2.2rem);
}

.tech-content > p {
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.tech-benefits {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1.5rem;
}

.tech-benefits li {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    font-size: 0.95rem;
    line-height: 1.5;
}

.check-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    color: var(--accent);
}

.tech-metrics {
    background: linear-gradient(135deg, rgba(22, 32, 25, 0.8), rgba(30, 42, 36, 0.6));
    border: 1px solid rgba(56, 133, 102, 0.2);
    border-radius: 14px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
}

.metric-chart {
    margin-bottom: 2rem;
    height: 120px;
}

.sparkline {
    width: 100%;
    height: 100%;
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.metric {
    text-align: center;
}

.metric-value {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.metric-label {
    font-size: 0.85rem;
    color: var(--ink-soft);
}

.sharing-section {
    margin-inline: auto;
    width: min(1100px, 92vw);
    margin-top: 4rem;
    text-align: center;
    margin-bottom: 3rem;
}

.sharing-section h2 {
    margin-bottom: 0.5rem;
    font-size: clamp(1.8rem, 3vw, 2.2rem);
}

.subtitle {
    color: var(--ink-soft);
    margin-bottom: 2rem;
    font-size: 1rem;
}

.sharing-grid {
    display: grid;
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 2rem auto;
}

.sharing-card {
    padding: 2rem;
    text-align: left;
}

.sharing-card h3 {
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.sharing-card > p {
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.sharing-features {
    margin-top: 1rem;
    font-size: 0.9rem;
    gap: 0.5rem;
}

.sharing-features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-block {
    width: 100%;
    max-width: 500px;
    margin-inline: auto;
    display: block;
    text-align: center;
    margin-top: 2rem;
}

@media (max-width: 768px) {
    .hero {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 1.5rem;
    }

    .technical-section {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .metrics-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .home-flow-grid {
        grid-template-columns: 1fr;
    }

    .account-shell .rides-recent-link,
    .account-shell .rides-list-item {
        padding: 0.9rem;
        gap: 0.7rem;
        min-height: 3rem;
    }

    .account-shell .rides-map-shell {
        min-height: 200px;
    }

    .account-shell .rides-chart-card h3 {
        font-size: 1.05rem;
    }

    .account-shell .rides-chart-grid {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 769px) {
    .account-shell .rides-list-item {
        grid-template-columns: repeat(4, minmax(0, 1fr)) auto;
    }
}

/* Homepage Redesign: dark + real-world hybrid */

.home-page {
    margin-top: 0.9rem;
}

.home-wrap {
    width: min(1120px, 94vw);
    margin-inline: auto;
}

.home-section {
    padding: clamp(3.2rem, 7vw, 6.2rem) 0;
}

.home-section--dark {
    color: #d6e0da;
    background: #0f1411;
}

.home-section--light {
    position: relative;
    background: #f2f4f1;
    color: #1d2420;
}

.home-section--light::before {
    content: "";
    position: absolute;
    top: -130px;
    left: 0;
    right: 0;
    height: 140px;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(11, 16, 13, 0.36) 0%, rgba(11, 16, 13, 0.14) 42%, rgba(242, 244, 241, 0) 100%);
}

.home-section--light h2,
.home-section--light h3 {
    color: #101613;
}

.home-section-title {
    text-align: center;
    margin-bottom: 2rem;
    font-size: clamp(1.8rem, 3vw, 2.5rem);
}

.home-hero {
    position: relative;
    overflow: hidden;
    padding: clamp(3.1rem, 7vw, 5.4rem) 0 clamp(2.8rem, 6vw, 4.8rem);
}

.home-hero::after {
    content: "";
    position: absolute;
    inset: auto 0 -1px 0;
    height: 130px;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(11, 16, 13, 0) 0%, rgba(11, 16, 13, 0.18) 45%, rgba(242, 244, 241, 0.72) 100%);
}

.home-hero__map {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.92;
    filter: saturate(1.12) blur(0.18px) brightness(1.04);
}

.home-hero__vignette {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 52% 42%, rgba(9, 14, 11, 0.06) 0%, rgba(9, 14, 11, 0.22) 55%, rgba(9, 14, 11, 0.62) 100%),
        linear-gradient(95deg, rgba(9, 13, 11, 0.54) 2%, rgba(9, 13, 11, 0.22) 48%, rgba(9, 13, 11, 0.44) 100%);
}

.home-hero__grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: clamp(1.8rem, 3.5vw, 4.2rem);
}

.home-hero__content {
    display: grid;
    gap: 1.25rem;
}

.home-hero__content h1 {
    font-size: clamp(2.2rem, 5vw, 4.3rem);
    max-width: 14ch;
}

.home-hero__content h1:focus,
.home-hero__content h1:focus-visible {
    outline: none;
}

.home-hero__content .lead {
    max-width: 54ch;
    color: #c3cdc6;
}

.home-live-row {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    flex-wrap: wrap;
}

.home-live-badge {
    display: inline-flex;
    align-items: center;
    font-size: 0.73rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 700;
    border-radius: 999px;
    padding: 0.22rem 0.55rem;
    color: #e8f7ee;
    background: linear-gradient(130deg, #2f8b57, #3b8668);
}

.home-live-updated {
    font-size: 0.84rem;
    color: #ccd6d0;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

.home-live-dot {
    width: 0.52rem;
    height: 0.52rem;
    border-radius: 50%;
    background: #49c17f;
    box-shadow: 0 0 0 0 rgba(73, 193, 127, 0.34);
    animation: home-dot-pulse 1.65s infinite;
}

.home-cta-row .btn-primary {
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(56, 133, 102, 0.28);
}

.home-app-note {
    margin-top: 0.1rem;
    color: #c9d4ce;
    font-size: 0.95rem;
}

.home-store-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.72rem;
}

.home-store-badge {
    text-decoration: none;
    color: #ecf1ee;
    border: 1px solid rgba(206, 223, 213, 0.35);
    border-radius: 11px;
    padding: 0.48rem 0.82rem;
    font-size: 0.83rem;
    background: rgba(8, 12, 10, 0.55);
}

.home-store-badge:hover {
    color: #ffffff;
    border-color: rgba(109, 184, 154, 0.65);
}

.home-phone {
    justify-self: center;
    width: min(356px, 90vw);
    border-radius: 2.1rem;
    padding: 0.45rem;
    background: linear-gradient(150deg, #141816 0%, #222824 60%, #171d1a 100%);
    box-shadow: 0 24px 46px rgba(0, 0, 0, 0.46), 0 0 0 1px rgba(182, 204, 193, 0.2), 0 0 32px rgba(74, 134, 104, 0.15);
}

.home-phone__notch {
    width: 38%;
    height: 1.05rem;
    margin: 0.35rem auto 0.35rem;
    border-radius: 999px;
    background: #0f1412;
}

.home-phone__screen {
    border-radius: 1.7rem;
    overflow: hidden;
    border: 1px solid rgba(170, 194, 182, 0.38);
    background: #1a2620;
}

.home-phone__hud {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.7rem 0.8rem;
    font-size: 0.76rem;
    color: #ced9d2;
    background: rgba(10, 14, 12, 0.7);
}

.home-phone__map,
.home-live-panel__map {
    position: relative;
    min-height: 210px;
    background:
        linear-gradient(158deg, rgba(8, 15, 12, 0.08), rgba(8, 15, 12, 0.4)),
        url('https://velonduraassetswe.blob.core.windows.net/web/hero/coast_cyclist.jpg') center/cover;
}

.home-phone__stats {
    padding: 0.82rem;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.5rem;
    background: rgba(12, 18, 15, 0.84);
}

.home-phone__stats div {
    border: 1px solid rgba(129, 165, 148, 0.32);
    border-radius: 10px;
    padding: 0.48rem;
    display: grid;
    gap: 0.2rem;
    background: rgba(14, 23, 18, 0.9);
}

.home-phone__stats small {
    font-size: 0.68rem;
    color: #a5b3aa;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.home-phone__stats strong {
    color: #f0f4f1;
    font-size: 0.86rem;
}

.home-rider-marker {
    position: absolute;
    width: 0.8rem;
    height: 0.8rem;
    border-radius: 50%;
    background: #4ed287;
    border: 2px solid #ebfff2;
    box-shadow: 0 0 0 0 rgba(78, 210, 135, 0.28);
    animation: home-marker-pulse 2.2s infinite;
}

.home-rider-marker--a,
.home-rider-marker--d {
    top: 28%;
    left: 32%;
}

.home-rider-marker--b,
.home-rider-marker--e {
    top: 52%;
    right: 26%;
    animation-delay: 0.5s;
}

.home-rider-marker--c,
.home-rider-marker--f {
    bottom: 24%;
    left: 62%;
    animation-delay: 0.9s;
}

.home-usecase-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(1.15rem, 2.4vw, 2rem);
}

.home-usecase-card {
    border: 1px solid #d7ddda;
    border-radius: 14px;
    padding: 1.25rem;
    background: #fbfcfb;
    box-shadow: 0 24px 44px rgba(16, 22, 18, 0.16);
    display: grid;
    gap: 0.78rem;
    transition: transform 220ms ease, box-shadow 220ms ease;
}

.home-usecase-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 30px 52px rgba(16, 22, 18, 0.19);
}

.home-usecase-card p {
    color: #3e4842;
    line-height: 1.45;
}

.home-map-mini {
    position: relative;
    min-height: 142px;
    border-radius: 12px;
    overflow: hidden;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    transition: transform 280ms ease;
}

.home-usecase-card:hover .home-map-mini {
    transform: scale(1.028);
}

.home-map-mini--race {
    background-image:
        linear-gradient(150deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.46)),
        url('https://velonduraassetswe.blob.core.windows.net/web/hero/hill_cyclist.jpg');
}

.home-map-mini--group {
    background-image:
        linear-gradient(150deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.46)),
        url('https://velonduraassetswe.blob.core.windows.net/web/hero/forrest_cyclists.jpg');
}

.home-map-mini--spectator {
    background-image:
        linear-gradient(150deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.46)),
        url('https://velonduraassetswe.blob.core.windows.net/web/hero/field_cyclist.jpg');
}

.home-map-mini::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 46%;
    background: linear-gradient(180deg, rgba(8, 12, 10, 0) 0%, rgba(8, 12, 10, 0.46) 100%);
}

.home-map-mini__status,
.home-map-mini__riders {
    position: absolute;
    z-index: 2;
    font-size: 0.66rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border-radius: 999px;
    padding: 0.2rem 0.48rem;
}

.home-map-mini__status {
    top: 0.6rem;
    left: 0.55rem;
    background: rgba(18, 55, 37, 0.86);
    color: #d8f5e6;
}

.home-map-mini__riders {
    right: 0.55rem;
    bottom: 0.58rem;
    background: rgba(9, 15, 12, 0.76);
    color: #d5e0da;
}

.home-map-mini__line {
    position: absolute;
    left: 18%;
    right: 18%;
    top: 54%;
    height: 2px;
    background: rgba(56, 133, 102, 0.7);
}

.home-map-mini__pulse {
    position: absolute;
    z-index: 2;
    left: 48%;
    top: 51%;
    width: 0.58rem;
    height: 0.58rem;
    border-radius: 50%;
    background: #45c97f;
    border: 2px solid #e8fff1;
    box-shadow: 0 0 0 0 rgba(69, 201, 127, 0.25);
    animation: home-mini-pulse 2s infinite;
}

.home-map-mini__pin {
    position: absolute;
    width: 0.74rem;
    height: 0.74rem;
    border-radius: 50%;
    background: #2f9a62;
    border: 2px solid #eff8f3;
    left: 42%;
    top: 48%;
}

.home-map-mini__pin--alt {
    left: 58%;
    top: 40%;
}

.home-map-mini__pin--third {
    left: 32%;
    top: 60%;
}

.home-section--map {
    position: relative;
    background:
        linear-gradient(180deg, rgba(11, 16, 13, 0.95), rgba(9, 12, 10, 0.98)),
        url('https://velonduraassetswe.blob.core.windows.net/web/hero/coast_cyclist.jpg') center/cover;
}

.home-section--map::after {
    content: "";
    position: absolute;
    inset: auto 0 -1px 0;
    height: 130px;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(9, 12, 10, 0) 0%, rgba(242, 244, 241, 0.88) 100%);
}

.home-real-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.8rem;
    align-items: center;
}

.home-real-grid .lead {
    color: #bcc8c1;
}

.home-real-points {
    margin-top: 1.2rem;
    padding-left: 1.2rem;
    color: #d8e1dc;
}

.home-live-panel {
    border: 1px solid rgba(137, 173, 157, 0.36);
    border-radius: 16px;
    overflow: hidden;
    background: rgba(10, 14, 12, 0.74);
    backdrop-filter: blur(2px);
}

.home-live-panel__top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.68rem 0.84rem;
    font-size: 0.8rem;
    color: #dbe5df;
    background: rgba(8, 12, 10, 0.76);
}

.home-live-panel__rows {
    padding: 0.94rem;
    display: grid;
    gap: 0.55rem;
}

.home-live-panel__rows div {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid rgba(129, 162, 146, 0.27);
    border-radius: 10px;
    padding: 0.45rem 0.58rem;
    color: #d3ddd7;
    background: rgba(11, 17, 13, 0.68);
}

.home-live-panel__rows strong {
    color: #f0f6f2;
    font-size: 0.92rem;
}

.home-final {
    border-top: 1px solid #dde3e0;
}

.home-final-wrap {
    display: grid;
    place-items: center;
    text-align: center;
    gap: 1.1rem;
}

.home-final-wrap p {
    color: #4f5a53;
    max-width: 58ch;
}

.home-final-points {
    list-style: none;
    margin: 0;
    padding: 0;
    width: min(560px, 92vw);
    display: grid;
    gap: 0.42rem;
    color: #303a34;
    text-align: left;
}

.home-final-points li::before {
    content: "•";
    color: #388566;
    font-weight: 700;
    margin-right: 0.5rem;
}

@keyframes home-dot-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(73, 193, 127, 0.35);
    }

    100% {
        box-shadow: 0 0 0 8px rgba(73, 193, 127, 0);
    }
}

@keyframes home-marker-pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(78, 210, 135, 0.28);
    }

    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(78, 210, 135, 0);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes home-mini-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(69, 201, 127, 0.25);
    }

    100% {
        box-shadow: 0 0 0 8px rgba(69, 201, 127, 0);
    }
}

@media (max-width: 980px) {
    .home-hero__grid,
    .home-real-grid,
    .home-usecase-grid {
        grid-template-columns: 1fr;
    }

    .home-phone {
        width: min(380px, 92vw);
    }
}

@media (max-width: 760px) {
    .home-phone__stats {
        grid-template-columns: 1fr;
    }

    .home-hero__content h1 {
        max-width: 100%;
    }
}
