/* Arkvane — theme D (deep teal & peach) */
:root {
  --teal: #0B5D5B;
  --teal-2: #0F6B68;
  --teal-line: #2A7976;
  --ink: #0C2A2A;
  --muted: #3D5757;
  --on-teal: #CFE8E4;
  --ground: #F3F7F6;
  --white: #FFFFFF;
  --line: #CFE0DD;
  --line-soft: #DCE7E5;
  --mint: #DDEFEC;
  --accent: #FFB38A;
  --signal: #E8763F;
  --error: #B42318;
  --radius: 12px;
  --max: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: 'Sora', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--teal); }
img, svg { display: block; }
input, textarea, select, button { font: inherit; }
h1, h2, h3, p { margin: 0; }
:focus-visible { outline: 3px solid var(--signal); outline-offset: 3px; border-radius: 6px; }

.wrap { max-width: var(--max); margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--white); padding: 8px 14px; border-radius: 8px; z-index: 10; }
.skip:focus { left: 8px; }

/* Brand mark */
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 22px; color: var(--ink); }
.mark { width: 32px; height: 32px; flex: none; }
.brand--sm { font-size: 18px; color: var(--white); }
.brand--sm .mark { width: 24px; height: 24px; }

/* Nav */
.nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 24px; padding-bottom: 24px; }
.nav__links { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 30px; font-size: 15px; }
.nav__links a:not(.btn) { color: var(--muted); }
.nav__links a:not(.btn):hover, .nav__links a[aria-current="page"] { color: var(--teal); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--signal); display: inline-block; flex: none; }
.with-dot { display: inline-flex; align-items: center; gap: 8px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 0 22px; border-radius: var(--radius); border: 0;
  font-weight: 600; cursor: pointer; text-align: center;
}
.btn--lg { min-height: 54px; padding: 0 26px; }
.btn--teal { background: var(--teal); color: var(--white); }
.btn--teal:hover { background: #094B49; color: var(--white); }
.btn--peach { background: var(--accent); color: var(--ink); }
.btn--peach:hover { background: #FFA270; color: var(--ink); }
.btn--outline { background: transparent; border: 1.5px solid var(--teal); color: var(--teal); }
.btn--outline:hover { background: var(--teal); color: var(--white); }
.btn[disabled] { opacity: .65; cursor: progress; }

/* Type */
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--teal); }
.on-teal .eyebrow { color: var(--accent); }
.h1 { font-size: clamp(40px, 5.4vw, 66px); line-height: 1.08; font-weight: 600; letter-spacing: -.035em; }
.h2 { font-size: clamp(30px, 3.8vw, 46px); line-height: 1.12; font-weight: 600; letter-spacing: -.03em; }
.lead { font-size: 18px; color: var(--muted); }
.on-teal .lead, .on-teal p { color: var(--on-teal); }
.hl { color: var(--teal); }
.pill {
  align-self: flex-start; display: inline-flex; gap: 8px; align-items: center;
  font-size: 13px; font-weight: 600; color: var(--teal); background: var(--white);
  border: 1px solid var(--line); padding: 8px 14px; border-radius: 999px;
}
.pill--peach { background: var(--accent); color: var(--ink); border-color: var(--accent); }
.tag { font-size: 13px; padding: 5px 12px; border-radius: 999px; background: var(--white); color: var(--teal); }

.stack { display: flex; flex-direction: column; gap: 14px; }
.stack-lg { display: flex; flex-direction: column; gap: 24px; }
.row { display: flex; flex-wrap: wrap; gap: 14px; }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; }
.section-head > .stack { max-width: 640px; }
.section-head > p { max-width: 420px; color: var(--muted); }

