/* Jobkites website. Brand: Kite Indigo #4f46e5, Tail Coral #ff6b4a, Night Sky #12143a, Cloud #f4f5f7, Ink #1c2128; Inter. */
:root {
    --indigo: #4f46e5;
    --indigo-dark: #3f37c9;
    --indigo-soft: #eef0ff;
    --coral: #ff6b4a;
    --coral-dark: #e8553a;
    --night: #12143a;
    --night-2: #1c1f52;
    --cloud: #f4f5f7;
    --ink: #1c2128;
    --muted: #5b6270;
    --line: #e2e5ea;
    --white: #ffffff;
    --danger: #b42318;
    --success: #127a4b;
    --radius: 14px;
    --shadow: 0 10px 30px rgba(18, 20, 58, .08);
    --font: Inter, "Segoe UI", system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--white); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; }
a { color: var(--indigo); }
a:hover { color: var(--indigo-dark); }
h1, h2, h3 { line-height: 1.2; letter-spacing: -.02em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 600; }
p { margin: 0 0 1em; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 1.25rem; }
.wrap.narrow { max-width: 720px; }
.center { text-align: center; }
.small { font-size: .875rem; }
.muted { color: var(--muted); }
.muted-on-dark { color: #c7c9e8; }
.eyebrow { text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; font-weight: 600; color: var(--coral-dark); margin-bottom: .5rem; }
.lede { font-size: 1.15rem; color: var(--muted); max-width: 46rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: .5rem; background: var(--white); padding: .5rem 1rem; border-radius: 8px; z-index: 10; }
.skip-link:focus { left: .5rem; }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 2px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .4rem; padding: .8rem 1.4rem; border-radius: 999px; font-weight: 600; font-size: 1rem; text-decoration: none; border: 2px solid transparent; cursor: pointer; font-family: inherit; transition: background .15s, transform .15s; }
.btn:hover { transform: translateY(-1px); }
.btn-sm { padding: .45rem 1rem; font-size: .9rem; }
.btn-coral { background: var(--coral); color: var(--white); }
.btn-coral:hover { background: var(--coral-dark); color: var(--white); }
.btn-primary { background: var(--indigo); color: var(--white); }
.btn-primary:hover { background: var(--indigo-dark); color: var(--white); }
.btn-ghost { border-color: rgba(255, 255, 255, .45); color: var(--white); }
.btn-ghost:hover { border-color: var(--white); color: var(--white); }

