/* Prime Alkyl – site styles */
:root {
  --bg: #07111f;
  --bg-alt: #0b1829;
  --surface: #0f1f33;
  --surface-2: #142841;
  --line: #1f3654;
  --text: #e6edf5;
  --muted: #93a4ba;
  --teal: #2ec4b6;
  --teal-dim: rgba(46, 196, 182, .14);
  --copper: #e0995e;
  --copper-dim: rgba(224, 153, 94, .14);
  --danger: #ff7b7b;
  --ok: #4fd1a5;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(0, 0, 0, .35);
  --font: "Outfit", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Consolas, monospace;
  --container: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--teal); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .6em; font-weight: 600; }
h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); letter-spacing: -.01em; }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
.mono { font-family: var(--mono); }
.muted { color: var(--muted); }
.accent { color: var(--copper); }
.h-teal { color: var(--teal); }
.h-copper { color: var(--copper); }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--teal); color: #00231f; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .85em 1.5em; border-radius: 999px; border: 1px solid transparent;
  background: var(--copper); color: #1e1206; font-weight: 600; font-size: 1rem;
  cursor: pointer; transition: transform .15s ease, background .15s ease, border-color .15s ease;
  text-decoration: none; font-family: inherit;
}
.btn:hover { background: #ebab74; text-decoration: none; transform: translateY(-1px); }
.btn--ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn--ghost:hover { background: var(--surface-2); border-color: var(--teal); }
.btn--sm { padding: .55em 1.1em; font-size: .92rem; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(7, 17, 31, .82); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(31, 54, 84, .6); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: .55em; color: var(--text); font-size: 1.2rem; font-weight: 400; }
.brand:hover { text-decoration: none; }
.brand strong { font-weight: 700; color: var(--copper); }
.brand__mark { width: 28px; height: 28px; color: var(--teal); }
.nav__links { display: flex; align-items: center; gap: 1.6rem; }
.nav__links a:not(.btn) { color: var(--muted); font-size: .97rem; }
.nav__links a:not(.btn):hover { color: var(--text); text-decoration: none; }
.nav__toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav__toggle span { display: block; width: 22px; height: 2px; background: var(--text); margin: 5px 0; transition: transform .2s; }

/* Hero */
.hero { position: relative; min-height: 88vh; display: flex; align-items: center; overflow: hidden; padding: 80px 0 64px; }
.hero__bg { position: absolute; inset: 0; background-size: cover; background-position: center right; opacity: .75; }
.hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--bg) 0%, rgba(7, 17, 31, .88) 45%, rgba(7, 17, 31, .35) 100%), linear-gradient(0deg, var(--bg) 0%, transparent 30%); }
.hero__content { position: relative; max-width: var(--container); }
.hero__content > * { max-width: 720px; }
.eyebrow { font-family: var(--mono); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--teal); margin-bottom: 1em; }
.lead { font-size: 1.18rem; color: #c4d0de; max-width: 620px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 40px; }
.hero__facts { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 14px 32px; color: var(--muted); font-size: .95rem; }
.hero__facts .mono { color: var(--copper); margin-right: .4em; }

/* Sections */
.section { padding: 96px 0; }
.section--alt { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section__intro { color: var(--muted); max-width: 680px; margin-bottom: 40px; }

/* Cards */
.cards { display: grid; gap: 22px; }
.cards--2 { grid-template-columns: repeat(2, 1fr); }
.cards--4 { grid-template-columns: repeat(4, 1fr); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.feature h3 { color: var(--text); }
.feature p { color: var(--muted); margin: 0; font-size: .97rem; }
.product { position: relative; }
.product h3 { font-size: 1.5rem; margin-bottom: .2em; }
.product__tag { display: inline-block; font-family: var(--mono); font-size: .8rem; font-weight: 500; padding: .3em .8em; border-radius: 999px; margin-bottom: 14px; }
.product__tag--teal { background: var(--teal-dim); color: var(--teal); }
.product__tag--copper { background: var(--copper-dim); color: var(--copper); }
.kv { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 20px 0 0; }
.kv div { background: var(--bg-alt); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; }
.kv dt { font-size: .8rem; color: var(--muted); }
.kv dd { margin: 2px 0 0; font-family: var(--mono); font-size: 1rem; }

/* Tabs + spec tables */
.tabs { display: inline-flex; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 4px; margin-bottom: 20px; }
.tab { background: none; border: 0; color: var(--muted); font: 600 .95rem var(--font); padding: .55em 1.6em; border-radius: 999px; cursor: pointer; }
.tab.is-active { background: var(--teal); color: #00231f; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.spec { width: 100%; border-collapse: collapse; min-width: 560px; }
.spec th, .spec td { padding: 13px 18px; text-align: left; border-bottom: 1px solid var(--line); font-size: .95rem; }
.spec th { font-family: var(--mono); font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 500; background: var(--surface-2); }
.spec td:nth-child(2) { font-family: var(--mono); color: var(--copper); }
.spec td:nth-child(3), .spec td:nth-child(4) { color: var(--muted); }
.spec tr:last-child td { border-bottom: 0; }
.note { margin-top: 18px; color: var(--muted); font-size: .95rem; }

/* Split sections */
.split__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split__inner--rev > :first-child { order: 2; }
.split__media { min-height: 420px; border-radius: var(--radius); background-size: cover; background-position: center; border: 1px solid var(--line); box-shadow: var(--shadow); }
.app-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 12px; }
.ticks { list-style: none; padding: 0; margin: 0 0 1em; }
.ticks li { position: relative; padding-left: 1.6em; margin-bottom: .55em; color: #c4d0de; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .55em; width: .7em; height: .38em; border-left: 2px solid var(--teal); border-bottom: 2px solid var(--teal); transform: rotate(-45deg); }

/* Steps */
.steps { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: s; }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; position: relative; }
.step__n { display: block; color: var(--copper); font-size: 1.6rem; margin-bottom: 10px; }
.step p { color: var(--muted); font-size: .96rem; margin: 0; }

/* Documents */
.docs { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 10px; }
.docs li { display: flex; align-items: center; gap: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 12px 16px; color: #c4d0de; }
.docs .mono { flex: 0 0 64px; color: var(--teal); font-size: .82rem; }

/* About */
.about { display: grid; grid-template-columns: 1.4fr 1fr; gap: 56px; align-items: start; }
.about p { color: #c4d0de; }
.about__facts { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 8px 24px; }
.about__facts div { padding: 14px 0; border-bottom: 1px solid var(--line); }
.about__facts div:last-child { border-bottom: 0; }
.about__facts dt { font-size: .8rem; color: var(--muted); font-family: var(--mono); text-transform: uppercase; letter-spacing: .08em; }
.about__facts dd { margin: 4px 0 0; }

/* Quote form */
.section--quote { background: radial-gradient(1000px 500px at 85% 20%, rgba(46, 196, 182, .08), transparent 60%), var(--bg-alt); border-top: 1px solid var(--line); }
.quote { display: grid; grid-template-columns: .85fr 1.15fr; gap: 56px; align-items: start; }
.quote__intro p { color: #c4d0de; }
.quote__direct { margin-top: 24px; }
.form { padding: 32px; }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: .9rem; color: var(--muted); }
.field--full { grid-column: 1 / -1; }
.field--hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.field input, .field select, .field textarea {
  width: 100%; background: var(--bg); color: var(--text); border: 1px solid var(--line);
  border-radius: 10px; padding: 12px 14px; font: 400 1rem var(--font);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px var(--teal-dim); }
.field.is-invalid input, .field.is-invalid select { border-color: var(--danger); }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; color: var(--muted); margin: 20px 0; }
.consent input { margin-top: 4px; accent-color: var(--teal); width: 18px; height: 18px; flex: 0 0 auto; }
.consent.is-invalid span { color: var(--danger); }
.form__status { margin: 14px 0 0; min-height: 1.4em; font-size: .97rem; }
.form__status.is-ok { color: var(--ok); }
.form__status.is-err { color: var(--danger); }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 56px 0 28px; background: var(--bg); }
.footer__inner { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.footer__cols { display: flex; gap: 56px; flex-wrap: wrap; }
.footer h4 { font-family: var(--mono); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.footer p { margin: 0 0 .4em; font-size: .95rem; }
.footer__base { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); font-size: .88rem; }

/* WhatsApp */
.wa { position: fixed; right: 20px; bottom: 20px; width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: var(--shadow); z-index: 60; transition: transform .15s ease; }
.wa:hover { transform: scale(1.06); text-decoration: none; }
.wa svg { width: 30px; height: 30px; }
.wa[hidden] { display: none; }

/* Legal page */
.legal { max-width: 760px; padding: 64px 20px 96px; margin: 0 auto; }
.legal h1 { font-size: 2.2rem; }
.legal h2 { font-size: 1.3rem; margin-top: 2em; }
.legal p, .legal li { color: #c4d0de; }

/* Responsive */
@media (max-width: 980px) {
  .cards--4, .steps { grid-template-columns: repeat(2, 1fr); }
  .split__inner, .about, .quote { grid-template-columns: 1fr; gap: 36px; }
  .split__inner--rev > :first-child { order: 0; }
  .split__media { min-height: 260px; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .section { padding: 68px 0; }
  .nav__toggle { display: block; }
  .nav__links {
    position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: stretch;
    gap: 0; background: var(--bg-alt); border-bottom: 1px solid var(--line); padding: 8px 20px 20px;
    display: none;
  }
  .nav__links.is-open { display: flex; }
  .nav__links a:not(.btn) { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav__links .btn { margin-top: 14px; }
  .cards--2, .cards--4, .steps, .app-cols, .form__grid { grid-template-columns: 1fr; }
  .hero { min-height: auto; padding: 72px 0 56px; }
  .form { padding: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
