/* Game N' Seed — shared site styles
   Palette pulled from the brand logo: leaf green + forest deep + sky blue. */
:root {
    --bg:        #F7F8F4;     /* warmer off-white than Apple grey */
    --surface:   #FFFFFF;
    --hair:      #D9DDD0;
    --hair2:     #E8ECDF;
    --ink:       #1F2D14;     /* deep forest, used to be near-black */
    --ink2:      #5A6A4F;     /* moss, used to be neutral grey */
    --blue:      #6FA73C;     /* primary — leaf green (CTA + links) */
    --blue-dark: #5A8A2E;     /* hover state */
    --green:     #7DB144;     /* checkmarks / bullet dots */
    --sky:       #A4C8E2;     /* the pixel-art continents in the logo */
    --red:       #C6463A;
    --orange:    #E08A1F;
    --shadow-sm: 0 1px 2px rgba(31,45,20,.05), 0 1px 1px rgba(31,45,20,.04);
    --shadow-md: 0 4px 16px rgba(31,45,20,.07), 0 2px 6px rgba(31,45,20,.05);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
    background: var(--bg);
    color: var(--ink);
    font: 15px/1.55 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI Variable", "Segoe UI", system-ui, sans-serif;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ---------- Top nav ---------- */
.nav {
    position: sticky; top: 0; z-index: 10;
    background: rgba(245,245,247,.85);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid var(--hair);
}
.nav-inner {
    max-width: 1080px; margin: 0 auto;
    height: 52px; padding: 0 24px;
    display: flex; align-items: center; justify-content: space-between;
}
.brand {
    display: flex; align-items: center; gap: 10px;
    font-weight: 600; font-size: 15px; color: var(--ink);
}
.brand:hover { text-decoration: none; }
.brand-mark {
    width: 28px; height: 28px;
    object-fit: contain;
    display: block;
}
.nav-links { display: flex; gap: 26px; align-items: center; font-size: 13px; }
.nav-links a { color: var(--ink); }
.nav-links a:hover { color: var(--blue); text-decoration: none; }

/* ---------- Layout ---------- */
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.section { padding: 64px 0; }
.section.hero { padding: 96px 0 80px; }

/* ---------- Hero ---------- */
.hero-grid {
    display: grid; grid-template-columns: 1.1fr .9fr; gap: 60px;
    align-items: center;
}
.hero h1 {
    font-size: 56px; line-height: 1.05; font-weight: 700;
    margin: 0 0 18px; letter-spacing: -.025em;
    color: var(--ink);
}
.hero h1 .accent {
    background: linear-gradient(135deg, #6FA73C 0%, #A4C8E2 50%, #4A6B22 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.hero p.lead {
    font-size: 20px; line-height: 1.5;
    color: var(--ink2); margin: 0 0 28px;
}
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }

.hero-card {
    background: white; border: 1px solid var(--hair2);
    border-radius: 18px; padding: 28px;
    box-shadow: var(--shadow-md);
}
.hero-card h3 { margin: 0 0 14px; font-size: 14px; color: var(--ink2); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.hero-card .stat { font-size: 56px; font-weight: 700; line-height: 1; color: var(--ink); letter-spacing: -.03em; }
.hero-card .stat span { background: linear-gradient(135deg, #6FA73C, #4A6B22); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-card .stat-sub { color: var(--ink2); margin-top: 6px; font-size: 14px; }
.hero-card hr { border: none; border-top: 1px solid var(--hair2); margin: 18px 0; }
.hero-card ul { list-style: none; padding: 0; margin: 0; font-size: 14px; }
.hero-card ul li { padding: 6px 0; display: flex; gap: 10px; align-items: center; color: var(--ink); }
.hero-card ul li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--green); flex-shrink: 0; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    gap: 6px;
    padding: 11px 22px; border-radius: 10px;
    font-size: 14px; font-weight: 600;
    border: none; cursor: pointer;
    text-decoration: none;
    transition: background-color .15s, transform .05s;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn.primary { background: var(--blue); color: white; }
.btn.primary:hover { background: var(--blue-dark); color: white; }
.btn.ghost  { background: white; color: var(--ink); border: 1px solid var(--hair); }
.btn.ghost:hover { background: var(--bg); }
.btn.large { padding: 13px 28px; font-size: 15px; border-radius: 11px; }

/* ---------- Section header ---------- */
.section-header { text-align: center; margin-bottom: 42px; }
.section-header h2 {
    font-size: 36px; font-weight: 700; margin: 0 0 12px;
    letter-spacing: -.02em;
}
.section-header p { font-size: 18px; color: var(--ink2); margin: 0; max-width: 600px; margin-left: auto; margin-right: auto; }

/* ---------- Feature grid ---------- */
.feature-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
}
.feature {
    background: white; border: 1px solid var(--hair2);
    border-radius: 14px; padding: 26px; box-shadow: var(--shadow-sm);
}
.feature .icon {
    width: 44px; height: 44px; border-radius: 11px;
    display: grid; place-items: center; font-size: 22px;
    margin-bottom: 14px;
}
.feature.f1 .icon { background: rgba(0,122,255,.10);   color: var(--blue);   }
.feature.f2 .icon { background: rgba(255,149,0,.10);   color: var(--orange); }
.feature.f3 .icon { background: rgba(52,199,89,.10);   color: var(--green);  }
.feature h3 { margin: 0 0 6px; font-size: 17px; font-weight: 600; }
.feature p  { margin: 0; color: var(--ink2); font-size: 14px; line-height: 1.55; }

/* ---------- Pricing ---------- */
.pricing-grid {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px;
    max-width: 720px; margin: 0 auto;
}
.pricing-grid.single { grid-template-columns: 1fr; max-width: 440px; }

/* Demo video — sits between the hero and the screenshot */
.video-section { padding: 0 0 48px; }
.video-frame {
    max-width: 1080px; margin: 0 auto;
    background: #000;
    border: 1px solid var(--hair2);
    border-radius: 16px;
    padding: 8px;
    box-shadow: 0 1px 2px rgba(0,0,0,.04), 0 24px 64px -16px rgba(0,0,0,.18);
    overflow: hidden;
}
.video-frame video {
    display: block;
    width: 100%; height: auto;
    border-radius: 10px;
    background: #000;
}
@media (max-width: 720px) {
    .video-frame { border-radius: 14px; padding: 6px; }
    .video-frame video { border-radius: 8px; }
}

/* Featured screenshot — sits between the hero and the feature grid */
.screenshot-section { padding: 0 0 64px; }
.screenshot-frame {
    max-width: 1080px; margin: 0 auto;
    background: white;
    border: 1px solid var(--hair2);
    border-radius: 16px;
    padding: 8px;
    box-shadow: 0 1px 2px rgba(0,0,0,.04), 0 24px 64px -16px rgba(0,0,0,.18);
    overflow: hidden;
}
.screenshot-frame img {
    display: block;
    width: 100%; height: auto;
    border-radius: 10px;
    background: #1d1d1f;
}
.screenshot-caption {
    max-width: 780px; margin: 18px auto 0;
    font-size: 13px; color: var(--ink2); text-align: center; line-height: 1.55;
}
@media (max-width: 720px) {
    .screenshot-frame { border-radius: 14px; padding: 6px; }
    .screenshot-frame img { border-radius: 8px; }
    .screenshot-caption { padding: 0 16px; font-size: 12px; }
}
.price-card {
    background: white; border: 1px solid var(--hair2);
    border-radius: 16px; padding: 32px; position: relative;
}
.price-card.featured {
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(0,122,255,.10), var(--shadow-sm);
}
.price-card .badge {
    position: absolute; top: -10px; right: 24px;
    background: var(--blue); color: white;
    padding: 3px 10px; border-radius: 20px;
    font-size: 11px; font-weight: 600; letter-spacing: .04em;
    text-transform: uppercase;
}
.price-card h3 { margin: 0 0 4px; font-size: 18px; font-weight: 600; }
.price-card .desc { color: var(--ink2); font-size: 13px; margin-bottom: 16px; }
.price-card .price { font-size: 40px; font-weight: 700; letter-spacing: -.02em; line-height: 1; }
.price-card .price small { font-size: 14px; font-weight: 500; color: var(--ink2); }
.price-card ul { list-style: none; padding: 0; margin: 20px 0; font-size: 14px; }
.price-card ul li { padding: 5px 0; color: var(--ink); }
.price-card ul li::before { content: "✓"; color: var(--green); font-weight: 700; margin-right: 8px; }

/* ---------- Steps ---------- */
.steps {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
    max-width: 920px; margin: 0 auto;
}
.step {
    background: white; border: 1px solid var(--hair2);
    border-radius: 14px; padding: 26px;
    position: relative;
}
.step .num {
    width: 32px; height: 32px; border-radius: 50%;
    background: var(--blue); color: white;
    display: grid; place-items: center;
    font-weight: 700; font-size: 14px; margin-bottom: 12px;
}
.step h3 { margin: 0 0 6px; font-size: 16px; font-weight: 600; }
.step p { margin: 0; color: var(--ink2); font-size: 14px; }

/* ---------- License-check page ---------- */
.check-card {
    max-width: 480px; margin: 60px auto;
    background: white; border: 1px solid var(--hair2);
    border-radius: 14px; padding: 32px;
    box-shadow: var(--shadow-md);
}
.check-card h1 { margin: 0 0 6px; font-size: 22px; font-weight: 600; }
.check-card p.sub { color: var(--ink2); font-size: 14px; margin: 0 0 22px; }
.check-card label { display: block; font-size: 12px; color: var(--ink2); margin-bottom: 6px; font-weight: 500; }
.check-card input[type=text] {
    width: 100%; padding: 10px 12px;
    background: var(--bg); border: 1px solid var(--hair);
    border-radius: 8px; font: inherit; font-size: 14px;
    margin-bottom: 16px;
}
.check-card input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0,122,255,.15); }
.check-card .result {
    margin-top: 22px; padding: 14px 16px;
    border-radius: 10px; font-size: 14px;
}
.check-card .result.ok    { background: #E5F7EA; border: 1px solid #B7E4C7; color: #1B7B3A; }
.check-card .result.bad   { background: #FFE5E3; border: 1px solid #FFB1AC; color: #B0271F; }
.check-card .result.muted { background: var(--bg);  border: 1px solid var(--hair2); color: var(--ink2); }
.check-card .result h4 { margin: 0 0 4px; font-size: 14px; font-weight: 700; }
.check-card .result dl { margin: 8px 0 0; display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; font-size: 13px; }
.check-card .result dt { color: var(--ink2); }

/* ---------- Footer ---------- */
.footer {
    border-top: 1px solid var(--hair);
    padding: 28px 0; margin-top: 60px;
    background: white;
}
.footer-inner {
    max-width: 1080px; margin: 0 auto; padding: 0 24px;
    display: flex; justify-content: space-between; align-items: center;
    color: var(--ink2); font-size: 13px;
}
.footer-links { display: flex; gap: 22px; }
.footer-links a { color: var(--ink2); }

/* ---------- Responsive ---------- */
@media (max-width: 800px) {
    .hero-grid { grid-template-columns: 1fr; gap: 40px; }
    .hero h1 { font-size: 40px; }
    .hero p.lead { font-size: 17px; }
    .feature-grid, .pricing-grid, .steps { grid-template-columns: 1fr; }
    .section { padding: 48px 0; }
    .section.hero { padding: 56px 0 48px; }
    .footer-inner { flex-direction: column; gap: 12px; }
}
