/*
 * Seera 2026 design system for STATIC pages (pages served outside the React app, e.g. /ai-job-search).
 * Mirrors the tokens and sx-* motion layer the SPA uses (src/styles/seera-motion.css + the
 * seera.* Tailwind tokens). Keep the two in step when the design system changes.
 */
:root {
  --navy: #0B1F3B; --deep: #142F57; --night: #08172C; --blue: #1E90FF; --sky: #5AAEFF; --ice: #8FC4FF;
  --cyan: #4FD1FF; --link: #1472CC; --mist: #F5F7FA; --tint: #EAF3FF; --muted: #4A5A72;
  --line: rgba(11, 31, 59, .12); --dline: rgba(255, 255, 255, .14);
  --ease: cubic-bezier(.22, 1, .36, 1);
}
@property --sx-ang { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: #fff; color: var(--navy); font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; -webkit-font-smoothing: antialiased; line-height: 1.5; }
h1, h2, h3, h4 { font-family: Sora, "Helvetica Neue", Helvetica, sans-serif; margin: 0; letter-spacing: -0.02em; }
p { margin: 0; }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
img { max-width: 100%; }
.mono { font-family: "JetBrains Mono", ui-monospace, Menlo, Consolas, monospace; }
.eyebrow { font-family: "JetBrains Mono", ui-monospace, Menlo, monospace; font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--link); }
.on-dark .eyebrow, .eyebrow.on-dark, .sec-dark .eyebrow, .hero .eyebrow { color: var(--sky); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { position: relative; max-width: 1264px; margin: 0 auto; padding: 0 32px; }
@media (max-width: 640px) { .wrap { padding: 0 20px; } }

/* ---------- Sections ---------- */
.sec { padding: 104px 0; }
.sec-mist { background: var(--mist); }
.sec-dark { position: relative; overflow: hidden; background: var(--navy); color: #fff; }
.intro { max-width: 780px; }
.intro h2 { font-size: 44px; line-height: 1.1; font-weight: 800; margin-top: 14px; }
.intro h2:first-child { margin-top: 0; }
.intro .lead { font-size: 18px; line-height: 1.6; color: var(--muted); margin-top: 16px; }
.sec-dark .intro .lead { color: rgba(255, 255, 255, .8); }
@media (max-width: 760px) { .sec { padding: 72px 0; } .intro h2 { font-size: 32px; } }
.grid { display: grid; gap: 24px; margin-top: 48px; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 980px) { .g3, .g2 { grid-template-columns: minmax(0, 1fr); } .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px; border-radius: 12px; font-weight: 700; font-size: 16px; border: 1px solid transparent; white-space: nowrap; text-decoration: none; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, border-color .25s; }
.btn:hover { text-decoration: none; }
.btn-lg { min-height: 54px; padding: 0 28px; font-size: 17px; }
.btn-primary { position: relative; overflow: hidden; color: var(--navy); background: linear-gradient(135deg, #1E90FF, #4DA8FF 55%, #5AAEFF); box-shadow: 0 10px 28px -8px rgba(30, 144, 255, .65), inset 0 1px 0 rgba(255, 255, 255, .35); }
.btn-primary::after { content: ""; position: absolute; top: -10%; bottom: -10%; width: 46%; left: -70%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .6), transparent); transform: skewX(-20deg); animation: sheen 5s ease-in-out infinite; pointer-events: none; }
.btn-primary:hover { background: linear-gradient(135deg, #3FA2FF, #6BB8FF 55%, #7DC0FF); transform: translateY(-2px); box-shadow: 0 16px 36px -8px rgba(30, 144, 255, .8), inset 0 1px 0 rgba(255, 255, 255, .45); }
.btn-ghost-d { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .28); }
.btn-ghost-d:hover { background: rgba(255, 255, 255, .08); border-color: rgba(143, 196, 255, .6); transform: translateY(-2px); }
.btn-ghost-l { background: #fff; color: var(--navy); border-color: rgba(11, 31, 59, .25); }
@keyframes sheen { 0%, 62% { left: -70%; } 100% { left: 130%; } }

/* ---------- Navigation (static copy of the SPA marketing navbar) ---------- */
.nav { position: relative; z-index: 20; display: flex; align-items: center; gap: 32px; height: 80px; }
.nav .logo img { height: 32px; width: auto; display: block; }
.nav-links { display: flex; gap: 28px; margin-inline-start: 16px; font-size: 15px; font-weight: 500; }
.nav-links a { color: rgba(255, 255, 255, .86); white-space: nowrap; }
.nav-links a:hover { color: #fff; text-decoration: none; }
.nav-links a[aria-current="page"] { color: #fff; font-weight: 700; border-bottom: 2px solid var(--blue); padding-bottom: 4px; }
.nav-end { margin-inline-start: auto; display: flex; align-items: center; gap: 20px; }
.nav-end .signin { color: #fff; font-weight: 600; font-size: 15px; white-space: nowrap; }
.nav-end .btn { min-height: 44px; padding: 0 18px; font-size: 15px; }
.mnav { display: none; margin-inline-start: auto; }
.mnav summary { list-style: none; cursor: pointer; width: 44px; height: 44px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .22); display: flex; align-items: center; justify-content: center; color: #fff; }
.mnav summary::-webkit-details-marker { display: none; }
.mnav[open] .mnav-panel { display: flex; }
.mnav-panel { display: none; position: absolute; inset-inline: 0; top: 80px; flex-direction: column; gap: 4px; padding: 12px 0 20px; border-top: 1px solid var(--dline); background: var(--navy); }
.mnav-panel a { display: flex; align-items: center; min-height: 44px; padding: 0 12px; color: rgba(255, 255, 255, .9); font-size: 16px; font-weight: 500; border-radius: 10px; }
.mnav-panel .btn { margin-top: 8px; color: var(--navy); }
@media (max-width: 1279px) { .nav-links, .nav-end { display: none; } .mnav { display: block; } }
.crumb { font-family: "JetBrains Mono", ui-monospace, monospace; font-size: 12.5px; color: rgba(255, 255, 255, .72); }
.crumb a { color: var(--ice); }

/* ---------- Ambient: aurora, grid floor, dots, gradient text, spinning border ---------- */
.aurora { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.aurora i { position: absolute; border-radius: 50%; filter: blur(72px); will-change: transform; }
.aurora i:nth-child(1) { width: 640px; height: 640px; left: 4%; top: -18%; background: radial-gradient(circle, #1E90FF, transparent 66%); opacity: .5; animation: dr1 19s ease-in-out infinite alternate; }
.aurora i:nth-child(2) { width: 520px; height: 520px; right: 2%; top: -6%; background: radial-gradient(circle, #4FD1FF, transparent 66%); opacity: .28; animation: dr2 23s ease-in-out infinite alternate; }
.aurora i:nth-child(3) { width: 600px; height: 600px; left: 40%; bottom: -30%; background: radial-gradient(circle, #3C63FF, transparent 66%); opacity: .34; animation: dr3 27s ease-in-out infinite alternate; }
@keyframes dr1 { to { transform: translate(160px, 70px) scale(1.15); } }
@keyframes dr2 { to { transform: translate(-190px, 110px) scale(.9); } }
@keyframes dr3 { to { transform: translate(-120px, -70px) scale(1.12); } }
.gridfloor { position: absolute; left: -10%; right: -10%; bottom: 0; height: 46%; perspective: 620px; pointer-events: none; overflow: hidden; -webkit-mask-image: linear-gradient(0deg, #000 5%, transparent 92%); mask-image: linear-gradient(0deg, #000 5%, transparent 92%); }
.gridfloor::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 220%; background: linear-gradient(rgba(90, 174, 255, .3) 1px, transparent 1px) 0 0 / 100% 56px, linear-gradient(90deg, rgba(90, 174, 255, .3) 1px, transparent 1px) 0 0 / 56px 100%; transform: rotateX(64deg); transform-origin: 50% 0; animation: floor 3.2s linear infinite; }
@keyframes floor { from { transform: rotateX(64deg) translateY(0); } to { transform: rotateX(64deg) translateY(56px); } }
.dots { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, .1) 1px, transparent 0) 0 0 / 28px 28px; -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 85%); mask-image: linear-gradient(180deg, #000 0%, transparent 85%); }
.gtext { background: linear-gradient(90deg, #8FC4FF, #1E90FF, #4FD1FF, #8FC4FF); background-size: 300% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: gshift 9s linear infinite; }
.gtext-l { background: linear-gradient(90deg, #1472CC, #1E90FF, #2BB5E8, #1472CC); background-size: 300% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: gshift 9s linear infinite; }
@keyframes gshift { to { background-position: -300% 0; } }
.gb { position: relative; }
.gb::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px; background: conic-gradient(from var(--sx-ang), rgba(30, 144, 255, 0) 0%, #1E90FF 18%, #8FC4FF 30%, #4FD1FF 38%, rgba(30, 144, 255, 0) 56%, rgba(30, 144, 255, 0) 100%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); animation: spin 6s linear infinite; pointer-events: none; z-index: 2; }
@keyframes spin { to { --sx-ang: 360deg; } }

/* ---------- Cards and live bits ---------- */
.card { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 28px; }
.card-mist { background: var(--mist); }
.card h3 { font-size: 22px; line-height: 1.2; font-weight: 700; }
.card p { font-size: 16px; line-height: 1.6; color: var(--muted); margin-top: 10px; }
.lift { transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s; }
.lift:hover { transform: translateY(-4px); box-shadow: 0 26px 50px -24px rgba(30, 144, 255, .45); border-color: rgba(30, 144, 255, .5); }
.dcard { background: var(--deep); border: 1px solid var(--dline); border-radius: 22px; padding: 28px; position: relative; overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.dcard::after { content: ""; position: absolute; left: 12%; right: 12%; top: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(143, 196, 255, .85), transparent); }
.dcard:hover { transform: translateY(-4px); box-shadow: 0 26px 54px -22px rgba(30, 144, 255, .55); }
.dcard h3 { font-size: 22px; font-weight: 700; margin-top: 10px; }
.dcard p { font-size: 16px; line-height: 1.6; color: rgba(255, 255, 255, .8); margin-top: 10px; }
.step-label { font-family: "JetBrains Mono", ui-monospace, monospace; font-size: 13px; font-weight: 600; color: var(--link); text-transform: uppercase; }
.pulse { display: inline-block; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--sky); box-shadow: 0 0 0 0 rgba(90, 174, 255, .6); animation: pulse 2.4s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(90, 174, 255, 0); } 100% { box-shadow: 0 0 0 0 rgba(90, 174, 255, 0); } }
.caret { display: inline-block; width: 7px; height: 13px; background: var(--sky); vertical-align: middle; animation: blink 1.05s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.term { font-family: "JetBrains Mono", ui-monospace, monospace; background: var(--navy); color: rgba(255, 255, 255, .88); border-radius: 14px; padding: 14px; font-size: 12.5px; line-height: 1.9; }
.term .cmd { color: var(--ice); }
.term .ok { color: var(--sky); }
.tla { animation: tla 9s infinite; } .tlb { animation: tlb 9s infinite; } .tlc { animation: tlc 9s infinite; }
@keyframes tla { 0%, 14% { opacity: 0; transform: translateY(6px); } 18%, 94% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translateY(6px); } }
@keyframes tlb { 0%, 30% { opacity: 0; transform: translateY(6px); } 34%, 94% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translateY(6px); } }
@keyframes tlc { 0%, 46% { opacity: 0; transform: translateY(6px); } 50%, 94% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translateY(6px); } }
.scanv { position: absolute; left: 0; right: 0; height: 56px; top: -56px; background: linear-gradient(180deg, transparent, rgba(30, 144, 255, .28), rgba(79, 209, 255, .5)); border-bottom: 1.5px solid rgba(143, 196, 255, .9); animation: scanv 3.6s linear infinite; pointer-events: none; }
@keyframes scanv { 0% { top: -56px; opacity: 0; } 12% { opacity: 1; } 88% { opacity: 1; } 100% { top: 100%; opacity: 0; } }
.chip { display: inline-flex; align-items: center; font-family: "JetBrains Mono", ui-monospace, monospace; font-size: 12px; background: var(--tint); color: #0B4A93; padding: 5px 10px; border-radius: 999px; }
.chip-d { background: transparent; color: #fff; border: 1px solid var(--dline); }

/* Match tiers: state is text plus colour, never colour alone */
.tier { display: inline-flex; align-items: center; gap: 6px; font-family: "JetBrains Mono", ui-monospace, Menlo, monospace; font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.t-strong { background: var(--blue); color: var(--navy); }
.t-good { background: var(--tint); color: #0B4A93; border: 1px solid #9CC8F5; }
.t-stretch { background: transparent; color: var(--navy); border: 1.5px dashed var(--muted); }

/* ---------- Match cards (real sample results) ---------- */
.job { background: #fff; color: var(--navy); border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; list-style: none; }
.job-head { display: flex; align-items: center; gap: 12px; }
.job-logo { width: 40px; height: 40px; border-radius: 10px; flex: none; background: var(--navy); color: #fff; display: flex; align-items: center; justify-content: center; font-family: Sora, sans-serif; font-weight: 800; }
.job-main { flex: 1; min-width: 0; }
.job-title { font-weight: 700; font-size: 16px; line-height: 1.3; overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.job-co { font-size: 13px; color: var(--muted); margin-top: 2px; overflow-wrap: anywhere; }
.job-head { align-items: flex-start; }
.job-meta { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; align-items: center; }
.job-meta .posted { font-family: "JetBrains Mono", ui-monospace, monospace; font-size: 11px; color: var(--muted); }
.jobs { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; }

/* ---------- Stats strip ---------- */
.stats { border-top: 1px solid var(--dline); padding: 26px 0 30px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.stats b { display: block; font-family: Sora, sans-serif; font-weight: 800; font-size: 34px; font-variant-numeric: tabular-nums; }
.stats span { font-family: "JetBrains Mono", ui-monospace, monospace; font-size: 12.5px; color: rgba(255, 255, 255, .76); }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } .stats b { font-size: 26px; } }

/* ---------- Tables ---------- */
.tbl-wrap { position: relative; margin-top: 36px; border: 1px solid var(--line); border-radius: 22px; overflow-x: auto; background: #fff; }
.tbl { width: 100%; border-collapse: collapse; min-width: 640px; font-size: 16px; }
.tbl th, .tbl td { padding: 20px 28px; text-align: start; vertical-align: top; }
.tbl thead th { font-family: Sora, sans-serif; font-size: 18px; }
.tbl tbody tr { border-top: 1px solid var(--line); }
.tbl .hl { background: var(--tint); }
.tbl td.dim { color: var(--muted); }

/* ---------- FAQ ---------- */
.faq { display: flex; flex-direction: column; gap: 12px; margin-top: 32px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 0 24px; transition: border-color .3s, box-shadow .3s; }
.faq details[open] { border-color: rgba(30, 144, 255, .45); box-shadow: 0 18px 40px -26px rgba(30, 144, 255, .5); }
.faq summary { display: flex; align-items: center; gap: 16px; padding: 22px 0; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary h3 { font-size: 18px; font-weight: 700; flex: 1; }
.faq summary .plus { color: var(--link); font-size: 24px; line-height: 1; transition: transform .3s var(--ease); }
.faq details[open] .plus { transform: rotate(45deg); }
.faq details p { padding: 0 0 22px; font-size: 16px; line-height: 1.65; color: var(--muted); }

/* ---------- Footer ---------- */
.foot { background: var(--night); color: #fff; padding: 72px 0 40px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(4, minmax(0, 1fr)); gap: 32px; }
.foot-grid .col-title { font-family: "JetBrains Mono", ui-monospace, monospace; font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--ice); margin-bottom: 16px; }
.foot-grid ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; font-size: 15px; }
.foot-grid a { color: rgba(255, 255, 255, .86); }
.foot-tag { font-size: 15px; line-height: 1.6; color: rgba(255, 255, 255, .72); margin-top: 16px; max-width: 260px; }
.foot footer { border-top: 1px solid var(--dline); margin-top: 48px; padding-top: 24px; font-size: 14px; color: rgba(255, 255, 255, .72); }
.foot footer a { color: rgba(255, 255, 255, .86); }
.foot footer nav strong { color: rgba(255, 255, 255, .62) !important; }
@media (max-width: 980px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-grid > :first-child { grid-column: 1 / -1; } }

/* Phones: long CTA labels wrap instead of overflowing (after .btn so it wins). */
@media (max-width: 640px) { .btn { white-space: normal; text-align: center; padding-top: 10px; padding-bottom: 10px; } .btn-lg { width: 100%; } }

/* ---------- Reduced motion: every loop off, finished state shown ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .scanv { display: none; }
}
