/* Aktin Labs — site stylesheet
   Design language: indigo gradient, navy, ice-blue ground, Poppins, pill buttons,
   flat lab illustrations. Single memorable element: the report-code field in the hero. */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
  --indigo: #433CD7;
  --indigo-light: #7770FA;
  --indigo-soft: #6B64E8;
  --navy: #04004D;
  --ice: #EFF5FF;
  --ice-deep: #DCE7FB;
  --ink: #16143A;
  --ink-soft: #4A4A6A;
  --white: #FFFFFF;
  --line: rgba(4, 0, 77, 0.10);
  --line-on-dark: rgba(255, 255, 255, 0.28);
  --grad: linear-gradient(135deg, var(--indigo-light) 0%, var(--indigo) 100%);

  --font: 'Poppins', 'Segoe UI', system-ui, sans-serif;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --h3: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem);
  --h2: clamp(1.9rem, 1.4rem + 2.2vw, 3rem);
  --h1: clamp(2.4rem, 1.6rem + 3.6vw, 4.25rem);

  --container: 1180px;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --section: clamp(4rem, 6vw + 1rem, 7.5rem);
  --radius: 1.25rem;
  --pill: 999px;
  --shadow-offset: -18px 18px 0 rgba(255, 255, 255, 0.28);
  --shadow-soft: 0 24px 60px -30px rgba(4, 0, 77, 0.35);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--text-base);
  line-height: 1.7;
  color: var(--ink);
  background: var(--white);
  overflow-x: hidden;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; line-height: 1.15; color: var(--navy); letter-spacing: -0.01em; }