/* Hero */
.hero { padding-top: 56px; padding-bottom: 96px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr)); gap: 56px; align-items: center; }
.hero .lead { max-width: 540px; }
.flow { background: var(--teal); border-radius: 28px; padding: 32px; display: flex; flex-direction: column; gap: 14px; }
.flow__head { display: flex; justify-content: space-between; align-items: center; color: var(--white); padding: 0 4px 6px; font-weight: 600; }
.flow__live { font-size: 13px; font-weight: 400; display: flex; align-items: center; gap: 8px; color: var(--on-teal); }
.flow__live .dot { background: var(--accent); }
.step { border-radius: 16px; padding: 16px 20px; display: flex; justify-content: space-between; align-items: center; gap: 16px; background: var(--white); }
.step b { display: block; font-weight: 600; }
.step small { display: block; font-size: 13px; color: var(--muted); }
.step--peach { background: var(--accent); }
.step--next { background: #E6F0EE; }
.status { font-size: 13px; padding: 4px 12px; border-radius: 999px; white-space: nowrap; color: var(--teal); background: var(--mint); }
.step--peach .status { color: var(--ink); background: var(--white); }
.step--next .status { color: var(--muted); background: transparent; }

/* Sections */
.band-white { background: var(--white); }
.pad { padding-top: 104px; padding-bottom: 104px; }
.pad-sm { padding-top: 96px; padding-bottom: 96px; }

.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 20px; }
.card { background: var(--ground); border-radius: 22px; padding: 34px; display: flex; flex-direction: column; gap: 18px; }
.card h3 { font-size: 23px; font-weight: 700; letter-spacing: -.02em; }
.card p { color: var(--muted); }
.card .tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 6px; }
.icon { width: 54px; height: 54px; border-radius: 14px; background: var(--teal); display: flex; align-items: center; justify-content: center; }
.icon--peach { background: var(--accent); }

.strip { border: 1px solid var(--line-soft); border-radius: 18px; padding: 24px 30px; display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; }
.strip .eyebrow { font-size: 12px; }
.strip .sep { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

.panel { background: var(--teal); color: var(--white); border-radius: 32px; padding: 88px 56px; }
.panel--contact { padding: 72px 56px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr)); gap: 56px; }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 16px; }
.phase { background: var(--teal-2); border-radius: 20px; padding: 26px; display: flex; flex-direction: column; gap: 12px; }
.phase h3 { font-size: 19px; font-weight: 600; }
.phase p { font-size: 15px; }
.num { width: 40px; height: 40px; border-radius: 50%; background: var(--accent); color: var(--ink); display: flex; align-items: center; justify-content: center; font-weight: 700; }

.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: 56px; align-items: center; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.promise { background: var(--white); border-radius: 20px; padding: 26px; display: flex; flex-direction: column; gap: 8px; }
.promise h3 { font-size: 17px; font-weight: 600; }
.promise p { color: var(--muted); font-size: 15px; }
.promise--peach { background: var(--accent); }
.promise--peach p { color: var(--ink); }
.promise--teal { background: var(--teal); color: var(--white); }
.promise--teal p { color: var(--on-teal); }

/* Roles */
.roles { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 520px), 1fr)); gap: 16px; }
.role { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding: 26px 28px; border-radius: 20px; background: var(--white); }
.role:hover { color: var(--ink); box-shadow: 0 0 0 1.5px var(--teal) inset; }
.role b { display: block; font-size: 19px; font-weight: 600; }
.role small { display: block; color: var(--muted); font-size: 14px; }
.role .btn { min-height: 42px; padding: 0 18px; font-size: 14px; border-radius: 10px; }

/* Careers page role details */
.job { background: var(--white); border-radius: 22px; }
.job > summary { list-style: none; cursor: pointer; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px; padding: 26px 28px; }
.job > summary::-webkit-details-marker { display: none; }
.jobs-empty { background: var(--white); border-radius: 22px; padding: 26px 28px; color: var(--muted); margin: 0; }
.job > summary b { display: block; font-size: 20px; font-weight: 600; }
.job > summary small { display: block; color: var(--muted); font-size: 14px; }
.job__body { padding: 0 28px 28px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 24px 40px; }
.job__body h4 { margin: 0 0 8px; font-size: 15px; font-weight: 600; }
.job__body ul { margin: 0; padding-left: 18px; color: var(--muted); }
.job__body li + li { margin-top: 6px; }
.job__intro { grid-column: 1 / -1; color: var(--muted); }
.job__cta { grid-column: 1 / -1; }
.plus { width: 34px; height: 34px; flex: none; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 20px; background: var(--accent); color: var(--ink); transition: transform .2s; }
details[open] > summary .plus { background: var(--teal); color: var(--white); transform: rotate(45deg); }

