:root {
    color-scheme: light;
    --bg: #f6f8fb;
    --surface: #ffffff;
    --text: #10233d;
    --muted: #5e6f85;
    --primary: #10b981;
    --primary-dark: #059669;
    --accent: #f59e0b;
    --accent-soft: #ecfdf5;
    --border: #dce7f4;
    --ink: #0d0d0d;
    --ink-soft: #1a1a1a;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Inter, Arial, sans-serif;
    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
}

.landing-page {
    background:
        radial-gradient(circle at 78% 8%, rgba(16, 185, 129, 0.22), transparent 26rem),
        radial-gradient(circle at 12% 24%, rgba(245, 158, 11, 0.12), transparent 20rem),
        linear-gradient(180deg, #0d0d0d 0 46rem, #f6f8fb 46rem 100%);
}

.scroll-progress {
    position: fixed;
    inset: 0 auto auto 0;
    z-index: 20;
    width: 100%;
    height: 3px;
    transform: scaleX(0);
    transform-origin: left center;
    background: linear-gradient(90deg, var(--primary), var(--accent));
}

a {
    color: inherit;
    text-decoration: none;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 1.5rem;
    background: rgba(13, 13, 13, 0.82);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    font-weight: 800;
    font-size: 1.05rem;
    color: var(--primary);
}

.brand-mark {
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background:
        linear-gradient(135deg, var(--primary), var(--accent));
    box-shadow: 0 0 28px rgba(16, 185, 129, 0.32);
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-weight: 600;
}

.site-nav a {
    color: rgba(255, 255, 255, 0.72);
    transition: color 180ms ease;
}

.site-nav a:hover {
    color: white;
}

.lang-switcher {
    display: inline-flex;
    gap: 0.35rem;
    margin-left: 0.35rem;
}

.lang-chip {
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.08);
    color: white;
    border-radius: 999px;
    padding: 0.35rem 0.7rem;
    cursor: pointer;
    font-weight: 700;
}

.lang-chip.active {
    background: var(--primary);
    color: #062018;
    border-color: var(--primary);
}

.scroll-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1.25rem 4rem;
}

.hero-section {
    position: relative;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 2rem;
    align-items: center;
    min-height: calc(100vh - 7rem);
    padding: 2rem 0 3rem;
    color: white;
}

.hero-backdrop {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.hero-backdrop span {
    position: absolute;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-backdrop span:first-child {
    width: 25rem;
    height: 25rem;
    right: 6%;
    top: 10%;
}

.hero-backdrop span:last-child {
    width: 13rem;
    height: 13rem;
    left: 34%;
    bottom: 8%;
}

.hero-copy h1 {
    font-size: clamp(2.45rem, 6vw, 5.6rem);
    line-height: 0.96;
    margin: 0 0 0.8rem;
    max-width: 11ch;
    letter-spacing: 0;
}

.hero-copy p {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.74);
    line-height: 1.7;
}

.hero-message {
    border-left: 4px solid var(--primary);
    padding-left: 1rem;
    font-weight: 700;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1.4rem;
    flex-wrap: wrap;
}

.hero-highlights {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-top: 1.2rem;
}

.hero-highlights span {
    padding: 0.55rem 0.8rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.12);
    font-weight: 600;
}

.hero-media {
    display: grid;
    gap: 1rem;
}

.hero-copy,
.hero-media {
    position: relative;
    z-index: 1;
}

.route-visual {
    position: relative;
    min-height: 520px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 28px;
    background: #151515;
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.34);
    transform: perspective(1200px) rotateY(-4deg) rotateX(2deg);
    transition: transform 500ms ease, box-shadow 500ms ease;
}

.route-visual:hover {
    transform: perspective(1200px) rotateY(0deg) rotateX(0deg) translateY(-4px);
    box-shadow: 0 34px 95px rgba(0, 0, 0, 0.42);
}

.hero-media img {
    height: 100%;
    min-height: 520px;
    width: 100%;
    object-fit: cover;
    filter: saturate(1.06) contrast(1.04);
}

