:root {
    --primary: #ff5500;
    --primary-light: #ff7a00;
    --primary-soft: #fff7ef;
    --primary-border: #ffd8b5;

    --text: #222;
    --muted: #666;
    --white: #fff;

    --footer: #222;

    --page-max: 1100px;
    --content-narrow: 900px;

    --radius-small: 8px;
    --radius-medium: 10px;
    --radius-large: 12px;

    --shadow-card: 0 4px 16px rgba(0, 0, 0, 0.06);
    --shadow-card-hover: 0 8px 24px rgba(0, 0, 0, 0.08);

    --transition-fast: 0.2s ease;
    --transition-normal: 0.25s ease;
}


/* =========================================================
   Base
   ========================================================= */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family:
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
    color: var(--text);
    background: #fff;
    line-height: 1.6;
}

a {
    color: inherit;
}

img,
video {
    max-width: 100%;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}


/* =========================================================
   Layout
   ========================================================= */

.container {
    width: min(calc(100% - 40px), var(--page-max));
    margin-inline: auto;
}

.container-narrow {
    width: min(calc(100% - 40px), var(--content-narrow));
}

.section {
    padding: 60px 20px;
}

.section h2 {
    margin: 0 0 32px;
    color: var(--primary);
    text-align: center;
    font-size: clamp(28px, 4vw, 32px);
    line-height: 1.2;
}


/* =========================================================
   Hero
   ========================================================= */

.hero {
    position: relative;
    min-height: 560px;
    display: grid;
    place-items: center;
    padding: 80px 20px;
    color: var(--white);
    text-align: center;
    overflow: hidden;
}

.hero-video,
.hero-overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.hero-video {
    object-fit: cover;
    z-index: 1;
}

.hero-overlay {
    z-index: 2;
    background:
        linear-gradient(
            135deg,
            rgba(255, 122, 0, 0.82),
            rgba(255, 85, 0, 0.86)
        );
}

.hero-content {
    position: relative;
    z-index: 3;
    width: min(100%, var(--content-narrow));
}

.hero-logo {
    display: block;
    width: min(200px, 55vw);
    height: auto;
    margin: 0 auto 20px;
    opacity: 0.95;
}

.hero h1 {
    margin: 0 0 10px;
    font-size: clamp(32px, 6vw, 42px);
    line-height: 1.15;
}

.hero p {
    max-width: 700px;
    margin: 0 auto;
    font-size: clamp(16px, 2.5vw, 18px);
    opacity: 0.92;
}

.hero-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 30px;
}


/* =========================================================
   Buttons
   ========================================================= */

.btn {
    display: inline-block;
    padding: 12px 22px;
    border: 1px solid transparent;
    border-radius: var(--radius-small);
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.3;
    transition:
        transform var(--transition-fast),
        box-shadow var(--transition-fast),
        background var(--transition-fast);
}

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

.btn:focus-visible,
.play-store-button:focus-visible {
    outline: 3px solid rgba(255, 85, 0, 0.35);
    outline-offset: 3px;
}

.btn-android {
    background: #0f9d58;
    color: #fff;
}

.btn-pwa {
    background: #fff;
    color: var(--primary);
    border-color: var(--primary);
}

.btn-primary {
    background:
        linear-gradient(
            135deg,
            var(--primary-light),
            var(--primary)
        );
    color: #fff;
    box-shadow: 0 4px 12px rgba(255, 85, 0, 0.25);
}

.btn-primary:hover {
    box-shadow: 0 6px 18px rgba(255, 85, 0, 0.35);
}

.btn-outline {
    border-color: var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: #fff;
}


/* =========================================================
   Features
   ========================================================= */

.why-section {
    background: #fff;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.feature-card {
    padding: 24px 20px;
    border: 1px solid var(--primary-border);
    border-radius: var(--radius-medium);
    background: var(--primary-soft);
    text-align: center;
}

.feature-card h3 {
    margin: 0 0 8px;
    font-size: 19px;
}

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


/* =========================================================
   Install / App Access
   ========================================================= */

.install-section {
    background: #fafafa;
}

.install-section h2 {
    margin-bottom: 40px;
}

.install-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(280px, 420px));
    justify-content: center;
    gap: 20px;
}

.card {
    display: flex;
    flex-direction: column;
    padding: 24px;
    border: 1px solid #f1f1f1;
    border-radius: var(--radius-large);
    background: #fff;
    box-shadow: var(--shadow-card);
    transition:
        transform var(--transition-normal),
        box-shadow var(--transition-normal);
}

