@font-face {
  font-family: 'Atkinson Hyperlegible';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/atkinson-400.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Atkinson Hyperlegible';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/atkinson-400-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C4, U+A720-A7FF;
}
@font-face {
  font-family: 'Atkinson Hyperlegible';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(fonts/atkinson-700.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Atkinson Hyperlegible';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(fonts/atkinson-700-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C4, U+A720-A7FF;
}
@font-face {
  font-family: 'Caveat';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/caveat-500.woff2) format('woff2');
}

:root {
  --ink: #112c3d;
  --ink-soft: #3e5960;
  --scrub: #107c6f;
  --scrub-deep: #0b5d53;
  --scrub-tint: #e2efeb;
  --paper: #f2f6f3;
  --card: #ffffff;
  --line: #d3e0da;
  --stamp: #5a45b8;
  --stamp-tint: #eeebfa;
  --bubble: #dcf5d3;
  --max: 1120px;
  --gutter: clamp(20px, 4vw, 40px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Atkinson Hyperlegible', 'Segoe UI', system-ui, -apple-system, Arial, sans-serif;
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3 {
  margin: 0 0 0.5em;
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: -0.015em;
}

h1 {
  font-size: clamp(2.4rem, 5.2vw, 3.7rem);
}

h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.4rem);
}

h3 {
  font-size: 1.2rem;
  letter-spacing: 0;
}

p {
  margin: 0 0 1em;
}

a {
  color: var(--scrub);
  text-underline-offset: 3px;
}

a:hover {
  color: var(--scrub-deep);
}

:focus-visible {
  outline: 3px solid var(--stamp);
  outline-offset: 3px;
  border-radius: 4px;
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.skip {
  position: absolute;
  left: -9999px;
}

.skip:focus {
  left: var(--gutter);
  top: 12px;
  z-index: 20;
  background: var(--card);
  padding: 8px 14px;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(242, 246, 243, 0.94);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  min-height: 68px;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--ink);
  text-decoration: none;
}

.brand img {
  width: 34px;
  height: 34px;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 22px;
  font-size: 1rem;
}

.nav a {
  color: var(--ink-soft);
  text-decoration: none;
}

.nav a:hover {
  color: var(--ink);
  text-decoration: underline;
}

.nav .btn {
  color: #fff;
  text-decoration: none;
}

/* Buttons */

.btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  background: var(--scrub);
  color: #fff;
  border: 2px solid var(--scrub);
}

.btn:hover {
  background: var(--scrub-deep);
  border-color: var(--scrub-deep);
  color: #fff;
}

.btn-quiet {
  background: transparent;
  color: var(--scrub-deep);
}

.btn-quiet:hover {
  background: var(--scrub-tint);
  color: var(--scrub-deep);
}

.nav .btn {
  padding: 8px 18px;
}

/* Hero */

.hero {
  padding: clamp(48px, 8vw, 96px) 0 clamp(56px, 8vw, 104px);
}

.hero .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(36px, 6vw, 72px);
  align-items: center;
}

.hero h1 {
  max-width: 13em;
}

.lead {
  font-size: 1.25rem;
  color: var(--ink-soft);
  max-width: 34em;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0 22px;
}

.facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  padding: 0;
  margin: 0;
  list-style: none;
  font-size: 0.95rem;
  color: var(--ink-soft);
}

.facts li::before {
  content: '';
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--scrub);
  vertical-align: middle;
}

/* The vaccination card */

.record {
  position: relative;
  padding-bottom: 104px;
}

.card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 26px 26px 30px;
  transform: rotate(-1.6deg);
  box-shadow: 0 1px 0 var(--line), 0 18px 40px -18px rgba(19, 49, 58, 0.35);
  background-image: repeating-linear-gradient(to bottom, transparent 0, transparent 37px, #edf3f0 37px, #edf3f0 38px);
  background-position: 0 92px;
}

.card-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  border-bottom: 2px solid var(--ink);
  padding-bottom: 8px;
  margin-bottom: 6px;
}

.card-title {
  font-weight: 700;
  font-size: 1.05rem;
}

.card-clinic {
  font-size: 0.85rem;
  color: var(--ink-soft);
}

