/* AMICOR public website — Phase 1 */
:root {
  --blue: #0b6bcb;
  --blue-deep: #074a8f;
  --teal: #0d8a96;
  --teal-soft: #14a3b0;
  --lime: #32cd32;
  --navy: #0a1628;
  --ink: #142033;
  --muted: #4a6078;
  --line: rgba(11, 107, 203, 0.14);
  --mist: #eef6fc;
  --cloud: #f5fafd;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(10, 40, 80, 0.12);
  --radius: 18px;
  --max: 1120px;
  --font-display: "Avenir Next", "Segoe UI", "Gill Sans", "Trebuchet MS", sans-serif;
  --font-body: "Segoe UI", "Gill Sans", "Trebuchet MS", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(13, 138, 150, 0.16), transparent 55%),
    radial-gradient(900px 500px at 100% 0%, rgba(11, 107, 203, 0.18), transparent 50%),
    linear-gradient(180deg, var(--cloud) 0%, var(--mist) 40%, var(--white) 100%);
  min-height: 100vh;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--blue);
  text-decoration: none;
}

a:hover {
  color: var(--blue-deep);
}

.site-wrap {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-main {
  flex: 1;
}

/* ── Header ─────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(14px);
  background: rgba(245, 250, 253, 0.86);
  border-bottom: 1px solid var(--line);
}

.site-header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
  color: inherit;
}

.brand-link img {
  height: 44px;
  width: auto;
  max-width: min(220px, 52vw);
  object-fit: contain;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--navy);
  border-radius: 10px;
  padding: 0.45rem 0.7rem;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.35rem 1.05rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.site-nav a {
  color: var(--navy);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  padding: 0.35rem 0;
  border-bottom: 2px solid transparent;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--blue);
  border-bottom-color: var(--teal);
}

.site-nav .nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--blue) 0%, var(--teal) 100%);
  color: var(--white) !important;
  border-bottom: none !important;
  box-shadow: 0 8px 20px rgba(11, 107, 203, 0.25);
}

.site-nav .nav-cta:hover {
  filter: brightness(1.05);
}

.site-nav .nav-signin {
  color: var(--muted);
  font-weight: 600;
}

/* ── Layout helpers ──────────────────────────────────── */
.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.section {
  padding: 4.5rem 0;
}

.section-tight {
  padding: 3.25rem 0;
}

.section-head {
  max-width: 720px;
  margin-bottom: 2.25rem;
}

.section-head h2 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--navy);
}

.section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 0.85rem;
  color: var(--teal);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* ── Hero ────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: min(88vh, 760px);
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(115deg, rgba(2, 18, 40, 0.78) 0%, rgba(7, 74, 143, 0.55) 48%, rgba(13, 138, 150, 0.42) 100%),
    radial-gradient(800px 500px at 80% 20%, rgba(50, 205, 50, 0.18), transparent 55%),
    linear-gradient(180deg, #061525 0%, #0b3d7a 55%, #0d6a78 100%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.55), transparent 85%);
  pointer-events: none;
}

.hero-inner {
  width: 100%;
  padding: 4.5rem 0 5rem;
}

.hero-brand {
  margin: 0 0 1.75rem;
  animation: rise 0.8s ease both;
}

.hero-brand img {
  height: clamp(72px, 12vw, 110px);
  width: auto;
  max-width: min(480px, 90vw);
  object-fit: contain;
  filter: drop-shadow(0 12px 30px rgba(0, 0, 0, 0.35));
}

.hero h1 {
  margin: 0 0 1rem;
  max-width: 16ch;
  font-family: var(--font-display);
  font-size: clamp(2.15rem, 5.2vw, 3.6rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--white);
  animation: rise 0.9s ease 0.08s both;
}