/* header and footer */
.site-header { background: var(--night); position: sticky; top: 0; z-index: 5; }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 68px; flex-wrap: wrap; }
.brand img { display: block; height: 36px; width: auto; }
.site-nav { display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap; }
.site-nav a:not(.btn) { color: #dfe0f5; text-decoration: none; font-weight: 500; }
.site-nav a:not(.btn):hover, .site-nav a[aria-current="page"] { color: var(--white); }
.site-footer { background: var(--night); color: var(--white); padding: 2.5rem 0; margin-top: 0; }
.footer-row { display: flex; gap: 2rem; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; }
.site-footer nav { display: flex; gap: 1.25rem; flex-wrap: wrap; }
.site-footer nav a { color: #dfe0f5; text-decoration: none; }
.site-footer nav a:hover { color: var(--white); }

/* hero */
.hero { background: radial-gradient(1200px 500px at 85% -10%, #2b2f8f 0%, transparent 60%), linear-gradient(180deg, var(--night) 0%, var(--night-2) 100%); color: var(--white); padding: 4.5rem 0 5rem; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: center; }
.hero h1 { color: var(--white); }
.hero .lede { color: #d7d9f3; }
.hero-mark { width: 72px; height: 72px; margin-bottom: 1.25rem; border-radius: 18px; box-shadow: 0 12px 30px rgba(0, 0, 0, .3); }
.hero-actions { display: flex; gap: .75rem; flex-wrap: wrap; margin: 1.5rem 0 1rem; }

.board-preview { display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); border-radius: 18px; padding: 1rem; transform: rotate(-2deg); }
.board-col { display: flex; flex-direction: column; gap: .6rem; }
.board-head { font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: #b9bce6; font-weight: 600; }
.board-card { background: var(--white); color: var(--ink); border-radius: 10px; padding: .6rem .7rem; font-size: .8rem; display: grid; gap: .1rem; position: relative; box-shadow: 0 6px 16px rgba(0, 0, 0, .18); }
.board-card i { width: 28px; height: 4px; border-radius: 4px; background: var(--indigo); margin-bottom: .2rem; }
.board-card em { font-style: normal; color: var(--muted); font-size: .72rem; }
.board-card.is-flight { outline: 2px solid var(--coral); transform: translateY(-6px) rotate(2deg); }
.board-card.is-flight i { background: var(--coral); }
.board-card.is-done i { background: var(--success); }

/* sections */
.section { padding: 4.5rem 0; }
.section-cloud { background: var(--cloud); }
.page-head { background: linear-gradient(180deg, var(--night) 0%, var(--night-2) 100%); color: var(--white); padding: 3.5rem 0 3rem; }
.page-head h1 { color: var(--white); font-size: clamp(2rem, 4vw, 2.8rem); }
.page-head .lede { color: #d7d9f3; }
.page-head .eyebrow { color: #ffb4a3; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-top: 1.5rem; }
.pillar, .feature, .card, .plan { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow); }
.pillar h3::before { content: ""; display: block; width: 32px; height: 4px; border-radius: 4px; background: var(--coral); margin-bottom: .9rem; }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-top: 1.5rem; }
.feature-icon { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: var(--indigo-soft); color: var(--indigo); font-size: 1.2rem; margin-bottom: .75rem; }
.steps { counter-reset: step; list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-top: 1.5rem; }
.steps li { counter-increment: step; background: var(--cloud); border-radius: var(--radius); padding: 1.25rem 1.25rem 1.25rem 3.75rem; position: relative; }
.steps li::before { content: counter(step); position: absolute; left: 1.1rem; top: 1.1rem; width: 1.9rem; height: 1.9rem; border-radius: 50%; background: var(--indigo); color: var(--white); display: grid; place-items: center; font-weight: 700; font-size: .9rem; }
.steps.compact { grid-template-columns: 1fr; gap: .6rem; }
.steps.compact li { background: var(--cloud); padding: .8rem .8rem .8rem 3.2rem; }
.steps.compact li::before { left: .8rem; top: .8rem; width: 1.6rem; height: 1.6rem; }
.cta-band { background: var(--indigo); color: var(--white); padding: 3rem 0; }
.cta-row { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; }
.cta-band h2 { color: var(--white); margin-bottom: .25rem; }
.cta-band .muted-on-dark { color: #e2e0ff; margin: 0; }
.notice { background: var(--indigo-soft); border-radius: var(--radius); padding: 1.25rem 1.5rem; }
.prose { max-width: 46rem; }

/* pricing */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; align-items: stretch; margin-bottom: 1.5rem; }
.plan { display: flex; flex-direction: column; position: relative; }
.plan ul { padding-left: 1.1rem; flex: 1; }
.plan li { margin-bottom: .35rem; }
.plan .btn { align-self: flex-start; }
.plan-price { font-size: 1.5rem; font-weight: 700; color: var(--indigo); margin-bottom: .5rem; }
.plan.is-highlight { border: 2px solid var(--coral); }
.plan-badge { position: absolute; top: -.8rem; right: 1.25rem; background: var(--coral); color: var(--white); font-size: .75rem; font-weight: 600; padding: .2rem .7rem; border-radius: 999px; }

/* sign-up form */
.signup-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 1.5rem; align-items: start; }
.form fieldset { border: 0; padding: 0; margin: 0 0 1.5rem; }
.form legend { font-weight: 700; font-size: 1.05rem; margin-bottom: .75rem; }
.field { display: flex; flex-direction: column; gap: .3rem; margin-bottom: .9rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field label { font-weight: 500; }
.field input[type="text"], .field input[type="email"], .field input:not([type]) { font: inherit; padding: .7rem .85rem; border: 1px solid #c9ced8; border-radius: 10px; background: var(--white); color: var(--ink); width: 100%; }
.field input:focus { border-color: var(--indigo); outline: 3px solid rgba(79, 70, 229, .2); }
.field input.input-validation-error { border-color: var(--danger); }
.field-error { color: var(--danger); font-size: .875rem; }
.help { color: var(--muted); font-size: .85rem; }
.help.is-ok { color: var(--success); }
.help.is-bad { color: var(--danger); }
.key-input { display: flex; align-items: stretch; }
.key-input input { border-top-right-radius: 0 !important; border-bottom-right-radius: 0 !important; }
.key-suffix { display: flex; align-items: center; padding: 0 .85rem; background: var(--cloud); border: 1px solid #c9ced8; border-left: 0; border-radius: 0 10px 10px 0; color: var(--muted); white-space: nowrap; }
.key-input:not(:has(.key-suffix)) input { border-radius: 10px !important; }
.plan-pick { display: grid; gap: .6rem; }
.plan-option { display: flex; gap: .75rem; align-items: flex-start; border: 1px solid var(--line); border-radius: 10px; padding: .75rem .9rem; cursor: pointer; }
.plan-option:has(input:checked) { border-color: var(--indigo); background: var(--indigo-soft); }
.plan-option em { font-style: normal; color: var(--indigo); margin-left: .35rem; }
.plan-option input { margin-top: .35rem; accent-color: var(--indigo); }
.check { flex-direction: row; flex-wrap: wrap; align-items: flex-start; gap: .6rem; }
.check input { margin-top: .35rem; width: 1.1rem; height: 1.1rem; accent-color: var(--indigo); }
.check label { flex: 1; font-weight: 400; }
.check .field-error { flex-basis: 100%; }
.alert { background: #fdecea; color: var(--danger); border-radius: 10px; padding: .8rem 1rem; margin-bottom: 1.25rem; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.aside h2 { font-size: 1.2rem; }

/* status */
.progress { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: .25rem; }
.progress li { display: flex; align-items: center; gap: .75rem; padding: .55rem 0; border-bottom: 1px dashed var(--line); color: var(--muted); }
.progress li:last-child { border-bottom: 0; }
.progress .dot { width: 14px; height: 14px; border-radius: 50%; border: 2px solid #c9ced8; flex: none; }
.progress .is-done { color: var(--ink); }
.progress .is-done .dot { background: var(--success); border-color: var(--success); }
.progress .is-current { color: var(--ink); font-weight: 600; }
.progress .is-current .dot { border-color: var(--indigo); background: var(--indigo-soft); box-shadow: 0 0 0 4px rgba(79, 70, 229, .15); }
.progress .is-failed { color: var(--coral-dark); font-weight: 600; }
.progress .is-failed .dot { border-color: var(--coral); background: #ffe3dc; }

@media (max-width: 900px) {
    .hero-grid, .signup-grid { grid-template-columns: 1fr; }
    .board-preview { transform: none; }
    .grid-3, .features, .steps, .plans { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
    .field-row { grid-template-columns: 1fr; }
    .site-header { position: static; }
    .header-row { padding: .6rem 0; }
    .site-nav { gap: .9rem; font-size: .95rem; }
    .hero { padding: 3rem 0 3.5rem; }
    .board-preview { grid-template-columns: 1fr 1fr; }
    .board-preview .board-col:last-child { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .btn, .btn:hover { transition: none; transform: none; }
}
