:root {
    --bg: #060608;
    --panel: #17111e;
    --panel-soft: rgba(23, 17, 30, 0.84);
    --line: rgba(252, 184, 88, 0.18);
    --line-strong: rgba(252, 184, 88, 0.34);
    --text: #fff6ef;
    --muted: #d0c0bd;
    --brand: #ffb84f;
    --brand-deep: #a55224;
    --accent: #ff7a59;
    --accent-deep: #cb4f36;
    --berry: #ff5d8f;
    --shadow: 0 32px 80px rgba(0, 0, 0, 0.42);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Avenir Next", "SF Pro Display", "Segoe UI", sans-serif;
    line-height: 1.6;
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(255, 122, 89, 0.16), transparent 25%),
        radial-gradient(circle at 85% 12%, rgba(255, 184, 79, 0.18), transparent 18%),
        radial-gradient(circle at 60% 70%, rgba(255, 93, 143, 0.12), transparent 24%),
        linear-gradient(180deg, #120d16 0%, #060608 38%, #0d0911 100%);
}

a {
    color: inherit;
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    backdrop-filter: blur(16px);
    background: rgba(7, 5, 10, 0.74);
    border-bottom: 1px solid var(--line);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 18px 24px;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    font-size: 1.9rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    color: var(--brand);
}

.logo img {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
}

nav ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
    margin: 0;
    padding: 0;
}

nav ul li a {
    text-decoration: none;
    color: var(--muted);
    font-weight: 600;
    transition: color 0.2s ease;
}

nav ul li a:hover,
nav ul li a:focus-visible {
    color: var(--brand);
}

section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 88px 24px;
}

.hero {
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
    gap: 48px;
    align-items: center;
    min-height: calc(100vh - 80px);
}

.eyebrow,
.feature-kicker,
.placeholder-label {
    margin: 0 0 14px;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.78rem;
    font-weight: 800;
}

.eyebrow,
.feature-kicker {
    color: var(--brand);
}

.placeholder-label {
    color: rgba(255, 255, 255, 0.62);
}

.hero h1,
.section-heading h2,
.download h2 {
    margin: 0;
    letter-spacing: -0.05em;
    line-height: 0.98;
}

.hero h1 {
    font-size: clamp(3.1rem, 8vw, 5.8rem);
    max-width: 11ch;
}

.hero-text,
.section-heading p,
.download p,
.feature-text p,
.feature-list li,
footer p,
.shot-placeholder span,
.placeholder-content p {
    color: var(--muted);
}

.hero-text {
    max-width: 59ch;
    margin: 22px 0 0;
    font-size: 1.15rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 30px;
}

.call-to-action,
.secondary-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    padding: 0 24px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.call-to-action {
    background: linear-gradient(135deg, var(--brand) 0%, var(--accent) 100%);
    color: #2f1308;
    box-shadow: 0 18px 40px rgba(255, 122, 89, 0.24);
}

.secondary-action {
    border: 1px solid var(--line-strong);
    background: rgba(255, 255, 255, 0.02);
    color: var(--text);
}

.call-to-action:hover,
.call-to-action:focus-visible,
.secondary-action:hover,
.secondary-action:focus-visible {
    transform: translateY(-2px);
}

.hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 34px;
}

.stat-pill {
    min-width: 170px;
    padding: 16px 18px;
    border-radius: 22px;
    border: 1px solid var(--line);
    background: linear-gradient(180deg, rgba(31, 20, 35, 0.92), rgba(18, 11, 23, 0.94));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.stat-value {
    display: block;
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--text);
}

.stat-label {
    display: block;
    margin-top: 4px;
    font-size: 0.92rem;
    color: var(--muted);
}

.hero-visual {
    position: relative;
}

.hero-glow {
    position: absolute;
    inset: 10% 14% auto auto;
    width: 260px;
    height: 260px;
    background: radial-gradient(circle, rgba(255, 184, 79, 0.28), transparent 68%);
    filter: blur(16px);
    pointer-events: none;
}

