/* Poseidon Tech — site styles */
:root {
  --bg: #07111f;
  --bg-2: #0b1a2e;
  --surface: #0f2238;
  --surface-2: #132a45;
  --line: rgba(148, 197, 230, 0.14);
  --text: #e6f0f8;
  --muted: #93a8bd;
  --accent: #2dd4bf;
  --accent-2: #0ea5e9;
  --accent-ink: #042a2a;
  --grad: linear-gradient(135deg, #5eead4 0%, #0ea5e9 100%);
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.6);
  --max: 1160px;
  --font-head: "Space Grotesk", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -0.02em; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.section { padding: 96px 0; position: relative; }
.section-alt { background: var(--bg-2); border-block: 1px solid var(--line); }
.section-head { max-width: 680px; margin-bottom: 48px; }
.section-head.center { margin-inline: auto; text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 18px; height: 2px; background: var(--grad); border-radius: 2px; }
.section-head h2 { font-size: clamp(30px, 4vw, 42px); }
.section-head p { color: var(--muted); font-size: 18px; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 22px; border-radius: 999px; font-weight: 600; font-size: 15px;
  border: 1px solid transparent; cursor: pointer; transition: transform .15s, box-shadow .2s, background .2s, border-color .2s;
  font-family: var(--font-body); white-space: nowrap;
}
.btn-primary { background: var(--grad); color: var(--accent-ink); box-shadow: 0 10px 30px -10px rgba(45, 212, 191, .55); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 14px 36px -10px rgba(45, 212, 191, .7); }
.btn-ghost { border-color: var(--line); color: var(--text); background: rgba(255,255,255,.02); }
.btn-ghost:hover { border-color: rgba(94, 234, 212, .5); background: rgba(94, 234, 212, .06); }
.btn-block { width: 100%; }
.btn svg { width: 16px; height: 16px; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(7, 17, 31, .78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 70px; gap: 20px; }
.brand { display: flex; align-items: center; gap: 11px; font-family: var(--font-head); font-weight: 700; font-size: 19px; letter-spacing: -0.01em; }
.brand img { width: 36px; height: 36px; }
.brand small { display: block; font-family: var(--font-body); font-weight: 500; font-size: 11px; letter-spacing: .14em; color: var(--muted); text-transform: uppercase; margin-top: -2px; }
.nav-links { display: flex; align-items: center; gap: 28px; font-size: 15px; color: var(--muted); }
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); color: var(--text); border-radius: 10px; width: 42px; height: 42px; cursor: pointer; }
.nav-toggle svg { margin: auto; }

/* Hero */
.hero { padding: 88px 0 80px; position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -200px -10% auto auto; width: 720px; height: 720px;
  background: radial-gradient(closest-side, rgba(14, 165, 233, .22), transparent 70%); pointer-events: none;
}
.hero::after {
  content: ""; position: absolute; inset: auto auto -260px -200px; width: 620px; height: 620px;
  background: radial-gradient(closest-side, rgba(45, 212, 191, .14), transparent 70%); pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; position: relative; z-index: 1; }
.hero h1 { font-size: clamp(38px, 5.6vw, 64px); font-weight: 700; margin-bottom: 20px; }
.hero-lead { font-size: 19px; color: var(--muted); max-width: 560px; margin-bottom: 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 40px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--muted); font-size: 14px; list-style: none; padding: 0; margin: 0; }
.hero-points li { display: flex; align-items: center; gap: 8px; }
.hero-points svg { width: 16px; height: 16px; color: var(--accent); flex: none; }

