@charset "UTF-8";

:root {
    color-scheme: dark;
    --graphite: #06080b;
    --graphite-deep: #0b0e12;
    --surface: rgba(255, 255, 255, 0.045);
    --surface-solid: #14171c;
    --ink: #f4f2ee;
    --muted: #a7a49e;
    --faint: #6d6a65;
    --line: rgba(255, 255, 255, 0.1);
    --strong-line: rgba(255, 255, 255, 0.18);
    --gold: #deb357;
    --gold-soft: rgba(222, 179, 87, 0.14);
    --gold-ink: #241a08;
    --shadow: 0 28px 80px rgba(0, 0, 0, 0.55);
    --shell: 1140px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    margin: 0;
    min-width: 320px;
    overflow-x: hidden;
    background:
        radial-gradient(circle at 84% 8%, var(--gold-soft), transparent 26rem),
        radial-gradient(circle at 8% 40%, rgba(222, 179, 87, 0.06), transparent 30rem),
        var(--graphite);
    color: var(--ink);
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
    font-size: 17px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

body::before {
    position: fixed;
    inset: 0;
    z-index: -1;
    content: "";
    pointer-events: none;
    opacity: 0.35;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.05'/%3E%3C/svg%3E");
}

a {
    color: inherit;
    text-decoration-thickness: 1px;
    text-underline-offset: 0.18em;
}

a:hover {
    color: var(--gold);
}

img {
    display: block;
    max-width: 100%;
}

.shell {
    width: min(calc(100% - 48px), var(--shell));
    margin-inline: auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: color-mix(in srgb, var(--graphite) 80%, transparent);
    -webkit-backdrop-filter: blur(18px) saturate(1.3);
    backdrop-filter: blur(18px) saturate(1.3);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 82px;
    border-bottom: 1px solid var(--line);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--ink);
    font-size: 1.06rem;
    font-weight: 750;
    letter-spacing: -0.02em;
    text-decoration: none;
}

.brand:hover {
    color: var(--ink);
}

.brand img {
    width: 42px;
    height: 42px;
    border: 1px solid var(--line);
    border-radius: 11px;
    box-shadow: 0 7px 18px rgba(0, 0, 0, 0.4);
}

nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

nav a {
    color: var(--muted);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
}

nav a[aria-current="page"] {
    color: var(--gold);
}

.hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.78fr);
    gap: clamp(48px, 8vw, 110px);
    align-items: center;
    min-height: calc(100svh - 82px);
    padding-block: 80px 100px;
}

.hero-copy {
    position: relative;
    z-index: 2;
}

.eyebrow {
    margin: 0 0 18px;
    color: var(--gold);
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.17em;
    line-height: 1.3;
    text-transform: uppercase;
}

h1,
h2,
h3,
p {
    text-wrap: pretty;
}

h1,
h2,
h3 {
    margin-top: 0;
    color: var(--ink);
    font-family: ui-rounded, "SF Pro Rounded", -apple-system, BlinkMacSystemFont, sans-serif;
    letter-spacing: -0.045em;
    line-height: 1.08;
}

.hero h1 {
    max-width: 640px;
    margin-bottom: 28px;
    font-size: clamp(3.4rem, 6.8vw, 6.2rem);
    font-weight: 800;
}

.hero-summary {
    max-width: 560px;
    margin: 0 0 32px;
    color: var(--muted);
    font-size: clamp(1.08rem, 1.9vw, 1.28rem);
    line-height: 1.65;
}

.app-store-badge {
    display: inline-flex;
    line-height: 0;
    text-decoration: none;
    transition: opacity 180ms ease, transform 180ms ease;
}

.app-store-badge:hover {
    color: inherit;
    opacity: 0.88;
    transform: translateY(-2px);
}

.app-store-badge:focus-visible {
    outline: 3px solid color-mix(in srgb, var(--gold) 55%, transparent);
    outline-offset: 4px;
}

.app-store-badge img {
    width: auto;
    height: 54px;
    display: inline-block;
}

.app-store-badge .badge-light {
    display: none;
}

.app-store-badge .badge-dark {
    display: inline-block;
}

.trust-list {
    display: flex;
    flex-wrap: wrap;
    gap: 9px 24px;
    margin: 30px 0 0;
    padding: 0;
    color: var(--muted);
    font-size: 0.85rem;
    font-weight: 650;
    list-style: none;
}