.device-wall {
    position: relative;
    min-height: 680px;
}

.desktop-shot {
    position: absolute;
    right: 0;
    top: 40px;
    width: min(100%, 540px);
}

.desktop-shot img {
    width: 100%;
    border-radius: 20px;
}

.phone-stack {
    position: absolute;
    left: 0;
    top: 0;
    width: min(62%, 340px);
}

.phone-stack img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 28px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 28px 60px rgba(0, 0, 0, 0.42);
}

.phone-back {
    position: absolute;
    left: 84px;
    top: 72px;
    width: 88%;
    opacity: 0.74;
    transform: rotate(9deg);
}

.phone-front {
    position: relative;
    z-index: 1;
}

.placeholder-card {
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    background:
        linear-gradient(180deg, rgba(28, 18, 34, 0.95), rgba(12, 8, 16, 0.96)),
        linear-gradient(135deg, rgba(255, 184, 79, 0.06), transparent 44%);
}

.screenshot-frame {
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    background:
        linear-gradient(180deg, rgba(28, 18, 34, 0.95), rgba(12, 8, 16, 0.96)),
        linear-gradient(135deg, rgba(255, 184, 79, 0.06), transparent 44%);
}

.mac-card {
    padding: 18px;
    border-radius: 30px;
}

.phone-card {
    padding: 14px;
    border-radius: 42px;
    min-height: 520px;
}

.window-chrome {
    display: flex;
    gap: 8px;
    margin-bottom: 14px;
}

.window-chrome span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
}

.placeholder-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
    height: 100%;
}

.placeholder-content h2 {
    margin: 0;
    font-size: clamp(1.5rem, 2.6vw, 2.4rem);
    line-height: 1.05;
    letter-spacing: -0.04em;
}

.bead-grid,
.mini-grid {
    border-radius: 24px;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(135deg, rgba(255, 184, 79, 0.2), rgba(255, 93, 143, 0.16));
}

.bead-grid {
    min-height: 360px;
    background-size: 28px 28px, 28px 28px, cover;
}

.bead-grid-wide {
    position: relative;
    overflow: hidden;
}

.bead-grid-wide::after {
    content: "";
    position: absolute;
    inset: 22% 10%;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: linear-gradient(135deg, rgba(255, 122, 89, 0.32), rgba(255, 184, 79, 0.12));
}

.mini-grid {
    flex: 1;
    min-height: 200px;
    background-size: 24px 24px, 24px 24px, cover;
}

.mini-grid-tall {
    min-height: 340px;
}

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

.section-heading h2,
.download h2 {
    font-size: clamp(2.4rem, 5vw, 4rem);
}

.section-heading p,
.download p {
    margin: 18px 0 0;
    font-size: 1.08rem;
}

.feature-container {
    display: flex;
    flex-direction: column;
    gap: 34px;
}

.feature-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
    align-items: center;
    gap: 38px;
    padding: 34px;
    border-radius: 34px;
    border: 1px solid var(--line);
    background:
        linear-gradient(180deg, rgba(24, 16, 29, 0.94), rgba(13, 9, 17, 0.96)),
        linear-gradient(135deg, rgba(255, 184, 79, 0.05), transparent 45%);
    box-shadow: var(--shadow);
}

.feature-item:nth-child(even) {
    grid-template-columns: minmax(280px, 420px) minmax(0, 1fr);
}

.feature-item:nth-child(even) .feature-text {
    order: 2;
}

.feature-item:nth-child(even) .feature-image {
    order: 1;
}

.feature-text h3 {
    margin: 0;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    line-height: 1.05;
    letter-spacing: -0.04em;
}

.feature-text p {
    margin: 16px 0 0;
    font-size: 1.05rem;
}

.feature-list {
    margin: 20px 0 0;
    padding: 0;
    list-style: none;
}

.feature-list li {
    position: relative;
    margin-bottom: 10px;
    padding-left: 22px;
}

