:root {
  --navy: #0e2238;
  --navy-2: #1a3350;
  --green: #2a9d6f;
  --green-dark: #1f7f59;
  --green-soft: #e6f4ee;
  --cream: #f7f4ee;
  --ink: #1b2a3a;
  --muted: #5b6b7c;
  --line: #e4e8ed;
  --white: #ffffff;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(14, 34, 56, 0.06), 0 2px 8px rgba(14, 34, 56, 0.05);
  --shadow-lg: 0 24px 60px -20px rgba(14, 34, 56, 0.35), 0 8px 24px -12px rgba(14, 34, 56, 0.2);
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-head: 'Plus Jakarta Sans', var(--font-body);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a {
  color: inherit;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-head);
  color: var(--navy);
  line-height: 1.15;
  margin: 0 0 0.5em;
  letter-spacing: -0.02em;
}

p {
  margin: 0 0 1em;
}

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 8px;
  background: var(--navy);
  color: var(--white);
  padding: 8px 14px;
  border-radius: 8px;
  z-index: 100;
}
.skip-link:focus {
  left: 8px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  border: 1.5px solid transparent;
  transition: transform 0.15s ease, background 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}
.btn:hover {
  transform: translateY(-1px);
}
.btn:focus-visible,
.site-nav a:focus-visible,
.nav-toggle:focus-visible {
  outline: 3px solid rgba(42, 157, 111, 0.45);
  outline-offset: 2px;
}
.btn-primary {
  background: var(--green);
  color: var(--white);
  box-shadow: 0 8px 20px -8px rgba(42, 157, 111, 0.7);
}
.btn-primary:hover {
  background: var(--green-dark);
}
.btn-ghost {
  color: var(--navy);
  border-color: var(--line);
  background: var(--white);
}
.btn-ghost:hover {
  border-color: var(--navy);
}
.btn-light {
  background: var(--white);
  color: var(--navy);
}
.btn-sm {
  padding: 10px 18px;
  font-size: 15px;
}

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green-dark);
  margin-bottom: 14px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.site-header.scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 4px 20px -12px rgba(14, 34, 56, 0.2);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.brand img {
  height: 40px;
  width: auto;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}
.site-nav a:not(.btn) {
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  color: var(--muted);
  transition: color 0.15s ease;
}
.site-nav a:not(.btn):hover {
  color: var(--navy);
}
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 10px;
  border-radius: 10px;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--navy);
  margin: 5px 0;
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded='true'] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded='true'] span:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded='true'] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Hero */
.hero {
  position: relative;
  padding: 72px 0 96px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(800px 420px at 85% 10%, rgba(42, 157, 111, 0.14), transparent 60%),
    radial-gradient(700px 500px at 0% 100%, rgba(14, 34, 56, 0.07), transparent 60%),
    linear-gradient(180deg, var(--white), var(--cream));
  z-index: -1;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(40px, 5.6vw, 64px);
  font-weight: 800;
  letter-spacing: -0.035em;
}
.accent {
  color: var(--green);
}
.lede {
  font-size: 19px;
  color: var(--muted);
  max-width: 34em;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0;
}
.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 15px;
  font-weight: 500;
  color: var(--navy-2);
}
.hero-points li::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  margin-right: 8px;
  vertical-align: middle;
}

