:root {
  --bg0: #f6fbff;
  --bg1: #eef7ff;
  --ink: #0b1722;
  --muted: #4b5a6a;
  --card: rgba(255, 255, 255, 0.76);
  --stroke: rgba(12, 35, 55, 0.14);
  --shadow: 0 18px 50px rgba(15, 35, 55, 0.12);

  --accent: #0d7c9e;
  --accent2: #18a7a1;
  --accentInk: #06212a;

  --radius: 18px;
  --radius2: 14px;

  --container: 1100px;

  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", serif;
  --sans: "Avenir Next", Avenir, "Segoe UI", Tahoma, sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  color: var(--ink);
  background: linear-gradient(180deg, var(--bg1), var(--bg0));
  font-family: var(--sans);
  line-height: 1.5;
}

body::before {
  content: "";
  position: fixed;
  inset: -20vh -10vw auto -10vw;
  height: 70vh;
  background:
    radial-gradient(closest-side at 25% 35%, rgba(24, 167, 161, 0.14), transparent 60%),
    radial-gradient(closest-side at 70% 20%, rgba(13, 124, 158, 0.12), transparent 55%),
    radial-gradient(closest-side at 55% 70%, rgba(11, 23, 34, 0.05), transparent 60%);
  pointer-events: none;
  z-index: -1;
}

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

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 18px;
}

.skip {
  position: absolute;
  left: -999px;
  top: 10px;
  background: #fff;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--stroke);
}

.skip:focus {
  left: 12px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(246, 251, 255, 0.72);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(12, 35, 55, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: #ffffff;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  box-shadow: 0 12px 24px rgba(13, 124, 158, 0.22);
}

.brand-text {
  font-family: var(--serif);
  font-weight: 700;
  letter-spacing: 0.2px;
  white-space: nowrap;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 14px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  letter-spacing: 0.3px;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease, border-color 160ms ease;
  user-select: none;
  will-change: transform;
}

.btn:focus-visible {
  outline: 3px solid rgba(24, 167, 161, 0.28);
  outline-offset: 2px;
}

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

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #ffffff;
  box-shadow: 0 18px 35px rgba(13, 124, 158, 0.25);
}

.btn-primary:hover {
  box-shadow: 0 22px 45px rgba(13, 124, 158, 0.32);
}

.btn-soft {
  background: rgba(255, 255, 255, 0.75);
  border-color: rgba(12, 35, 55, 0.14);
  box-shadow: 0 10px 25px rgba(15, 35, 55, 0.08);
}

.btn-ghost {
  background: transparent;
  border-color: rgba(12, 35, 55, 0.14);
}

.hero {
  padding: 34px 0 14px;
}

.hero-inner {
  display: grid;
  gap: 18px;
  align-items: start;
}

.kicker {
  margin: 0 0 10px;
  color: var(--muted);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.2px;
}

h1 {
  font-family: var(--serif);
  margin: 0 0 10px;
  font-size: 2.05rem;
  line-height: 1.08;
  letter-spacing: -0.3px;
}

.lead {
  margin: 0;
  color: var(--muted);
  max-width: 52ch;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.trust {
  margin: 12px 0 0;
  color: rgba(75, 90, 106, 0.9);
  font-size: 0.95rem;
}

.hero-copy {
  padding-top: 6px;
  animation: rise 650ms ease both;
}

.hero-card {
  border-radius: var(--radius);
  border: 1px solid rgba(12, 35, 55, 0.14);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.66));
  box-shadow: var(--shadow);
  padding: 16px;
  overflow: hidden;
  animation: floatIn 750ms ease both;
  animation-delay: 120ms;
}

.hero-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.pulse {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: rgba(24, 167, 161, 1);
  box-shadow: 0 0 0 0 rgba(24, 167, 161, 0.45);
  animation: pulse 1.8s ease infinite;
}

.hero-card-title {
  font-weight: 800;
  color: rgba(11, 23, 34, 0.82);
  letter-spacing: 0.2px;
}

