:root {
    --bg: #f3efe6;
    --bg-deep: #12201b;
    --bg-deep-2: #1b3128;
    --ink: #17211c;
    --muted: #5c675f;
    --line: #e2d9c9;
    --card: #fffdf8;
    --accent: #c4512a;
    --accent-ink: #fff7f2;
    --pine: #1f6f5b;
    --gold: #e7b15c;
    --shadow: 0 18px 40px rgba(23, 33, 28, 0.08);
    --serif: "Fraunces", Georgia, serif;
    --sans: "Outfit", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    background:
        radial-gradient(900px 420px at 100% -10%, rgba(231, 177, 92, 0.18), transparent 60%),
        var(--bg);
    color: var(--ink);
    font-family: var(--sans);
    font-size: 17px;
    line-height: 1.6;
}
a { color: inherit; }
img { max-width: 100%; }
h1, h2, h3, .brand { font-family: var(--serif); font-weight: 560; letter-spacing: -0.03em; }
h1 { font-size: clamp(2.5rem, 5vw, 4.6rem); line-height: 1.02; margin: 0 0 0.4em; }
h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); line-height: 1.15; margin: 0 0 0.4em; }
h3 { font-size: 1.25rem; margin: 0 0 0.35em; }
p { margin: 0 0 0.8em; }
.wrap { width: min(1120px, calc(100% - 2rem)); margin: 0 auto; }
.lede { font-size: 1.15rem; color: var(--muted); max-width: 42rem; }
.eyebrow {
    display: inline-flex;
    gap: 0.45rem;
    align-items: center;
    font-size: 0.78rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-weight: 650;
    color: var(--pine);
    margin-bottom: 0.8rem;
}
.eyebrow::before {
    content: "";
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 50%;
    background: var(--gold);
    box-shadow: 0 0 0 4px rgba(231, 177, 92, 0.25);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(243, 239, 230, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(226, 217, 201, 0.9);
}
.header-bar { display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: 0.7rem; text-decoration: none; font-size: 1.35rem; }
.brand small { display: block; font-family: var(--sans); font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-top: 0.1rem; }
.brand-light small { color: #c9d5ce; }
.brand-logo { display: block; height: 58px; width: auto; }
.site-footer .brand-logo { height: 76px; background: #fff; border-radius: 8px; }
.logo-row { display: flex; align-items: center; gap: 1.2rem; margin: 0.4rem 0 1rem; flex-wrap: wrap; }
.logo-lockup { width: min(440px, 100%); height: auto; border-radius: 14px; border: 1px solid var(--line); }
.logo-card a { color: var(--accent); font-weight: 650; }
.site-nav { display: flex; align-items: center; gap: 1.15rem; }
.site-nav a { text-decoration: none; font-weight: 560; color: var(--ink); }
.site-nav a[aria-current="page"] { color: var(--accent); }
.nav-cta, .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--accent);
    color: var(--accent-ink) !important;
    text-decoration: none;
    border-radius: 999px;
    padding: 0.72rem 1.15rem;
    font-weight: 650;
    border: 0;
    cursor: pointer;
    font-family: inherit;
    font-size: 1rem;
}
.btn.secondary { background: transparent; color: var(--ink) !important; border: 1px solid var(--line); }
.btn.light { background: var(--gold); color: #1b1408 !important; }
.nav-toggle, .nav-burger { display: none; }

.hero { padding: 4.2rem 0 2rem; display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 2.5rem; align-items: center; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.3rem; }
.hero-copy { max-width: 40rem; }
.offer-list {
    list-style: none;
    margin: 0;
    padding: 0.35rem 1rem;
    background: #fffdf8;
    color: var(--ink);
    border-radius: 24px;
    box-shadow: var(--shadow);
}
.offer-list li { display: flex; align-items: center; gap: 0.75rem; padding: 0.55rem 0; border-bottom: 1px solid var(--line); }
.offer-list li:last-child { border-bottom: 0; }
.offer-list span { flex: 1; font-weight: 650; }
.offer-list .icon-tile { flex: none; width: 42px; height: 42px; margin: 0; }
.offer-list strong { font-weight: 650; color: var(--accent); white-space: nowrap; font-size: 0.92rem; }
.lang-pill {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    margin: 0;
    min-height: 6.2rem;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.lang-pill:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.lang-pill img { width: 42px; height: 42px; object-fit: contain; display: block; }
.lang-pill span { letter-spacing: 0.06em; font-size: 0.72rem; }
.icon-tile {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: #fff;
    border: 1px solid var(--line);
    display: grid;
    place-items: center;
    margin-bottom: 0.7rem;
}
.icon-tile img { width: 34px; height: 34px; object-fit: contain; display: block; }
.svc-icon { width: 42px; height: 42px; display: block; margin-bottom: 0.45rem; }
.practice { animation: rise 0.55s ease both; transition: transform 0.2s ease, box-shadow 0.2s ease; }
.practice:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.practice-section { padding-top: 2.6rem; }
.practice-head {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: 1rem 2.6rem;
    align-items: end;
    margin-bottom: 1.6rem;
}
.practice-head h2 { margin: 0; }
.practice-head .lede { margin: 0 0 0.35rem; }
.practice {
    display: flex;
    flex-direction: column;
    position: relative;
    height: 100%;
    padding: 1.15rem 1.1rem 1rem;
}
.practice:nth-child(4n+1) { --tone: #c4512a; }
.practice:nth-child(4n+2) { --tone: #1f6f5b; }
.practice:nth-child(4n+3) { --tone: #e7b15c; }
.practice:nth-child(4n) { --tone: #12201b; }
.practice { box-shadow: inset 0 4px 0 var(--tone, var(--accent)); }
.practice:hover { box-shadow: inset 0 4px 0 var(--tone, var(--accent)), var(--shadow); }
.practice-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 0.6rem; }
.practice .icon-tile { width: 48px; height: 48px; margin: 0; border-radius: 14px; background: #f7f3eb; }
.practice .info-num {
    margin: 0;
    font-family: var(--serif);
    font-size: 1.45rem;
    font-weight: 560;
    letter-spacing: -0.03em;
    text-transform: none;
    line-height: 1;
    color: var(--tone, var(--accent));
}
.practice h3 { font-family: var(--serif); font-size: 1.35rem; letter-spacing: -0.03em; font-weight: 560; margin: 0.85rem 0 0.3rem; }
.practice .practice-copy { margin: 0 0 1rem; flex: 1; }
.practice-foot { margin-top: auto; padding-top: 0.75rem; border-top: 1px solid var(--line); }
.practice .more { display: inline-block; margin-top: 0.7rem; }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
    .practice { animation: none; }
    .lang-pill:hover, .practice:hover { transform: none; }
}
.stack-strip { background: transparent; border: 0; padding: 1.4rem 0 0.2rem; }
.stack-strip .wrap { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0.7rem; padding: 0; }
.stack-strip p { margin: 0; font-weight: 650; letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.78rem; color: var(--muted); }
.practice-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.9rem; align-items: stretch; }
.practice .lang-name {
    color: var(--muted);
    font-weight: 650;
    font-size: 0.75rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin: 0 0 0.45rem;
}
.practice .range {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.45rem;
    margin: 0;
}
.practice .range span {
    display: flex;
    flex-direction: column;
    gap: 0.12rem;
    font-family: var(--serif);
    font-size: 1.02rem;
    line-height: 1.15;
}
.practice .range small {
    font-family: var(--sans);
    font-size: 0.68rem;
    font-weight: 650;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
}
.btn.ghost { background: transparent; color: #f4efe4 !important; border: 1px solid rgba(255,255,255,0.35); }
.api-products { margin-bottom: 1.2rem; }
.api-stage { border-radius: 28px; padding: 1.5rem; }
.contact-form { max-width: 40rem; }
.owner-corner { display: flex; justify-content: flex-end; padding-bottom: 2.4rem; }
.owner-card { width: min(24rem, 100%); }
.owner-card h2 { font-size: 1.35rem; margin: 0; }
.owner-card .who { display: flex; gap: 0.85rem; align-items: center; margin-bottom: 0.8rem; }
.owner-card img { width: 72px; height: 72px; object-fit: cover; object-position: center top; border-radius: 16px; }
.owner-card .role { margin: 0; }
.stat-row { display: flex; gap: 1.4rem; margin-top: 1.8rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.stat strong { display: block; font-family: var(--serif); font-size: 1.45rem; }
.stat span { color: var(--muted); font-size: 0.92rem; }
.code-card {
    background: var(--bg-deep);
    color: #e7f0ea;
    border-radius: 22px;
    padding: 1.2rem 1.2rem 1rem;
    box-shadow: var(--shadow);
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 0.86rem;
    line-height: 1.55;
}
.code-card header { display: flex; justify-content: space-between; color: #e7b15c; font-family: var(--sans); font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 0.8rem; }
.code-card .k { color: #8fd0b8; }
.code-card .s { color: #f0d7a4; }
.code-card .c { color: #8ea197; }

.info-block { padding: 2.4rem 0; border-top: 1px solid var(--line); }
.info-block h2 { margin-bottom: 0.35em; }
.info-num { margin: 0 0 0.4rem; color: var(--accent); font-weight: 650; letter-spacing: 0.12em; text-transform: uppercase; font-size: 0.78rem; }
.lang-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.lang-card { display: flex; gap: 0.85rem; align-items: center; }
.lang-card img { width: 48px; height: 48px; flex: none; }
.lang-card h3 { margin-bottom: 0.15rem; }
.lang-card p { margin: 0; color: var(--muted); }
.icon-row { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.2rem; align-items: center; }
.icon-row img { width: 40px; height: 40px; }
.api-intro { margin-top: 0; }
.section { padding: 2.6rem 0; }
.section.tight-end { padding-top: 0.2rem; }
.section h2 + .lede { margin-bottom: 1.4rem; }
.grid-4, .grid-3, .grid-2 { display: grid; gap: 1rem; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: 1fr 1fr; }
.grid-2 > .card, .grid-3 > .card, .grid-4 > .card, .cap-list > .card, .price-grid > .plan {
    display: flex;
    flex-direction: column;
    height: 100%;
}
.lang-grid > .lang-card { align-items: center; }
.card ul { margin: 0.15rem 0 0.85rem; padding-left: 1.15rem; }
.card ul li { margin: 0.28rem 0; }
.section-actions { margin: 1.25rem 0 0; }
.fact-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.9rem; margin-top: 1.5rem; }
.fact-row article { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 1rem 1.05rem 0.9rem; }
.fact-row strong { display: block; font-family: var(--serif); font-size: 1.2rem; font-weight: 560; letter-spacing: -0.02em; line-height: 1.25; margin-bottom: 0.25rem; }
.fact-row span { color: var(--muted); font-size: 0.95rem; }
.contact-layout { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(16rem, 0.85fr); gap: 1.1rem; align-items: start; }
.contact-layout .contact-form { max-width: none; }
.contact-layout .owner-card { width: 100%; }
.grid-2 > .note { display: flex; flex-direction: column; height: 100%; }
.note .btn { margin-top: auto; align-self: flex-start; }
.page-hero .lede + p { margin-top: 0.95rem; }
pre.code-card { margin: 0; white-space: pre-wrap; }
.price-grid .plan > p:last-child { margin-top: auto; }
.card, .plan, .quote, .faq details, .form, .note {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 1.15rem 1.15rem 1rem;
}
.card h3 { font-family: var(--sans); letter-spacing: 0; font-weight: 650; }
.card.practice h3 { font-family: var(--serif); letter-spacing: -0.03em; font-weight: 560; font-size: 1.35rem; }
.card p:last-child, .plan li:last-child { margin-bottom: 0; }
.card a.more { color: var(--accent); font-weight: 650; text-decoration: none; }
.pill {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 650;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    background: #e7f3ee;
    color: var(--pine);
    border-radius: 999px;
    padding: 0.2rem 0.55rem;
    margin-bottom: 0.6rem;
}
.pill.wait { background: #f8efe2; color: #8a5a16; }

.band {
    background: linear-gradient(160deg, var(--bg-deep), var(--bg-deep-2));
    color: #f4efe4;
    border-radius: 28px;
    padding: 2rem;
}
.band .lede { color: #c9d5ce; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 1.2rem; }
.price-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-top: 1.2rem; }
.price-grid .plan { display: flex; flex-direction: column; }
.price-grid .plan .price { font-size: 1.35rem; line-height: 1.25; }
.price-grid .plan .btn { margin-top: auto; }
.plan-example { margin-top: 0.8rem; padding-top: 0.7rem; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.95rem; }
.plan-example span { display: block; color: var(--pine); font-weight: 650; font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 0.2rem; }
.plan { color: var(--ink); }
.plan .price { font-family: var(--serif); font-size: 2rem; margin: 0.2rem 0 0.6rem; }
.plan ul { margin: 0; padding-left: 1.1rem; }
.plan.featured { outline: 2px solid var(--gold); }

.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.quote { margin: 0; }
.quote p { font-family: var(--serif); font-size: 1.25rem; line-height: 1.35; }
.quote footer { color: var(--muted); font-size: 0.92rem; }

.faq details { margin-bottom: 0.7rem; }
.faq summary { cursor: pointer; font-weight: 650; }
.faq details p { margin: 0.7rem 0 0.2rem; color: var(--muted); }

.split { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 1.5rem; align-items: start; }
.contact-list a { display: block; text-decoration: none; font-weight: 650; margin-bottom: 0.35rem; }
.form label { display: block; font-weight: 650; font-size: 0.92rem; margin: 0.75rem 0 0.3rem; }
.form input, .form select, .form textarea {
    width: 100%;
    border: 1px solid var(--line);
    background: #fff;
    border-radius: 12px;
    padding: 0.75rem 0.8rem;
    font: inherit;
    color: inherit;
}
.form textarea { min-height: 140px; resize: vertical; }
.hp { position: absolute; left: -9999px; }
.alert { padding: 0.8rem 1rem; border-radius: 12px; margin-bottom: 1rem; }
.alert.ok { background: #e7f3ee; color: #145443; }
.alert.bad { background: #fde8e2; color: #8a3418; }
.cap-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem; }
.endpoint { display: flex; gap: 0.7rem; align-items: baseline; padding: 0.75rem 0; border-bottom: 1px solid var(--line); }
.endpoint code { background: #14241d; color: #f4efe4; border-radius: 8px; padding: 0.15rem 0.45rem; }
.steps { counter-reset: step; display: grid; gap: 0.8rem; }
.steps article { counter-increment: step; padding-left: 3rem; position: relative; }
.steps article::before {
    content: counter(step);
    position: absolute;
    left: 0;
    top: 0.9rem;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background: var(--bg-deep);
    color: var(--gold);
    display: grid;
    place-items: center;
    font-weight: 650;
}
.founder {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 1.4rem;
    align-items: center;
}
.founder img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    object-position: center top;
    border-radius: 24px;
    display: block;
    border: 1px solid var(--line);
}
.founder .role { color: var(--pine); font-weight: 650; margin-bottom: 0.2rem; }
.api-index { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0.55rem 1rem; }
.api-index li { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 0.75rem 0.85rem; }
.api-index strong { display: block; }
.api-index code { font-size: 0.78rem; color: var(--muted); word-break: break-all; }
.tool-layout { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 1rem; align-items: start; }
.use-list { margin: 0.2rem 0 0; padding-left: 1.1rem; }
.use-list li { margin: 0.35rem 0; }
.form-slim { max-width: 24rem; }
.form select { width: 100%; border: 1px solid var(--line); background: #fff; border-radius: 12px; padding: 0.75rem 0.8rem; font: inherit; color: inherit; }
.field-hint { color: var(--muted); font-size: 0.88rem; margin: -0.2rem 0 0.2rem; }
.data-table { width: 100%; border-collapse: collapse; background: var(--card); border-radius: 16px; overflow: hidden; }
.data-table th, .data-table td { text-align: left; padding: 0.55rem 0.7rem; border-bottom: 1px solid var(--line); vertical-align: top; font-size: 0.95rem; }
.data-table th { color: var(--muted); font-weight: 650; width: 34%; }
.result-box { white-space: pre-wrap; word-break: break-word; background: var(--bg-deep); color: #f4efe4; border-radius: 16px; padding: 1rem; max-height: 28rem; overflow: auto; }
.tool-image { max-width: 280px; background: #fff; border-radius: 12px; border: 1px solid var(--line); }
.chat-log { display: flex; flex-direction: column; gap: 0.7rem; margin-bottom: 1rem; }
.chat-bubble { max-width: min(38rem, 100%); border-radius: 16px; padding: 0.75rem 0.9rem; background: #fff; border: 1px solid var(--line); }
.chat-bubble.mine { margin-left: auto; background: #e7f3ee; }
.chat-bubble.theirs { margin-right: auto; }
.chat-bubble p { margin: 0.25rem 0 0; white-space: pre-wrap; }
.user-desk { display: grid; grid-template-columns: 280px 1fr; gap: 1rem; align-items: start; padding-bottom: 2.4rem; }
.user-panel, .chat-panel { background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: 1.2rem 1.25rem; }
.user-mark { width: 64px; height: 64px; border-radius: 20px; background: var(--pine); color: #fff; display: grid; place-items: center; font-family: var(--serif); font-size: 1.7rem; margin-bottom: 0.8rem; }
.user-panel h2, .chat-panel h2 { margin-bottom: 0.45rem; }
.user-interest { color: var(--pine); font-weight: 650; }
.user-points { margin: 0.8rem 0; padding-left: 1.1rem; }
.user-points li { margin: 0.3rem 0; }
.user-note { color: var(--muted); font-size: 0.92rem; }
.chat-panel { min-height: 34rem; display: flex; flex-direction: column; }
.chat-panel .chat-log { flex: 1; max-height: 28rem; overflow: auto; padding-right: 0.2rem; }
.chat-form textarea { min-height: 96px; }
.start-modal { position: fixed; inset: 0; z-index: 40; background: rgba(18, 32, 27, 0.55); display: grid; place-items: center; padding: 1rem; }
.start-modal[hidden] { display: none; }
.start-card { width: min(28rem, 100%); background: var(--card); border-radius: 24px; padding: 1.3rem 1.3rem 1.1rem; box-shadow: var(--shadow); position: relative; }
.start-close { position: absolute; top: 0.8rem; right: 0.8rem; border: 0; background: transparent; font: inherit; font-weight: 650; cursor: pointer; color: var(--muted); }
.inbox { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 1rem; align-items: start; }
.admin-body { min-height: 100vh; }
.admin-login { min-height: 100vh; display: grid; place-items: center; padding: 1.5rem; }
.admin-login .card { width: min(24rem, 100%); padding: 1.4rem 1.3rem 1.2rem; }
.admin-login h1 { margin-bottom: 0.2rem; }
.admin-bar { display: flex; justify-content: space-between; align-items: center; padding: 0.9rem 1.2rem; background: var(--bg-deep); color: #f4efe4; }
.admin-bar a { color: var(--gold); text-decoration: none; font-weight: 650; }
.admin-inbox { width: min(1120px, calc(100% - 2rem)); margin: 1.2rem auto 2rem; display: grid; grid-template-columns: 280px 1fr; gap: 1rem; align-items: start; }
.inbox-list { padding: 0.4rem; }
.inbox-row { display: block; text-decoration: none; padding: 0.75rem 0.8rem; border-radius: 14px; }
.inbox-row.on, .inbox-row:hover { background: #f6f1e6; }
.inbox-name { display: block; font-weight: 650; }
.inbox-name em { font-style: normal; font-size: 0.72rem; letter-spacing: 0.04em; text-transform: uppercase; color: #8a5a16; margin-left: 0.35rem; }
.inbox-meta, .inbox-last { display: block; color: var(--muted); font-size: 0.88rem; }
.inbox-last { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.page-hero { padding: 2.5rem 0 0.2rem; }
.page-hero h1 { max-width: 18em; }
.page-hero .lede { margin-bottom: 0; }
.page-hero .hero-actions { margin-top: 1.15rem; }
.stage {
    background: linear-gradient(165deg, #12201b 0%, #1b3128 58%, #314a3c 100%);
    color: #f4efe4;
    padding: 3.4rem 0 2.8rem;
}
.stage h1 { color: #fffdf8; }
.lede.light { color: #c9d5ce; }
.eyebrow.light { color: #e7b15c; }
.stage-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 2rem; align-items: center; }
.kinds { display: flex; flex-wrap: wrap; gap: 0.45rem; margin: 1rem 0 0.8rem; }
.kind {
    border: 1px solid rgba(255,255,255,0.18);
    background: transparent;
    color: #f4efe4;
    border-radius: 999px;
    padding: 0.42rem 0.85rem;
    font: inherit;
    font-weight: 650;
    cursor: pointer;
}
.kind.on { background: var(--gold); color: #1b1408; border-color: var(--gold); }
.play-row { display: flex; gap: 0.6rem; }
.play-row input {
    flex: 1;
    border: 0;
    border-radius: 999px;
    padding: 0.9rem 1.15rem;
    font: inherit;
    font-size: 1.2rem;
    background: #fffdf8;
    color: var(--ink);
}
.play-card {
    background: #fffdf8;
    color: var(--ink);
    border-radius: 24px;
    padding: 1.35rem 1.3rem 1.15rem;
    min-height: 230px;
    box-shadow: var(--shadow);
}
.play-card h2 { font-size: clamp(2rem, 4vw, 3.1rem); margin: 0; }
.play-card .kicker { margin: 0 0 0.25rem; color: var(--accent); font-weight: 650; letter-spacing: 0.12em; text-transform: uppercase; font-size: 0.75rem; }
.play-card .answer { font-size: 1.2rem; margin: 0.4rem 0 0.7rem; }
.play-card .fact { margin: 0.15rem 0; color: var(--muted); }
.play-card .fact span { color: var(--ink); font-weight: 650; }
.play-card .more { color: var(--accent); font-weight: 650; text-decoration: none; }
.pick-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.75rem; }
.pick {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    text-decoration: none;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 0.95rem 1rem 0.85rem;
    min-height: 6.4rem;
    transition: transform 0.15s ease, border-color 0.15s ease;
}
.pick:hover { transform: translateY(-3px); border-color: var(--accent); }
.pick strong { font-size: 1.05rem; }
.pick span { color: var(--muted); font-size: 0.92rem; }
.pick:nth-child(4n+1) { box-shadow: inset 0 4px 0 #c4512a; }
.pick:nth-child(4n+2) { box-shadow: inset 0 4px 0 #1f6f5b; }
.pick:nth-child(4n+3) { box-shadow: inset 0 4px 0 #e7b15c; }
.pick:nth-child(4n) { box-shadow: inset 0 4px 0 #12201b; }
.finder {
    width: min(34rem, 100%);
    margin: 0.2rem 0 1.1rem;
    border: 1px solid var(--line);
    background: #fff;
    border-radius: 999px;
    padding: 0.85rem 1.15rem;
    font: inherit;
    font-size: 1.05rem;
}
.chips { display: flex; flex-wrap: wrap; gap: 0.45rem; margin: 0.1rem 0 0.7rem; }
.chip {
    border: 1px solid var(--line);
    background: #fff;
    border-radius: 999px;
    padding: 0.38rem 0.8rem;
    font: inherit;
    font-weight: 650;
    cursor: pointer;
}
.chip:hover { border-color: var(--accent); color: var(--accent); }
.result-stage { margin-top: 1.2rem; background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 1rem; overflow: auto; }
.empty { color: var(--muted); }
.backlinks pre {
    background: var(--bg-deep);
    color: #f4efe4;
    padding: 1rem;
    border-radius: 14px;
    overflow: auto;
}

.site-footer { background: var(--bg-deep); color: #e7f0ea; margin-top: 2rem; padding: 2.4rem 0 1.2rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 0.8fr 0.8fr 0.7fr; gap: 1.4rem; align-items: start; }
.site-footer a { display: block; color: #d5e2da; text-decoration: none; margin: 0.25rem 0; }
.site-footer h2 { font-family: var(--sans); font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); }
.footer-base { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; border-top: 1px solid rgba(255,255,255,0.08); margin-top: 1.4rem; padding-top: 1rem; color: #a9b8b0; font-size: 0.88rem; }

@media (max-width: 900px) {
    .hero, .grid-3, .grid-2, .plans, .quotes, .split, .founder, .api-index, .inbox, .tool-layout, .stage-grid, .user-desk, .admin-inbox, .contact-layout, .fact-row { grid-template-columns: 1fr; }
    .grid-4, .price-grid, .pick-grid, .cap-list, .lang-grid, .footer-grid { grid-template-columns: 1fr 1fr; }
    .practice-head, .practice-grid { grid-template-columns: 1fr 1fr; }
    .practice-head { align-items: start; }
    .practice-head .lede { margin-bottom: 0; }
    .stack-strip .wrap { grid-template-columns: repeat(2, 1fr); }
    .offer-list strong { white-space: normal; }
    .pick-grid { grid-template-columns: 1fr 1fr; }
    .play-row { flex-direction: column; }
    .founder img { width: 180px; height: 180px; }
    .nav-burger { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; padding: 0.4rem 0.8rem; font-weight: 650; }
    .nav-toggle:checked ~ .site-nav { display: flex; }
    .site-nav {
        display: none;
        position: absolute;
        left: 0; right: 0; top: 76px;
        background: #f7f3eb;
        border-bottom: 1px solid var(--line);
        flex-direction: column;
        align-items: flex-start;
        padding: 0.8rem 1.2rem 1rem;
    }
    .header-bar { position: relative; }
}
@media (max-width: 640px) {
    .practice-head, .practice-grid, .grid-4, .price-grid, .pick-grid, .cap-list, .lang-grid, .footer-grid { grid-template-columns: 1fr; }
}