.trust-list li::before {
    margin-right: 8px;
    color: var(--gold);
    content: "✓";
    font-weight: 900;
}

.hero-preview {
    position: relative;
    display: grid;
    justify-items: center;
}

.hero-preview .shot-frame {
    width: min(100%, 320px);
    padding: 10px;
    border: 1px solid var(--strong-line);
    border-radius: 52px;
    background: color-mix(in srgb, var(--ink) 6%, var(--graphite-deep));
    box-shadow: var(--shadow);
    transform: rotate(2deg);
    animation: shot-float 7s ease-in-out infinite;
}

.hero-preview img {
    width: 100%;
    height: auto;
    border-radius: 44px;
}

.preview-orbit {
    position: absolute;
    display: grid;
    width: 62px;
    height: 62px;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: var(--surface-solid);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.4);
    color: var(--gold);
    font-family: ui-rounded, "SF Pro Rounded", sans-serif;
    font-size: 1.3rem;
    font-weight: 800;
}

.orbit-one {
    top: 10%;
    right: -30px;
    transform: rotate(9deg);
}

.orbit-two {
    bottom: 12%;
    left: -34px;
    transform: rotate(-10deg);
}

@keyframes shot-float {
    0%, 100% { transform: rotate(2deg) translateY(0); }
    50% { transform: rotate(1deg) translateY(-10px); }
}

.intro {
    max-width: 820px;
    padding-block: 140px;
    text-align: center;
}

.intro h2,
.closing h2 {
    margin-bottom: 24px;
    font-size: clamp(2.5rem, 6vw, 5rem);
}

.intro > p:last-child {
    max-width: 700px;
    margin: 0 auto;
    color: var(--muted);
    font-size: clamp(1.08rem, 2vw, 1.3rem);
}

.product-story {
    padding-bottom: 150px;
}

.story-heading {
    max-width: 760px;
    margin-bottom: 64px;
}

.story-heading h2 {
    margin-bottom: 22px;
    font-size: clamp(2.5rem, 6vw, 5rem);
}

.story-heading > p:last-child {
    margin: 0;
    color: var(--muted);
    font-size: clamp(1.05rem, 2vw, 1.25rem);
}

.screenshot-gallery {
    display: flex;
    gap: 20px;
    margin-inline: calc((100% - min(calc(100% - 48px), var(--shell))) / -2);
    padding: 8px calc((100% - min(calc(100% - 48px), var(--shell))) / 2) 24px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-padding-inline: 24px;
    scroll-snap-type: inline mandatory;
}

.screenshot-gallery:focus-visible {
    outline: 3px solid var(--gold);
    outline-offset: 8px;
}

.screenshot-story {
    flex: 0 0 min(58vw, 260px);
    min-width: 0;
    scroll-snap-align: start;
}

.screenshot-frame {
    margin: 0;
    overflow: hidden;
    border-radius: 34px;
    box-shadow: 0 26px 70px rgba(0, 0, 0, 0.45);
}

.screenshot-frame img {
    width: 100%;
    height: auto;
    border-radius: 34px;
}

.features {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    padding-bottom: 130px;
}

.feature-card {
    position: relative;
    min-height: 360px;
    overflow: hidden;
    padding: clamp(26px, 4vw, 44px);
    border: 1px solid var(--line);
    border-radius: 32px;
    background: var(--surface);
    box-shadow: 0 18px 55px rgba(0, 0, 0, 0.2);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
}

.feature-card::after {
    position: absolute;
    right: -90px;
    bottom: -120px;
    width: 270px;
    height: 270px;
    border-radius: 50%;
    background: var(--gold-soft);
    content: "";
    filter: blur(2px);
}

.feature-wide {
    display: grid;
    grid-column: 1 / -1;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 55px;
    align-items: center;
    min-height: 420px;
}

.feature-number {
    position: relative;
    z-index: 2;
    display: inline-block;
    margin-bottom: 46px;
    color: var(--gold);
    font-family: ui-monospace, "SFMono-Regular", monospace;
    font-size: 0.76rem;
    font-weight: 750;
    letter-spacing: 0.1em;
}

.feature-card h3 {
    position: relative;
    z-index: 2;
    margin-bottom: 18px;
    font-size: clamp(1.8rem, 3.4vw, 2.65rem);
}

.feature-card p {
    position: relative;
    z-index: 2;
    max-width: 560px;
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
}

