/* Axis Health — Healthcare & Insurance Information */
:root {
  --ink: #15243a;
  --ink-soft: #51657a;
  --teal: #1e5aab;
  --teal-deep: #15427f;
  --teal-bright: #2f74d0;
  --mint: #eaf1fb;
  --mint-deep: #d5e3f5;
  --sky: #3d7ec4;
  --paper: #f1f4f8;
  --white: #ffffff;
  --line: #d5dde8;
  --warn-bg: #fff4e8;
  --warn-ink: #7a4316;
  --success: #1a7a4c;
  --danger: #b42318;
  --shadow: 0 18px 50px rgba(21, 36, 58, 0.09);
  --radius: 18px;
  --radius-sm: 12px;
  --max: 1120px;
  --font-display: "Space Grotesk", system-ui, sans-serif;
  --font-body: "Lexend", system-ui, 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 8% -8%, rgba(47, 116, 208, 0.16), transparent 55%),
    radial-gradient(900px 500px at 100% 0%, rgba(21, 66, 127, 0.10), transparent 50%),
    linear-gradient(180deg, #e8eef7 0%, var(--paper) 28%, #f7f9fc 100%);
  min-height: 100vh;
  line-height: 1.6;
}

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

a {
  color: var(--teal);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

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

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(243, 247, 248, 0.86);
  border-bottom: 1px solid rgba(213, 227, 230, 0.8);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--ink);
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(145deg, var(--teal-bright), var(--teal-deep));
  color: white;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.04em;
  box-shadow: 0 8px 20px rgba(30, 90, 171, 0.28);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-text strong {
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: -0.03em;
}

.brand-text span {
  font-size: 0.72rem;
  color: var(--ink-soft);
}

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

.nav-links a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--teal-deep);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  background: var(--teal);
  color: white !important;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  font-size: 0.88rem !important;
}

.nav-cta:hover {
  background: var(--teal-deep);
  color: white !important;
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: none;
  border-radius: 999px;
  padding: 0.9rem 1.35rem;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--teal-bright), var(--teal-deep));
  color: white;
  box-shadow: 0 12px 28px rgba(30, 90, 171, 0.28);
}

.btn-primary:hover {
  color: white;
}

.btn-secondary {
  background: white;
  color: var(--ink);
  border: 1px solid var(--line);
}

.btn-secondary:hover {
  color: var(--ink);
  border-color: #b8ced3;
}

.btn-block {
  width: 100%;
}

/* Hero */
.hero {
  padding: 3.2rem 0 2.4rem;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.5rem;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(30, 90, 171, 0.1);
  color: var(--teal-deep);
  border: 1px solid rgba(30, 90, 171, 0.16);
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin: 0 0 0.75rem;
}

h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.5rem);
  color: var(--ink);
  max-width: 14ch;
}

h2 {
  font-size: clamp(1.7rem, 3vw, 2.35rem);
}

h3 {
  font-size: 1.2rem;
}

.lead {
  font-size: 1.05rem;
  color: var(--ink-soft);
  max-width: 48ch;
  margin: 0 0 1rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.phone-stage {
  position: relative;
  min-height: 420px;
  display: grid;
  place-items: center;
}

.phone {
  width: min(100%, 290px);
  background: linear-gradient(160deg, #1a3358, #12243d);
  border-radius: 36px;
  padding: 1rem 0.9rem 1.2rem;
  box-shadow: var(--shadow), 0 0 0 1px rgba(255, 255, 255, 0.08);
  color: white;
  animation: floaty 6s ease-in-out infinite;
}

.phone-notch {
  width: 42%;
  height: 18px;
  margin: 0 auto 0.9rem;
  background: #0b1628;
  border-radius: 999px;
}

.msg {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 0.85rem;
  margin-bottom: 0.7rem;
  backdrop-filter: blur(8px);
}

.msg strong {
  display: block;
  font-size: 0.82rem;
  margin-bottom: 0.25rem;
}

.msg p {
  margin: 0;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.45;
}

.msg:nth-child(2) {
  animation: rise-in 0.7s ease both 0.15s;
}

.msg:nth-child(3) {
  animation: rise-in 0.7s ease both 0.35s;
}

.msg:nth-child(4) {
  animation: rise-in 0.7s ease both 0.55s;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  z-index: -1;
}

.orb-a {
  width: 220px;
  height: 220px;
  background: rgba(47, 116, 208, 0.22);
  top: 10%;
  right: 8%;
  animation: pulse 7s ease-in-out infinite;
}

.orb-b {
  width: 140px;
  height: 140px;
  background: rgba(21, 66, 127, 0.18);
  bottom: 12%;
  left: 8%;
  animation: pulse 8s ease-in-out infinite reverse;
}

/* Disclaimer */
.disclaimer {
  background: var(--warn-bg);
  color: var(--warn-ink);
  border-block: 1px solid #f0d7b8;
  padding: 0.85rem 0;
  font-size: 0.9rem;
}

.disclaimer strong {
  font-weight: 700;
}

/* Sections */
.section {
  padding: 4rem 0;
}

.section-alt {
  background: rgba(255, 255, 255, 0.55);
  border-block: 1px solid rgba(213, 227, 230, 0.7);
}

.section-head {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 2.4rem;
}

.section-head p {
  color: var(--ink-soft);
  margin: 0;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}

.step,
.topic,
.info-panel,
.faq-item,
.legal-card,
.sample {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem;
  box-shadow: 0 8px 24px rgba(16, 42, 60, 0.03);
}

.step-num {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--mint);
  color: var(--teal-deep);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  margin-bottom: 0.9rem;
}

.step p,
.topic p,
.info-panel p,
.faq-item p,
.sample p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.topics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.topic h3 {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.topic-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--mint);
  color: var(--teal);
  display: grid;
  place-items: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.2rem;
}