/* Product mock */
.hero-visual {
  position: relative;
  padding: 24px 12px;
}
.mock {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
  overflow: hidden;
  transform: perspective(1400px) rotateY(-6deg) rotateX(2deg);
  transition: transform 0.4s ease;
}
.hero-visual:hover .mock {
  transform: perspective(1400px) rotateY(0) rotateX(0);
}
.mock-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  background: #f5f7f9;
  border-bottom: 1px solid var(--line);
}
.mock-bar .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #d9dee4;
}
.mock-url {
  margin-left: 12px;
  font-size: 12px;
  color: var(--muted);
  background: var(--white);
  padding: 3px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
}
.mock-body {
  padding: 20px;
}
.mock-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}
.mock-title {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--navy);
  font-size: 17px;
}
.mock-sub {
  font-size: 13px;
  color: var(--muted);
}
.presence {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 500;
  color: var(--navy-2);
  background: var(--green-soft);
  padding: 4px 10px 4px 4px;
  border-radius: 999px;
  white-space: nowrap;
}
.avatar {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--green);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
}
.mock-tabs {
  display: flex;
  gap: 6px;
  margin: 16px 0 14px;
}
.tab {
  font-size: 12px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 8px;
  color: var(--muted);
  background: #f2f4f7;
}
.tab.active {
  background: var(--navy);
  color: var(--white);
}
.scribe {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  border-radius: 12px;
  background: linear-gradient(90deg, #0e2238, #1a3350);
  color: var(--white);
}
.rec {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}
.rec-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ff5a5f;
  animation: pulse 1.4s ease-in-out infinite;
}
.wave {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 3px;
  height: 24px;
}
.wave i {
  flex: 1;
  background: var(--green);
  border-radius: 2px;
  height: 30%;
  animation: wave 1.1s ease-in-out infinite;
}
.wave i:nth-child(3n) { animation-delay: -0.2s; }
.wave i:nth-child(3n + 1) { animation-delay: -0.5s; }
.wave i:nth-child(4n) { animation-delay: -0.8s; }
.wave i:nth-child(5n) { animation-delay: -0.35s; }
.time {
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  opacity: 0.8;
}
.soap {
  margin-top: 14px;
  display: grid;
  gap: 10px;
}
.soap-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
}
.soap-row b {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: var(--green-soft);
  color: var(--green-dark);
  font-size: 12px;
}
.line {
  height: 8px;
  border-radius: 4px;
  background: #e9edf1;
}
.w90 { width: 70%; }
.w80 { width: 60%; }
.w70 { width: 45%; margin-left: 30px; }
.chip {
  font-size: 12px;
  font-weight: 500;
  padding: 3px 9px;
  border-radius: 6px;
  background: #f2f4f7;
  color: var(--navy-2);
}
.suggest {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 500;
  padding: 4px 6px 4px 10px;
  border-radius: 8px;
  border: 1px dashed rgba(42, 157, 111, 0.6);
  color: var(--navy-2);
}
.suggest em {
  font-style: normal;
  font-size: 11px;
  font-weight: 600;
  color: var(--white);
  background: var(--green);
  padding: 2px 7px;
  border-radius: 5px;
}
.float-card {
  position: absolute;
  background: var(--white);
  border-radius: 14px;
  padding: 12px 16px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
  animation: float 6s ease-in-out infinite;
}
.fc-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
}
.fc-value {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--navy);
  font-size: 15px;
}
.check {
  color: var(--green);
}
.float-a {
  left: -18px;
  bottom: -22px;
}
.float-b {
  right: -10px;
  top: -4px;
  animation-delay: -3s;
}

@keyframes wave {
  0%, 100% { height: 25%; }
  50% { height: 100%; }
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* Sections */
.section {
  padding: 104px 0;
}
.section-tint {
  background: var(--cream);
}
.section-head {
  max-width: 720px;
  margin: 0 auto 56px;
  text-align: center;
}
.section-head h2,
.split-copy h2,
.cta h2 {
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 800;
}
.section-head p:last-child {
  color: var(--muted);
  font-size: 18px;
}

/* Flow */
.flow {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  position: relative;
}
.flow::before {
  content: '';
  position: absolute;
  top: 22px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(90deg, var(--green), rgba(42, 157, 111, 0.15));
  z-index: 0;
}
.flow-step {
  position: relative;
  z-index: 1;
}
.step-num {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 700;
  margin-bottom: 18px;
  box-shadow: 0 0 0 6px var(--white);
}
.flow-step h3 {
  font-size: 18px;
}
.flow-step p {
  font-size: 15px;
  color: var(--muted);
}
.workflow-extras {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 28px;
  border-radius: var(--radius-lg);
  background: var(--navy);
  color: rgba(255, 255, 255, 0.78);
}
.extra {
  padding: 4px 8px;
}
.extra h4 {
  color: var(--white);
  font-size: 17px;
  margin-bottom: 6px;
}
.extra h4::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  margin-right: 10px;
  vertical-align: middle;
}
.extra p {
  font-size: 15px;
  margin: 0;
}

/* Grid */
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--green-soft);
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}
.icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: var(--green-dark);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.card h3 {
  font-size: 19px;
}
.card p {
  color: var(--muted);
  font-size: 15.5px;
  margin: 0;
}

/* Split */
.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: center;
}
.split-copy > p {
  color: var(--muted);
  font-size: 18px;
}
.checklist {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: grid;
  gap: 14px;
}
.checklist li {
  position: relative;
  padding-left: 36px;
  color: var(--muted);
}
.checklist li strong {
  color: var(--navy);
}
.checklist li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 2px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--green-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f7f59' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E") center / 13px no-repeat;
}

