:root {
  --ink: #171533;
  --ink-2: #232044;
  --navy: #203d63;
  --navy-light: #eaf0f7;
  --plum: #35164f;
  --plum-soft: #f1eafa;
  --teal: #008c82;
  --teal-dark: #006e68;
  --teal-soft: #def5f1;
  --coral: #e76755;
  --coral-dark: #bd493c;
  --coral-soft: #fee8e3;
  --gold: #d89316;
  --gold-soft: #fff0c9;
  --rust: #a94f3d;
  --paper: #fffaf3;
  --paper-2: #f8f3ec;
  --white: #ffffff;
  --text: #27283a;
  --muted: #687080;
  --line: #e6ded5;
  --shadow: 0 24px 70px rgba(25, 19, 52, 0.16);
  --shadow-small: 0 12px 35px rgba(25, 19, 52, 0.1);
  --radius: 24px;
  --radius-small: 15px;
  --shell: 1240px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--paper);
  font-family: "Segoe UI", Inter, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }
button { color: inherit; }

.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;
}

.skip-link {
  position: fixed;
  z-index: 999;
  top: 10px;
  left: 10px;
  padding: 12px 18px;
  color: var(--white);
  background: var(--ink);
  border-radius: 10px;
  transform: translateY(-150%);
}

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

:focus-visible {
  outline: 3px solid #38d6c7;
  outline-offset: 3px;
}

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

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  right: 0;
  left: 0;
  color: var(--white);
  transition: background 180ms ease, box-shadow 180ms ease;
}

.site-header.scrolled {
  background: rgba(23, 21, 51, 0.94);
  box-shadow: 0 8px 35px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(16px);
}

.nav-shell {
  width: min(calc(100% - 40px), 1360px);
  min-height: 82px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--white);
  text-decoration: none;
  flex: 0 0 auto;
}

.brand img {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.2);
}

.brand-copy { display: grid; line-height: 1.05; }

.brand-name {
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  font-size: 1.28rem;
  font-weight: 900;
  letter-spacing: -0.045em;
}