.route-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(13, 13, 13, 0.05), rgba(13, 13, 13, 0.6)),
        radial-gradient(circle at 70% 30%, rgba(16, 185, 129, 0.18), transparent 15rem);
}

.route-line {
    position: absolute;
    left: 12%;
    right: 12%;
    bottom: 26%;
    height: 4px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
}

.route-stop,
.route-bus {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.route-stop {
    width: 16px;
    height: 16px;
    border: 3px solid white;
    border-radius: 999px;
    background: var(--primary);
    box-shadow: 0 0 0 8px rgba(16, 185, 129, 0.18);
}

.route-stop--home {
    left: 0;
}

.route-stop--school {
    right: 0;
    background: var(--accent);
}

.route-bus {
    left: 52%;
    padding: 0.46rem 0.7rem;
    border-radius: 999px;
    background: white;
    color: #111827;
    font-size: 0.74rem;
    font-weight: 900;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
    animation: routeMove 5s ease-in-out infinite alternate;
}

.route-card {
    position: absolute;
    display: grid;
    gap: 0.2rem;
    max-width: 230px;
    padding: 0.9rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 18px;
    background: rgba(13, 13, 13, 0.72);
    backdrop-filter: blur(12px);
    color: white;
    animation: floatSoft 4.8s ease-in-out infinite;
}

.route-card span {
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.88rem;
}

.route-card--top {
    top: 1.2rem;
    left: 1.2rem;
}

.route-card--bottom {
    right: 1.2rem;
    bottom: 1.2rem;
    animation-delay: 800ms;
}

.phone-preview {
    position: absolute;
    right: 8%;
    top: 19%;
    width: 172px;
    min-height: 252px;
    padding: 0.85rem;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 26px;
    background: rgba(10, 10, 10, 0.78);
    backdrop-filter: blur(16px);
    color: white;
    box-shadow: 0 22px 48px rgba(0, 0, 0, 0.34);
}

.phone-preview__bar {
    width: 42px;
    height: 4px;
    margin: 0 auto 0.85rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.3);
}

.phone-preview__map {
    position: relative;
    height: 116px;
    margin-bottom: 0.8rem;
    overflow: hidden;
    border-radius: 18px;
    background:
        linear-gradient(135deg, rgba(16, 185, 129, 0.24), rgba(245, 158, 11, 0.16)),
        #1f2937;
}

.phone-preview__map::before {
    content: "";
    position: absolute;
    inset: 30% -10% auto;
    height: 3px;
    transform: rotate(-18deg);
    background: rgba(255, 255, 255, 0.55);
}

.phone-preview__map span {
    position: absolute;
    right: 34%;
    top: 42%;
    width: 18px;
    height: 18px;
    border: 4px solid white;
    border-radius: 50%;
    background: var(--primary);
    box-shadow: 0 0 0 9px rgba(16, 185, 129, 0.18);
}

.phone-preview strong {
    display: block;
    margin-bottom: 0.35rem;
    font-size: 0.9rem;
}

.phone-preview p {
    margin: 0;
    color: rgba(255, 255, 255, 0.64);
    font-size: 0.78rem;
    line-height: 1.45;
}

@keyframes routeMove {
    from { left: 22%; }
    to { left: 72%; }
}

@keyframes floatSoft {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.journey-status {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
    margin-top: 1.35rem;
    max-width: 660px;
}

.journey-status div {
    padding: 0.85rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.06);
}

.journey-status span {
    display: block;
    margin-bottom: 0.25rem;
    color: var(--primary);
    font-weight: 800;
}

.journey-status strong {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.82);
}

.media-card,
.cta-section,
.card,
.auth-card,
.panel,
.hero-card,
.stat-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 1.25rem;
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.06);
}

.media-card {
    background: #151515;
    border-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-0.4rem);
}

.media-label {
    font-weight: 800;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 0.74rem;
    margin: 0 0 0.35rem;
}

