:root {
    --bg: #1f2226;
    --bg-2: #262a2f;
    --card: #2d3238;
    --line: #3a4048;
    --text: #e6eaf0;
    --muted: #9aa5b4;
    --slate: #728ca6;
    --pale: #cce4f8;
    --teal: #00d7c2;
    --teal-dark: #00a996;
    --green: #2fcc63;
    --radius: 6px;
    --font: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); background: var(--bg); color: var(--text); line-height: 1.55; -webkit-font-smoothing: antialiased; }
a { color: var(--teal); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }
.wrap { width: min(1120px, 100% - 40px); margin: 0 auto; }

/* Header */
.top { position: sticky; top: 0; z-index: 10; background: rgba(31, 34, 38, .92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 28px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 700; font-size: 20px; letter-spacing: .2px; }
.brand:hover { text-decoration: none; }
.brand img { width: 34px; height: 34px; }
nav.main { display: flex; gap: 22px; margin-left: 12px; }
nav.main a { color: var(--muted); font-size: 15px; }
nav.main a:hover { color: var(--text); text-decoration: none; }
.account { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 18px; border-radius: var(--radius); font-weight: 600; font-size: 15px; border: 1px solid transparent; white-space: nowrap; cursor: pointer; }
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--teal); color: #0b1a18; }
.btn-primary:hover { background: #33e3d1; }
.btn-ghost { color: var(--text); border-color: var(--line); background: transparent; }
.btn-ghost:hover { border-color: var(--slate); background: var(--bg-2); }
.btn-link { color: var(--muted); padding: 10px 6px; }
.btn-link:hover { color: var(--text); }
.btn-lg { padding: 14px 26px; font-size: 16px; }

/* Hero */
.hero { padding: 84px 0 40px; background: radial-gradient(900px 420px at 20% -10%, rgba(0, 215, 194, .14), transparent 60%), radial-gradient(700px 380px at 90% 10%, rgba(114, 140, 166, .18), transparent 60%); }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.eyebrow { display: inline-block; color: var(--teal); font-weight: 600; font-size: 13px; letter-spacing: 1.6px; text-transform: uppercase; margin-bottom: 14px; }
h1 { font-size: clamp(34px, 4.6vw, 54px); line-height: 1.08; margin: 0 0 18px; letter-spacing: -.5px; }
h1 em { font-style: normal; color: var(--pale); }
.lead { font-size: 19px; color: var(--muted); margin: 0 0 30px; max-width: 34em; }
.cta { display: flex; gap: 12px; flex-wrap: wrap; }
.note { margin-top: 14px; color: var(--muted); font-size: 14px; }
.shot { border: 1px solid var(--line); border-radius: 8px; overflow: hidden; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .8), 0 0 0 1px rgba(0, 215, 194, .12); background: #111; }

/* Sections */
section { padding: 72px 0; }
section + section { border-top: 1px solid var(--line); }
h2 { font-size: clamp(26px, 3vw, 34px); margin: 0 0 12px; letter-spacing: -.3px; }
.sub { color: var(--muted); font-size: 17px; margin: 0 0 36px; max-width: 42em; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.two p { color: var(--muted); font-size: 16px; }
.two p strong { color: var(--text); }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 22px 20px; }
.card .ic { width: 38px; height: 38px; border-radius: 6px; display: grid; place-items: center; background: rgba(0, 215, 194, .12); color: var(--teal); margin-bottom: 14px; }
.card h3 { margin: 0 0 6px; font-size: 17px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: s; }
.step { position: relative; padding: 26px 22px 22px; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); }
.step::before { counter-increment: s; content: counter(s); position: absolute; top: -14px; left: 18px; width: 28px; height: 28px; border-radius: 50%; background: var(--teal); color: #0b1a18; font-weight: 700; display: grid; place-items: center; font-size: 14px; }
.step h3 { margin: 0 0 6px; font-size: 17px; }
.step p { margin: 0; color: var(--muted); font-size: 15px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.tag { font-size: 13px; color: var(--pale); background: rgba(114, 140, 166, .18); border: 1px solid rgba(114, 140, 166, .35); border-radius: 999px; padding: 4px 11px; }
.band { background: linear-gradient(90deg, rgba(0, 215, 194, .16), rgba(114, 140, 166, .16)); border: 1px solid var(--line); border-radius: 10px; padding: 36px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.band h2 { margin: 0 0 4px; font-size: 26px; }
.band p { margin: 0; color: var(--muted); }

/* Footer */
footer { border-top: 1px solid var(--line); padding: 28px 0 36px; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; align-items: center; }
footer a { color: var(--muted); }
footer a:hover { color: var(--text); }

@media (max-width: 860px) {
    .hero { padding-top: 48px; }
    .hero .wrap, .two { grid-template-columns: 1fr; }
    .grid, .steps { grid-template-columns: 1fr; }
    nav.main { display: none; }
    .band { flex-direction: column; align-items: flex-start; }
    .hide-sm { display: none; }
}
@media (max-width: 600px) {
    /* The hero has the editor button; keep the header to brand + account. */
    .account .btn-ghost { display: none; }
    .account .btn { padding: 8px 12px; font-size: 14px; }
    .top .wrap { gap: 12px; }
}
    

/* Auth + account */
.auth { padding: 64px 0 88px; }
.auth .box { width: min(440px, 100%); margin: 0 auto; background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 32px; }
.auth h1, .me h1 { font-size: 28px; margin: 0 0 6px; letter-spacing: -.3px; }
.auth .sub, .panel .sub { font-size: 15px; margin-bottom: 22px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.field input { width: 100%; padding: 11px 12px; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); color: var(--text); font: inherit; font-size: 15px; }
.field input::placeholder { color: #6b7684; }
.field input:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(0, 215, 194, .18); }
.field.invalid input { border-color: #ff7b7b; }
.field .err { color: #ff9b9b; font-size: 13px; margin: 6px 0 0; }
.check { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); }
.check input { accent-color: var(--teal); }
.row { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 20px; }
.row a { font-size: 14px; }
.btn-block { width: 100%; }
.alert { padding: 12px 14px; border-radius: var(--radius); font-size: 14px; margin-bottom: 18px; }
.alert-ok { background: rgba(47, 204, 99, .14); border: 1px solid rgba(47, 204, 99, .4); color: #a6f0bc; }
.auth .foot { text-align: center; color: var(--muted); font-size: 14px; margin: 22px 0 0; }
.me { padding: 56px 0 88px; }
.me .wrap { width: min(680px, 100% - 40px); }
.me h1 { margin-bottom: 20px; }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 26px 28px; margin-bottom: 18px; }
.panel h2 { font-size: 20px; margin: 0 0 4px; }
.panel .cta { align-items: center; }

.projects { width: 100%; border-collapse: collapse; font-size: 14px; }
.projects th { text-align: left; color: var(--muted); font-weight: 600; padding: 6px 8px 8px 0; border-bottom: 1px solid var(--line); }
.projects td { padding: 10px 8px 10px 0; border-bottom: 1px solid var(--line); }
.projects tr:last-child td { border-bottom: 0; }
