:root {
    --navy: #062f5f;
    --navy-dark: #071928;
    --navy-soft: #eaf1f8;
    --gold: #c89b45;
    --gold-dark: #9c7224;
    --gold-soft: #f6eddc;
    --cream: #fbfaf6;
    --ink: #111c27;
    --muted: #405268;
    --line: #e1e7ed;
    --surface: #ffffff;
    color: var(--ink);
    background: var(--cream);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.5;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: var(--cream);
}

a {
    color: var(--navy);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 5rem);
    line-height: 1;
    max-width: 780px;
}

h2 {
    font-size: clamp(1.75rem, 3vw, 2.8rem);
    line-height: 1.1;
}

h3 {
    font-size: 1.2rem;
    margin-bottom: 0.4rem;
}

table {
    border-collapse: collapse;
    width: 100%;
}

input,
select,
textarea,
button {
    font: inherit;
}

input,
select,
textarea {
    border: 1px solid #c7d2de;
    border-radius: 8px;
    min-height: 46px;
    padding: 0.75rem 0.85rem;
    width: 100%;
}

textarea {
    min-height: 140px;
    resize: vertical;
}

label {
    color: var(--muted);
    display: block;
    font-weight: 700;
    margin-bottom: 0.35rem;
}

.site-nav {
    align-items: center;
    background: rgba(251, 250, 246, 0.94);
    border-bottom: 1px solid var(--line);
    display: flex;
    gap: 1.5rem;
    justify-content: space-between;
    padding: 0.8rem max(1rem, calc((100vw - 1180px) / 2));
    position: sticky;
    top: 0;
    z-index: 10;
}

.brand {
    align-items: center;
    color: var(--navy-dark);
    display: inline-flex;
    font-weight: 900;
    gap: 0.7rem;
}

.brand:hover {
    text-decoration: none;
}

.brand-mark {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 8px;
    display: block;
    height: 46px;
    object-fit: contain;
    padding: 0.25rem;
    width: 46px;
}