.media-text {
    margin: 0;
    color: rgba(255, 255, 255, 0.68);
}

.stats-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-bottom: 3rem;
    transform: translateY(-1.2rem);
}

.stat-pill {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: 1rem 1.1rem;
    border-radius: 18px;
    background: #121212;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.08);
    font-weight: 600;
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.18);
}

.content-section {
    margin-bottom: 0;
    padding: 6.5rem 0;
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 700ms ease, transform 700ms ease;
}

.content-section.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.section-shell {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(320px, 0.55fr);
    gap: 3rem;
    align-items: center;
}

.content-section.is-reversed .section-shell {
    grid-template-columns: minmax(320px, 0.55fr) minmax(0, 0.85fr);
}

.content-section.is-reversed .section-heading,
.content-section.is-reversed .rich-copy {
    grid-column: 2;
}

.content-section.is-reversed .section-art {
    grid-column: 1;
    grid-row: 1 / span 2;
}

.section-heading,
.rich-copy {
    grid-column: 1;
}

.section-art {
    grid-column: 2;
    grid-row: 1 / span 2;
    position: relative;
    min-height: 340px;
    border-radius: 32px;
    overflow: hidden;
    background:
        radial-gradient(circle at 28% 26%, rgba(16, 185, 129, 0.26), transparent 9rem),
        radial-gradient(circle at 76% 70%, rgba(245, 158, 11, 0.2), transparent 8rem),
        linear-gradient(145deg, #131313, #232323);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.15);
}

.section-art > img,
.section-art__video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    object-fit: cover;
}

.section-art > img {
    filter: saturate(1.08) contrast(1.04);
}

.section-art::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(180deg, rgba(13, 13, 13, 0.12), rgba(13, 13, 13, 0.68)),
        radial-gradient(circle at 28% 28%, rgba(16, 185, 129, 0.26), transparent 10rem),
        radial-gradient(circle at 78% 68%, rgba(245, 158, 11, 0.22), transparent 9rem);
}

.section-art__overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
}

.section-art span {
    position: absolute;
    border-radius: 999px;
    z-index: 2;
}

.section-art span:first-child {
    inset: auto 12% 16% 12%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
}

.section-art span:nth-child(2) {
    width: 92px;
    height: 92px;
    left: 18%;
    top: 20%;
    background: rgba(16, 185, 129, 0.22);
    border: 1px solid rgba(16, 185, 129, 0.48);
}

.section-art span:last-child {
    width: 132px;
    height: 132px;
    right: 16%;
    bottom: 22%;
    border: 1px solid rgba(255, 255, 255, 0.24);
}

.motif-timeline .section-art span:first-child {
    inset: 16% auto 16% 50%;
    width: 5px;
    height: auto;
}

.motif-band .section-art span:nth-child(2) {
    width: 190px;
    height: 46px;
    top: 42%;
    left: 20%;
    border-radius: 999px;
}

.motif-campus .section-art span:last-child,
.motif-tech .section-art span:last-child {
    border-radius: 26px;
    transform: rotate(10deg);
}

.section-art__overlay i {
    position: absolute;
    z-index: 2;
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: var(--primary);
    box-shadow: 0 0 0 10px rgba(16, 185, 129, 0.14), 0 0 28px rgba(16, 185, 129, 0.48);
    animation: floatSoft 4.6s ease-in-out infinite;
}

.section-art__overlay i:first-of-type {
    left: 22%;
    top: 24%;
}

.section-art__overlay i:last-of-type {
    right: 18%;
    bottom: 24%;
    background: var(--accent);
    box-shadow: 0 0 0 10px rgba(245, 158, 11, 0.14), 0 0 28px rgba(245, 158, 11, 0.42);
    animation-delay: 900ms;
}

.alt-section {
    background:
        radial-gradient(circle at 18% 18%, rgba(16, 185, 129, 0.12), transparent 22rem),
        #111;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    color: white;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding-left: max(1.25rem, calc(50vw - 600px));
    padding-right: max(1.25rem, calc(50vw - 600px));
}