/* Contact */
.contact-lines { display: flex; flex-direction: column; gap: 14px; margin-top: 8px; padding-top: 24px; border-top: 1px solid var(--teal-line); }
.contact-lines a, .contact-lines span { display: flex; align-items: center; gap: 14px; color: var(--white); }
.contact-lines span { color: var(--on-teal); }
.form-card { background: var(--white); color: var(--ink); border-radius: 24px; padding: 36px; }

/* Forms */
.form { display: flex; flex-direction: column; gap: 18px; }
.fields-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 16px; }
.field { display: flex; flex-direction: column; gap: 8px; font-size: 14px; font-weight: 500; }
.field .opt { color: var(--muted); font-weight: 400; }
.input {
  min-height: 48px; padding: 0 14px; border-radius: var(--radius); border: 1px solid var(--line);
  background: var(--ground); color: var(--ink); font-size: 16px; width: 100%;
}
textarea.input { padding: 12px 14px; resize: vertical; min-height: 120px; }
select.input { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%233D5757' stroke-width='1.8'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }
.input:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(11, 93, 91, .18); background: var(--white); }
.input[aria-invalid="true"] { border-color: var(--error); }
fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
legend { font-size: 14px; font-weight: 500; padding: 0; margin-bottom: 10px; }


.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { min-height: 44px; padding: 0 16px; border-radius: 999px; display: inline-flex; align-items: center; font-size: 14px; font-weight: 500; cursor: pointer; background: var(--white); color: var(--ink); border: 1.5px solid var(--line); }
.chip input:checked + span { background: var(--teal); color: var(--white); border-color: var(--teal); }
.chip input:focus-visible + span { outline: 3px solid var(--signal); outline-offset: 2px; }

.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-error { color: var(--error); font-size: 14px; font-weight: 500; }
.form-note { font-size: 13px; color: var(--muted); }

.done { min-height: 420px; display: flex; flex-direction: column; justify-content: center; gap: 16px; }
.done__icon { width: 56px; height: 56px; border-radius: 50%; background: var(--mint); display: flex; align-items: center; justify-content: center; }
.done h3 { font-size: 28px; font-weight: 600; }
.done p { color: var(--muted); }
.done .btn { align-self: flex-start; margin-top: 8px; }

/* FAQ */
.faq { max-width: 880px; }
.faq details { border-radius: 18px; background: var(--ground); }
.faq summary { list-style: none; cursor: pointer; min-height: 64px; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 24px; font-size: 17px; font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq details p { padding: 0 24px 22px; color: var(--muted); max-width: 720px; }

/* Footer */
.footer { background: var(--ink); color: #B9D2CE; }
.footer .wrap { padding-top: 44px; padding-bottom: 44px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; font-size: 14px; }
.footer nav { display: flex; flex-wrap: wrap; gap: 26px; }
.footer a { color: #B9D2CE; }
.footer a:hover { color: var(--white); }

/* Careers page hero */
.page-hero { padding-top: 40px; padding-bottom: 64px; max-width: 760px; }
.perks { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 16px; }

@media (max-width: 720px) {
  .nav__links { gap: 8px 18px; font-size: 14px; }
  .nav__links .hide-sm { display: none; }
  .pad { padding-top: 72px; padding-bottom: 72px; }
  .pad-sm { padding-top: 64px; padding-bottom: 64px; }
  .panel { padding: 56px 24px; border-radius: 24px; }
  .panel--contact { padding: 48px 20px; gap: 40px; }
  .form-card { padding: 24px 20px; }
  .flow { padding: 20px; }
  .grid-2 { grid-template-columns: 1fr; }
  .hero { padding-bottom: 64px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
