/* AMVN Labs – shares the visual language of spadelauncher.com:
   warm ink background, ivory type, Ace gold accent, Inter, large rounded cards. */

@font-face { font-family: "Inter"; src: url("fonts/inter-v20-latin-regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url("fonts/inter-v20-latin-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Inter"; src: url("fonts/inter-v20-latin-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Inter"; src: url("fonts/inter-v20-latin-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Inter"; src: url("fonts/inter-v20-latin-800.woff2") format("woff2"); font-weight: 800; font-display: swap; }

:root {
    /* Spade Launcher light mode: ivory paper, warm ink, Ace gold */
    --ink:      #F5F4EE;   /* page background */
    --ivory:    #0A0908;   /* main text */
    --slate-s:  #5C5C58;   /* secondary text, darkened for readability */
    --dust:     #85857F;   /* labels */
    --stone:    #ECEAE4;   /* cards */
    --chalk:    #E3E1DB;
    --seam:     rgba(10, 9, 8, 0.09);
    --seam-hi:  rgba(10, 9, 8, 0.18);
    --gold:     #8F6E33;   /* Ace gold, deepened to stay legible on ivory */
    --gold-lo:  rgba(143, 110, 51, 0.6);
    --max-w:    1200px;
    --r:        28px;
    --ease:     cubic-bezier(0.16, 1, 0.3, 1);
    color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--ink); }
body {
    margin: 0;
    background: radial-gradient(ellipse 100% 55% at 50% -8%, rgba(255,255,255,0.7), transparent), var(--ink);
    color: var(--ivory);
    font-family: "Inter", system-ui, sans-serif;
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin-top: 0; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

main, .site-footer, .nav-inner { width: min(calc(100% - 48px), var(--max-w)); margin-inline: auto; }

/* ── NAV ── */
.site-nav {
    position: sticky; top: 0; z-index: 20;
    background: rgba(245, 244, 238, 0.82);
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--seam);
}
.nav-inner { display: flex; align-items: center; gap: 32px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: -0.03em; font-size: 17px; margin-right: auto; }
.brand-mark {
    width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center;
    background: var(--ivory); border: 1px solid var(--ivory); color: #B89658; font-size: 13px; font-weight: 800;
}
.nav-links { display: flex; gap: 28px; font-size: 14px; color: var(--slate-s); }
.nav-links a:hover { color: var(--ivory); }

/* ── BUTTONS ── */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    height: 46px; padding: 0 22px; border-radius: 999px;
    font: inherit; font-size: 14px; font-weight: 600; white-space: nowrap; cursor: pointer;
    border: 1px solid transparent;
    transition: transform 160ms var(--ease), background 160ms ease, border-color 200ms ease, color 200ms ease, box-shadow 200ms ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--ivory); color: var(--ink); }