.section-heading {
    margin-bottom: 1rem;
}

.section-heading h2 {
    font-size: clamp(1.7rem, 3vw, 3rem);
    max-width: 780px;
    margin: 0;
}

.cards-grid,
.split-grid,
.module-grid {
    display: grid;
    gap: 1rem;
}

.cards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.split-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.module-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card ul {
    padding-left: 1rem;
    color: var(--muted);
}

.rich-copy {
    max-width: 980px;
    color: var(--muted);
    line-height: 1.75;
    font-size: 1.02rem;
}

.alt-section .rich-copy {
    color: rgba(255, 255, 255, 0.7);
}

.rich-copy p {
    margin: 0 0 1rem;
}

.feature-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
    padding: 0;
    margin: 1rem 0 0;
    list-style: none;
}

.feature-list li {
    display: grid;
    gap: 0.35rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 1rem;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.04);
    transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}

.feature-list li:hover {
    transform: translateY(-4px);
    border-color: rgba(16, 185, 129, 0.42);
    box-shadow: 0 18px 34px rgba(15, 23, 42, 0.08);
}

.feature-list li strong {
    color: var(--primary-dark);
}

.feature-list li span {
    color: var(--muted);
}

.alt-section .feature-list li {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.78);
}

.alt-section .feature-list li strong {
    color: var(--primary);
}

.alt-section .feature-list li span {
    color: rgba(255, 255, 255, 0.68);
}

.video-frame {
    margin-top: 1rem;
    border-radius: 18px;
    overflow: hidden;
    min-height: 220px;
}

.video-frame iframe {
    width: 100%;
    height: 220px;
    border: 0;
}