.card-pet {
  font-size: 0.95rem;
  color: var(--ink-soft);
  margin: 6px 0 10px;
}

.card-pet strong {
  color: var(--ink);
}

.card table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.card th {
  text-align: left;
  font-weight: 700;
  font-size: 0.8rem;
  color: var(--ink-soft);
  padding: 6px 4px;
  border-bottom: 1px solid var(--line);
}

.card td {
  padding: 4px;
  height: 38px;
  vertical-align: middle;
}

.hand {
  font-family: 'Caveat', 'Segoe Print', cursive;
  font-size: 1.45rem;
  line-height: 1;
  color: #23439a;
}

.stamp {
  position: absolute;
  right: 22px;
  bottom: 14px;
  width: 112px;
  height: 112px;
  border: 3px double var(--stamp);
  border-radius: 50%;
  color: var(--stamp);
  display: grid;
  place-content: center;
  text-align: center;
  transform: rotate(-14deg);
  opacity: 0.82;
  mix-blend-mode: multiply;
  font-weight: 700;
  line-height: 1.1;
}

.stamp strong {
  display: block;
  font-size: 1.5rem;
  letter-spacing: 0.06em;
}

.stamp span {
  font-size: 0.7rem;
}

.bubble {
  position: absolute;
  left: -14px;
  bottom: 0;
  width: min(330px, 88%);
  background: var(--bubble);
  border-radius: 14px 14px 14px 4px;
  padding: 12px 14px 22px;
  font-size: 0.95rem;
  line-height: 1.45;
  box-shadow: 0 10px 26px -14px rgba(19, 49, 58, 0.45);
}

.bubble small {
  position: absolute;
  right: 12px;
  bottom: 6px;
  font-size: 0.72rem;
  color: #4d7a63;
}

.bubble-from {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  color: #2d7a52;
  margin-bottom: 2px;
}

@media (prefers-reduced-motion: no-preference) {
  .stamp {
    animation: stamp-in 0.5s 0.5s cubic-bezier(0.2, 1.4, 0.4, 1) both;
  }
  .bubble {
    animation: bubble-in 0.4s 1.1s ease-out both;
  }
}

@keyframes stamp-in {
  from {
    opacity: 0;
    transform: rotate(-14deg) scale(1.6);
  }
  to {
    opacity: 0.82;
    transform: rotate(-14deg) scale(1);
  }
}

@keyframes bubble-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* Sections */

.section {
  padding: clamp(56px, 8vw, 96px) 0;
}

.section-white {
  background: var(--card);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.intro {
  max-width: 40em;
  margin-bottom: 40px;
}

.intro p {
  color: var(--ink-soft);
  font-size: 1.15rem;
}

/* A day at the front desk */

.day {
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: 820px;
  border-left: 2px solid var(--scrub-tint);
}

.day li {
  display: grid;
  grid-template-columns: 7.5rem 1fr;
  gap: 4px 20px;
  padding: 0 0 26px 24px;
  position: relative;
}

.day li::before {
  content: '';
  position: absolute;
  left: -7px;
  top: 8px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--card);
  border: 2px solid var(--scrub);
}

.day time {
  font-weight: 700;
  color: var(--scrub-deep);
  font-variant-numeric: tabular-nums;
}

.day p {
  margin: 0;
}

/* Roles */

.roles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.role {
  padding: 4px 28px 4px 0;
}

.role + .role {
  border-left: 1px solid var(--line);
  padding-left: 28px;
}

.role p {
  color: var(--ink-soft);
  font-size: 1rem;
}

.ticks {
  list-style: none;
  margin: 0;
  padding: 0;
}

.ticks li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 10px;
}

.ticks li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 0.45em;
  width: 11px;
  height: 6px;
  border-left: 2.5px solid var(--scrub);
  border-bottom: 2.5px solid var(--scrub);
  transform: rotate(-45deg);
}

/* Privacy band */

.privacy-band {
  background: var(--ink);
  color: #e8f0ec;
}

.privacy-band h2 {
  color: #fff;
  max-width: 16em;
}

.privacy-band .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}

.privacy-band p {
  color: #c3d4cd;
}