.browser {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden;
}
.browser-bar { display: flex; align-items: center; gap: 7px; padding: 12px 14px; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.02); }
.browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: #1f3a58; }
.browser-bar span { margin-left: 10px; flex: 1; font-size: 12px; color: var(--muted); background: rgba(255,255,255,.04); border-radius: 6px; padding: 4px 10px; font-family: ui-monospace, Menlo, monospace; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.code { padding: 22px 22px 64px; font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 13.5px; line-height: 1.75; color: #b9cde0; overflow-x: auto; white-space: pre; }
.code .k { color: #5eead4; } .code .s { color: #fbbf24; } .code .c { color: #5d7894; } .code .f { color: #7dd3fc; }
.hero-card-float {
  position: absolute; bottom: -28px; left: -26px; background: var(--surface-2); border: 1px solid var(--line);
  border-radius: 14px; padding: 14px 16px; box-shadow: var(--shadow); display: flex; gap: 12px; align-items: center; font-size: 14px;
}
.hero-card-float b { display: block; font-family: var(--font-head); font-size: 22px; }
.hero-card-float .dot { width: 38px; height: 38px; border-radius: 10px; background: rgba(45, 212, 191, .14); display: grid; place-items: center; color: var(--accent); }
.hero-visual { position: relative; }

/* Cards / grids */
.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px;
  transition: border-color .2s, transform .2s;
}
.card:hover { border-color: rgba(94, 234, 212, .35); }
.card h3 { font-size: 20px; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 15px; margin: 0; }
.icon {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 18px;
  background: linear-gradient(135deg, rgba(94,234,212,.16), rgba(14,165,233,.16)); color: var(--accent);
  border: 1px solid rgba(94, 234, 212, .2);
}
.icon svg { width: 22px; height: 22px; }
.card ul { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 6px; font-size: 14px; color: var(--muted); }
.card ul li { display: flex; gap: 8px; }
.card ul li::before { content: "→"; color: var(--accent); }

/* Stack */
.stack-wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.chip { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255,255,255,.03); font-size: 14px; font-weight: 500; }
.pillars { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.pillar { padding: 22px; border-radius: var(--radius-sm); border: 1px solid var(--line); background: var(--surface); }
.pillar h4 { font-size: 17px; margin-bottom: 6px; display: flex; align-items: center; gap: 10px; }
.pillar h4 svg { width: 18px; height: 18px; color: var(--accent); }
.pillar p { color: var(--muted); font-size: 14.5px; margin: 0; }

/* Portfolio */
.work-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .2s, border-color .2s; }
.work-card:hover { transform: translateY(-3px); border-color: rgba(94, 234, 212, .35); }
.work-shot { aspect-ratio: 16 / 10; position: relative; overflow: hidden; border-bottom: 1px solid var(--line); display: grid; place-items: center; }
.work-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.work-shot .art { position: absolute; inset: 0; }
.work-shot .label { position: relative; font-family: var(--font-head); font-weight: 700; font-size: 26px; letter-spacing: -0.02em; text-shadow: 0 2px 20px rgba(0,0,0,.4); }
.work-body { padding: 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.work-meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.work-type { font-size: 12.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); }
.status { font-size: 12px; padding: 3px 10px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); }
.status.live { color: #86efac; border-color: rgba(134, 239, 172, .35); background: rgba(134, 239, 172, .06); }
.status.progress { color: #fcd34d; border-color: rgba(252, 211, 77, .35); background: rgba(252, 211, 77, .06); }
.work-body h3 { font-size: 21px; margin: 0; }
.work-body p { color: var(--muted); font-size: 15px; margin: 0; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.tags span { font-size: 12px; padding: 3px 9px; border-radius: 6px; background: rgba(255,255,255,.05); color: #b9cde0; }
.work-link { margin-top: auto; padding-top: 8px; font-size: 14px; font-weight: 600; color: var(--accent); display: inline-flex; gap: 6px; align-items: center; }
.work-link:hover { text-decoration: underline; }

/* Process */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.step { position: relative; padding: 26px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.step::before {
  counter-increment: step; content: "0" counter(step);
  font-family: var(--font-head); font-weight: 700; font-size: 14px; color: var(--accent);
  display: inline-block; padding: 4px 10px; border-radius: 8px; background: rgba(45, 212, 191, .1); margin-bottom: 16px;
}
.step h3 { font-size: 19px; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 15px; margin: 0; }

/* Plans */
.plan { display: flex; flex-direction: column; gap: 6px; position: relative; }
.plan.featured { border-color: rgba(94, 234, 212, .55); background: linear-gradient(180deg, rgba(45,212,191,.08), var(--surface) 40%); }
.plan .badge { position: absolute; top: -12px; right: 22px; font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: 999px; background: var(--grad); color: var(--accent-ink); }
.plan h3 { margin-bottom: 2px; }
.price { font-family: var(--font-head); font-size: 40px; font-weight: 700; letter-spacing: -0.03em; margin: 8px 0 2px; }
.price small { font-size: 15px; color: var(--muted); font-weight: 500; font-family: var(--font-body); letter-spacing: 0; }
.plan ul { margin: 14px 0 24px; flex: 1; }
.plan-note { text-align: center; color: var(--muted); font-size: 14.5px; margin-top: 28px; }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 4px 22px; }
.faq details[open] { border-color: rgba(94, 234, 212, .35); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 0; font-weight: 600; font-size: 16.5px; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-size: 22px; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 18px; margin: 0; }

/* Contact */
.contact-wrap { display: grid; grid-template-columns: .85fr 1.15fr; gap: 48px; align-items: start; }
.contact-info { display: grid; gap: 18px; margin-top: 28px; }
.contact-info div { display: flex; gap: 14px; align-items: flex-start; }
.contact-info .icon { margin: 0; width: 42px; height: 42px; flex: none; }
.contact-info b { display: block; font-size: 15px; }
.contact-info span { color: var(--muted); font-size: 14.5px; }
.form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; display: grid; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 7px; }
.field label { font-size: 14px; font-weight: 600; }
.field label .opt { color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 15px; color: var(--text);
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 12px 14px;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1.5l5 5 5-5' stroke='%2393a8bd' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(45, 212, 191, .18); }
.chip-select { position: relative; display: flex; flex-wrap: wrap; gap: 8px; }
.chip-select input { position: absolute; top: 0; left: 0; width: 1px; height: 1px; opacity: 0; pointer-events: none; margin: 0; }
.chip-select label {
  font-weight: 500; font-size: 14px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line);
  cursor: pointer; color: var(--muted); transition: all .15s; user-select: none;
}
.chip-select input:checked + label { color: var(--accent-ink); background: var(--grad); border-color: transparent; }
.chip-select input:focus-visible + label { box-shadow: 0 0 0 3px rgba(45, 212, 191, .3); }
.hp { position: absolute; left: 0; top: 0; opacity: 0; pointer-events: none; width: 1px; height: 1px; overflow: hidden; }
.form-status { font-size: 14.5px; padding: 12px 14px; border-radius: var(--radius-sm); display: none; }
.form-status.ok { display: block; background: rgba(134, 239, 172, .08); border: 1px solid rgba(134, 239, 172, .35); color: #bbf7d0; }
.form-status.err { display: block; background: rgba(248, 113, 113, .08); border: 1px solid rgba(248, 113, 113, .35); color: #fecaca; }
.form-fine { font-size: 13px; color: var(--muted); text-align: center; margin: 0; }

/* CTA band */
.cta-band {
  border-radius: 24px; padding: 56px; text-align: center; position: relative; overflow: hidden;
  background: linear-gradient(135deg, rgba(45,212,191,.16), rgba(14,165,233,.16)); border: 1px solid rgba(94, 234, 212, .25);
}
.cta-band h2 { font-size: clamp(28px, 3.6vw, 38px); }
.cta-band p { color: var(--muted); max-width: 560px; margin: 0 auto 26px; font-size: 17px; }

/* Billing page */
.page-hero { padding: 72px 0 40px; }
.page-hero h1 { font-size: clamp(34px, 4.6vw, 52px); }
.page-hero p { color: var(--muted); font-size: 18px; max-width: 640px; }
.pay-card { display: flex; flex-direction: column; gap: 6px; }
.pay-card .btn { margin-top: auto; }
.pay-card p { margin-bottom: 22px; }
.notice { display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; border-radius: var(--radius-sm); border: 1px solid var(--line); background: var(--surface); color: var(--muted); font-size: 14.5px; }
.notice svg { width: 20px; height: 20px; color: var(--accent); flex: none; margin-top: 2px; }
.notice b { color: var(--text); }
.setup-flag { display: none; font-size: 12px; color: #fcd34d; margin-top: 8px; }
.needs-setup .setup-flag { display: block; }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 48px 0 36px; color: var(--muted); font-size: 14.5px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 36px; }
.footer h4 { color: var(--text); font-size: 15px; font-family: var(--font-body); font-weight: 600; letter-spacing: 0; margin-bottom: 14px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.footer a:hover { color: var(--text); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13.5px; }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* Responsive */
@media (max-width: 1000px) {
  .grid-4, .steps { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .stack-wrap, .contact-wrap { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .nav-links { display: none; position: absolute; top: 70px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--bg-2); border-bottom: 1px solid var(--line); padding: 8px 20px 16px; }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav-toggle { display: grid; }
  .nav-cta .btn { display: none; }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-card-float { left: 12px; }
}
@media (max-width: 640px) {
  .section { padding: 72px 0; }
  .container { padding: 0 16px; }
  .grid-3, .grid-2, .grid-4, .steps, .pillars, .form-row { grid-template-columns: 1fr; }
  .hero { padding: 56px 0 64px; }
  .form { padding: 22px; }
  .cta-band { padding: 40px 22px; }
  .footer-grid { grid-template-columns: 1fr; }
  .code { font-size: 12.5px; }
}

/* Portfolio in 2 columns: shorter banner */
#work .grid-2 .work-shot { aspect-ratio: 2 / 1; }

/* ---------- Client portal ---------- */
.btn-sm { padding: 8px 14px; font-size: 13.5px; }
.portal-hero { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap;
  background: linear-gradient(135deg, rgba(45,212,191,.10), rgba(14,165,233,.08) 60%, var(--surface)); border-color: rgba(94,234,212,.35); }
.portal-hero > div { max-width: 640px; }
.portal-hero p { margin: 0; }
.acct { padding: 56px 0 96px; min-height: 70vh; }
.acct[hidden], [hidden] { display: none !important; }
.acct-center { display: grid; place-items: center; min-height: 52vh; }
.acct-login { max-width: 440px; width: 100%; text-align: center; padding: 36px 32px; }
.acct-login img { margin-inline: auto; }
.acct-login h1 { font-size: 30px; }
.acct-login > p { color: var(--muted); }
.acct-login form { display: grid; gap: 14px; text-align: left; margin: 22px 0 14px; }
.spinner { width: 34px; height: 34px; border-radius: 50%; border: 3px solid var(--line); border-top-color: var(--accent); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.acct-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 20px; }
.acct-head h1 { font-size: clamp(30px, 4vw, 40px); margin-bottom: 4px; }
.acct-email { color: var(--muted); margin: 0; }
.acct-head-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.acct-section { margin-top: 44px; }
.acct-section h2 { font-size: 22px; margin-bottom: 16px; }
.acct-section > div { display: grid; gap: 14px; }
.acct-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.acct-card h3 { font-size: 19px; margin: 2px 0 0; }
.acct-card-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; }
.acct-kicker { font-size: 13px; color: var(--muted); letter-spacing: .02em; }
.acct-desc { color: var(--muted); margin: 12px 0 0; font-size: 15px; }
.acct-lines { list-style: none; padding: 0; margin: 18px 0 0; border-top: 1px solid var(--line); }
.acct-lines li { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.acct-lines li span:last-child { white-space: nowrap; color: var(--text); }
.acct-lines li span:first-child { color: #b9cde0; }
.acct-total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 14px; }
.acct-total b { font-family: var(--font-head); font-size: 24px; }
.acct-note { color: var(--muted); font-size: 14px; margin: 6px 0 0; }
.acct-actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; margin-top: 18px; }
.acct-confirm { margin-top: 18px; padding: 16px 18px; border-radius: var(--radius-sm); border: 1px solid rgba(94,234,212,.35); background: rgba(45,212,191,.06); }
.acct-confirm p { margin: 0; font-size: 15px; color: #cfe0ee; }
.acct-confirm .acct-actions { margin-top: 14px; }
.acct-row { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.acct-row-side { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.acct-row-side .acct-actions { margin-top: 10px; }
.acct-row-side .acct-confirm { max-width: 420px; }
.pill { display: inline-block; font-size: 12.5px; font-weight: 600; padding: 4px 11px; border-radius: 999px; border: 1px solid; white-space: nowrap; }
.pill-ok { color: #86efac; border-color: rgba(134,239,172,.35); background: rgba(134,239,172,.07); }
.pill-warn { color: #fcd34d; border-color: rgba(252,211,77,.35); background: rgba(252,211,77,.07); }
.pill-bad { color: #fca5a5; border-color: rgba(248,113,113,.4); background: rgba(248,113,113,.08); }
.pill-muted { color: var(--muted); border-color: var(--line); }
.empty { padding: 22px 24px; border: 1px dashed var(--line); border-radius: var(--radius); color: var(--muted); font-size: 15px; }
.form-status.warn { display: block; background: rgba(252,211,77,.07); border: 1px solid rgba(252,211,77,.35); color: #fde68a; }
.inv-list { padding: 6px 24px; }
.inv-row { display: grid; grid-template-columns: 1fr auto 130px 190px; align-items: center; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.inv-row:last-child { border-bottom: 0; }
.inv-main { display: flex; flex-direction: column; min-width: 0; }
.inv-main b { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.inv-main span { color: var(--muted); font-size: 13.5px; }
.inv-amt { font-weight: 600; font-variant-numeric: tabular-nums; }
.inv-links { display: flex; gap: 14px; justify-content: flex-end; align-items: center; }
.link { color: var(--accent); font-size: 14px; font-weight: 600; }
.link:hover { text-decoration: underline; }
@media (max-width: 760px) {
  .inv-row { grid-template-columns: 1fr auto; row-gap: 8px; }
  .inv-st { grid-column: 1; }
  .inv-links { grid-column: 2; }
  .acct-row-side { align-items: flex-start; }
  .acct-card-top { flex-direction: column-reverse; }
  .acct-actions { justify-content: stretch; }
  .acct-actions .btn { flex: 1; }
}
.login-note { display: flex; gap: 10px; align-items: flex-start; text-align: left; margin-top: 18px; padding: 12px 14px; border-radius: var(--radius-sm); border: 1px solid var(--line); background: rgba(255,255,255,.03); font-size: 14px; color: var(--muted); line-height: 1.5; }
.login-note svg { width: 18px; height: 18px; flex: none; color: var(--accent); margin-top: 1px; }
.login-note a { color: var(--accent); font-weight: 600; }

/* ---------- Nav v2: pill links, sliding highlight, scroll progress ---------- */
.nav { --progress: 0; }
.nav::after {
  content: ""; position: absolute; left: 0; bottom: -1px; height: 2px; width: 100%;
  background: var(--grad); transform-origin: left; transform: scaleX(var(--progress));
  box-shadow: 0 0 12px rgba(45, 212, 191, .6); pointer-events: none;
}
.brand img { transition: transform .5s cubic-bezier(.34, 1.56, .64, 1), filter .3s; }
.brand:hover img { transform: translateY(-3px) rotate(-8deg) scale(1.06); filter: drop-shadow(0 6px 14px rgba(45, 212, 191, .45)); }

@media (min-width: 861px) {
  .nav-links {
    position: relative; gap: 2px; padding: 5px; border-radius: 999px;
    background: rgba(255, 255, 255, .03); border: 1px solid var(--line);
    font-size: 14.5px; font-weight: 500;
  }
  .nav-links a { position: relative; z-index: 1; padding: 8px 16px; border-radius: 999px; transition: color .2s; }
  .nav-links a.active { color: var(--text); }
  .nav-links a.active::after {
    content: ""; position: absolute; left: 50%; bottom: 3px; width: 4px; height: 4px; margin-left: -2px;
    border-radius: 50%; background: var(--accent); box-shadow: 0 0 8px var(--accent);
  }
  .nav-pill {
    position: absolute; z-index: 0; top: 5px; left: 0; height: calc(100% - 10px); width: 0;
    border-radius: 999px; opacity: 0; pointer-events: none;
    background: linear-gradient(135deg, rgba(94, 234, 212, .16), rgba(14, 165, 233, .16));
    border: 1px solid rgba(94, 234, 212, .28);
    transition: transform .35s cubic-bezier(.34, 1.3, .64, 1), width .35s cubic-bezier(.34, 1.3, .64, 1), opacity .2s;
  }
  .nav-links .mobile-only { display: none; }
}

.nav-login {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px;
  font-size: 14.5px; font-weight: 600; color: var(--text); border: 1px solid var(--line);
  background: rgba(255, 255, 255, .02); transition: border-color .2s, background .2s, color .2s;
}
.nav-login svg { width: 16px; height: 16px; color: var(--accent); transition: transform .3s cubic-bezier(.34, 1.56, .64, 1); }
.nav-login:hover, .nav-login.active { border-color: rgba(94, 234, 212, .5); background: rgba(94, 234, 212, .07); }
.nav-login:hover svg { transform: scale(1.18); }

@media (max-width: 1080px) and (min-width: 861px) {
  .nav-links a { padding: 8px 11px; }
  .nav-login span { display: none; }
  .nav-login { padding: 10px; }
}
@media (max-width: 860px) {
  .nav-pill, .nav-login { display: none; }
  .nav-links a.active { color: var(--accent); }
}
@media (prefers-reduced-motion: reduce) {
  .nav-pill, .brand img, .nav-login svg { transition: none; }
}

/* ---------- Delivery / handoff ---------- */
.deliver-card { position: relative; display: flex; flex-direction: column; }
.deliver-card.featured-soft { border-color: rgba(94, 234, 212, .45); background: linear-gradient(180deg, rgba(45,212,191,.07), var(--surface) 45%); }
.badge-soft { position: absolute; top: 24px; right: 24px; font-size: 12px; font-weight: 700; padding: 4px 11px; border-radius: 999px; color: var(--accent); border: 1px solid rgba(94,234,212,.4); background: rgba(45,212,191,.08); }
.deliver-sub { font-size: 20px; margin: 56px 0 18px; text-align: center; }
.include { display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; border-radius: var(--radius-sm); border: 1px solid var(--line); background: var(--surface); }
.include > svg { width: 20px; height: 20px; flex: none; color: var(--accent); margin-top: 2px; }
.include b { display: block; font-size: 15.5px; margin-bottom: 2px; }
.include span { color: var(--muted); font-size: 14px; line-height: 1.5; }
.includes { gap: 14px; }
.pay-steps { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 40px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.pay-steps > div { display: grid; grid-template-columns: auto 1fr; column-gap: 14px; padding: 20px 22px; align-items: center; }
.pay-steps > div + div { border-left: 1px solid var(--line); }
.pay-steps span { grid-row: span 2; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; color: var(--accent-ink); background: var(--grad); }
.pay-steps b { font-size: 15.5px; }
.pay-steps em { font-style: normal; color: var(--muted); font-size: 13.5px; line-height: 1.45; }
@media (max-width: 860px) {
  .pay-steps { grid-template-columns: 1fr; }
  .pay-steps > div + div { border-left: 0; border-top: 1px solid var(--line); }
}
@media (max-width: 640px) { .badge-soft { position: static; align-self: flex-start; margin-bottom: 14px; } }