.tilt-demo {
    position: relative;
    z-index: 2;
    display: grid;
    place-items: center;
    padding: clamp(30px, 5vw, 54px);
    border: 1px solid var(--line);
    border-radius: 24px;
    background: var(--surface-solid);
    box-shadow: 0 20px 55px rgba(0, 0, 0, 0.3);
}

.tilt-demo .tilt-ring {
    position: relative;
    display: grid;
    width: clamp(140px, 16vw, 190px);
    height: clamp(140px, 16vw, 190px);
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: radial-gradient(circle at 40% 32%, rgba(255, 255, 255, 0.06), transparent 60%);
}

.tilt-demo .tilt-ball {
    width: 26%;
    height: 26%;
    border-radius: 50%;
    background: radial-gradient(circle at 34% 30%, #fbfbfb, #9a968f 55%, #35322c 100%);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.45);
    animation: tilt-roam 5.5s ease-in-out infinite;
}

@keyframes tilt-roam {
    0%, 100% { transform: translate(-34%, -28%); }
    25% { transform: translate(30%, -22%); }
    50% { transform: translate(26%, 30%); }
    75% { transform: translate(-30%, 26%); }
}

.pill-row,
.level-grid,
.impact-row {
    position: relative;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 34px;
}

.pill-row span,
.impact-row span {
    padding: 8px 14px;
    border: 1px solid var(--line);
    border-radius: 100px;
    background: var(--surface-solid);
    color: var(--muted);
    font-size: 0.73rem;
    font-weight: 700;
}

.level-grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 7px;
}

.level-grid span {
    display: grid;
    aspect-ratio: 1;
    place-items: center;
    border-radius: 8px;
    background: var(--surface-solid);
    color: var(--faint);
    font-family: ui-monospace, "SFMono-Regular", monospace;
    font-size: 0.62rem;
    font-weight: 700;
}

.level-grid span.done {
    background: var(--gold-soft);
    color: var(--gold);
}

.impact-row span:nth-child(1) { border-color: color-mix(in srgb, var(--gold) 40%, var(--line)); }

.achievement-demo {
    position: relative;
    z-index: 2;
    display: grid;
    gap: 10px;
    margin-top: 30px;
}

.achievement-demo .achievement-row {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 12px;
    align-items: center;
    padding: 11px 14px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--surface-solid);
}

.achievement-demo .badge {
    display: grid;
    width: 30px;
    height: 30px;
    place-items: center;
    border-radius: 9px;
    background: var(--gold-soft);
    color: var(--gold);
    font-size: 0.85rem;
}

.achievement-demo strong {
    display: block;
    font-size: 0.86rem;
}

.achievement-demo small {
    color: var(--muted);
    font-size: 0.72rem;
}

.closing {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 60px;
    align-items: center;
    padding-block: 100px 150px;
}

.closing h2 {
    max-width: 760px;
    margin-bottom: 0;
}

.closing-app-store-badge {
    margin-top: 32px;
}

.closing-mark {
    display: grid;
    width: clamp(150px, 18vw, 220px);
    aspect-ratio: 1;
    place-items: center;
    padding: clamp(16px, 2.2vw, 26px);
    border: 1px solid var(--strong-line);
    border-radius: 30%;
    background: var(--surface-solid);
    box-shadow: var(--shadow);
    transform: rotate(5deg);
}

.closing-mark img {
    width: 100%;
    height: 100%;
    border-radius: 22%;
}

.site-footer {
    border-top: 1px solid var(--line);
    background: color-mix(in srgb, var(--graphite-deep) 70%, transparent);
}

.footer-inner {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 28px;
    align-items: start;
    padding-block: 55px;
    color: var(--muted);
    font-size: 0.86rem;
}

.footer-inner strong {
    color: var(--ink);
    font-size: 1rem;
}

.footer-inner p {
    margin: 4px 0 0;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
}

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

.copyright {
    grid-column: 1 / -1;
    padding-top: 20px;
    border-top: 1px solid var(--line);
    color: var(--faint);
}

/* Legal and support pages */
.legal {
    max-width: 820px;
    padding-block: clamp(85px, 12vw, 150px);
}

.legal > h1 {
    margin-bottom: 20px;
    font-size: clamp(3.2rem, 8vw, 6.5rem);
}

.legal-date {
    margin: 0 0 42px;
    color: var(--faint);
    font-size: 0.9rem;
    font-weight: 600;
}

