:root {
  --ink: #10282f;
  --muted: #58717a;
  --line: #d9e6e8;
  --paper: #ffffff;
  --wash: #f5faf9;
  --teal: #087a7f;
  --teal-dark: #063b45;
  --gold: #d8a13d;
  --coral: #d76650;
  --blue: #256a9b;
  --shadow: 0 24px 70px rgba(6, 59, 69, 0.16);
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

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

a {
  color: inherit;
  text-decoration: none;
}

p,
h1,
h2,
h3 {
  margin-top: 0;
}

.container {
  width: min(calc(100% - 40px), var(--max));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  transform: translateY(-150%);
  padding: 10px 14px;
  background: var(--teal-dark);
  color: white;
  border-radius: 6px;
}

.skip-link:focus {
  transform: translateY(0);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.86);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(16px);
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
}

.nav {
  width: min(calc(100% - 40px), var(--max));
  min-height: 74px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}

.brand strong {
  display: block;
  color: var(--teal-dark);
  font-size: 1.05rem;
  letter-spacing: 0;
  line-height: 1.1;
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.1;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 24px;
  color: #39545c;
  font-size: 0.94rem;
  font-weight: 700;
}

.nav-menu a {
  padding: 8px 0;
}

.nav-menu a:hover,
.text-link:hover,
.site-footer a:hover {
  color: var(--teal);
}

.nav-cta {
  padding: 10px 16px !important;
  border: 1px solid rgba(8, 122, 127, 0.28);
  border-radius: 999px;
  color: var(--teal-dark);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  color: var(--ink);
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 740px;
  padding: 86px 0 56px;
  background: #eef8f7;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(6, 59, 69, 0.92), rgba(8, 122, 127, 0.82) 54%, rgba(255, 255, 255, 0.04)),
    url("surgical-learning.svg") center right / min(820px, 74vw) no-repeat,
    #063b45;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 130px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), #fff);
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(330px, 0.95fr);
  align-items: center;
  gap: 64px;
}

.hero-copy {
  color: white;
  max-width: 720px;
}

.eyebrow {
  margin-bottom: 14px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1 {
  margin-bottom: 24px;
  font-size: clamp(2.8rem, 7vw, 5.9rem);
  line-height: 0.94;
  letter-spacing: 0;
}

.hero-lede {
  max-width: 650px;
  margin-bottom: 32px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
}

.hero-actions,
.store-row,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 13px 20px;
  border-radius: 8px;
  font-weight: 900;
  line-height: 1.1;
}

.button.primary {
  background: var(--gold);
  color: #1b241f;
  box-shadow: 0 14px 28px rgba(216, 161, 61, 0.25);
}

.button.secondary {
  border: 1px solid rgba(255, 255, 255, 0.42);
  color: white;
}

.button.secondary.light {
  border-color: rgba(255, 255, 255, 0.42);
}

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

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.trust-row span {
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.86rem;
  font-weight: 800;
}

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

.surgery-visual {
  position: absolute;
  width: min(600px, 92%);
  opacity: 0.48;
  filter: drop-shadow(0 28px 60px rgba(0, 0, 0, 0.2));
}

.phone-shell {
  position: relative;
  width: min(300px, 78vw);
  aspect-ratio: 9 / 18.4;
  padding: 16px;
  border: 10px solid #10282f;
  border-radius: 36px;
  background: #10282f;
  box-shadow: var(--shadow);
}

.phone-speaker {
  position: absolute;
  top: 12px;
  left: 50%;
  width: 76px;
  height: 5px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: #2f4c54;
  z-index: 1;
}

.app-screen {
  height: 100%;
  padding: 32px 16px 16px;
  border-radius: 24px;
  background: linear-gradient(180deg, #f8fffe, #e6f4f4);
  overflow: hidden;
}

.app-top,
.video-card,
.progress-card,
.module-list p {
  border: 1px solid rgba(8, 122, 127, 0.12);
  background: white;
  border-radius: 8px;
}

.app-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px;
  color: var(--teal-dark);
  font-weight: 900;
}

.app-top b {
  padding: 3px 8px;
  border-radius: 999px;
  background: #e5f5ef;
  color: #177a4f;
  font-size: 0.68rem;
}

.video-card {
  min-height: 128px;
  margin: 14px 0;
  padding: 14px;
  display: grid;
  align-content: end;
  background: linear-gradient(145deg, rgba(8, 122, 127, 0.95), rgba(37, 106, 155, 0.9));
  color: white;
}

.play-dot {
  width: 38px;
  height: 38px;
  margin-bottom: 20px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 10px rgba(255, 255, 255, 0.16);
}

.video-card small {
  color: rgba(255, 255, 255, 0.78);
}

.app-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.app-grid span {
  padding: 12px 8px;
  border-radius: 8px;
  background: #fff;
  color: var(--teal-dark);
  text-align: center;
  font-size: 0.8rem;
  font-weight: 900;
}

.progress-card {
  margin-top: 14px;
  padding: 14px;
}

.progress-card small {
  color: var(--muted);
}

.progress-card strong {
  float: right;
  color: var(--teal);
}

.progress-card div {
  clear: both;
  height: 8px;
  margin-top: 10px;
  border-radius: 999px;
  background: #dceced;
  overflow: hidden;
}

.progress-card span {
  display: block;
  height: 100%;
  background: var(--gold);
}

.module-list {
  margin-top: 14px;
}

.module-list p {
  margin: 0 0 8px;
  padding: 9px 10px;
  color: #37535b;
  font-size: 0.78rem;
  font-weight: 800;
}

.proof-band {
  padding: 16px 0 0;
  background: white;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  transform: translateY(-50px);
}