.info-panel ul {
  margin: 0.75rem 0 0;
  padding-left: 1.1rem;
  color: var(--ink-soft);
}

.info-panel.notice {
  background: linear-gradient(160deg, #fff, var(--mint));
  border-color: var(--mint-deep);
}

.samples {
  display: grid;
  gap: 0.8rem;
}

.sample {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.9rem;
  align-items: start;
}

.sample-tag {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--teal);
  background: var(--mint);
  padding: 0.35rem 0.55rem;
  border-radius: 8px;
  white-space: nowrap;
}

.faq-list {
  display: grid;
  gap: 0.85rem;
  max-width: 820px;
  margin: 0 auto;
}

.faq-item h3 {
  margin-bottom: 0.4rem;
}

/* Forms */
.form-shell {
  max-width: 640px;
  margin: 0 auto;
  background: white;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  padding: 1.6rem;
  box-shadow: var(--shadow);
}

.form-shell h2,
.form-shell h1 {
  max-width: none;
}

.form-note {
  color: var(--ink-soft);
  font-size: 0.95rem;
  margin-bottom: 1.2rem;
}

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

.field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.field.full {
  grid-column: 1 / -1;
}

label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink);
}

input,
select,
textarea {
  font: inherit;
  padding: 0.8rem 0.9rem;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fbfefe;
  color: var(--ink);
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid rgba(30, 90, 171, 0.25);
  border-color: var(--teal);
}

.consent-box {
  grid-column: 1 / -1;
  background: var(--mint);
  border: 1px solid var(--mint-deep);
  border-radius: var(--radius-sm);
  padding: 1rem;
  font-size: 0.88rem;
  color: var(--ink-soft);
}

.consent-box p {
  margin: 0 0 0.7rem;
}

.consent-check {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.85rem;
  margin-top: 0.8rem;
}

.consent-check input {
  width: 18px;
  height: 18px;
  margin-top: 0.15rem;
  flex-shrink: 0;
  accent-color: var(--teal);
}

.consent-check label {
  font-weight: 500;
  font-size: 0.86rem;
  line-height: 1.5;
  color: var(--ink-soft);
}

.fine-print {
  font-size: 0.8rem;
  color: var(--ink-soft);
  margin: 0.9rem 0 0;
}

.form-error {
  color: var(--danger);
  font-size: 0.88rem;
  margin: 0.5rem 0 0;
  display: none;
}

.form-error.show {
  display: block;
}

.success-panel {
  display: none;
  text-align: center;
  padding: 1.5rem 0.5rem;
}

.success-panel.show {
  display: block;
}

.success-panel .check {
  width: 58px;
  height: 58px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: #e8f7ef;
  color: var(--success);
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  font-weight: 700;
}

/* Page hero for inner pages */
.page-hero {
  padding: 2.6rem 0 1.2rem;
}

.page-hero h1 {
  max-width: 18ch;
}

.legal-content {
  max-width: 800px;
  margin: 0 auto;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.8rem;
  box-shadow: 0 8px 24px rgba(16, 42, 60, 0.03);
}

.legal-content h2 {
  font-size: 1.25rem;
  margin-top: 1.6rem;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content p,
.legal-content li {
  color: var(--ink-soft);
}

.legal-content ul {
  padding-left: 1.2rem;
}

.meta-line {
  color: var(--ink-soft);
  font-size: 0.9rem;
  margin-bottom: 1.2rem;
}

.back-link {
  display: inline-flex;
  margin-bottom: 1rem;
  font-weight: 600;
  text-decoration: none;
}

/* Contact / about blocks */
.cards-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

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

.soft-list li {
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
}

.soft-list li:last-child {
  border-bottom: none;
}

/* Footer */
.site-footer {
  margin-top: 2rem;
  background: #12243d;
  color: rgba(255, 255, 255, 0.82);
  padding: 3rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.2fr;
  gap: 1.5rem;
}

.site-footer h4 {
  color: white;
  margin-bottom: 0.8rem;
  font-size: 0.95rem;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  display: block;
  margin-bottom: 0.45rem;
  font-size: 0.9rem;
}

.site-footer a:hover {
  color: white;
}

.footer-brand {
  display: flex;
  gap: 0.7rem;
  align-items: center;
  margin-bottom: 0.8rem;
}

.footer-brand .brand-mark {
  width: 36px;
  height: 36px;
  font-size: 0.85rem;
}

.footer-note {
  font-size: 0.82rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.65);
}

.footer-bottom {
  margin-top: 2rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.55);
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.2rem;
  justify-content: space-between;
}

/* Animations */
@keyframes floaty {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.8;
  }
  50% {
    transform: scale(1.08);
    opacity: 1;
  }
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Mobile */
@media (max-width: 900px) {
  .hero-grid,
  .steps,
  .topics,
  .split,
  .cards-2,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid var(--line);
    padding: 1rem;
    flex-direction: column;
    align-items: stretch;
    gap: 0.65rem;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-cta {
    justify-content: center;
  }

  h1 {
    max-width: none;
  }

  .phone-stage {
    min-height: 360px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .sample {
    grid-template-columns: 1fr;
  }
}
