:root {
    --navy: #192b39;
    --navy-deep: #111e28;
    --navy-soft: #23394a;
    --amber: #fbb03b;
    --amber-soft: #fff4e0;
    --text-primary: #16212b;
    --text-muted: #5d6b77;
    --text-on-dark: #e8eef3;
    --text-on-dark-muted: #9fb0bf;
    --bg: #ffffff;
    --bg-soft: #f5f7f9;
    --divider: #e3e8ec;
    --max-width: 1080px;
    --radius: 16px;
    --shadow-sm: 0 1px 2px rgba(17, 30, 40, 0.06);
    --shadow-md: 0 10px 30px rgba(17, 30, 40, 0.1);
}

* {
    box-sizing: border-box;
}

img {
    max-width: 100%;
    height: auto;
}

html,
body {
    margin: 0;
    padding: 0;
    min-height: 100%;
    overflow-x: hidden;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen,
        Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    color: var(--text-primary);
    background-color: var(--bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1 0 auto;
}

a {
    color: var(--navy);
    text-decoration: none;
    transition: color 0.15s ease;
}

a:hover {
    color: #000;
}

.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* ---------- Header ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    background: rgba(25, 43, 57, 0.94);
    backdrop-filter: saturate(180%) blur(12px);
    -webkit-backdrop-filter: saturate(180%) blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-weight: 700;
    letter-spacing: 0.2px;
}

.brand:hover {
    color: #fff;
}

.brand-mark {
    display: inline-flex;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

.brand-mark img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.brand-name {
    font-size: 20px;
}

.site-nav {
    display: flex;
    gap: 24px;
}

.site-nav a {
    font-weight: 500;
    color: var(--text-on-dark-muted);
    font-size: 15px;
}

.site-nav a:hover {
    color: var(--amber);
}

/* ---------- Hero ---------- */
.hero {
    padding: 96px 0 112px;
    text-align: center;
    color: var(--text-on-dark);
    background:
        radial-gradient(ellipse at 50% -10%, rgba(251, 176, 59, 0.18), transparent 60%),
        linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%);
}

.hero-icon {
    width: 96px;
    height: 96px;
    border-radius: 22px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
    margin-bottom: 28px;
}

.hero-title {
    font-size: clamp(40px, 6.5vw, 72px);
    line-height: 1.08;
    margin: 0 auto 20px;
    max-width: 820px;
    color: #fff;
    font-weight: 800;
    letter-spacing: -1.5px;
}

.hero-title em {
    font-style: normal;
    color: var(--amber);
}

.hero-tagline {
    font-size: clamp(17px, 2.2vw, 21px);
    color: var(--text-on-dark-muted);
    max-width: 640px;
    margin: 0 auto 44px;
}

.store-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.store-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 10px 22px;
    min-height: 60px;
    min-width: 200px;
    background: #000;
    color: #fff !important;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 12px;
    transition: transform 0.15s ease, box-shadow 0.2s ease;
    box-shadow: var(--shadow-sm);
}

a.store-btn:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.store-icon {
    width: 26px;
    height: 26px;
    flex-shrink: 0;
}

.store-label {
    display: flex;
    flex-direction: column;
    text-align: left;
    line-height: 1.1;
}

.store-label small {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    opacity: 0.8;
    font-weight: 500;
}

.store-label strong {
    font-size: 17px;
    font-weight: 600;
    margin-top: 2px;
}

.hero-note {
    margin: 20px 0 0;
    font-size: 14px;
    color: var(--text-on-dark-muted);
}

/* ---------- Sections ---------- */
.section {
    padding: 88px 0;
}

.section--soft {
    background: var(--bg-soft);
}

.section-eyebrow {
    display: block;
    text-align: center;
    color: #c07d10;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.section-title {
    text-align: center;
    font-size: clamp(28px, 4vw, 40px);
    line-height: 1.15;
    letter-spacing: -0.8px;
    margin: 0 auto 16px;
    max-width: 720px;
    color: var(--navy);
}

.section-lead {
    text-align: center;
    color: var(--text-muted);
    font-size: 18px;
    max-width: 640px;
    margin: 0 auto 56px;
}

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

.feature {
    background: var(--bg);
    border: 1px solid var(--divider);
    border-radius: var(--radius);
    padding: 28px;
    box-shadow: var(--shadow-sm);
}

.feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--amber-soft);
    color: #b06f05;
    margin-bottom: 16px;
}

.feature-icon svg {
    width: 22px;
    height: 22px;
}

.feature h3 {
    margin: 0 0 8px;
    font-size: 19px;
    color: var(--navy);
}

.feature p {
    margin: 0;
    color: var(--text-muted);
    font-size: 15.5px;
}