.cta-section {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    align-items: flex-start;
    background: linear-gradient(135deg, #10b981, #111827);
    color: white;
    border-radius: 32px;
    padding: 2rem;
    box-shadow: 0 24px 70px rgba(16, 185, 129, 0.18);
}

.cta-section h2 {
    margin: 0;
}

.cta-section p {
    margin: 0;
    color: rgba(255, 255, 255, 0.74);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 0.9rem 1.2rem;
    font-weight: 700;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn--primary {
    background: var(--primary);
    color: #062018;
    box-shadow: 0 14px 30px rgba(16, 185, 129, 0.22);
}

.btn--primary:hover {
    background: var(--primary-dark);
    color: white;
}

.btn--ghost {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.14);
    color: currentColor;
}

.app-shell {
    display: flex;
    min-height: 100vh;
}

.sidebar {
    width: 260px;
    background: #0f172a;
    color: white;
    padding: 1.25rem 1rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.sidebar__brand h2 {
    margin: 0 0 0.25rem;
}

.sidebar__brand p {
    margin: 0;
    color: #cbd5e1;
}

.sidebar__nav {
    display: grid;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.nav-item {
    border: 0;
    text-align: left;
    padding: 0.8rem 0.9rem;
    border-radius: 12px;
    background: transparent;
    color: white;
    cursor: pointer;
    font-weight: 600;
}

.nav-item.active,
.nav-item:hover {
    background: rgba(255, 255, 255, 0.14);
}

.sidebar__footer {
    display: grid;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.main-panel {
    flex: 1;
    padding: 1.25rem;
}

.topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.25rem;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid var(--border);
    border-radius: 18px;
    margin-bottom: 1rem;
}

.status-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.45rem 0.8rem;
    border-radius: 999px;
    background: rgba(16, 185, 129, 0.14);
    color: #047857;
    font-weight: 700;
}

.status-pill.is-warning {
    background: rgba(245, 158, 11, 0.16);
    color: #b45309;
}

.status-pill.is-offline {
    background: rgba(239, 68, 68, 0.16);
    color: #b91c1c;
}

.module-view {
    display: none;
}

.module-view.active {
    display: block;
}

.hero-card {
    background: linear-gradient(135deg, var(--primary), #2563eb);
    color: white;
    margin-bottom: 1rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.stat-card h3 {
    font-size: 1.6rem;
    margin: 0 0 0.35rem;
}

.stat-card p {
    margin: 0;
    color: var(--muted);
}

.manager-form {
    display: grid;
    gap: 0.7rem;
    margin-top: 1rem;
}

.manager-form.compact-form {
    gap: 0.6rem;
}

.content-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.field-group {
    display: grid;
    gap: 0.45rem;
}

.field-group label {
    color: var(--text);
    font-weight: 700;
}

.field-group textarea {
    min-height: 130px;
    resize: vertical;
}

.form-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

input,
textarea,
select {
    width: 100%;
    padding: 0.85rem 0.95rem;
    border: 1px solid var(--border);
    border-radius: 12px;
    font-size: 1rem;
    font-family: inherit;
}

.manager-list {
    display: grid;
    gap: 0.7rem;
    margin-top: 0.75rem;
}

.manager-item {
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 0.8rem;
    background: #f8fbff;
}

.manager-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.6rem;
    flex-wrap: wrap;
}

.helper-text {
    color: var(--muted);
    margin: 0.4rem 0 0;
    font-size: 0.95rem;
}

.auth-shell {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 1rem;
}

.auth-card {
    width: min(100%, 480px);
}

.auth-switcher {
    justify-content: flex-end;
    margin-bottom: 0.75rem;
}

.auth-form {
    display: grid;
    gap: 0.7rem;
    margin: 1rem 0;
}

.eyebrow {
    display: inline-block;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-weight: 700;
    color: var(--primary);
    font-size: 0.8rem;
}

.link {
    color: var(--primary);
    font-weight: 700;
}

.site-footer {
    border-top: 1px solid var(--border);
    color: var(--muted);
    display: grid;
    gap: 0.35rem;
    margin-top: 2rem;
    padding: 1.5rem 0 0;
    white-space: pre-line;
}

.site-footer strong {
    color: var(--primary);
}

@media (max-width: 900px) {
    .app-shell {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
    }

    .stats-grid,
    .module-grid,
    .content-fields,
    .cards-grid,
    .split-grid,
    .feature-list,
    .stats-strip,
    .hero-section,
    .journey-status,
    .section-shell,
    .content-section.is-reversed .section-shell {
        grid-template-columns: 1fr;
    }

    .hero-section {
        padding-top: 1rem;
    }

    .site-header {
        flex-direction: column;
        gap: 0.8rem;
    }

    .site-nav {
        flex-wrap: wrap;
        justify-content: center;
    }

    .route-visual {
        min-height: 430px;
        transform: none;
    }

    .hero-media img {
        min-height: 430px;
    }

    .section-heading,
    .rich-copy,
    .section-art,
    .content-section.is-reversed .section-heading,
    .content-section.is-reversed .rich-copy,
    .content-section.is-reversed .section-art {
        grid-column: auto;
        grid-row: auto;
    }

    .section-art {
        min-height: 240px;
        order: -1;
    }
}

@media (max-width: 680px) {
    .scroll-page {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .hero-copy h1 {
        font-size: clamp(2.45rem, 14vw, 4.1rem);
    }

    .hero-actions .btn {
        width: 100%;
    }

    .route-card,
    .phone-preview {
        position: relative;
        inset: auto;
        margin: 0.75rem;
        width: auto;
        max-width: none;
    }

    .route-overlay {
        display: grid;
        align-content: end;
    }

    .route-line {
        bottom: 51%;
    }

    .phone-preview {
        min-height: auto;
    }

    .phone-preview__map {
        height: 90px;
    }

    .content-section {
        padding: 4rem 0;
    }

    .section-art {
        min-height: 210px;
        border-radius: 24px;
    }

    .topbar {
        flex-direction: column;
        gap: 0.6rem;
        align-items: flex-start;
    }

    .main-panel {
        padding: 0.8rem;
    }
}