.site-nav-links,
.footer-links,
.actions,
.store-badges {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.site-nav-links a {
    color: var(--muted);
    font-weight: 800;
}

main {
    min-height: 70vh;
}

.hero {
    align-items: center;
    background:
        radial-gradient(circle at 78% 18%, rgba(200, 155, 69, 0.22), transparent 28%),
        radial-gradient(circle at 10% 86%, rgba(6, 47, 95, 0.18), transparent 32%),
        linear-gradient(135deg, #ffffff 0%, var(--cream) 42%, var(--navy-soft) 100%);
    display: grid;
    gap: 3rem;
    grid-template-columns: minmax(0, 0.95fr) minmax(340px, 1.05fr);
    min-height: 780px;
    overflow: hidden;
    padding: 5rem max(1rem, calc((100vw - 1180px) / 2));
}

.hero-logo {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 16px 42px rgba(6, 47, 95, 0.08);
    display: block;
    height: auto;
    margin-bottom: 1.5rem;
    max-width: 230px;
    padding: 0.65rem;
}

.hero-copy p {
    color: var(--muted);
    font-size: 1.2rem;
    max-width: 680px;
}

.hero-media {
    align-items: center;
    display: grid;
    justify-items: center;
    min-height: 660px;
    position: relative;
}

.phone-shot {
    display: block;
    height: auto;
    user-select: none;
}

.phone-shot-main {
    filter: drop-shadow(0 30px 70px rgba(6, 47, 95, 0.32));
    max-width: min(78%, 430px);
    position: relative;
    z-index: 2;
}

.phone-shot-side {
    filter: drop-shadow(0 22px 52px rgba(6, 47, 95, 0.2));
    max-width: min(52%, 295px);
    opacity: 0.94;
    position: absolute;
    top: 16%;
    z-index: 1;
}

.phone-shot-side.left {
    left: 0;
    transform: rotate(-8deg);
}

.phone-shot-side.right {
    right: 0;
    transform: rotate(8deg);
}

.eyebrow {
    color: var(--gold-dark);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.muted {
    color: var(--muted);
}

.section,
.page-header,
.legal-page {
    margin: 0 auto;
    max-width: 1180px;
    padding: 4rem 1rem;
}

.section-heading {
    margin: 0 auto 2rem;
    max-width: 760px;
    text-align: center;
}

.section-heading p {
    color: var(--muted);
}

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

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

.feature,
.panel,
.form-panel,
.screenshot-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 1.4rem;
}

.feature span {
    color: var(--gold-dark);
    font-weight: 900;
}

.screenshots-section {
    padding-top: 5rem;
}

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

.screenshot-card {
    overflow: hidden;
    padding-bottom: 1.6rem;
}

.screenshot-card img {
    display: block;
    height: auto;
    margin: -2rem auto 1rem;
    max-width: min(100%, 285px);
}

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

.band {
    align-items: center;
    background:
        radial-gradient(circle at 90% 0%, rgba(200, 155, 69, 0.3), transparent 34%),
        var(--navy-dark);
    border-radius: 8px;
    color: #fff;
    display: flex;
    justify-content: space-between;
    margin-bottom: 4rem;
}

.band p {
    color: #d8e8f5;
    max-width: 700px;
}

.button,
button {
    align-items: center;
    border: 0;
    border-radius: 8px;
    cursor: pointer;
    display: inline-flex;
    font-weight: 900;
    justify-content: center;
    min-height: 44px;
    padding: 0.75rem 1rem;
    text-decoration: none;
}

.button:hover,
button:hover {
    text-decoration: none;
}

.button.primary,
button.primary {
    background: var(--navy);
    color: #fff;
}

.button.secondary {
    background: var(--gold-soft);
    color: var(--navy-dark);
}

.store-badges {
    margin: 1.4rem 0;
}

.store-badge {
    align-items: center;
    background: var(--navy-dark);
    border-radius: 8px;
    color: #fff;
    display: inline-flex;
    gap: 0.75rem;
    min-height: 62px;
    min-width: 190px;
    padding: 0.55rem 0.85rem;
}

.store-badge:hover {
    text-decoration: none;
}

.store-badge small,
.store-badge strong {
    display: block;
    line-height: 1.15;
}

.store-badge small {
    color: #d8e8f5;
    font-size: 0.72rem;
}

.store-badge strong {
    font-size: 1.05rem;
}

.store-icon {
    align-items: center;
    background: var(--gold);
    border-radius: 8px;
    color: var(--navy-dark);
    display: inline-flex;
    font-size: 1.25rem;
    font-weight: 900;
    height: 38px;
    justify-content: center;
    width: 38px;
}

.store-badge.light {
    background: #fff;
    color: var(--navy-dark);
}

.store-badge.light small {
    color: var(--muted);
}

.store-badges.compact {
    justify-content: flex-end;
    margin: 0;
}

.page-header {
    align-items: flex-end;
    display: flex;
    gap: 1.5rem;
    justify-content: space-between;
}

.page-header h1,
.legal-page h1 {
    font-size: clamp(2rem, 4vw, 3.6rem);
}

.panel,
.form-panel {
    margin: 0 auto 2rem;
    max-width: 1180px;
}

.form-panel form {
    margin: 0;
}

.form-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-bottom: 1.2rem;
}

.input {
    margin-bottom: 1rem;
}

.checkbox {
    align-items: center;
    display: flex;
    gap: 0.5rem;
    margin-top: 1.8rem;
}

.checkbox input {
    min-height: auto;
    width: auto;
}

.checkbox label {
    margin: 0;
}

.error-message {
    color: #b91c1c;
    font-size: 0.9rem;
    margin-top: 0.3rem;
}

.message {
    margin: 1rem auto;
    max-width: 1180px;
    padding: 1rem;
}

.message.success {
    background: #dcfce7;
    border: 1px solid #86efac;
    color: #14532d;
}

.message.error {
    background: #fee2e2;
    border: 1px solid #fca5a5;
    color: #7f1d1d;
}

.data-table th,
.data-table td {
    border-bottom: 1px solid var(--line);
    padding: 0.9rem;
    text-align: left;
    vertical-align: middle;
}

.data-table th {
    color: var(--muted);
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.actions-cell {
    white-space: nowrap;
}

.actions-cell a {
    margin-right: 0.8rem;
}

.status,
.category-pill {
    border-radius: 999px;
    display: inline-flex;
    font-weight: 800;
    padding: 0.3rem 0.65rem;
}

.status.active {
    background: var(--navy-soft);
    color: var(--navy);
}

.status.muted {
    background: #e5e7eb;
    color: #4b5563;
}

.details-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    margin: 0 auto 4rem;
    max-width: 1180px;
    padding: 0 1rem;
}

.details-grid .panel,
.details-grid .form-panel {
    margin: 0;
    max-width: none;
}

.details-list {
    display: grid;
    gap: 0.65rem 1rem;
    grid-template-columns: 160px 1fr;
}

.details-list dt {
    color: var(--muted);
    font-weight: 800;
}

.details-list dd {
    margin: 0;
}

.category-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
}

.category-pill {
    align-items: center;
    background: color-mix(in srgb, var(--pill-color), white 88%);
    color: var(--ink);
    gap: 0.45rem;
}

.category-pill small {
    color: var(--muted);
    font-weight: 700;
}

.color-dot {
    border-radius: 999px;
    display: inline-block;
    height: 0.8rem;
    margin-right: 0.45rem;
    vertical-align: middle;
    width: 0.8rem;
}

.legal-page {
    max-width: 880px;
}

.legal-page h2 {
    font-size: 1.45rem;
    margin-top: 2rem;
}

.site-footer {
    align-items: flex-start;
    background: var(--navy-dark);
    color: #d8e8f5;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    padding: 2rem max(1rem, calc((100vw - 1180px) / 2));
}

.site-footer p {
    margin-bottom: 0;
}

.site-footer a {
    color: #d8e8f5;
}

@media (max-width: 980px) {
    .hero {
        grid-template-columns: 1fr;
        min-height: auto;
        padding-top: 3rem;
    }

    .hero-media {
        min-height: 540px;
    }

    .phone-shot-main {
        max-width: min(76%, 360px);
    }

    .phone-shot-side {
        max-width: min(46%, 240px);
    }

    .screenshots-grid,
    .feature-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 820px) {
    .site-nav,
    .page-header,
    .band,
    .site-footer {
        align-items: flex-start;
        flex-direction: column;
    }

    .split,
    .details-grid {
        grid-template-columns: 1fr;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .panel {
        overflow-x: auto;
    }

    .details-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    .site-nav-links {
        gap: 0.55rem;
    }

    .hero-media {
        min-height: 420px;
    }

    .phone-shot-side {
        display: none;
    }

    .phone-shot-main {
        max-width: min(92%, 340px);
    }

    .store-badge {
        width: 100%;
    }
}