/* Phone */
.split-visual {
  display: flex;
  justify-content: center;
  position: relative;
}
.split-visual::before {
  content: '';
  position: absolute;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(42, 157, 111, 0.22), transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.phone {
  position: relative;
  width: 300px;
  border-radius: 44px;
  background: var(--navy);
  padding: 12px;
  box-shadow: var(--shadow-lg);
}
.phone-notch {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 22px;
  border-radius: 12px;
  background: var(--navy);
  z-index: 2;
}
.phone-screen {
  background: var(--cream);
  border-radius: 34px;
  padding: 52px 18px 22px;
  min-height: 560px;
}
.p-greet {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 20px;
  color: var(--navy);
  margin-bottom: 14px;
}
.p-pet {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--white);
  border-radius: 16px;
  padding: 12px;
  box-shadow: var(--shadow-sm);
}
.p-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--navy);
  color: var(--white);
  font-weight: 700;
}
.p-name {
  font-weight: 600;
  color: var(--navy);
}
.p-meta {
  font-size: 12px;
  color: var(--muted);
}
.p-badge {
  margin-left: auto;
  font-size: 11px;
  font-weight: 600;
  color: var(--green-dark);
  background: var(--green-soft);
  padding: 3px 9px;
  border-radius: 999px;
}
.p-section {
  margin: 20px 0 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.p-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--white);
  border-radius: 12px;
  padding: 11px 12px;
  margin-bottom: 8px;
  font-size: 14px;
  color: var(--navy);
}
.p-due {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 999px;
}
.p-due.ok { background: var(--green-soft); color: var(--green-dark); }
.p-due.soon { background: #fff4e0; color: #9a6400; }
.p-due.late { background: #fde8e8; color: #b42318; }
.p-cta {
  margin-top: 18px;
  text-align: center;
  background: var(--green);
  color: var(--white);
  font-weight: 600;
  padding: 13px;
  border-radius: 14px;
  font-size: 15px;
}
.p-row {
  display: flex;
  gap: 6px;
  margin-top: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.p-pill {
  font-size: 12px;
  font-weight: 500;
  padding: 6px 10px;
  background: var(--white);
  border-radius: 999px;
  color: var(--navy-2);
  border: 1px solid var(--line);
}

/* CTA */
.cta {
  padding: 0 0 104px;
}
.cta-inner {
  text-align: center;
  padding: 72px 32px;
  border-radius: 32px;
  background:
    radial-gradient(600px 300px at 90% 0%, rgba(42, 157, 111, 0.45), transparent 60%),
    radial-gradient(500px 300px at 0% 100%, rgba(42, 157, 111, 0.25), transparent 60%),
    var(--navy);
  color: rgba(255, 255, 255, 0.82);
}
.cta h2 {
  color: var(--white);
}
.cta p {
  font-size: 18px;
  max-width: 34em;
  margin: 0 auto 28px;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 48px 0 32px;
  background: var(--white);
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  flex-wrap: wrap;
}
.footer-brand img {
  height: 34px;
  width: auto;
  margin-bottom: 10px;
}
.footer-brand p {
  color: var(--muted);
  font-size: 15px;
  margin: 0;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
}
.footer-nav a {
  text-decoration: none;
  color: var(--muted);
  font-size: 15px;
  font-weight: 500;
}
.footer-nav a:hover {
  color: var(--navy);
}
.footer-legal {
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 24px;
  font-size: 14px;
  color: var(--muted);
}
.footer-legal p {
  margin: 0;
}

/* Reveal */
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.js .reveal.in {
  opacity: 1;
  transform: none;
}

/* Responsive */
@media (max-width: 1024px) {
  .flow {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px 28px;
  }
  .flow::before {
    display: none;
  }
  .grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 880px) {
  body {
    font-size: 16px;
  }
  .nav-toggle {
    display: block;
  }
  .site-nav {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 24px 24px;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 30px -20px rgba(14, 34, 56, 0.25);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  }
  .site-nav.open {
    transform: none;
    opacity: 1;
    visibility: visible;
  }
  .site-nav a:not(.btn) {
    padding: 14px 0;
    font-size: 17px;
    border-bottom: 1px solid var(--line);
  }
  .site-nav .btn {
    margin-top: 16px;
    justify-content: center;
  }
  .brand img {
    height: 34px;
  }

  .hero {
    padding: 48px 0 72px;
  }
  .hero-inner,
  .split {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .mock {
    transform: none;
  }
  .split-visual {
    order: -1;
  }
  .section {
    padding: 72px 0;
  }
  .section-head {
    margin-bottom: 40px;
  }
  .workflow-extras {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .cta {
    padding-bottom: 72px;
  }
  .cta-inner {
    padding: 56px 24px;
    border-radius: 24px;
  }
}

@media (max-width: 600px) {
  .container {
    padding: 0 20px;
  }
  .flow,
  .grid {
    grid-template-columns: 1fr;
  }
  .flow-step {
    display: grid;
    grid-template-columns: 44px 1fr;
    column-gap: 16px;
  }
  .flow-step .step-num {
    grid-row: span 2;
    margin: 0;
  }
  .hero-actions .btn {
    flex: 1 1 100%;
    justify-content: center;
  }
  .lede {
    font-size: 17px;
  }
  .hero-visual {
    padding: 28px 0 20px;
  }
  .float-a {
    left: 4px;
    bottom: -30px;
  }
  .float-b {
    right: 4px;
    top: 0;
  }
  .mock-head {
    flex-direction: column;
  }
  .mock-body {
    padding: 16px;
  }
  .card {
    padding: 24px;
  }
  .phone {
    width: 280px;
  }
  .phone-screen {
    min-height: 0;
  }
  .footer-legal {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  .js .reveal {
    opacity: 1;
    transform: none;
  }
}