.card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-card-hover);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.card-header h3 {
    margin: 0;
    font-size: 19px;
}

.icon {
    font-size: 22px;
    line-height: 1;
}

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

.card .btn {
    align-self: flex-start;
    margin-top: auto;
    padding-top: 10px;
    padding-bottom: 10px;
}

.card a:not(.btn):not(.play-store-button) {
    color: var(--primary);
    text-decoration: none;
}

.card a:not(.btn):not(.play-store-button):hover {
    text-decoration: underline;
}


/* =========================================================
   App Download / Access Cards
   ========================================================= */

.app-card {
    min-height: 0;
}

.app-description {
    margin-bottom: 24px !important;
}

.play-store-button {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    gap: 12px;
    margin-top: 18px;
    padding: 10px 20px;
    border-radius: var(--radius-small);
    background: #172033;
    color: #fff;
    text-decoration: none;
    transition:
        transform var(--transition-fast),
        box-shadow var(--transition-fast);
}

.play-store-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 5px 14px rgba(0, 0, 0, 0.18);
}

.play-icon {
    font-size: 22px;
    line-height: 1;
}

.play-store-button small,
.play-store-button strong {
    display: block;
    line-height: 1.1;
}

.play-store-button small {
    font-size: 9px;
    font-weight: 500;
    letter-spacing: 0.4px;
}

.play-store-button strong {
    margin-top: 3px;
    font-size: 18px;
}

.app-trust-points {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    margin-top: 18px;
    color: var(--muted);
    font-size: 13px;
}

.app-trust-points span {
    white-space: nowrap;
}

.ios-note {
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid #e8e8e8;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.5;
    font-style: italic;
}


/* =========================================================
   Why Use Onlanekart
   ========================================================= */

.why-use-section {
    background: var(--primary-soft);
}

.why-use-intro {
    max-width: 720px;
    margin: -10px auto 36px;
    color: var(--muted);
    text-align: center;
    font-size: 17px;
}

.why-use-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(280px, 1fr));
    gap: 24px;
}

.why-use-card {
    padding: 28px;
    border: 1px solid var(--primary-border);
    border-radius: var(--radius-large);
    background: #fff;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
}

.why-use-icon {
    margin-bottom: 12px;
    font-size: 34px;
    line-height: 1;
}

.why-use-card h3 {
    margin: 0 0 14px;
    font-size: 21px;
    line-height: 1.3;
}

.problem-text {
    margin: 0 0 22px;
    color: var(--muted);
}

.solution {
    padding: 18px;
    border-left: 4px solid var(--primary);
    border-radius: 0 8px 8px 0;
    background: #fffaf5;
}

.solution h4 {
    margin: 0 0 8px;
    color: var(--primary);
    font-size: 17px;
}

.solution p {
    margin: 0 0 12px;
    color: #444;
}

.solution p:last-child {
    margin-bottom: 0;
}

.small-note {
    font-size: 13px;
    color: var(--muted) !important;
}

.delivery-flow {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 18px 0;
}

.delivery-flow div {
    padding: 12px;
    border: 1px solid var(--primary-border);
    border-radius: var(--radius-small);
    background: #fff;
    text-align: center;
}

.delivery-flow strong,
.delivery-flow span {
    display: block;
}

.delivery-flow strong {
    margin-bottom: 4px;
    font-size: 14px;
}

.delivery-flow span {
    color: var(--primary);
    font-size: 14px;
    font-weight: 600;
}


/* =========================================================
   About
   ========================================================= */

.about-section p {
    margin: 0;
    color: #444;
    font-size: 18px;
}


/* =========================================================
   Footer
   ========================================================= */

.site-footer {
    margin-top: 0;
    padding: 30px 20px;
    background: var(--footer);
    color: #ccc;
    text-align: center;
    font-size: 14px;
}

.site-footer p {
    margin: 8px 0;
}

.site-footer strong {
    color: #fff;
}

.footer-links {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    margin: 15px auto;
}

.footer-links a {
    color: #ff8844;
    text-decoration: none;
}

.footer-links a:hover {
    text-decoration: underline;
}

.copyright {
    opacity: 0.7;
}


/* =========================================================
   Policy Pages
   ========================================================= */

.policy-hero {
    padding: 56px 20px 44px;
    border-bottom: 1px solid var(--primary-border);
    background:
        linear-gradient(
            135deg,
            var(--primary-soft),
            #fff
        );
    text-align: center;
}