.privacy-band .ticks li::before {
  border-color: #8fd3c4;
}

/* Pricing */

.pricing {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
}

.plan {
  display: flex;
  flex-direction: column;
  padding: 30px 28px;
}

.plan + .plan {
  border-left: 1px solid var(--line);
}

.plan-best {
  background: var(--stamp-tint);
}

.plan h3 {
  margin-bottom: 4px;
}

.plan-note {
  min-height: 1.6em;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--stamp);
  margin: 0 0 14px;
}

.price {
  font-size: 2.6rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.price span {
  font-size: 1rem;
  font-weight: 400;
  color: var(--ink-soft);
  letter-spacing: 0;
}

.plan-sub {
  font-size: 0.95rem;
  color: var(--ink-soft);
  margin: 6px 0 22px;
  flex: 1;
}

.plan .btn {
  text-align: center;
}

.included {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  margin: 24px 0 8px;
  padding: 0;
  list-style: none;
}

.fine {
  font-size: 0.95rem;
  color: var(--ink-soft);
  max-width: 52em;
}

/* Steps */

.steps {
  list-style: none;
  counter-reset: step;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 18px;
  max-width: 820px;
}

.steps li {
  counter-increment: step;
  position: relative;
  padding-left: 58px;
  min-height: 40px;
}

.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: -2px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 2px solid var(--scrub);
  color: var(--scrub-deep);
  font-weight: 700;
  display: grid;
  place-items: center;
}

/* FAQ */

.faq-list {
  max-width: 820px;
}

.faq-list details {
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 700;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: '+';
  font-size: 1.4rem;
  line-height: 1;
  color: var(--scrub);
}

.faq-list details[open] summary::after {
  content: '\2212';
}

.faq-list details p {
  margin: 12px 0 0;
  color: var(--ink-soft);
}

/* Contact */

.contact-lines {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 56px;
  margin: 8px 0 18px;
  font-size: 1.35rem;
  font-weight: 700;
}

.contact-lines span {
  display: block;
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--ink-soft);
}

.contact-lines a {
  text-decoration: none;
}

.small {
  font-size: 0.95rem;
  color: var(--ink-soft);
}

/* Footer */

.site-footer {
  border-top: 1px solid var(--line);
  padding: 34px 0 44px;
  font-size: 0.95rem;
  color: var(--ink-soft);
}

.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px 32px;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 22px;
}

.site-footer a {
  color: var(--ink);
}

.site-footer p {
  margin: 0;
  max-width: 34em;
}

/* Legal pages */

.legal {
  padding: 48px 0 72px;
}

.legal .wrap {
  max-width: 820px;
}

.legal h1 {
  font-size: clamp(2rem, 4vw, 2.6rem);
}

.legal h2 {
  font-size: 1.35rem;
  margin-top: 1.8em;
  letter-spacing: 0;
}

.legal ul {
  padding-left: 1.3em;
}

.legal li {
  margin-bottom: 6px;
}

.note {
  background: var(--scrub-tint);
  border-left: 4px solid var(--scrub);
  padding: 14px 18px;
  border-radius: 6px;
  margin: 1.2em 0;
}

.note p:last-child {
  margin-bottom: 0;
}

/* Small screens */

@media (max-width: 900px) {
  .hero .wrap,
  .privacy-band .wrap {
    grid-template-columns: 1fr;
  }
  .record {
    max-width: 520px;
  }
  .roles,
  .pricing {
    grid-template-columns: 1fr;
  }
  .role + .role {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding: 24px 0 0;
    margin-top: 20px;
  }
  .role {
    padding-right: 0;
  }
  .plan + .plan {
    border-left: 0;
    border-top: 1px solid var(--line);
  }
}

@media (max-width: 560px) {
  body {
    font-size: 1.0625rem;
  }
  .nav {
    gap: 4px 16px;
    font-size: 0.95rem;
  }
  .day li {
    grid-template-columns: 1fr;
  }
  .stamp {
    width: 88px;
    height: 88px;
    bottom: 10px;
  }
  .stamp strong {
    font-size: 1.15rem;
  }
  .card {
    padding: 20px 16px 26px;
  }
  .bubble {
    left: 0;
  }
}