.hero .lede {
  margin: 0 0 2rem;
  max-width: 38rem;
  color: rgba(232, 242, 255, 0.9);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  animation: rise 0.9s ease 0.16s both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  animation: rise 0.9s ease 0.24s both;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.85rem 1.25rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.98rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--lime) 0%, #2bb82b 100%);
  color: #053015 !important;
  box-shadow: 0 10px 28px rgba(50, 205, 50, 0.28);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white) !important;
  border-color: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(8px);
}

.btn-outline {
  background: var(--white);
  color: var(--blue) !important;
  border-color: rgba(11, 107, 203, 0.25);
  box-shadow: 0 8px 24px rgba(11, 107, 203, 0.1);
}

.btn-teal {
  background: linear-gradient(135deg, var(--blue) 0%, var(--teal) 100%);
  color: var(--white) !important;
  box-shadow: 0 10px 28px rgba(11, 107, 203, 0.22);
}

.page-hero {
  padding: 3.5rem 0 2rem;
}

.page-hero h1 {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.9rem);
  letter-spacing: -0.03em;
  color: var(--navy);
  line-height: 1.1;
}

.page-hero p {
  margin: 0;
  max-width: 40rem;
  color: var(--muted);
  font-size: 1.1rem;
}

/* ── Content blocks ──────────────────────────────────── */
.story-grid,
.values-grid,
.services-grid,
.benefit-grid,
.split-grid {
  display: grid;
  gap: 1.25rem;
}

.story-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.values-grid,
.services-grid,
.benefit-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.split-grid {
  grid-template-columns: 1.1fr 0.9fr;
  align-items: start;
  gap: 2rem;
}

.panel {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1.4rem;
  box-shadow: var(--shadow);
}

.panel h3 {
  margin: 0 0 0.55rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--navy);
  letter-spacing: -0.01em;
}

.panel p,
.panel li {
  color: var(--muted);
}

.panel p:last-child,
.rich-copy p:last-child {
  margin-bottom: 0;
}

.panel-accent {
  border-top: 3px solid var(--teal);
}

.panel-blue {
  border-top: 3px solid var(--blue);
}

.panel-lime {
  border-top: 3px solid var(--lime);
}

.rich-copy h2 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: 1.65rem;
  color: var(--navy);
}

.rich-copy p {
  color: var(--muted);
}

.rich-copy ul {
  margin: 0.5rem 0 0;
  padding-left: 1.15rem;
  color: var(--muted);
}

.rich-copy li + li {
  margin-top: 0.4rem;
}

.band {
  background:
    linear-gradient(135deg, rgba(11, 107, 203, 0.08), rgba(13, 138, 150, 0.1)),
    var(--white);
  border-block: 1px solid var(--line);
}

.cta-band {
  text-align: center;
}

.cta-band h2 {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  color: var(--navy);
}

.cta-band p {
  margin: 0 auto 1.4rem;
  max-width: 36rem;
  color: var(--muted);
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.checklist {
  list-style: none;
  margin: 0;
  padding: 0;
}

.checklist li {
  position: relative;
  padding: 0.55rem 0 0.55rem 1.7rem;
  color: var(--muted);
  border-bottom: 1px solid rgba(11, 107, 203, 0.08);
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.9rem;
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal), var(--lime));
  box-shadow: 0 0 0 3px rgba(13, 138, 150, 0.15);
}

/* ── Forms ───────────────────────────────────────────── */
.form {
  position: relative;
  display: grid;
  gap: 0.95rem;
}

.form-row {
  display: grid;
  gap: 0.95rem;
  grid-template-columns: 1fr 1fr;
}

label {
  display: grid;
  gap: 0.35rem;
  font-weight: 600;
  color: var(--navy);
  font-size: 0.92rem;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(11, 107, 203, 0.22);
  border-radius: 12px;
  padding: 0.75rem 0.9rem;
  font: inherit;
  color: var(--ink);
  background: var(--white);
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid rgba(13, 138, 150, 0.35);
  border-color: var(--teal);
}

textarea {
  min-height: 140px;
  resize: vertical;
}

.form-note {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
}