.proof-grid article {
  min-height: 126px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  box-shadow: 0 16px 45px rgba(16, 40, 47, 0.08);
}

.proof-grid strong {
  display: block;
  color: var(--teal-dark);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  line-height: 1;
}

.proof-grid span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-weight: 700;
}

.section {
  padding: 90px 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 38px;
}

.section-heading.compact {
  margin-bottom: 28px;
}

.section h2,
.cta-card h2 {
  color: var(--teal-dark);
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1.02;
  letter-spacing: 0;
  margin-bottom: 18px;
}

.section-heading p,
.split-grid > div > p,
.download-grid > div > p,
.cta-card p {
  color: var(--muted);
  font-size: 1.05rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.feature-card,
.audience-grid article,
.location-grid article,
.download-panel,
.faq-list details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
}

.feature-card {
  padding: 26px;
}

.icon {
  display: grid;
  width: 42px;
  height: 42px;
  margin-bottom: 22px;
  place-items: center;
  border-radius: 8px;
  background: #e8f5f4;
  color: var(--teal);
  font-weight: 950;
}

.feature-card h3,
.timeline h3,
.audience-grid h3,
.location-grid h3,
.download-panel h3 {
  color: var(--teal-dark);
  font-size: 1.08rem;
  line-height: 1.25;
}

.feature-card p,
.timeline p,
.audience-grid p,
.location-grid p,
.download-panel li,
.faq-list p,
.site-footer p {
  color: var(--muted);
}

.split-section,
.locations-section {
  background: var(--wash);
}

.split-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 52px;
  align-items: start;
}

.text-link {
  display: inline-flex;
  margin-top: 8px;
  color: var(--teal);
  font-weight: 900;
}

.text-link::after {
  content: " ->";
  margin-left: 6px;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.timeline article {
  min-height: 210px;
  padding: 24px;
  border-radius: var(--radius);
  background: white;
  box-shadow: 0 15px 45px rgba(8, 122, 127, 0.08);
}

.timeline span {
  display: inline-block;
  margin-bottom: 28px;
  color: var(--coral);
  font-weight: 950;
}

.audience-grid,
.location-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.audience-grid article,
.location-grid article {
  padding: 28px;
}

.download-section {
  color: white;
  background: linear-gradient(135deg, var(--teal-dark), #0a6c72 62%, #0f4f73);
}

.download-section .eyebrow,
.cta-card .eyebrow {
  color: #f1c568;
}

.download-section h2,
.download-section p {
  color: white;
}

.download-grid {
  display: grid;
  grid-template-columns: 1fr 0.82fr;
  gap: 44px;
  align-items: center;
}

.store-button {
  display: inline-flex;
  min-width: 176px;
  min-height: 58px;
  flex-direction: column;
  justify-content: center;
  padding: 10px 16px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
}

.store-button span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.75rem;
  font-weight: 800;
}

.store-button strong {
  color: white;
  font-size: 1.02rem;
}

.download-panel {
  padding: 30px;
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.24);
}

.download-panel h3 {
  color: white;
}

.download-panel ul {
  margin: 0;
  padding-left: 20px;
}

.download-panel li {
  color: rgba(255, 255, 255, 0.82);
  margin: 9px 0;
}

.faq-grid {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 42px;
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-list details {
  padding: 18px 20px;
}

.faq-list summary {
  cursor: pointer;
  color: var(--teal-dark);
  font-weight: 900;
}

.faq-list p {
  margin: 12px 0 0;
}

.cta-section {
  padding: 34px 0 96px;
}

.cta-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
  padding: clamp(28px, 5vw, 48px);
  border-radius: var(--radius);
  color: white;
  background: linear-gradient(135deg, #12323a, #0b6f75);
  box-shadow: var(--shadow);
}

.cta-card h2,
.cta-card p {
  color: white;
}

.site-footer {
  padding: 54px 0 28px;
  background: #071f25;
  color: white;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.6fr 0.8fr;
  gap: 34px;
}

.footer-brand strong {
  color: white;
}

.footer-brand small,
.site-footer p,
.site-footer a {
  color: rgba(255, 255, 255, 0.72);
}

.site-footer h2 {
  margin: 0 0 12px;
  font-size: 0.86rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-footer a {
  display: block;
  margin: 6px 0;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 34px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.92rem;
}

@media (max-width: 980px) {
  .nav-toggle {
    display: block;
  }

  .nav-menu {
    position: absolute;
    top: 74px;
    left: 20px;
    right: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: white;
    box-shadow: 0 20px 50px rgba(16, 40, 47, 0.12);
  }

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

  .nav-menu a {
    padding: 12px;
  }

  .nav-cta {
    border-radius: 8px;
  }

  .hero {
    padding-top: 64px;
  }

  .hero-grid,
  .split-grid,
  .download-grid,
  .faq-grid,
  .cta-card {
    grid-template-columns: 1fr;
  }

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

  .feature-grid,
  .proof-grid,
  .audience-grid,
  .location-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .proof-grid {
    transform: none;
  }

  .cta-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .container,
  .nav {
    width: min(calc(100% - 28px), var(--max));
  }

  .hero {
    min-height: auto;
    padding-bottom: 40px;
  }

  .hero-grid {
    gap: 24px;
  }

  .hero h1 {
    font-size: clamp(2.65rem, 13vw, 4.4rem);
  }

  .hero-actions .button,
  .cta-actions .button,
  .store-button {
    width: 100%;
  }

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

  .phone-shell {
    width: min(260px, 84vw);
  }

  .section {
    padding: 64px 0;
  }

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

  .footer-bottom {
    flex-direction: column;
  }
}