.feature-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.7em;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--brand);
    box-shadow: 0 0 14px rgba(255, 184, 79, 0.45);
}

.feature-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.app-shot {
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 22px 48px rgba(0, 0, 0, 0.4);
    object-fit: cover;
}

.shot-placeholder,
.language-panel {
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 22px 48px rgba(0, 0, 0, 0.4);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)),
        linear-gradient(135deg, rgba(255, 184, 79, 0.16), rgba(255, 93, 143, 0.14));
}

.shot-placeholder {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 4px;
    padding: 24px;
    overflow: hidden;
}

.shot-placeholder p {
    margin: 0;
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.portrait-shot {
    max-width: 280px;
    min-height: 540px;
    border-radius: 42px;
}

.compact-shot {
    max-width: none;
    min-height: 250px;
    border-radius: 32px;
}

.landscape-shot {
    min-height: 320px;
    border-radius: 34px;
}

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

.feature-image-grid .shot-placeholder {
    max-width: none;
}

.mac-feature .shot-placeholder {
    max-width: 100%;
}

.language-panel {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    padding: 28px;
    border-radius: 34px;
}

.language-panel span {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 84px;
    border-radius: 22px;
    font-size: 1.05rem;
    font-weight: 700;
    background: rgba(14, 10, 18, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
}

.language-panel strong {
    font-size: 1.4rem;
    line-height: 1;
}

.screenshots {
    padding-top: 36px;
}

.how-it-works {
    padding-top: 24px;
}

.help-callout {
    margin-top: 32px;
    padding: 32px;
    border-radius: 30px;
    border: 1px solid var(--line-strong);
    background:
        radial-gradient(circle at top center, rgba(255, 184, 79, 0.1), transparent 36%),
        linear-gradient(180deg, rgba(27, 18, 33, 0.96), rgba(11, 8, 15, 0.98));
    box-shadow: var(--shadow);
    text-align: center;
}

.help-callout h3 {
    margin: 0;
    font-size: clamp(2rem, 4vw, 2.8rem);
    line-height: 1.02;
    letter-spacing: -0.04em;
}

.help-callout p:not(.eyebrow) {
    max-width: 60ch;
    margin: 18px auto 0;
    color: var(--muted);
}

.help-page .hero h1,
.help-page .help-hero h1 {
    font-size: clamp(3rem, 8vw, 5.2rem);
    max-width: 12ch;
}

.help-hero {
    padding-bottom: 28px;
}

.help-layout {
    display: grid;
    grid-template-columns: minmax(240px, 280px) minmax(0, 1fr);
    gap: 28px;
    align-items: start;
}

.help-nav,
.help-block {
    border: 1px solid var(--line);
    background:
        linear-gradient(180deg, rgba(24, 16, 29, 0.94), rgba(13, 9, 17, 0.96)),
        linear-gradient(135deg, rgba(255, 184, 79, 0.05), transparent 45%);
    box-shadow: var(--shadow);
}

.help-nav {
    position: sticky;
    top: 104px;
    padding: 24px;
    border-radius: 28px;
}

.help-nav h2 {
    margin: 0 0 16px;
    font-size: 1.25rem;
}

.help-nav ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.help-nav li + li {
    margin-top: 10px;
}

.help-nav a {
    color: var(--muted);
    text-decoration: none;
    font-weight: 600;
}

.help-nav a:hover,
.help-nav a:focus-visible {
    color: var(--brand);
}

.help-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.help-block {
    padding: 30px;
    border-radius: 30px;
}

.help-block h2 {
    margin: 0;
    font-size: clamp(2rem, 4vw, 2.8rem);
    line-height: 1.04;
    letter-spacing: -0.04em;
}

.help-block h3 {
    margin: 28px 0 0;
    font-size: 1.35rem;
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.help-block p {
    margin: 14px 0 0;
    color: var(--muted);
}

.help-list {
    margin: 16px 0 0;
    padding-left: 22px;
    color: var(--muted);
}

.help-list li + li {
    margin-top: 10px;
}

.help-block code {
    color: var(--text);
    font-family: "SF Mono", "Menlo", monospace;
}

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

.step-card {
    padding: 28px;
    border-radius: 28px;
    border: 1px solid var(--line);
    background:
        linear-gradient(180deg, rgba(24, 16, 29, 0.94), rgba(13, 9, 17, 0.96)),
        linear-gradient(135deg, rgba(255, 184, 79, 0.05), transparent 45%);
    box-shadow: var(--shadow);
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 52px;
    min-height: 34px;
    padding: 0 12px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--brand) 0%, var(--accent) 100%);
    color: #2f1308;
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.step-card h3 {
    margin: 18px 0 0;
    font-size: 1.5rem;
    line-height: 1.08;
    letter-spacing: -0.04em;
}

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

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

.download {
    padding-top: 36px;
}

.download-panel {
    padding: 48px;
    border-radius: 36px;
    text-align: center;
    border: 1px solid var(--line-strong);
    background:
        radial-gradient(circle at top center, rgba(255, 184, 79, 0.14), transparent 34%),
        linear-gradient(180deg, rgba(27, 18, 33, 0.96), rgba(11, 8, 15, 0.98));
    box-shadow: var(--shadow);
}

.download-buttons {
    margin-top: 28px;
}

footer {
    padding: 0 24px 40px;
}

footer p {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 12px;
    border-top: 1px solid var(--line);
    text-align: center;
}

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

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

@media (max-width: 1080px) {
    .help-layout,
    .steps-grid,
    .screenshot-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .help-layout {
        grid-template-columns: 1fr;
    }

    .help-nav {
        position: static;
    }
}

@media (max-width: 980px) {
    nav {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero {
        grid-template-columns: 1fr;
        min-height: auto;
        padding-top: 52px;
    }

    .device-wall {
        min-height: 760px;
    }

    .desktop-shot {
        position: relative;
        top: 180px;
        width: 100%;
    }

    .phone-stack {
        position: absolute;
        left: 0;
        top: 0;
        width: min(62%, 300px);
    }

    .feature-item,
    .feature-item:nth-child(even) {
        grid-template-columns: 1fr;
    }

    .feature-item:nth-child(even) .feature-text,
    .feature-item:nth-child(even) .feature-image {
        order: initial;
    }

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

@media (max-width: 680px) {
    section {
        padding: 72px 18px;
    }

    nav {
        padding: 16px 18px;
    }

    nav ul {
        gap: 14px 18px;
    }

    .logo {
        font-size: 1.7rem;
    }

    .logo img {
        width: 42px;
        height: 42px;
        border-radius: 12px;
    }

    .hero h1 {
        font-size: clamp(2.8rem, 13vw, 4.2rem);
    }

    .hero-text,
    .section-heading p,
    .download p,
    .feature-text p,
    .feature-list li {
        font-size: 1rem;
    }

    .hero-stats {
        flex-direction: column;
    }

    .device-wall {
        min-height: 650px;
    }

    .phone-stack {
        width: min(72%, 280px);
    }

    .phone-back {
        left: 56px;
        top: 56px;
    }

    .desktop-shot {
        top: 156px;
        padding: 10px;
        border-radius: 24px;
    }

    .phone-card {
        min-height: 460px;
    }

    .feature-item {
        padding: 24px;
        border-radius: 26px;
    }

    .help-callout,
    .help-block {
        padding: 24px;
        border-radius: 26px;
    }

    .help-nav {
        padding: 20px;
    }

    .steps-grid,
    .feature-image-grid,
    .screenshot-grid {
        grid-template-columns: 1fr;
    }

    .language-panel {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
        padding: 20px;
    }

    .download-panel {
        padding: 34px 22px;
        border-radius: 28px;
    }

    .call-to-action,
    .secondary-action {
        width: 100%;
    }
}