.form-status {
  display: none;
  margin: 0;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  background: rgba(50, 205, 50, 0.12);
  color: #146318;
  border: 1px solid rgba(50, 205, 50, 0.28);
  font-weight: 600;
}

.form-status.is-visible {
  display: block;
}

.form-error {
  margin: 0;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  background: rgba(180, 40, 40, 0.08);
  color: #8a1f1f;
  border: 1px solid rgba(180, 40, 40, 0.25);
  font-weight: 600;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-weight: 500;
  color: var(--muted);
}

.checkbox-label input {
  width: auto;
  margin-top: 0.25rem;
}

.hp-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.conversion-hero .hero-eyebrow {
  color: rgba(160, 240, 255, 0.95);
}

.audience-line {
  margin: 1.5rem 0 0;
  color: rgba(232, 242, 255, 0.72);
  font-size: 0.95rem;
  letter-spacing: 0.01em;
}

.steps-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.steps-grid.steps-5 {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.step-card {
  margin: 0;
}

.step-num {
  display: inline-block;
  margin-bottom: 0.55rem;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.faq-list {
  display: grid;
  gap: 0.75rem;
  max-width: 820px;
}

.faq-item {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.35rem 1rem;
  box-shadow: 0 8px 24px rgba(10, 40, 80, 0.06);
}

.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--navy);
  padding: 0.85rem 0;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  float: right;
  color: var(--teal);
  font-weight: 800;
}

.faq-item[open] summary::after {
  content: "–";
}

.faq-item p {
  margin: 0 0 1rem;
  color: var(--muted);
}

.contact-meta {
  display: grid;
  gap: 1rem;
}

.contact-meta strong {
  display: block;
  color: var(--navy);
  margin-bottom: 0.2rem;
}

.contact-meta span,
.contact-meta p {
  color: var(--muted);
  margin: 0;
}

/* ── Footer ──────────────────────────────────────────── */
.site-footer {
  margin-top: 2rem;
  background: linear-gradient(180deg, #071525 0%, #04101c 100%);
  color: rgba(232, 242, 255, 0.82);
  padding: 3rem 0 1.75rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 1.75rem;
  margin-bottom: 2rem;
}

.footer-brand img {
  height: 52px;
  width: auto;
  max-width: 220px;
  margin-bottom: 0.85rem;
  filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.35));
}

.footer-brand p {
  margin: 0;
  max-width: 28ch;
  color: rgba(232, 242, 255, 0.7);
  font-size: 0.95rem;
}

.footer-col h3 {
  margin: 0 0 0.75rem;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(232, 242, 255, 0.55);
}

.footer-col a {
  display: block;
  color: rgba(232, 242, 255, 0.86);
  padding: 0.28rem 0;
  font-weight: 500;
}

.footer-col a:hover {
  color: #7de0ff;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.88rem;
  color: rgba(232, 242, 255, 0.55);
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.1rem;
}

.footer-legal a {
  color: rgba(232, 242, 255, 0.7);
}

/* ── Motion ──────────────────────────────────────────── */
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

/* ── Responsive ──────────────────────────────────────── */
@media (max-width: 1100px) {
  .steps-grid,
  .steps-grid.steps-5 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 960px) {
  .story-grid,
  .values-grid,
  .services-grid,
  .benefit-grid,
  .split-grid,
  .footer-grid,
  .trust-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 760px) {
  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.75rem 1.25rem 1.1rem;
    background: rgba(245, 250, 253, 0.98);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(11, 107, 203, 0.08);
  }

  .site-nav .nav-cta {
    margin-top: 0.5rem;
    border-radius: 12px;
  }

  .hero {
    min-height: auto;
  }

  .hero-inner {
    padding: 3.25rem 0 3.75rem;
  }

  .story-grid,
  .values-grid,
  .services-grid,
  .benefit-grid,
  .split-grid,
  .footer-grid,
  .form-row,
  .trust-grid,
  .steps-grid,
  .steps-grid.steps-5 {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 3.25rem 0;
  }
}
)