h1 { font-size: var(--h1); letter-spacing: -0.02em; }
h2 { font-size: var(--h2); }
h3 { font-size: var(--h3); }
p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }
:focus-visible { outline: 3px solid #FFB800; outline-offset: 3px; border-radius: 4px; }
.skip-link { position: absolute; left: 1rem; top: -4rem; background: var(--navy); color: #fff; padding: .5rem 1rem; border-radius: var(--pill); z-index: 100; }
.skip-link:focus { top: 1rem; }

.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.section { padding-block: var(--section); }
.section--ice { background: var(--ice); }
.section--navy { background: var(--navy); color: #fff; }
.section--grad { background: var(--grad); color: #fff; }
.section--navy h2, .section--grad h2, .section--navy h3, .section--grad h3 { color: #fff; }
.on-dark { color: rgba(255, 255, 255, 0.82); }

/* Heading kicker: keeps the old two-tier heading rhythm, quieter tracking. */
.kicker { display: block; font-size: var(--text-sm); font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--indigo); margin-bottom: .75rem; }
.section--navy .kicker, .section--grad .kicker { color: rgba(255, 255, 255, 0.72); }
.lede { font-size: var(--text-lg); color: var(--ink-soft); max-width: 60ch; }
.section--navy .lede, .section--grad .lede { color: rgba(255, 255, 255, 0.82); }
.measure { max-width: 62ch; }
.center { text-align: center; }
.center .lede, .center .measure { margin-inline: auto; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .9rem 1.75rem; border-radius: var(--pill); border: 1.5px solid transparent;
  font: inherit; font-weight: 500; line-height: 1.2; cursor: pointer; white-space: nowrap;
  transition: transform .15s ease, background-color .15s ease, color .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: #0B0770; }
.btn--white { background: #fff; color: var(--indigo); }
.btn--white:hover { background: var(--ice); }
.btn--outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn--outline:hover { background: var(--navy); color: #fff; }
.btn--outline-light { border-color: var(--line-on-dark); color: #fff; background: transparent; }
.btn--outline-light:hover { background: rgba(255,255,255,.12); }
.btn--lg { padding: 1.1rem 2.25rem; font-size: var(--text-lg); }
.btn--block { width: 100%; }
.btn svg { width: 1.1em; height: 1.1em; flex: none; }

/* Header */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  padding-block: 1.1rem;
  border-bottom: 1px solid var(--line-on-dark);
  transition: background-color .25s ease, padding .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.site-header.is-scrolled { background: rgba(67, 60, 215, 0.92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); padding-block: .75rem; box-shadow: 0 10px 30px -20px rgba(4,0,77,.5); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: inline-flex; align-items: center; color: #fff; }
.brand svg { height: 40px; width: auto; }
.nav { display: flex; align-items: center; gap: .25rem; }
.nav a { color: #fff; padding: .5rem 1rem; border-radius: var(--pill); font-weight: 500; font-size: .95rem; position: relative; }
.nav a::after { content: ''; position: absolute; left: 1rem; right: 1rem; bottom: .2rem; height: 2px; background: #fff; transform: scaleX(0); transform-origin: left; transition: transform .2s ease; }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav .nav__cta { margin-left: .75rem; background: #fff; color: var(--indigo); padding: .65rem 1.4rem; }
.nav .nav__cta::after { display: none; }
.nav-toggle { display: none; background: none; border: 0; padding: .5rem; cursor: pointer; color: #fff; }
.nav-toggle span { display: block; width: 26px; height: 2px; background: currentColor; margin: 6px 0; transition: transform .25s ease, opacity .25s ease; }
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed; top: 0; right: 0; bottom: 0; width: min(78vw, 340px);
    flex-direction: column; align-items: stretch; gap: .25rem;
    background: #fff; color: var(--navy); padding: 5.5rem 1.5rem 2rem;
    transform: translateX(100%); transition: transform .3s ease; box-shadow: -20px 0 60px -30px rgba(4,0,77,.5);
  }
  .nav.is-open { transform: translateX(0); }
  .nav a { color: var(--navy); padding: .9rem 1rem; font-size: 1.1rem; }
  .nav a::after { display: none; }
  .nav .nav__cta { margin: 1rem 0 0; background: var(--indigo); color: #fff; text-align: center; }
  body.nav-open .nav-toggle { color: var(--navy); position: relative; z-index: 60; }
  body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .nav-backdrop { position: fixed; inset: 0; background: rgba(4,0,77,.45); opacity: 0; pointer-events: none; transition: opacity .3s ease; z-index: 40; }
  body.nav-open .nav-backdrop { opacity: 1; pointer-events: auto; }
}

/* Hero (home) */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background: var(--grad);
  min-height: min(92vh, 900px);
  display: grid; align-items: center;
  padding-top: 7rem; padding-bottom: clamp(4rem, 8vw, 7rem);
}
.hero__art {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: url('../images/main.png');
  background-size: cover; background-position: right bottom;
  -webkit-mask-image: linear-gradient(90deg, transparent 30%, #000 62%);
  mask-image: linear-gradient(90deg, transparent 30%, #000 62%);
}
@media (min-width: 861px) and (max-width: 1200px) {
  .hero__art { background-position: right 30% bottom; -webkit-mask-image: linear-gradient(90deg, transparent 38%, #000 68%); mask-image: linear-gradient(90deg, transparent 38%, #000 68%); }
}
.hero .container { position: relative; z-index: 1; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 560px); }
.hero h1 { color: #fff; }
.hero__lede { font-size: var(--text-lg); color: rgba(255,255,255,.86); max-width: 52ch; margin-top: 1.25rem; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.5rem; margin-top: 1.75rem; }
.hero__since { font-size: var(--text-sm); color: rgba(255,255,255,.72); display: inline-flex; align-items: center; gap: .6rem; }
.hero__since::before { content: ''; width: 2rem; height: 1px; background: rgba(255,255,255,.5); }
@media (max-width: 860px) {
  .hero { min-height: 0; padding-top: 6.5rem; }
  .hero__art { -webkit-mask-image: linear-gradient(180deg, transparent 35%, #000 80%); mask-image: linear-gradient(180deg, transparent 35%, #000 80%); opacity: .55; background-position: right 25% bottom; }
}

/* Report code field — the one loud element */
.code-form { margin-top: 2.25rem; max-width: 560px; }
.code-form__label { display: block; font-size: var(--text-sm); font-weight: 500; color: rgba(255,255,255,.85); margin-bottom: .6rem; }
.code-field {
  display: flex; align-items: center; gap: .5rem;
  background: #fff; border-radius: var(--pill); padding: .4rem .4rem .4rem 1.5rem;
  box-shadow: 0 30px 60px -25px rgba(4, 0, 77, 0.6);
}
.code-field input {
  flex: 1; min-width: 0; border: 0; background: transparent; font: inherit;
  font-size: clamp(1.25rem, 1rem + 1.2vw, 1.75rem); font-weight: 600; letter-spacing: .28em; text-transform: uppercase;
  color: var(--navy); padding: .6rem 0; outline: none;
}
.code-field input::placeholder { color: rgba(4, 0, 77, 0.28); letter-spacing: .28em; font-weight: 500; }
.code-field .btn { flex: none; padding-block: 1rem; }
.code-form__hint { font-size: var(--text-sm); color: rgba(255,255,255,.7); margin-top: .75rem; }
.code-form--light .code-form__label { color: var(--ink-soft); }
.code-form--light .code-form__hint { color: var(--ink-soft); }
.code-form--light .code-field { border: 1px solid var(--line); box-shadow: var(--shadow-soft); }
@media (max-width: 520px) {
  .code-field { flex-direction: column; align-items: stretch; border-radius: 1.5rem; padding: .75rem; }
  .code-field input { text-align: center; padding: .5rem; }
}
.form-error { background: #FFF1F0; color: #A3220F; border: 1px solid #F5B8B0; border-radius: .75rem; padding: .75rem 1rem; margin-bottom: 1rem; font-size: var(--text-sm); }
.form-success { background: #ECFDF3; color: #14532D; border: 1px solid #A7E3BD; border-radius: .75rem; padding: .75rem 1rem; margin-bottom: 1rem; font-size: var(--text-sm); }
.hero .form-error { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.4); }

/* Two-column feature blocks */
.split { display: grid; gap: clamp(2rem, 5vw, 5rem); align-items: center; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); }
.split--reverse > :first-child { order: 2; }
@media (max-width: 860px) { .split--reverse > :first-child { order: 0; } }
.split__media img { border-radius: var(--radius); }
.split__media--plain img { border-radius: 0; }
.split__media--crop img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: right center; }
.split__media--crop-left img { object-position: left center; }
.split h2 { margin-bottom: 1.25rem; }
.split p { color: var(--ink-soft); max-width: 58ch; }
.split .btn { margin-top: 1.5rem; }
.photo-frame { position: relative; }
.photo-frame img { border-radius: var(--radius); box-shadow: var(--shadow-soft); }
.photo-frame::before { content: ''; position: absolute; inset: 1.5rem -1.5rem -1.5rem 1.5rem; background: var(--ice-deep); border-radius: var(--radius); z-index: -1; }

/* Service cards on gradient — keeps the signature offset white shadow */
.cards { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); margin-top: 3rem; }
.card { background: #fff; color: var(--ink); border-radius: var(--radius); padding: 2.25rem 2rem; box-shadow: var(--shadow-offset); display: flex; flex-direction: column; gap: 1rem; }
.card img { width: 64px; height: 64px; }
.card h3 { color: var(--navy); }
.card p { color: var(--ink-soft); flex: 1; }
.card__link { font-weight: 600; color: var(--indigo); display: inline-flex; align-items: center; gap: .4rem; }
.card__link svg { width: 1em; height: 1em; transition: transform .15s ease; }
.card__link:hover svg { transform: translateX(3px); }

/* Numbers band */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); text-align: center; }
@media (max-width: 640px) { .stats { grid-template-columns: repeat(2, 1fr); row-gap: 1.5rem; } .stats > div:nth-child(3) { border-left: 0; } }
.stats > div { padding: 1rem .5rem; }
.stats > div + div { border-left: 1px solid rgba(116, 109, 248, 0.5); }
.stats strong { display: block; font-size: clamp(2rem, 1.5rem + 2.5vw, 3.5rem); font-weight: 700; line-height: 1; color: #fff; }
.stats span { display: block; margin-top: .5rem; color: rgba(255,255,255,.75); font-size: var(--text-sm); }

/* Testimonial */
.quote { display: grid; grid-template-columns: minmax(0, 300px) 1fr; gap: 0; align-items: center; margin-top: 3rem; }
.quote__photo { position: relative; z-index: 1; margin-right: -4rem; }
.quote__photo img { border-radius: var(--radius); box-shadow: var(--shadow-soft); }
.quote__body { background: var(--navy); color: #fff; border-radius: var(--radius); padding: clamp(2rem, 4vw, 3.5rem) clamp(2rem, 4vw, 3.5rem) clamp(2rem, 4vw, 3.5rem) clamp(4rem, 8vw, 7rem); }
.quote__body blockquote { margin: 0; font-size: clamp(1.1rem, 1rem + .6vw, 1.4rem); line-height: 1.6; font-weight: 400; }
.quote__body cite { display: block; margin-top: 1.25rem; font-style: normal; color: rgba(255,255,255,.65); font-size: var(--text-sm); }
@media (max-width: 720px) {
  .quote { grid-template-columns: 1fr; }
  .quote__photo { margin: 0 2rem -3rem; }
  .quote__body { padding: 4.5rem 1.75rem 2rem; }
}

/* Subscribe band */
.subscribe { position: relative; overflow: hidden; }
.subscribe::before { content: ''; position: absolute; inset: 0; background: url('../images/subscribe.png') center/cover; opacity: .9; }
.subscribe .container { position: relative; }
.subscribe-form { display: flex; gap: .5rem; background: #fff; border-radius: var(--pill); padding: .4rem .4rem .4rem 1.5rem; max-width: 560px; margin: 2rem auto 0; box-shadow: 0 30px 60px -25px rgba(4,0,77,.6); }
.subscribe-form input { flex: 1; min-width: 0; border: 0; background: transparent; font: inherit; color: var(--navy); outline: none; }
.subscribe-form input::placeholder { color: rgba(4,0,77,.4); }
@media (max-width: 520px) { .subscribe-form { flex-direction: column; border-radius: 1.5rem; padding: .75rem; } .subscribe-form input { padding: .5rem .75rem; } }

/* Page hero (inner pages) */
.page-hero { position: relative; overflow: hidden; background: var(--grad); color: #fff; padding: 9rem 0 clamp(3.5rem, 8vw, 6rem); }
.page-hero::before { content: ''; position: absolute; inset: 0; background: url('../images/features.png') center/cover; opacity: .5; }
.page-hero .container { position: relative; }
.page-hero h1 { color: #fff; }
.page-hero .lede { margin-top: 1rem; color: rgba(255,255,255,.86); }

/* Lists in white boxes (analyses) */
.list-cards { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); margin-top: 3rem; }
.list-card { background: #fff; color: var(--ink); border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow-offset); }
.list-card h3 { color: var(--navy); padding-bottom: .75rem; border-bottom: 1px solid #746DF8; margin-bottom: 1rem; }
.list-card ul { columns: 2; column-gap: 1.5rem; }
.list-card li { break-inside: avoid; padding: .3rem 0; color: var(--ink-soft); font-size: .95rem; }
@media (max-width: 560px) { .list-card ul { columns: 1; } }

/* Team */
.team { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); margin-top: 3rem; }
.team figure { margin: 0; }
.team img { border-radius: var(--radius); aspect-ratio: 9 / 10; object-fit: cover; width: 100%; box-shadow: var(--shadow-soft); }
.team figcaption { margin-top: 1rem; }
.team figcaption strong { display: block; color: var(--navy); font-weight: 600; }
.team figcaption span { color: var(--ink-soft); font-size: var(--text-sm); }

/* Contact */
.contact-grid { display: grid; gap: 3rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); margin-top: 3rem; align-items: start; }
.contact-card { background: #fff; border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow-soft); }
.contact-card address { font-style: normal; color: var(--ink-soft); line-height: 1.7; }
.contact-card address strong { color: var(--navy); display: block; margin-bottom: .25rem; }
.contact-card a { color: var(--indigo); font-weight: 500; }
.map { border: 0; width: 100%; height: 320px; border-radius: var(--radius); display: block; margin-top: 1.5rem; }
.field { display: grid; gap: .4rem; margin-bottom: 1.25rem; }
.field label { font-size: var(--text-sm); font-weight: 500; color: var(--navy); }
.field input, .field textarea { font: inherit; padding: .85rem 1.1rem; border: 1.5px solid var(--line); border-radius: 1rem; background: #fff; color: var(--ink); width: 100%; transition: border-color .15s ease; }
.field textarea { resize: vertical; min-height: 160px; }
.field input:focus, .field textarea:focus { border-color: var(--indigo); outline: none; box-shadow: 0 0 0 4px rgba(67,60,215,.12); }
.field .field__error { color: #A3220F; font-size: var(--text-sm); }
.field.has-error input, .field.has-error textarea { border-color: #D9463A; }

/* Result */
.result-card { background: #fff; border-radius: var(--radius); padding: clamp(1.5rem, 4vw, 3rem); box-shadow: var(--shadow-soft); display: grid; gap: 1.5rem; max-width: 720px; }
.result-card__head { display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap; }
.result-card__icon { width: 64px; height: 64px; flex: none; }
.result-card__code { font-size: var(--text-sm); color: var(--ink-soft); }
.result-card__code strong { display: block; font-size: 1.5rem; letter-spacing: .25em; color: var(--navy); font-weight: 600; }
.result-card__file { color: var(--ink-soft); font-size: var(--text-sm); word-break: break-word; }
.result-card__actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.check-steps { display: grid; gap: 1.5rem; margin-top: 2rem; }
.check-steps li { display: grid; grid-template-columns: 2.25rem 1fr; gap: 1rem; align-items: start; color: var(--ink-soft); }
.check-steps li span { width: 2.25rem; height: 2.25rem; border-radius: 50%; background: var(--indigo); color: #fff; display: grid; place-items: center; font-weight: 600; font-size: .9rem; }
.check-steps li strong { display: block; color: var(--navy); }

/* Footer */
.site-footer { background: var(--navy); color: rgba(255,255,255,.75); padding: clamp(3rem, 6vw, 5rem) 0 2rem; }
.site-footer .brand svg { height: 34px; }
.footer-grid { display: grid; gap: 2.5rem; grid-template-columns: 1.4fr 1fr 1fr; }
@media (max-width: 720px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { color: #fff; font-size: var(--text-sm); letter-spacing: .12em; text-transform: uppercase; margin-bottom: 1rem; font-weight: 500; }
.site-footer p, .site-footer address { font-style: normal; font-size: .95rem; max-width: 40ch; }
.site-footer li { padding: .25rem 0; }
.site-footer a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 3rem; padding-top: 1.5rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font-size: var(--text-sm); color: rgba(255,255,255,.5); }

/* One entrance sequence on the home hero only */
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.hero__grid > * { animation: rise .6s cubic-bezier(.2,.7,.2,1) both; }
.hero__grid > :nth-child(2) { animation-delay: .08s; }
.hero__grid > :nth-child(3) { animation-delay: .16s; }
.hero__grid > :nth-child(4) { animation-delay: .24s; }
.hero__grid > :nth-child(5) { animation-delay: .32s; }