.legal-lead {
    margin: 0 0 80px;
    color: var(--muted);
    font-size: clamp(1.2rem, 2.6vw, 1.55rem);
    line-height: 1.55;
}

.legal section {
    padding-block: 35px;
    border-top: 1px solid var(--line);
}

.legal section:last-child {
    border-bottom: 1px solid var(--line);
}

.legal h2 {
    margin-bottom: 18px;
    font-size: clamp(1.55rem, 3vw, 2.1rem);
    letter-spacing: -0.03em;
}

.legal section p,
.legal li {
    color: var(--muted);
}

.legal section p {
    margin: 0 0 17px;
}

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

.legal ul {
    margin: 0 0 20px;
    padding-left: 1.35em;
}

.legal a:not(.primary-button) {
    color: var(--gold);
}

.primary-button {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    margin-top: -40px;
    margin-bottom: 90px;
    padding: 14px 22px;
    border-radius: 100px;
    background: var(--gold);
    box-shadow: 0 12px 30px var(--gold-soft);
    color: var(--gold-ink);
    font-weight: 750;
    text-decoration: none;
}

.primary-button:hover {
    background: color-mix(in srgb, var(--gold) 88%, white);
    color: var(--gold-ink);
}

.faq-section {
    padding-top: 55px !important;
}

.faq-section > .eyebrow {
    margin-bottom: 38px;
}

.faq-section details {
    border-top: 1px solid var(--line);
}

.faq-section details:last-child {
    border-bottom: 1px solid var(--line);
}

.faq-section summary {
    padding: 24px 36px 24px 0;
    cursor: pointer;
    color: var(--ink);
    font-family: ui-rounded, "SF Pro Rounded", sans-serif;
    font-size: 1.08rem;
    font-weight: 750;
    line-height: 1.35;
}

.faq-section details p {
    max-width: 700px;
    padding: 0 20px 25px 0;
}

@media (max-width: 900px) {
    .hero {
        grid-template-columns: 1fr;
        min-height: auto;
        padding-top: 80px;
        text-align: center;
    }

    .hero-copy {
        display: grid;
        justify-items: center;
    }

    .hero h1 {
        max-width: 640px;
    }

    .trust-list {
        justify-content: center;
    }

    .hero-preview {
        width: min(100%, 420px);
        margin: 35px auto 0;
    }

    .feature-wide {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 680px) {
    .shell {
        width: min(calc(100% - 32px), var(--shell));
    }

    .header-inner {
        min-height: 70px;
    }

    .brand img {
        width: 36px;
        height: 36px;
        border-radius: 9px;
    }

    nav {
        gap: 15px;
    }

    nav a {
        font-size: 0.78rem;
    }

    nav a:first-child {
        display: none;
    }

    .hero {
        padding-block: 62px 70px;
    }

    .hero h1 {
        font-size: clamp(3rem, 15vw, 4.3rem);
    }

    .hero-summary {
        font-size: 1.05rem;
    }

    .hero-preview .shot-frame {
        width: min(92%, 340px);
        border-radius: 46px;
    }

    .orbit-one {
        right: -2px;
    }

    .orbit-two {
        left: -2px;
    }

    .intro {
        padding-block: 100px;
    }

    .product-story {
        padding-bottom: 100px;
    }

    .story-heading {
        margin-bottom: 42px;
    }

    .screenshot-story {
        flex-basis: min(66vw, 240px);
    }

    .features {
        grid-template-columns: 1fr;
        padding-bottom: 80px;
    }

    .feature-wide {
        grid-column: auto;
    }

    .feature-card {
        min-height: 340px;
        border-radius: 25px;
    }

    .feature-number {
        margin-bottom: 38px;
    }

    .closing {
        grid-template-columns: 1fr;
        justify-items: center;
        padding-block: 80px 110px;
        text-align: center;
    }

    .closing-mark {
        width: 145px;
    }

    .footer-inner {
        grid-template-columns: 1fr;
    }

    .legal {
        padding-block: 72px 95px;
    }

    .legal > h1 {
        font-size: clamp(3rem, 15vw, 4.5rem);
    }

    .legal-lead {
        margin-bottom: 60px;
    }

    .primary-button {
        margin-bottom: 70px;
    }
}

@media (max-width: 390px) {
    .brand span {
        display: none;
    }

    .preview-orbit {
        width: 52px;
        height: 52px;
        border-radius: 16px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}
