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

:root
{
    --primary: #34495e;
    --secondary: #c8823a;
    --ink: #0a0f16;
    --surface: #111923;
    --border: rgba(255, 255, 255, 0.07);
    --text: #e8edf3;
    --muted: #7a90a4;
    --dimmer: #4a6070;
}

html
{
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

body
{
    background: var(--ink);
    color: var(--text);
    font-family: 'Instrument Sans', sans-serif;
    overflow-x: hidden;
    min-height: 100vh;
}

/* Noise overlay */
body::before
{
    content: '';
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E");
    background-size: 200px 200px;
    opacity: 0.5;
}

/* ── Background atmosphere ── */
.bg-scene
{
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background: radial-gradient(ellipse 110% 60% at 50% -5%, #1e3248 0%, #0a0f16 55%);
}

.orb-amber
{
    position: fixed;
    bottom: -180px;
    left: -120px;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    z-index: -1;
    background: radial-gradient(circle, rgba(200, 130, 58, 0.09) 0%, transparent 70%);
    pointer-events: none;
}

.orb-blue
{
    position: fixed;
    top: -80px;
    right: -60px;
    width: 450px;
    height: 650px;
    border-radius: 50%;
    z-index: -1;
    background: radial-gradient(circle, rgba(52, 73, 94, 0.38) 0%, transparent 70%);
    pointer-events: none;
}

.grid-bg
{
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background-image: linear-gradient(rgba(38, 53, 69, 0.3) 1px, transparent 1px),
    linear-gradient(90deg, rgba(38, 53, 69, 0.3) 1px, transparent 1px);
    background-size: 40px 40px;
}

/* ── Shimmer text ── */
.shimmer
{
    background: linear-gradient(90deg, #c8823a 0%, #e8aa6a 40%, #c8823a 60%, #a5671e 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 3s linear infinite;
}

@keyframes shimmer
{
    from
    {
        background-position: -200% 0;
    }
    to
    {
        background-position: 200% 0;
    }
}

/* ── Animations ── */
@keyframes fadeUp
{
    from
    {
        opacity: 0;
        transform: translateY(24px);
    }
    to
    {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn
{
    from
    {
        opacity: 0;
    }
    to
    {
        opacity: 1;
    }
}

@keyframes lineGrow
{
    from
    {
        transform: scaleX(0);
    }
    to
    {
        transform: scaleX(1);
    }
}

@keyframes bounceY
{
    0%, 100%
    {
        transform: translateY(0);
    }
    50%
    {
        transform: translateY(4px);
    }
}

@keyframes pulse
{
    0%, 100%
    {
        opacity: 1;
    }
    50%
    {
        opacity: 0.4;
    }
}

.anim-fade-up
{
    opacity: 0;
    animation: fadeUp 0.7s ease forwards;
}

.anim-fade-in
{
    opacity: 0;
    animation: fadeIn 0.6s ease forwards;
}

.d1
{
    animation-delay: 0.10s;
}

.d2
{
    animation-delay: 0.25s;
}

.d3
{
    animation-delay: 0.40s;
}

.d4
{
    animation-delay: 0.55s;
}

.d5
{
    animation-delay: 0.70s;
}

.d6
{
    animation-delay: 0.85s;
}

.d7
{
    animation-delay: 1.00s;
}

/* ── Layout ── */
.wrap
{
    max-width: 1040px;
    margin: 0 auto;
    padding: 0 32px;
    position: relative;
    z-index: 10;
}

@media (max-width: 600px)
{
    .wrap
    {
        padding: 0 20px;
    }
}

/* ── Navbar ── */
nav
{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 32px;
    position: relative;
    z-index: 50;
    max-width: 1040px;
    margin: 0 auto;
}

.logo
{
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

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

.logo-text
{
    font-family: 'DM Serif Display', serif;
    font-size: 1.1rem;
    letter-spacing: -0.02em;
    color: white;
    line-height: 1;
}

.nav-tag
{
    font-family: 'DM Mono', monospace;
    font-size: 0.62rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--dimmer);
}

@media (max-width: 480px)
{
    .nav-tag
    {
        display: none;
    }
}

/* ── Hero ── */
.hero
{
    padding: 64px 0 96px;
}

.eyebrow
{
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 100px;
    border: 1px solid rgba(52, 73, 94, 0.7);
    background: rgba(10, 15, 22, 0.6);
    backdrop-filter: blur(12px);
    margin-bottom: 32px;
}

.eyebrow-dot
{
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--secondary);
    animation: pulse 2s ease infinite;
}

.eyebrow-text
{
    font-family: 'DM Mono', monospace;
    font-size: 0.6rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--dimmer);
}

h1
{
    font-family: 'DM Serif Display', serif;
    font-size: clamp(2.2rem, 6vw, 4.2rem);
    color: white;
    line-height: 1.07;
    letter-spacing: -0.02em;
    max-width: 780px;
    margin-bottom: 24px;
}

.subhead
{
    font-size: 1rem;
    color: #94abbe;
    line-height: 1.7;
    max-width: 620px;
    margin-bottom: 40px;
}

@media (min-width: 768px)
{
    .subhead
    {
        font-size: 1.05rem;
    }
}

/* ── Store buttons ── */
.btn-row
{
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.store-btn
{
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 13px 20px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(12px);
    color: var(--text);
    text-decoration: none;
    transition: background 0.25s, border-color 0.25s, transform 0.2s;
    cursor: pointer;
}

.store-btn:hover
{
    background: rgba(200, 130, 58, 0.12);
    border-color: rgba(200, 130, 58, 0.45);
    transform: translateY(-2px);
}

.store-btn:hover .arrow
{
    color: var(--secondary);
}

.btn-label-small
{
    font-family: 'DM Mono', monospace;
    font-size: 0.55rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--dimmer);
    display: block;
}

.btn-label-main
{
    font-size: 0.85rem;
    font-weight: 600;
    display: block;
    line-height: 1.2;
}

.arrow
{
    color: #4a6070;
    transition: color 0.2s;
    margin-left: 4px;
}

/* ── Scroll indicator ── */
.scroll-hint
{
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 72px;
}

.scroll-mouse
{
    width: 22px;
    height: 34px;
    border-radius: 100px;
    border: 1px solid rgba(52, 73, 94, 0.8);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 6px;
}

.scroll-dot
{
    width: 3px;
    height: 8px;
    border-radius: 3px;
    background: var(--secondary);
    animation: bounceY 1.6s ease infinite;
}

.scroll-label
{
    font-family: 'DM Mono', monospace;
    font-size: 0.58rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #2e4054;
}

/* ── Features section ── */
.features
{
    padding: 0 0 100px;
}

.section-rule-wrap
{
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.rule-line
{
    height: 1px;
    flex: 1;
    background: linear-gradient(90deg, transparent, var(--secondary) 40%, transparent);
    transform-origin: left;
    animation: lineGrow 1s ease 0.6s both;
}

.rule-line.right
{
    transform-origin: right;
}

.rule-tag
{
    font-family: 'DM Mono', monospace;
    font-size: 0.58rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #2e4054;
    white-space: nowrap;
}

h2
{
    font-family: 'DM Serif Display', serif;
    font-size: clamp(1.6rem, 4vw, 2.4rem);
    color: white;
    line-height: 1.2;
    letter-spacing: -0.015em;
    margin-bottom: 48px;
}

/* ── Cards ── */
.card-grid
{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

@media (max-width: 768px)
{
    .card-grid
    {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 480px) and (max-width: 768px)
{
    .card-grid
    {
        grid-template-columns: 1fr 1fr;
    }
}

.card
{
    position: relative;
    border-radius: 18px;
    background: rgba(10, 15, 22, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.055);
    padding: 28px;
    backdrop-filter: blur(8px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card::before
{
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, rgba(200, 130, 58, 0.38), transparent 55%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}

.card:hover
{
    transform: translateY(-5px);
    box-shadow: 0 28px 64px rgba(0, 0, 0, 0.55);
}

.card:hover::before
{
    opacity: 1;
}

.card-top
{
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 28px;
}

.card-num
{
    font-family: 'DM Mono', monospace;
    font-size: 0.58rem;
    color: #2e4054;
    letter-spacing: 0.1em;
}

.card-tag
{
    font-family: 'DM Mono', monospace;
    font-size: 0.52rem;
    padding: 4px 8px;
    border-radius: 100px;
    border: 1px solid rgba(200, 130, 58, 0.2);
    color: var(--secondary);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    background: rgba(200, 130, 58, 0.05);
}

.card-icon
{
    margin-bottom: 18px;
}

.card h3
{
    font-family: 'DM Serif Display', serif;
    font-size: 1.2rem;
    color: white;
    margin-bottom: 10px;
    letter-spacing: -0.01em;
    line-height: 1.25;
}

.card p
{
    font-size: 0.85rem;
    color: #7a90a4;
    line-height: 1.7;
}

/* ── Footer ── */
footer
{
    position: relative;
    z-index: 10;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    padding: 28px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1040px;
    margin: 0 auto;
    flex-wrap: wrap;
    gap: 8px;
}

footer span
{
    font-family: 'DM Mono', monospace;
    font-size: 0.58rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #2a3d4f;
}

@media (max-width: 500px)
{
    footer
    {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

/* Scrollbar */
::-webkit-scrollbar
{
    width: 5px;
}

::-webkit-scrollbar-track
{
    background: var(--ink);
}

::-webkit-scrollbar-thumb
{
    background: #34495e;
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover
{
    background: var(--secondary);
}