.policy-hero h1 {
    margin: 0;
    color: var(--primary);
    font-size: clamp(28px, 5vw, 36px);
    line-height: 1.2;
}

.policy-updated {
    margin: 12px 0 0;
    color: var(--muted);
    font-size: 14px;
}


/* Policy content */

.policy-section {
    padding-top: 48px;
    padding-bottom: 64px;
    background: #fff;
}

.policy-container {
    width: min(calc(100% - 40px), var(--content-narrow));
}


/* Individual policy sections */

.policy-block {
    margin-bottom: 32px;
}

.policy-block:last-child {
    margin-bottom: 0;
}

.policy-block h2 {
    margin: 0 0 14px;
    color: var(--primary);
    font-size: clamp(21px, 3vw, 25px);
    line-height: 1.3;
}

.policy-block h3 {
    margin: 26px 0 10px;
    color: #333;
    font-size: 18px;
    line-height: 1.35;
}

.policy-block h4 {
    margin: 22px 0 8px;
    color: #444;
    font-size: 16px;
    line-height: 1.4;
}

.policy-block p {
    margin: 0 0 14px;
    color: #444;
    font-size: 15px;
    line-height: 1.75;
}

.policy-block p:last-child {
    margin-bottom: 0;
}


/* Policy lists */

.policy-block ul {
    margin: 8px 0 18px;
    padding-left: 24px;
}

.policy-block li {
    margin-bottom: 7px;
    color: #444;
    font-size: 15px;
    line-height: 1.65;
}

.policy-block li:last-child {
    margin-bottom: 0;
}


/* Policy links */

.policy-block a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

.policy-block a:hover {
    text-decoration: underline;
}


/* Policy code / permissions */

.policy-block code {
    padding: 2px 6px;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    background: #f4f4f4;
    color: #333;
    font-family: Consolas, "Courier New", monospace;
    font-size: 13px;
}


/* Policy notices */

.policy-note {
    margin: 18px 0 24px;
    padding: 14px 18px;
    border-left: 4px solid var(--primary);
    border-radius: 0 8px 8px 0;
    background: var(--primary-soft);
}

.policy-note p {
    margin-bottom: 8px;
}

.policy-note ul {
    margin-bottom: 0;
}


/* Policy tables */

.policy-table-wrap {
    width: 100%;
    margin: 20px 0 22px;
    overflow-x: auto;
}

.policy-table {
    width: 100%;
    min-width: 680px;
    border-collapse: collapse;
    background: #fff;
    font-size: 14px;
}

.policy-table th,
.policy-table td {
    padding: 12px 14px;
    border: 1px solid #e5e5e5;
    text-align: left;
    vertical-align: top;
    line-height: 1.5;
}

.policy-table th {
    background: var(--primary-soft);
    color: #333;
    font-weight: 700;
}

.policy-table td {
    color: #444;
}

.policy-table tr:nth-child(even) td {
    background: #fafafa;
}


/* =========================================================
   Responsive
   ========================================================= */

@media (max-width: 760px) {

    .hero {
        min-height: 600px;
        padding: 60px 20px;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .hero-actions .btn {
        width: min(100%, 300px);
    }

    .feature-grid,
    .install-grid,
    .why-use-grid {
        grid-template-columns: 1fr;
    }

    .delivery-flow {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 48px 20px;
    }

    .install-section h2 {
        margin-bottom: 30px;
    }

    .footer-links {
        gap: 5px 8px;
    }

    .policy-hero {
        padding: 44px 20px 36px;
    }

    .policy-section {
        padding-top: 36px;
        padding-bottom: 48px;
    }

    .policy-container {
        width: min(calc(100% - 30px), var(--content-narrow));
    }

    .policy-block {
        margin-bottom: 28px;
    }

    .policy-block h2 {
        margin-bottom: 12px;
    }

    .policy-block h3 {
        margin-top: 22px;
    }

    .policy-block p,
    .policy-block li {
        font-size: 15px;
    }

    .policy-table {
        min-width: 620px;
    }

    .policy-table th,
    .policy-table td {
        padding: 10px 11px;
    }
}


/* =========================================================
   Reduced Motion
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    .btn,
    .card,
    .play-store-button {
        transition: none;
    }

    .btn:hover,
    .card:hover,
    .play-store-button:hover {
        transform: none;
    }
}