/* ---------- Steps ---------- */
.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 32px;
    counter-reset: step;
    list-style: none;
    padding: 0;
    margin: 0;
}

.steps li {
    position: relative;
    padding-top: 60px;
}

.steps li::before {
    counter-increment: step;
    content: counter(step);
    position: absolute;
    top: 0;
    left: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--navy);
    color: var(--amber);
    font-weight: 800;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.steps h3 {
    margin: 0 0 6px;
    font-size: 19px;
    color: var(--navy);
}

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

/* ---------- Trust band ---------- */
.trust {
    background: var(--navy);
    color: var(--text-on-dark);
    padding: 72px 0;
}

.trust .section-title {
    color: #fff;
}

.trust .section-lead {
    color: var(--text-on-dark-muted);
    margin-bottom: 40px;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}

.trust-item {
    background: var(--navy-soft);
    border-radius: var(--radius);
    padding: 24px;
}

.trust-item h3 {
    margin: 0 0 6px;
    font-size: 17px;
    color: var(--amber);
}

.trust-item p {
    margin: 0;
    font-size: 15px;
    color: var(--text-on-dark-muted);
}

.trust-item a {
    color: #fff;
    text-decoration: underline;
}

.disclaimer {
    margin: 40px auto 0;
    max-width: 760px;
    text-align: center;
    font-size: 13.5px;
    color: var(--text-on-dark-muted);
}

/* ---------- Footer ---------- */
.site-footer {
    background: var(--bg-soft);
    border-top: 1px solid var(--divider);
    padding: 40px 0 32px;
    margin-top: auto;
}

.footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    text-align: center;
}

.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--navy);
    font-weight: 600;
    font-size: 15px;
}

.footer-brand .brand-mark {
    width: 26px;
    height: 26px;
    border-radius: 6px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 28px;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 500;
}

.footer-links a:hover {
    color: var(--navy);
}

.footer-copy {
    margin: 8px 0 0;
    color: var(--text-muted);
    font-size: 13px;
}

/* ---------- Legal pages ---------- */
.legal {
    max-width: 800px;
    margin: 0 auto;
    padding: 48px 24px 64px;
    color: #2b3740;
}

.legal h1 {
    color: var(--navy);
    font-size: clamp(30px, 5vw, 40px);
    letter-spacing: -0.6px;
    line-height: 1.15;
    margin: 0 0 8px;
}

.legal .date {
    font-weight: 600;
    color: var(--text-muted);
    margin: 0 0 32px;
    padding-bottom: 20px;
    border-bottom: 3px solid var(--amber);
}

.legal h2 {
    color: var(--navy);
    margin-top: 40px;
    padding-bottom: 6px;
    border-bottom: 1px solid var(--divider);
    font-size: 23px;
}

.legal h3 {
    color: var(--navy);
    font-size: 18px;
    margin-top: 24px;
}

.legal ul {
    padding-left: 24px;
}

.legal li {
    margin-bottom: 8px;
}

.legal a {
    color: #a86a04;
    text-decoration: underline;
}

.legal code {
    background: var(--bg-soft);
    padding: 1px 6px;
    border-radius: 4px;
    font-size: 0.92em;
}

.legal .highlight {
    background: var(--amber-soft);
    border-left: 4px solid var(--amber);
    border-radius: 0 10px 10px 0;
    padding: 4px 20px;
    margin: 24px 0;
}

.legal .highlight h3 {
    margin-top: 16px;
}

.legal table {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0;
    font-size: 15px;
}

.legal th,
.legal td {
    text-align: left;
    vertical-align: top;
    padding: 10px 12px;
    border: 1px solid var(--divider);
}

.legal th {
    background: var(--bg-soft);
    color: var(--navy);
}

.legal .table-wrap {
    overflow-x: auto;
}

.legal .note {
    margin-top: 48px;
    padding-top: 20px;
    border-top: 1px solid var(--divider);
    font-size: 0.9em;
    font-style: italic;
    color: var(--text-muted);
}

@media (max-width: 600px) {
    .site-nav {
        gap: 16px;
    }

    .site-nav a {
        font-size: 14px;
    }

    .site-nav .nav-optional {
        display: none;
    }
}

@media (max-width: 480px) {
    .header-inner {
        height: 56px;
    }

    .hero {
        padding: 64px 0 80px;
    }

    .section {
        padding: 64px 0;
    }

    .store-btn {
        min-width: 0;
        flex: 1 1 220px;
    }
}

/* Galaxy Fold outer cover screen (~280px) and other very narrow viewports */
@media (max-width: 320px) {
    .container {
        padding: 0 16px;
    }

    .brand-name {
        font-size: 17px;
    }

    .store-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .store-btn {
        flex: none;
        width: 100%;
    }
}