.btn-primary:hover { background: #1f1d1a; box-shadow: 0 6px 20px rgba(10,9,8,0.18); }
.btn-ghost { color: var(--gold-lo); border-color: var(--gold-lo); }
.btn-ghost:hover { color: var(--gold); border-color: var(--gold); background: rgba(184,150,88,0.10); }
.btn-nav { height: 38px; padding: 0 16px; font-size: 13px; border-color: var(--seam-hi); background: rgba(255,255,255,0.6); }

/* ── TYPE ── */
.eyebrow { margin: 0 0 16px; color: var(--dust); font-size: 11px; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; }
h1 { font-size: clamp(52px, 8vw, 112px); font-weight: 800; line-height: 0.9; letter-spacing: -0.07em; margin-bottom: 28px; }
h1 em, h2 em { font-style: normal; color: var(--slate-s); }
h2 { font-size: clamp(38px, 5vw, 68px); font-weight: 700; line-height: 0.98; letter-spacing: -0.055em; margin-bottom: 0; text-wrap: balance; }
h3 { font-size: 20px; font-weight: 600; line-height: 1.25; letter-spacing: -0.025em; margin-bottom: 10px; }

/* ── HERO ── */
.hero { padding: 120px 0 110px; border-bottom: 1px solid var(--seam); }
.hero-sub { max-width: 560px; color: var(--slate-s); font-size: 19px; margin-bottom: 36px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.trust-row { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 44px; color: var(--dust); font-size: 13px; font-weight: 500; }
.trust-row span::before { content: "◆"; color: #B89658; font-size: 8px; margin-right: 9px; vertical-align: 2px; }

/* ── SECTIONS ── */
.section { padding: 110px 0; border-bottom: 1px solid var(--seam); }
.section-head { display: grid; grid-template-columns: 1.1fr 0.9fr; align-items: end; gap: 48px; margin-bottom: 52px; }
.section-head > * { min-width: 0; }
.section-desc { max-width: 460px; color: var(--slate-s); font-size: 18px; margin-bottom: 0; }

/* ── CARDS ── */
.bento { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.card {
    border: 1px solid var(--seam); border-radius: var(--r); background: var(--stone); padding: 36px;
    transition: border-color 250ms ease, transform 250ms var(--ease), box-shadow 250ms ease;
}
.card:hover { border-color: var(--seam-hi); transform: translateY(-4px); box-shadow: 0 18px 48px rgba(10,9,8,0.08); }
.card p { color: var(--slate-s); font-size: 15px; margin-bottom: 0; }
.card .tag { display: inline-block; margin-bottom: 26px; font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); }

/* ── STEPS ── */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; counter-reset: step; }
.steps li { border-top: 1px solid var(--seam-hi); padding-top: 22px; counter-increment: step; }
.steps li::before { content: counter(step, decimal-leading-zero); display: block; font-size: 13px; font-weight: 600; color: var(--gold); margin-bottom: 18px; font-variant-numeric: tabular-nums; }
.steps p { color: var(--slate-s); font-size: 15px; margin: 0; }

/* ── DEMO ── */
.demo {
    display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center;
    border: 1px solid var(--seam); border-radius: var(--r); padding: 48px;
    background: linear-gradient(135deg, var(--stone), #F9F8F4);
}
.demo > * { min-width: 0; }
.demo p { color: var(--slate-s); font-size: 17px; }
.demo-links { display: flex; flex-direction: column; gap: 10px; }
.demo-link {
    display: flex; justify-content: space-between; align-items: center; gap: 16px;
    padding: 18px 22px; border: 1px solid var(--seam-hi); border-radius: 18px; background: rgba(255,255,255,0.55);
    transition: border-color 200ms ease, background 200ms ease;
}
.demo-link:hover { border-color: var(--gold-lo); background: rgba(184,150,88,0.06); }
.demo-link strong { font-weight: 600; }
.demo-link span { color: var(--dust); font-size: 13px; }

/* ── ABOUT ── */
.about { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: start; }
.about > * { min-width: 0; }
.about-text p { color: var(--slate-s); font-size: 18px; }
.about-text p strong { color: var(--ivory); font-weight: 600; }
.about-text a { color: var(--gold); border-bottom: 1px solid var(--gold-lo); }

/* ── CONTACT ── */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.contact-item { border: 1px solid var(--seam); border-radius: var(--r); background: var(--stone); padding: 30px 32px; display: grid; gap: 6px; }
.contact-item .eyebrow { margin: 0; }
.contact-item a, .contact-item div { font-size: clamp(20px, 2.4vw, 28px); font-weight: 600; letter-spacing: -0.035em; overflow-wrap: anywhere; }
.contact-item a:hover { color: var(--gold); }

/* ── FOOTER ── */
.site-footer { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; padding: 40px 0 56px; color: var(--dust); font-size: 13px; }
.site-footer nav { display: flex; gap: 22px; flex-wrap: wrap; }
.site-footer a:hover { color: var(--ivory); }

/* ── LEGAL PAGES ── */
.legal { max-width: 720px; padding: 90px 0 110px; }
.legal h1 { font-size: clamp(44px, 6vw, 72px); }
.legal h2 { font-size: 20px; letter-spacing: -0.02em; margin: 40px 0 10px; }
.legal p { color: var(--slate-s); }
.todo { color: var(--gold); }

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
    .nav-links { display: none; }
    .section-head, .about, .demo { grid-template-columns: 1fr; gap: 28px; }
    .steps { grid-template-columns: repeat(2, 1fr); row-gap: 36px; }
    .demo { padding: 32px; }
}
@media (max-width: 640px) {
    main, .site-footer, .nav-inner { width: calc(100% - 32px); }
    .hero { padding: 72px 0 80px; }
    .section { padding: 80px 0; }
    .bento, .contact, .steps { grid-template-columns: 1fr; }
    .card { padding: 28px; }
    .hero-actions .btn { flex: 1 1 auto; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .btn, .card, .demo-link { transition: none; }
    .btn:hover, .card:hover { transform: none; }
}