.hero-card-body {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.slot {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 12px;
  border-radius: 14px;
  background: rgba(246, 251, 255, 0.7);
  border: 1px solid rgba(12, 35, 55, 0.10);
}

.slot-day {
  font-weight: 800;
}

.slot-time {
  font-variant-numeric: tabular-nums;
  font-weight: 900;
  color: var(--accentInk);
}

.hero-card-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.pill {
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(12, 35, 55, 0.12);
  background: rgba(255, 255, 255, 0.62);
  font-size: 0.85rem;
  font-weight: 800;
  color: rgba(11, 23, 34, 0.8);
}

.section {
  padding: 26px 0;
}

.section-alt {
  padding: 30px 0 40px;
}

.section-head {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
}

h2 {
  margin: 0;
  font-family: var(--serif);
  letter-spacing: -0.2px;
  font-size: 1.45rem;
}

.section-sub {
  margin: 0;
  color: var(--muted);
  max-width: 64ch;
}

.grid-3 {
  display: grid;
  gap: 12px;
}

.card {
  border-radius: var(--radius);
  border: 1px solid rgba(12, 35, 55, 0.14);
  background: var(--card);
  box-shadow: 0 10px 30px rgba(15, 35, 55, 0.08);
  padding: 16px;
  backdrop-filter: blur(8px);
  animation: rise 650ms ease both;
}

.card:nth-child(1) {
  animation-delay: 60ms;
}

.card:nth-child(2) {
  animation-delay: 120ms;
}

.card:nth-child(3) {
  animation-delay: 180ms;
}

.card-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: var(--accentInk);
  background: linear-gradient(135deg, rgba(24, 167, 161, 0.22), rgba(13, 124, 158, 0.14));
  border: 1px solid rgba(12, 35, 55, 0.10);
  margin-bottom: 10px;
}

.card h3 {
  margin: 0 0 6px;
  font-size: 1.05rem;
  letter-spacing: -0.1px;
}

.card p {
  margin: 0;
  color: var(--muted);
}

.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}

.step {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 12px;
  align-items: start;
  border-radius: var(--radius);
  border: 1px solid rgba(12, 35, 55, 0.14);
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 10px 30px rgba(15, 35, 55, 0.07);
  padding: 14px;
  backdrop-filter: blur(8px);
  animation: rise 650ms ease both;
}

.step:nth-child(1) {
  animation-delay: 70ms;
}

.step:nth-child(2) {
  animation-delay: 140ms;
}

.step:nth-child(3) {
  animation-delay: 210ms;
}

.step-number {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-weight: 900;
  color: #ffffff;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  box-shadow: 0 14px 28px rgba(13, 124, 158, 0.22);
}

.step-body h3 {
  margin: 2px 0 6px;
  font-size: 1.05rem;
}

.step-body p {
  margin: 0;
  color: var(--muted);
}

.center {
  display: grid;
  place-items: center;
  margin-top: 16px;
}

.site-footer {
  border-top: 1px solid rgba(12, 35, 55, 0.10);
  padding: 24px 0 38px;
  background: rgba(246, 251, 255, 0.55);
}

.footer-inner {
  display: grid;
  gap: 14px;
}

.footer-title {
  font-weight: 900;
  letter-spacing: 0.2px;
}

.footer-text {
  margin: 6px 0 0;
  color: var(--muted);
}

.footer-cta {
  display: grid;
  justify-items: start;
  gap: 8px;
}

.footer-note {
  margin: 0;
  color: rgba(75, 90, 106, 0.85);
  font-size: 0.95rem;
}

@media (min-width: 820px) {
  .hero {
    padding: 56px 0 18px;
  }

  .hero-inner {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    gap: 24px;
  }

  h1 {
    font-size: 2.6rem;
  }

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

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

  .step {
    grid-template-columns: 44px 1fr;
    padding: 16px;
  }

  .footer-inner {
    grid-template-columns: 1fr auto;
    align-items: center;
  }

  .footer-cta {
    justify-items: end;
    text-align: right;
  }
}

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

  .pulse {
    animation: none !important;
  }
}

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

@keyframes floatIn {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(24, 167, 161, 0.45);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(24, 167, 161, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(24, 167, 161, 0);
  }
}