.brand-name span:nth-child(2) { color: #55d4ca; }
.brand-byline { margin-top: 5px; color: #c4c3d4; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.035em; }

.site-nav { display: flex; align-items: center; justify-content: flex-end; gap: 25px; }
.site-nav a { color: #e8e7f1; text-decoration: none; font-size: 0.92rem; font-weight: 700; white-space: nowrap; }
.site-nav a:not(.nav-cta):hover { color: #ffffff; }
.site-nav .nav-cta { padding: 10px 16px; border: 1px solid rgba(255,255,255,.28); border-radius: 999px; background: rgba(255,255,255,.09); }
.site-nav .nav-cta:hover { background: var(--coral); border-color: var(--coral); }

.menu-button {
  display: none;
  width: 46px;
  height: 44px;
  padding: 10px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 12px;
  background: rgba(255,255,255,.08);
}

.menu-button > span:not(.sr-only) { display: block; width: 23px; height: 2px; margin: 4px auto; background: white; border-radius: 4px; }

.hero {
  position: relative;
  min-height: 930px;
  padding: 148px 0 56px;
  color: var(--white);
  background:
    radial-gradient(circle at 86% 18%, rgba(0, 174, 160, 0.22), transparent 28%),
    radial-gradient(circle at 18% 72%, rgba(231, 103, 85, 0.16), transparent 30%),
    linear-gradient(135deg, #13122c 0%, #25204a 54%, #261733 100%);
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 160px;
  background: linear-gradient(180deg, transparent, rgba(8, 7, 22, 0.18));
  pointer-events: none;
}

.hero-orb { position: absolute; border-radius: 50%; filter: blur(2px); opacity: .55; pointer-events: none; }
.hero-orb-one { width: 360px; height: 360px; top: 95px; right: -180px; border: 1px solid rgba(255,255,255,.13); box-shadow: 0 0 0 70px rgba(255,255,255,.018), 0 0 0 140px rgba(255,255,255,.012); }
.hero-orb-two { width: 260px; height: 260px; bottom: 130px; left: -170px; border: 1px solid rgba(255,255,255,.08); }
.page-tabs { position: absolute; right: 0; top: 215px; display: grid; gap: 10px; }
.page-tabs i { display: block; width: 13px; height: 74px; border-radius: 8px 0 0 8px; }
.page-tabs i:nth-child(1) { background: var(--teal); }
.page-tabs i:nth-child(2) { background: var(--coral); }
.page-tabs i:nth-child(3) { background: var(--gold); }
.page-tabs i:nth-child(4) { background: #7f5aa2; }

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: .86fr 1.14fr;
  gap: 42px;
  align-items: center;
}

.hero-copy { padding-bottom: 30px; }

.eyebrow, .kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  color: var(--teal-dark);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.eyebrow { color: #89e1d9; }
.eyebrow > span { width: 27px; height: 3px; border-radius: 999px; background: var(--coral); }

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

h1, h2, h3, .brand-name, .footer-brand strong {
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
}

h1 {
  max-width: 690px;
  margin-bottom: 22px;
  font-size: clamp(3rem, 5.6vw, 5.65rem);
  line-height: .96;
  letter-spacing: -.065em;
}

h1 em { color: #ffad9f; font-style: normal; }

.hero-lead {
  max-width: 650px;
  margin-bottom: 30px;
  color: #d8d7e5;
  font-size: clamp(1.05rem, 1.7vw, 1.25rem);
  line-height: 1.65;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 12px 21px;
  border-radius: 12px;
  text-decoration: none;
  font-size: .93rem;
  font-weight: 900;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover { transform: translateY(-2px); }
.button-primary { color: white; background: var(--coral); box-shadow: 0 12px 30px rgba(231, 103, 85, .25); }
.button-primary:hover { background: #f17867; }
.button-ghost { color: white; border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.07); }
.button-ghost:hover { background: rgba(255,255,255,.13); }
.button-disabled { color: #6c6a78; background: #dfdce2; cursor: not-allowed; box-shadow: none; }
.button-disabled:hover { transform: none; }

.preview-note { display: flex; align-items: flex-start; gap: 10px; max-width: 580px; margin-top: 25px; color: #bdbbcd; font-size: .83rem; line-height: 1.45; }
.preview-note strong { color: #ffffff; }
.status-dot { flex: 0 0 auto; width: 9px; height: 9px; margin-top: 5px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 5px rgba(216,147,22,.13); }

.hero-stage { position: relative; min-height: 600px; }
.hero-illustration-wrap { position: absolute; z-index: 3; left: -38px; bottom: -20px; width: 49%; filter: drop-shadow(0 18px 24px rgba(9,8,27,.28)); }
.hero-illustration { width: 100%; }

.app-window {
  overflow: hidden;
  color: var(--text);
  background: #f7f5f2;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 22px;
  box-shadow: 0 34px 90px rgba(5, 4, 18, .4);
}

.hero-window { position: absolute; top: 30px; right: 0; width: 86%; min-height: 462px; transform: rotate(1.4deg); }
.window-bar { min-height: 55px; padding: 10px 16px; display: flex; align-items: center; justify-content: space-between; color: white; background: linear-gradient(90deg, #1b3b3a, #245955); }
.window-logo { display: inline-flex; align-items: center; gap: 8px; font-weight: 900; }
.window-logo img { border-radius: 8px; }
.window-version { padding: 4px 9px; color: #c4f6ef; border: 1px solid rgba(255,255,255,.2); border-radius: 999px; font-size: .63rem; font-weight: 900; letter-spacing: .12em; }
.window-body { display: grid; grid-template-columns: 57px 1fr; min-height: 405px; }
.mini-sidebar { padding: 23px 14px; display: grid; align-content: start; gap: 14px; background: #1f4b45; }
.mini-sidebar span { height: 8px; border-radius: 8px; background: rgba(255,255,255,.24); }
.mini-sidebar span.active { background: var(--coral); }
.mini-main { padding: 25px 22px; }
.mini-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.mini-heading div { display: grid; }
.mini-heading small { color: var(--teal-dark); font-size: .58rem; font-weight: 900; letter-spacing: .13em; }
.mini-heading strong { font-family: "Trebuchet MS", sans-serif; font-size: 1.48rem; }
.mini-heading > span { padding: 5px 10px; color: #7c432d; background: var(--coral-soft); border-radius: 999px; font-size: .66rem; font-weight: 800; }
.pet-row { display: grid; grid-template-columns: repeat(3,1fr); gap: 9px; margin-bottom: 16px; }
.pet-chip { padding: 8px; display: flex; align-items: center; gap: 8px; background: white; border: 1px solid #ebe6df; border-radius: 11px; }
.pet-chip img { width: 35px; height: 35px; object-fit: cover; border-radius: 9px; }
.pet-chip span { min-width: 0; display: grid; line-height: 1.25; }
.pet-chip strong { overflow: hidden; font-size: .72rem; text-overflow: ellipsis; }
.pet-chip small { color: var(--muted); font-size: .58rem; }
.today-card { padding: 12px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 11px; margin-top: 10px; background: white; border: 1px solid #ebe6df; border-radius: 12px; }
.today-card.soft { opacity: .82; }
.time-badge { padding: 7px 8px; color: #973c32; background: var(--coral-soft); border-radius: 8px; font-size: .6rem; font-weight: 900; }
.time-badge.teal { color: var(--teal-dark); background: var(--teal-soft); }
.today-card div { min-width: 0; display: grid; line-height: 1.35; }
.today-card strong { font-size: .75rem; }
.today-card small { color: var(--muted); font-size: .61rem; }
.today-card button { padding: 5px 8px; color: var(--teal-dark); border: 0; border-radius: 7px; background: var(--teal-soft); font-size: .61rem; font-weight: 900; }

.fact-strip {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 40px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.11);
  border-radius: 22px;
  backdrop-filter: blur(14px);
}

.fact-strip > div { min-height: 122px; padding: 24px; display: grid; align-content: center; gap: 4px; border-right: 1px solid rgba(255,255,255,.1); }
.fact-strip > div:last-child { border-right: 0; }
.fact-strip strong { color: white; font-family: "Trebuchet MS", sans-serif; font-size: 1.02rem; }
.fact-strip span { color: #c6c4d3; font-size: .78rem; line-height: 1.5; }

.section { padding: 112px 0; }
.section-heading { max-width: 760px; margin-bottom: 52px; }
.section-heading.centered { margin-inline: auto; text-align: center; }
.section-heading h2, .workflow-copy h2, .name-copy h2, .privacy-card h2, .download-copy h2, .faq-heading h2 {
  margin-bottom: 18px;
  color: var(--ink);
  font-size: clamp(2.15rem, 4.2vw, 4.25rem);
  line-height: 1.04;
  letter-spacing: -.055em;
}
.section-heading p, .workflow-copy > p, .name-copy > p, .privacy-card > p, .download-copy > p, .faq-heading > p { color: var(--muted); font-size: 1.08rem; }

.section-intro { background: var(--paper); }
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.feature-card { position: relative; min-height: 330px; padding: 30px; background: rgba(255,255,255,.76); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 1px 0 rgba(255,255,255,.8) inset; overflow: hidden; }
.feature-card::after { content: ""; position: absolute; width: 150px; height: 150px; right: -75px; bottom: -75px; border-radius: 50%; background: rgba(53,22,79,.025); }
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-small); transition: transform 180ms ease, box-shadow 180ms ease; }
.feature-card.featured-card { grid-column: span 2; background: linear-gradient(135deg, #fff 0%, #f8f3ff 100%); }
.feature-number { position: absolute; top: 25px; right: 28px; color: #b4a9b8; font-size: .72rem; font-weight: 900; letter-spacing: .12em; }
.feature-icon { width: 50px; height: 50px; margin-bottom: 24px; display: grid; place-items: center; border-radius: 15px; font-size: 1.08rem; font-weight: 900; }
.icon-coral { color: var(--coral-dark); background: var(--coral-soft); }
.icon-teal { color: var(--teal-dark); background: var(--teal-soft); }
.icon-gold { color: #8a5b02; background: var(--gold-soft); }
.icon-plum { color: var(--plum); background: var(--plum-soft); }
.icon-blue { color: var(--navy); background: var(--navy-light); }
.icon-rust { color: var(--rust); background: #f8e9e4; }
.feature-card h3 { max-width: 470px; margin-bottom: 13px; color: var(--ink); font-size: 1.35rem; line-height: 1.2; letter-spacing: -.025em; }
.feature-card p { position: relative; z-index: 1; margin-bottom: 0; color: var(--muted); font-size: .94rem; }
.species-list { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 22px; }
.species-list span { padding: 6px 10px; color: #4f3f5f; background: white; border: 1px solid #e6ddef; border-radius: 999px; font-size: .72rem; font-weight: 800; }

.app-showcase { position: relative; color: white; background: linear-gradient(145deg, #17152f 0%, #242247 58%, #1e1730 100%); overflow: hidden; }
.app-showcase::before { content: ""; position: absolute; width: 500px; height: 500px; top: -250px; right: -150px; border-radius: 50%; background: radial-gradient(circle, rgba(0,140,130,.28), transparent 68%); }
.light-heading { position: relative; z-index: 1; }
.light-heading .kicker { color: #64d8ce; }
.light-heading h2 { color: white; }
.light-heading p { color: #c2c1d2; }
.showcase-tabs { position: relative; z-index: 2; display: flex; gap: 8px; margin-bottom: 20px; overflow-x: auto; scrollbar-width: thin; }
.showcase-tabs button { flex: 0 0 auto; padding: 11px 17px; color: #b9b7cb; border: 1px solid rgba(255,255,255,.12); border-radius: 999px; background: rgba(255,255,255,.05); cursor: pointer; font-size: .84rem; font-weight: 800; }
.showcase-tabs button[aria-selected="true"] { color: white; border-color: var(--coral); background: var(--coral); }

.desktop-frame { position: relative; z-index: 2; overflow: hidden; color: var(--text); background: #f8f4ee; border: 1px solid rgba(255,255,255,.24); border-radius: 25px; box-shadow: 0 34px 90px rgba(4, 3, 14, .52); }
.desktop-topbar { min-height: 60px; padding: 10px 18px; display: flex; align-items: center; justify-content: space-between; color: white; background: #152f2d; }
.desktop-topbar > span { display: inline-flex; align-items: center; gap: 9px; font-family: "Trebuchet MS", sans-serif; font-weight: 900; }
.desktop-topbar img { border-radius: 8px; }
.desktop-controls { display: flex; gap: 8px; }
.desktop-controls i { width: 11px; height: 11px; border-radius: 50%; background: rgba(255,255,255,.25); }
.desktop-controls i:nth-child(1) { background: #52cbbd; }
.desktop-controls i:nth-child(2) { background: #e7aa3a; }
.desktop-controls i:nth-child(3) { background: #e46f5c; }
.desktop-body { display: grid; grid-template-columns: 238px minmax(0, 1fr); min-height: 660px; }
.app-sidebar { padding: 24px 16px; color: white; background: #1f4b45; }
.app-side-brand { display: flex; align-items: center; gap: 10px; padding: 0 7px 20px; border-bottom: 1px solid rgba(255,255,255,.1); }
.app-side-brand img { border-radius: 11px; }
.app-side-brand span { display: grid; line-height: 1.28; }
.app-side-brand strong { font-size: .9rem; }
.app-side-brand small { color: #9dd0c8; font-size: .68rem; }
.app-sidebar nav { display: grid; gap: 5px; margin-top: 20px; }
.app-sidebar nav > small { margin: 13px 9px 2px; color: #8fc4bc; font-size: .58rem; font-weight: 900; letter-spacing: .12em; }
.app-sidebar nav > span { padding: 9px 10px; display: grid; grid-template-columns: 25px 1fr; align-items: center; border-radius: 9px; color: #d6e8e5; font-size: .74rem; }
.app-sidebar nav > span.selected { color: white; background: rgba(255,255,255,.12); }
.app-sidebar nav b { font-weight: 700; }
.app-content { min-width: 0; padding: 35px; background: #f8f4ee; }
.app-panel[hidden] { display: none; }
.app-panel.active { animation: panelIn 240ms ease; }
@keyframes panelIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }
.app-panel-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.app-panel-head small, .profile-banner > div > small { color: var(--teal-dark); font-size: .62rem; font-weight: 900; letter-spacing: .12em; }
.app-panel-head h3, .profile-banner h3 { margin: 3px 0 2px; color: var(--ink); font-size: 2rem; letter-spacing: -.035em; }
.app-panel-head p, .profile-banner p { margin: 0; color: var(--muted); font-size: .83rem; }
.app-panel-head > button, .profile-actions button { padding: 9px 13px; color: white; border: 0; border-radius: 9px; background: var(--coral); font-size: .72rem; font-weight: 900; }
.metric-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 13px; margin-bottom: 15px; }
.metric-grid > div { padding: 17px; display: grid; grid-template-columns: auto 1fr; column-gap: 11px; align-items: center; background: white; border: 1px solid #e7e0d9; border-radius: 14px; }
.metric-icon { grid-row: span 2; width: 39px; height: 39px; display: grid; place-items: center; border-radius: 10px; font-size: .72rem; font-weight: 900; }
.metric-icon.coral { color: var(--coral-dark); background: var(--coral-soft); }
.metric-icon.teal { color: var(--teal-dark); background: var(--teal-soft); }
.metric-icon.gold { color: #8a5b02; background: var(--gold-soft); }
.metric-grid strong { color: var(--ink); font-size: 1.15rem; line-height: 1; }
.metric-grid small { color: var(--muted); font-size: .66rem; }
.app-columns { display: grid; grid-template-columns: 1.1fr .9fr; gap: 15px; }
.app-card { padding: 18px; background: white; border: 1px solid #e7e0d9; border-radius: 15px; }
.app-card-title { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.app-card-title h4 { margin: 0; color: var(--ink); font-size: .93rem; }
.app-card-title > span { color: var(--teal-dark); font-size: .63rem; font-weight: 800; }
.task-row { padding: 10px 0; display: grid; grid-template-columns: 40px 1fr auto; align-items: center; gap: 10px; border-top: 1px solid #eee8e1; }
.task-row img { width: 40px; height: 40px; border-radius: 10px; object-fit: cover; }
.task-row div { display: grid; line-height: 1.35; }
.task-row strong { color: var(--ink); font-size: .73rem; }
.task-row small { color: var(--muted); font-size: .62rem; }
.task-state { padding: 5px 8px; color: var(--teal-dark); background: var(--teal-soft); border-radius: 7px; font-size: .59rem; }
.task-state.muted { color: #68576f; background: var(--plum-soft); }
.animal-mini-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 9px; }
.animal-mini-grid > div { padding: 9px; display: grid; grid-template-columns: 38px 1fr; column-gap: 9px; align-items: center; background: #faf8f5; border-radius: 10px; }
.animal-mini-grid img { grid-row: span 2; width: 38px; height: 38px; object-fit: cover; border-radius: 9px; }
.animal-mini-grid strong { color: var(--ink); font-size: .68rem; line-height: 1.2; }
.animal-mini-grid small { color: var(--muted); font-size: .58rem; }

.profile-banner { padding: 17px; display: grid; grid-template-columns: 72px 1fr auto; align-items: center; gap: 15px; background: white; border: 1px solid #e7e0d9; border-radius: 16px; }
.profile-banner > img { width: 72px; height: 72px; object-fit: cover; border-radius: 15px; }
.profile-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 7px; }
.profile-actions button:last-child { color: var(--teal-dark); background: var(--teal-soft); }
.profile-tabs { margin: 15px 0; display: flex; gap: 5px; overflow-x: auto; }
.profile-tabs span { flex: 0 0 auto; padding: 8px 11px; color: var(--muted); border-radius: 8px; font-size: .65rem; font-weight: 800; }
.profile-tabs span.active { color: var(--teal-dark); background: var(--teal-soft); }
.profile-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 15px; }
.summary-card h4, .activity-card h4 { margin-bottom: 14px; color: var(--ink); }
.summary-card dl, .policy-card dl { margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.summary-card dl div, .policy-card dl div { padding: 11px; display: grid; background: #faf8f5; border-radius: 9px; }
.summary-card dt, .policy-card dt { color: var(--muted); font-size: .59rem; }
.summary-card dd, .policy-card dd { margin: 0; color: var(--ink); font-size: .75rem; font-weight: 800; }
.activity-card ul { padding: 0; margin: 0; list-style: none; }
.activity-card li { padding: 9px 0; display: flex; align-items: flex-start; gap: 10px; border-top: 1px solid #eee8e1; }
.activity-card li div { display: grid; line-height: 1.4; }
.activity-card li strong { color: var(--ink); font-size: .7rem; }
.activity-card li small { color: var(--muted); font-size: .6rem; }
.timeline-dot { flex: 0 0 auto; width: 9px; height: 9px; margin-top: 5px; border-radius: 50%; }
.timeline-dot.coral { background: var(--coral); }
.timeline-dot.teal { background: var(--teal); }
.timeline-dot.gold { background: var(--gold); }

.medication-board { display: grid; gap: 12px; }
.dose-card { padding: 16px; display: grid; grid-template-columns: 58px 48px 1fr auto; align-items: center; gap: 13px; background: white; border: 1px solid #e7e0d9; border-radius: 14px; }
.dose-time { height: 48px; display: grid; place-content: center; text-align: center; color: var(--coral-dark); background: var(--coral-soft); border-radius: 10px; line-height: 1; }
.dose-time.teal { color: var(--teal-dark); background: var(--teal-soft); }
.dose-time strong { font-size: .78rem; }
.dose-time small { margin-top: 3px; font-size: .52rem; }
.dose-card > img { width: 48px; height: 48px; object-fit: cover; border-radius: 10px; }
.dose-info { display: grid; line-height: 1.4; }
.dose-info strong { color: var(--ink); font-size: .77rem; }
.dose-info span { color: var(--muted); font-size: .64rem; }
.dose-info small { color: var(--teal-dark); font-size: .57rem; }
.dose-actions { display: flex; gap: 6px; }
.dose-actions b { padding: 6px 8px; color: var(--teal-dark); background: var(--teal-soft); border-radius: 7px; font-size: .56rem; }
.dose-actions b:last-child { color: #62556a; background: var(--plum-soft); }
.medication-history { padding: 19px; color: white; background: linear-gradient(110deg, var(--plum), #4d2768); border-radius: 15px; }
.medication-history h4 { margin-bottom: 6px; font-size: 1rem; }
.medication-history p { margin-bottom: 13px; color: #ded2e7; font-size: .69rem; }
.medication-history div { display: flex; flex-wrap: wrap; gap: 6px; }
.medication-history span { padding: 5px 8px; background: rgba(255,255,255,.1); border-radius: 999px; font-size: .57rem; font-weight: 800; }

.coverage-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: 15px; }
.policy-card, .claims-card { padding: 19px; background: white; border: 1px solid #e7e0d9; border-radius: 15px; }
.policy-top { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 11px; margin-bottom: 15px; }
.shield-mark { width: 41px; height: 41px; display: grid; place-items: center; color: var(--teal-dark); background: var(--teal-soft); border-radius: 12px; font-weight: 900; }
.policy-top div { display: grid; line-height: 1.3; }
.policy-top small { color: var(--teal-dark); font-size: .53rem; font-weight: 900; letter-spacing: .1em; }
.policy-top h4 { margin: 0; color: var(--ink); font-size: .86rem; }
.policy-top p { margin: 0; color: var(--muted); font-size: .6rem; }
.policy-top > b { padding: 5px 8px; color: var(--teal-dark); background: var(--teal-soft); border-radius: 999px; font-size: .57rem; }
.policy-card > button { width: 100%; margin-top: 13px; padding: 8px; color: var(--teal-dark); border: 0; border-radius: 8px; background: var(--teal-soft); font-size: .62rem; font-weight: 900; }
.claim-row { padding: 12px 0; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; border-top: 1px solid #eee8e1; }
.claim-status { min-width: 48px; padding: 5px 7px; text-align: center; border-radius: 999px; font-size: .55rem; font-weight: 900; }
.claim-status.paid { color: var(--teal-dark); background: var(--teal-soft); }
.claim-status.review { color: #855806; background: var(--gold-soft); }
.claim-row div { display: grid; line-height: 1.35; }
.claim-row div strong { color: var(--ink); font-size: .7rem; }
.claim-row div small { color: var(--muted); font-size: .58rem; }
.claim-row > b { color: var(--ink); font-size: .72rem; }
.claim-note { margin: 12px 0 0; padding: 10px; color: #5b5360; background: #f5f1f7; border-radius: 9px; font-size: .6rem; }
.preview-caption { position: relative; z-index: 2; max-width: 820px; margin: 22px auto 0; color: #aaa8bc; text-align: center; font-size: .76rem; }

.workflow-section { background: var(--paper-2); }
.workflow-grid { display: grid; grid-template-columns: .92fr 1.08fr; gap: 70px; align-items: center; }
.check-list { padding: 0; margin: 35px 0 0; display: grid; gap: 18px; list-style: none; }
.check-list li { display: grid; grid-template-columns: 42px 1fr; gap: 13px; }
.check-list li > span { width: 42px; height: 42px; display: grid; place-items: center; color: white; background: var(--teal); border-radius: 13px; font-size: .77rem; font-weight: 900; }
.check-list li:nth-child(2) > span { background: var(--coral); }
.check-list li:nth-child(3) > span { color: #5d410b; background: var(--gold); }
.check-list li div { display: grid; line-height: 1.45; }
.check-list strong { color: var(--ink); }
.check-list small { color: var(--muted); font-size: .85rem; }
.record-stack { position: relative; min-height: 530px; }
.record-stack::before { content: ""; position: absolute; width: 360px; height: 360px; left: 50%; top: 50%; border-radius: 50%; background: var(--teal-soft); transform: translate(-50%,-50%); }
.record-card { position: absolute; width: min(82%, 430px); padding: 27px; background: white; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-small); }
.record-card strong, .record-card small { display: block; }
.record-card > strong { margin: 8px 0 2px; color: var(--ink); font-size: 1.1rem; }
.record-card > small { color: var(--muted); font-size: .75rem; }
.record-card p { margin: 14px 0 0; color: #5f6571; font-size: .86rem; }
.record-type { padding: 5px 8px; border-radius: 999px; font-size: .59rem; font-weight: 900; letter-spacing: .09em; }
.record-type.coral { color: var(--coral-dark); background: var(--coral-soft); }
.record-type.teal { color: var(--teal-dark); background: var(--teal-soft); }
.record-type.gold { color: #825604; background: var(--gold-soft); }
.card-one { top: 0; left: 0; transform: rotate(-2deg); }
.card-two { z-index: 2; top: 154px; right: 0; transform: rotate(2deg); }
.card-three { z-index: 3; left: 45px; bottom: 0; transform: rotate(-1deg); }

.name-section { color: white; background: var(--plum); }
.name-grid { display: grid; grid-template-columns: 1.03fr .97fr; gap: 70px; align-items: center; }
.name-visual { position: relative; min-height: 530px; padding: 42px; display: grid; align-content: center; gap: 14px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.11); border-radius: 30px; overflow: hidden; }
.name-visual::before { content: ""; position: absolute; width: 360px; height: 360px; right: -170px; top: -160px; border-radius: 50%; background: rgba(0,140,130,.28); }
.word-piece { position: relative; z-index: 1; padding: 20px 22px; display: grid; border-radius: 16px; }
.word-pet { margin-right: 80px; color: #24152e; background: #ffd9d1; }
.word-book { margin-left: 80px; color: #122f31; background: #c7f1eb; }
.word-piece small { font-size: .6rem; font-weight: 900; letter-spacing: .12em; }
.word-piece strong { font-family: "Trebuchet MS", sans-serif; font-size: 2rem; line-height: 1.15; }
.word-piece span { font-size: .78rem; }
.plus { position: relative; z-index: 1; margin: -7px auto; font-size: 1.3rem; font-weight: 900; }
.name-result { position: relative; z-index: 1; margin-top: 15px; display: flex; justify-content: center; color: white; font-family: "Trebuchet MS", sans-serif; font-size: clamp(2.1rem, 4.2vw, 3.7rem); font-weight: 900; letter-spacing: -.06em; }
.name-result mark { padding: 0; color: #55d4ca; background: none; }
.name-copy .kicker { color: #61d8ce; }
.name-copy h2 { color: white; }
.name-copy > p { color: #ded3e6; }
.name-copy strong { color: white; }
.name-copy .rename-note { margin-top: 24px; padding: 14px 16px; color: #eee5f3; background: rgba(255,255,255,.075); border-left: 4px solid var(--coral); border-radius: 0 10px 10px 0; font-size: .86rem; }

.real-life-section { background: var(--paper); }
.split-heading { max-width: none; display: grid; grid-template-columns: 1fr .75fr; gap: 60px; align-items: end; }
.split-heading h2 { margin-bottom: 0; }
.split-heading p { margin-bottom: 5px; }
.photo-grid { display: grid; grid-template-columns: 1.15fr 1fr 1fr; grid-template-rows: repeat(2, 285px); gap: 15px; }
.photo-grid figure { position: relative; margin: 0; border-radius: 22px; overflow: hidden; background: #ddd; }
.photo-grid figure::after { content: ""; position: absolute; inset: 35% 0 0; background: linear-gradient(transparent, rgba(10,8,23,.8)); }
.photo-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform 350ms ease; }
.photo-grid figure:hover img { transform: scale(1.035); }
.photo-grid .photo-tall { grid-row: span 2; }
.photo-grid .photo-wide { grid-column: span 2; }
.photo-grid figcaption { position: absolute; z-index: 2; right: 20px; bottom: 18px; left: 20px; display: grid; color: white; line-height: 1.35; }
.photo-grid figcaption strong { font-family: "Trebuchet MS", sans-serif; font-size: 1.15rem; }
.photo-grid figcaption span { color: #dedde7; font-size: .75rem; }

.privacy-section { background: #ecf4f1; }
.privacy-grid { display: grid; grid-template-columns: .92fr 1.08fr; gap: 55px; align-items: center; }
.privacy-card { padding: 45px; background: white; border-radius: 28px; box-shadow: var(--shadow-small); }
.privacy-lock { width: 64px; height: 64px; margin-bottom: 28px; display: grid; place-items: center; color: white; background: var(--teal); border-radius: 19px; font-size: 1.5rem; font-weight: 900; }
.storage-path { padding: 16px; display: grid; gap: 5px; margin-top: 28px; background: #f3f7f5; border: 1px solid #dce8e4; border-radius: 13px; }
.storage-path span { color: var(--teal-dark); font-size: .62rem; font-weight: 900; letter-spacing: .1em; }
.storage-path code { overflow-wrap: anywhere; color: #475752; font-family: "Segoe UI", sans-serif; font-size: .78rem; }
.trust-list { display: grid; gap: 12px; }
.trust-list article { padding: 21px 23px; display: grid; grid-template-columns: 40px 1fr; gap: 15px; background: rgba(255,255,255,.66); border: 1px solid rgba(255,255,255,.9); border-radius: 17px; }
.trust-list article > span { width: 38px; height: 38px; display: grid; place-items: center; color: var(--teal-dark); border: 1px solid #bad9d2; border-radius: 11px; font-size: .68rem; font-weight: 900; }
.trust-list h3 { margin-bottom: 4px; color: var(--ink); font-size: 1.04rem; }
.trust-list p { margin: 0; color: #5e6d69; font-size: .86rem; }

.roadmap-section { background: var(--paper-2); }
.roadmap-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.roadmap-card { padding: 38px; background: white; border: 1px solid var(--line); border-radius: 25px; }
.roadmap-card.now { box-shadow: inset 0 5px 0 var(--teal); }
.roadmap-card.later { box-shadow: inset 0 5px 0 var(--gold); }
.roadmap-label { display: flex; align-items: center; gap: 8px; color: var(--teal-dark); font-size: .67rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.roadmap-label span { width: 9px; height: 9px; border-radius: 50%; background: var(--teal); }
.roadmap-card.later .roadmap-label { color: #805905; }
.roadmap-card.later .roadmap-label span { background: var(--gold); }
.roadmap-card h3 { margin: 12px 0 22px; color: var(--ink); font-size: 1.7rem; }
.roadmap-card ul { padding: 0; margin: 0; display: grid; gap: 10px; list-style: none; }
.roadmap-card li { position: relative; padding-left: 25px; color: var(--muted); font-size: .91rem; }
.roadmap-card li::before { content: "✓"; position: absolute; left: 0; color: var(--teal); font-weight: 900; }
.roadmap-card.later li::before { content: "→"; color: var(--gold); }

.download-section { position: relative; color: white; background: linear-gradient(135deg, #15132d, #28304f 65%, #173b3a); overflow: hidden; }
.download-glow { position: absolute; width: 560px; height: 560px; right: -190px; bottom: -280px; border-radius: 50%; background: radial-gradient(circle, rgba(0,140,130,.36), transparent 67%); }
.download-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.03fr .97fr; gap: 70px; align-items: center; }
.download-copy .kicker { color: #64d9cf; }
.download-copy h2 { color: white; }
.download-copy > p { color: #c9c8d6; }
.download-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 30px; }
.text-link { color: white; text-decoration: none; font-size: .88rem; font-weight: 900; }
.text-link span { color: #75ded5; }
.requirements-card { padding: 32px; color: var(--text); background: white; border-radius: 25px; box-shadow: 0 28px 70px rgba(4,3,15,.35); }
.requirements-title { padding-bottom: 20px; display: flex; align-items: center; gap: 14px; border-bottom: 1px solid #eae4dd; }
.requirements-title img { border-radius: 14px; }
.requirements-title div { display: grid; }
.requirements-title small { color: var(--teal-dark); font-size: .61rem; font-weight: 900; letter-spacing: .1em; }
.requirements-title strong { color: var(--ink); font-size: 1.1rem; }
.requirements-card ul { padding: 0; margin: 12px 0; list-style: none; }
.requirements-card li { padding: 10px 0; display: flex; justify-content: space-between; gap: 20px; border-bottom: 1px solid #eee9e3; font-size: .79rem; }
.requirements-card li span { color: var(--muted); }
.requirements-card li strong { color: var(--ink); text-align: right; }
.requirements-card > p { margin: 15px 0 0; color: #706773; font-size: .72rem; }

.faq-section { background: var(--paper); }
.faq-grid { display: grid; grid-template-columns: .74fr 1.26fr; gap: 75px; align-items: start; }
.faq-heading { position: sticky; top: 115px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { padding: 24px 3px; display: flex; align-items: center; justify-content: space-between; gap: 20px; color: var(--ink); cursor: pointer; list-style: none; font-family: "Trebuchet MS", sans-serif; font-size: 1.08rem; font-weight: 900; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary span { color: var(--teal); font-size: 1.25rem; transition: transform 160ms ease; }
.faq-list details[open] summary span { transform: rotate(45deg); }
.faq-list details p { max-width: 680px; padding: 0 40px 24px 3px; margin: 0; color: var(--muted); font-size: .91rem; }

.site-footer { padding: 52px 0 34px; color: #c4c3d1; background: #121127; }
.footer-grid { display: grid; grid-template-columns: 1fr auto; gap: 35px; }
.footer-brand { display: flex; align-items: center; gap: 13px; }
.footer-brand img { border-radius: 14px; }
.footer-brand div { display: grid; line-height: 1.2; }
.footer-brand strong { color: white; font-size: 1.25rem; letter-spacing: -.045em; }
.footer-brand strong span:nth-child(2) { color: #57d6cc; }
.footer-brand small { margin-top: 5px; font-size: .7rem; }
.site-footer nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 20px; }
.site-footer nav a { color: #d5d4de; text-decoration: none; font-size: .78rem; font-weight: 700; }
.footer-meta { grid-column: 1 / -1; padding-top: 23px; display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid rgba(255,255,255,.09); color: #888697; font-size: .74rem; }
.footer-meta a { color: #bfbecd; text-decoration: none; }

@media (max-width: 1120px) {
  .site-nav { gap: 16px; }
  .site-nav a { font-size: .84rem; }
  .hero { min-height: 1000px; }
  .hero-grid { grid-template-columns: 1fr 1fr; }
  .hero-stage { min-height: 620px; }
  .hero-window { width: 98%; }
  .hero-illustration-wrap { width: 56%; left: -35px; }
  .desktop-body { grid-template-columns: 205px minmax(0, 1fr); }
  .app-content { padding: 26px; }
  .app-sidebar nav > span { font-size: .68rem; }
}

@media (max-width: 960px) {
  .menu-button { display: block; }
  .site-nav {
    position: absolute;
    top: 73px;
    right: 20px;
    left: 20px;
    padding: 16px;
    display: none;
    align-items: stretch;
    background: #1d1b3c;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0,0,0,.3);
  }
  .site-nav.open { display: grid; }
  .site-nav a { padding: 9px 10px; font-size: .92rem; }
  .site-nav .nav-cta { text-align: center; }
  .hero { min-height: auto; padding-top: 128px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { max-width: 740px; }
  .hero-stage { min-height: 600px; }
  .hero-window { width: 83%; right: 2%; }
  .hero-illustration-wrap { width: 42%; left: 1%; }
  .fact-strip { grid-template-columns: repeat(2, 1fr); }
  .fact-strip > div:nth-child(2) { border-right: 0; }
  .fact-strip > div:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.1); }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-card.featured-card { grid-column: span 2; }
  .desktop-body { grid-template-columns: 1fr; }
  .app-sidebar { display: none; }
  .workflow-grid, .name-grid, .privacy-grid, .download-grid { grid-template-columns: 1fr; }
  .workflow-copy { max-width: 720px; }
  .record-stack { width: min(100%, 650px); margin-inline: auto; }
  .name-visual { order: 2; min-height: 470px; }
  .split-heading { grid-template-columns: 1fr; gap: 15px; }
  .photo-grid { grid-template-columns: 1fr 1fr; grid-template-rows: 360px 290px 290px; }
  .photo-grid .photo-tall { grid-row: span 2; }
  .photo-grid .photo-wide { grid-column: 1 / -1; }
  .faq-grid { grid-template-columns: 1fr; gap: 35px; }
  .faq-heading { position: static; max-width: 720px; }
}

@media (max-width: 700px) {
  .shell { width: min(calc(100% - 28px), var(--shell)); }
  .nav-shell { width: calc(100% - 28px); min-height: 74px; }
  .brand img { width: 43px; height: 43px; }
  .brand-name { font-size: 1.12rem; }
  .brand-byline { display: none; }
  .site-nav { top: 68px; right: 14px; left: 14px; }
  .hero { padding: 110px 0 35px; }
  h1 { font-size: clamp(2.75rem, 14vw, 4rem); }
  .hero-stage { min-height: 520px; margin-top: 0; }
  .hero-window { top: 10px; width: 100%; right: 0; transform: none; }
  .hero-illustration-wrap { width: 44%; left: -12px; bottom: -8px; }
  .mini-main { padding: 20px 16px; }
  .pet-row { grid-template-columns: 1fr 1fr; }
  .pet-chip:last-child { display: none; }
  .today-card { grid-template-columns: auto 1fr; }
  .today-card button { display: none; }
  .fact-strip { grid-template-columns: 1fr; margin-top: 12px; }
  .fact-strip > div { min-height: 100px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.1); }
  .fact-strip > div:last-child { border-bottom: 0; }
  .section { padding: 82px 0; }
  .section-heading { margin-bottom: 36px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card, .feature-card.featured-card { grid-column: auto; min-height: 0; padding: 25px; }
  .app-showcase .shell { width: calc(100% - 18px); }
  .desktop-topbar { min-height: 52px; }
  .app-content { padding: 17px; }
  .app-panel-head { display: grid; }
  .app-panel-head h3, .profile-banner h3 { font-size: 1.55rem; }
  .app-panel-head > button { justify-self: start; }
  .metric-grid { grid-template-columns: 1fr; }
  .app-columns, .profile-layout, .coverage-layout { grid-template-columns: 1fr; }
  .profile-banner { grid-template-columns: 58px 1fr; }
  .profile-banner > img { width: 58px; height: 58px; }
  .profile-actions { grid-column: 1 / -1; justify-content: flex-start; }
  .dose-card { grid-template-columns: 48px 43px 1fr; }
  .dose-actions { grid-column: 1 / -1; }
  .desktop-body { min-height: 720px; }
  .record-stack { min-height: 640px; }
  .record-card { width: 91%; }
  .card-two { top: 200px; }
  .card-three { left: 0; }
  .name-visual { min-height: 440px; padding: 25px; }
  .word-pet { margin-right: 30px; }
  .word-book { margin-left: 30px; }
  .photo-grid { grid-template-columns: 1fr; grid-template-rows: repeat(4, 330px); }
  .photo-grid .photo-tall, .photo-grid .photo-wide { grid-row: auto; grid-column: auto; }
  .privacy-card, .roadmap-card, .requirements-card { padding: 27px; }
  .roadmap-grid { grid-template-columns: 1fr; }
  .requirements-card li { display: grid; gap: 2px; }
  .requirements-card li strong { text-align: left; }
  .footer-grid { grid-template-columns: 1fr; }
  .site-footer nav { justify-content: flex-start; }
  .footer-meta { display: grid; }
}

@media (max-width: 450px) {
  body { font-size: 16px; }
  .hero-stage { min-height: 480px; }
  .hero-illustration-wrap { width: 48%; }
  .window-body { grid-template-columns: 42px 1fr; }
  .mini-sidebar { padding-inline: 10px; }
  .mini-heading > span { display: none; }
  .today-card { padding: 10px; }
  .feature-card h3 { font-size: 1.22rem; }
  .animal-mini-grid { grid-template-columns: 1fr; }
  .desktop-body { min-height: 850px; }
  .profile-tabs { margin-inline: -4px; }
  .summary-card dl, .policy-card dl { grid-template-columns: 1fr 1fr; }
  .dose-card { grid-template-columns: 45px 1fr; }
  .dose-card > img { display: none; }
  .dose-actions { grid-column: 1 / -1; }
  .word-piece strong { font-size: 1.65rem; }
  .name-result { font-size: 2.3rem; }
  .photo-grid { grid-template-rows: repeat(4, 290px); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
