/* PetFam Microchip: B2B site for clinics and animal hospitals.
   Brand tokens from petfamapp.com (primary #0095E5, navy #003C5E, FC Iconic Rounded).
   Depth comes from light, layered shadows and translucent surfaces. No illustration, no motion beyond colour transitions. */

@font-face { font-family: "fcIconicRounded"; src: url("assets/fonts/FCIconicRounded-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "fcIconicRounded"; src: url("assets/fonts/FCIconicRounded-Medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "fcIconicRounded"; src: url("assets/fonts/FCIconicRounded-SemiBold.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "fcIconicRounded"; src: url("assets/fonts/FCIconicRounded-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --primary: #0095e5;
  --primary-600: #0083c7;
  --primary-700: #005e91;
  --navy: #003c5e;
  --navy-900: #002a42;
  --ink: #171717;
  --muted: #4c7a93;
  --body: #3d5a6b;
  --line: #d3e7f4;
  --sky-50: #f0f9ff;
  --sky-100: #dff2fe;
  --glow: #c1dfff;
  --maxw: 1120px;
  --header-h: 72px;

  --sh-1: 0 1px 2px rgb(0 60 94 / 8%), 0 6px 16px -4px rgb(0 60 94 / 12%);
  --sh-2: 0 1px 2px rgb(0 60 94 / 6%), 0 14px 34px -12px rgb(0 60 94 / 26%), 0 0 0 1px rgb(0 149 229 / 7%);
  --sh-3: 0 2px 4px rgb(0 60 94 / 6%), 0 30px 64px -22px rgb(0 60 94 / 38%), 0 0 0 1px rgb(0 149 229 / 8%);
  --surface: linear-gradient(180deg, #fff 0%, #f6fbff 100%);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  font-family: "fcIconicRounded", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px; line-height: 1.65; color: var(--ink); background: #fff;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--primary-600); }
h1, h2, h3, p, dl, dd, ol, figure { margin: 0; }
h1, h2, h3 { color: var(--navy); line-height: 1.2; }
h1 { font-size: clamp(36px, 4.8vw, 56px); font-weight: 700; letter-spacing: -0.01em; }
h1 .accent { color: var(--primary); }
h2 { font-size: clamp(28px, 3.4vw, 42px); font-weight: 700; letter-spacing: -0.01em; }
h3 { font-size: 19px; font-weight: 600; }
.wrap { width: min(100% - 40px, var(--maxw)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--primary); outline-offset: 3px; border-radius: 6px; }

/* Buttons (pill shape is the PetFam brand) */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 30px; border-radius: 999px; border: 1px solid transparent;
  font: inherit; font-weight: 600; font-size: 16px; text-decoration: none; cursor: pointer;
  transition: background .15s, border-color .15s, color .15s, box-shadow .15s;
}
.btn-primary {
  color: #fff;
  background: linear-gradient(180deg, #22a9f3 0%, #0095e5 55%, #0086d2 100%);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 40%), inset 0 -1px 0 rgb(0 60 94 / 18%), 0 1px 2px rgb(0 60 94 / 25%), 0 10px 22px -8px rgb(0 149 229 / 75%);
}
.btn-primary:hover { background: linear-gradient(180deg, #14a0ee 0%, #0088d4 55%, #0078bd 100%); }
.btn-ghost {
  color: var(--navy); background: linear-gradient(180deg, #fff, #f1f8fd);
  border-color: #b4d3e8; box-shadow: var(--sh-1);
}
.btn-ghost:hover { border-color: var(--primary); color: var(--primary-600); }
.btn-light { background: linear-gradient(180deg, #fff, #e6f4fd); color: var(--navy); box-shadow: 0 8px 20px -8px rgb(0 0 0 / 45%), inset 0 1px 0 #fff; }
.btn-light:hover { background: #fff; }
.btn-outline-light { color: #fff; border-color: rgb(255 255 255 / 50%); background: rgb(255 255 255 / 6%); }
.btn-outline-light:hover { border-color: #fff; background: rgb(255 255 255 / 14%); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: rgb(255 255 255 / 86%); backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4);
  box-shadow: 0 1px 0 rgb(0 60 94 / 8%), 0 10px 28px -16px rgb(0 60 94 / 30%);
}
.site-header .wrap { height: 100%; display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img.mark { width: 40px; height: 40px; filter: drop-shadow(0 3px 5px rgb(0 100 170 / 30%)); }
.brand img.word { height: 22px; width: auto; }
.brand .sub { font-size: 16px; font-weight: 500; color: var(--muted); padding-left: 12px; border-left: 1px solid var(--line); }
.nav { display: flex; gap: 22px; margin-left: auto; align-items: center; }
.nav > a:not(.btn) { color: var(--navy); text-decoration: none; font-weight: 500; font-size: 15px; }
.nav > a:not(.btn):hover { color: var(--primary); }
.lang { display: inline-flex; border-radius: 999px; padding: 3px; background: var(--sky-100); box-shadow: inset 0 1px 2px rgb(0 60 94 / 14%); }
.lang button, .lang a { border: 0; background: transparent; font: inherit; font-size: 14px; font-weight: 600; padding: 3px 12px; border-radius: 999px; color: var(--muted); cursor: pointer; text-decoration: none; }
.lang button[aria-pressed="true"], .lang a[aria-current="page"] { background: linear-gradient(180deg, #0a4a70, var(--navy)); color: #fff; box-shadow: 0 2px 4px rgb(0 40 70 / 35%); }
.header-cta { min-height: 42px; padding: 0 22px; font-size: 15px; }
.menu-btn { display: none; margin-left: auto; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); box-shadow: var(--sh-1); cursor: pointer; color: var(--navy); }
.menu-btn svg { width: 22px; height: 22px; margin: auto; }

/* Hero */
.hero {
  position: relative; overflow-x: clip; padding-bottom: 0;
  background:
    radial-gradient(900px 520px at 85% -8%, rgb(0 149 229 / 20%), transparent 62%),
    radial-gradient(640px 420px at -4% 105%, rgb(193 223 255 / 65%), transparent 66%),
    linear-gradient(180deg, #e3f3ff 0%, #f3faff 62%, #fff 100%);
}
.rings { position: absolute; right: -190px; top: 50%; width: 820px; height: 820px; translate: 0 -54%; pointer-events: none; max-width: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: 5fr 7fr; gap: 24px; align-items: center; padding-block: 72px 80px; }
.hero-grid.no-media { grid-template-columns: minmax(0, 700px); }
.lead { margin-top: 22px; font-size: 20px; color: var(--body); max-width: 31em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

/* Hero pillars: the three things every chip comes with */
.pillars { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 10px; max-width: 30em; }
.pillars li { display: flex; align-items: center; gap: 14px; padding: 11px 16px 11px 11px; border-radius: 16px; background: rgb(255 255 255 / 78%); box-shadow: var(--sh-1), inset 0 1px 0 #fff; }
.pillars b { display: block; color: var(--navy); font-size: 17px; line-height: 1.3; }
.pillars small { display: block; color: var(--muted); font-size: 14px; line-height: 1.4; }
.p-ico { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; color: #fff; background: linear-gradient(180deg, #22a9f3, #0083c7); box-shadow: 0 6px 14px -6px rgb(0 131 199 / 60%), inset 0 1px 0 rgb(255 255 255 / 35%); }
.p-ico svg { width: 24px; height: 24px; }
.p-warr .p-ico { background: linear-gradient(180deg, #19c99c, #06a37d); box-shadow: 0 6px 14px -6px rgb(6 163 125 / 60%), inset 0 1px 0 rgb(255 255 255 / 35%); }
.hero-media { position: relative; margin-right: -40px; }
.hero-media img {
  display: block; width: 100%; height: auto;
  filter: drop-shadow(0 32px 24px rgb(0 60 94 / 28%)) drop-shadow(0 6px 8px rgb(0 60 94 / 16%));
}
.leaders { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.callout {
  position: absolute; left: var(--x); top: var(--y); transform: translate(10px, -50%);
  display: grid; padding: 9px 15px; border-radius: 12px;
  background: linear-gradient(180deg, rgb(255 255 255 / 94%), rgb(255 255 255 / 76%));
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: var(--sh-2), inset 0 1px 0 #fff;
}
.callout { max-width: calc(100% - var(--x) - 8px); }
.callout b { color: var(--navy); font-size: 15px; line-height: 1.25; }
.callout small { color: var(--muted); font-size: 13px; line-height: 1.3; }

/* Sections */
section { padding-block: 92px; }
.tinted { background: linear-gradient(180deg, var(--sky-50) 0%, #e4f3fd 100%); box-shadow: inset 0 1px 0 #fff, inset 0 -1px 0 rgb(0 100 160 / 8%); }
.split { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; align-items: start; }
.section-p { margin-top: 16px; color: var(--body); max-width: 28em; }

/* Photos in the side columns */
.stage { position: relative; margin-top: 44px; clip-path: inset(-300px -60px 0 -60px round 0 0 28px 28px); }
.stage::before {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; top: 40%; border-radius: 28px;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 600' fill='none' stroke='white' stroke-opacity='.45'%3E%3Ccircle cx='300' cy='300' r='80'/%3E%3Ccircle cx='300' cy='300' r='150'/%3E%3Ccircle cx='300' cy='300' r='230'/%3E%3Ccircle cx='300' cy='300' r='298'/%3E%3C/svg%3E") center 30% / 130% no-repeat,
    linear-gradient(180deg, #cfe9fc 0%, #9fd3f6 100%);
  box-shadow: inset 0 1px 0 #fff, inset 0 -30px 40px -30px rgb(0 94 145 / 25%);
}
.stage > img { position: relative; display: block; width: 100%; height: auto; z-index: 1; filter: drop-shadow(0 14px 14px rgb(0 60 94 / 22%)); }
.glass {
  position: absolute; z-index: 2; left: 14px; bottom: 22px; display: grid; padding: 12px 18px; border-radius: 14px;
  background: linear-gradient(180deg, rgb(255 255 255 / 94%), rgb(255 255 255 / 78%));
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--sh-3), inset 0 1px 0 #fff;
}
.glass b { color: var(--navy); font-size: 16px; line-height: 1.25; }
.glass small { color: var(--muted); font-size: 13px; }

/* Datasheet */
.sheet { border-radius: 20px; overflow: hidden; background: #fff; box-shadow: var(--sh-3); }
.sheet-head {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 18px 28px; color: #fff; font-weight: 600; font-size: 18px;
  background: linear-gradient(135deg, #1aa7f2 0%, #0087d2 45%, #005e91 100%);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 35%);
}
.spec > div { display: grid; grid-template-columns: 11em 1fr; gap: 16px; padding: 16px 28px; }
.spec > div:nth-child(even) { background: #f4faff; }
.spec > div + div { border-top: 1px solid #e3f0f8; }
.spec dt { color: var(--muted); }
.spec dd { font-weight: 600; color: var(--navy); }

/* Brand underline: the yellow stroke PetFam uses under key words */
.nw { white-space: nowrap; }
.hl { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 14' preserveAspectRatio='none'%3E%3Cpath d='M3 9 C 25 3, 45 13, 67 7 S 109 3, 131 8 S 171 12, 197 5' fill='none' stroke='%23ffc23d' stroke-width='5' stroke-linecap='round'/%3E%3C/svg%3E") left 100% / 100% .34em no-repeat; padding-bottom: .12em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.sec-h { max-width: 17em; margin-bottom: 48px; }

/* Why: bento */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); grid-template-areas: "warr app app" "warr rec std"; gap: 20px; }
.b-card { position: relative; display: flex; flex-direction: column; gap: 10px; min-height: 250px; padding: 32px; border-radius: 26px; background: var(--surface); box-shadow: var(--sh-2), inset 0 1px 0 #fff; }
.b-card h3 { font-size: 22px; }
.b-card p { color: var(--body); font-size: 16px; }
.b-big { display: flex; align-items: baseline; gap: 10px; line-height: .85; }
.b-num { font-weight: 700; letter-spacing: -0.04em; }
.b-unit { font-weight: 700; }

.b-warranty { grid-area: warr; justify-content: flex-end; overflow: hidden;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 600' fill='none' stroke='%2307bd90' stroke-opacity='.22'%3E%3Ccircle cx='300' cy='300' r='70'/%3E%3Ccircle cx='300' cy='300' r='140'/%3E%3Ccircle cx='300' cy='300' r='210'/%3E%3Ccircle cx='300' cy='300' r='290'/%3E%3C/svg%3E") right -170px top -170px / 520px no-repeat, radial-gradient(circle at 80% 10%, rgb(7 189 144 / 18%), transparent 55%), linear-gradient(180deg, #f3fdf9 0%, #def6ec 100%);
  box-shadow: var(--sh-2), inset 0 0 0 1px rgb(7 189 144 / 20%), inset 0 1px 0 #fff; }
.b-warranty .b-big { margin-bottom: auto; padding-top: 8px; }
.b-warranty .b-num { font-size: clamp(130px, 14vw, 190px); color: #06a37d; text-shadow: 0 1px 0 #fff, 0 18px 30px rgb(6 163 125 / 25%); }
.b-warranty .b-unit { font-size: 34px; color: #057a5c; }
.b-warranty h3 { color: #024d3b; font-size: 24px; }
.b-warranty p { color: #2c5a4d; }
.b-tag { align-self: flex-start; margin-top: 6px; padding: 6px 14px; border-radius: 999px; font-size: 14px; font-weight: 600; color: #057a5c; background: #fff; box-shadow: inset 0 0 0 1px rgb(7 189 144 / 35%), 0 4px 10px -6px rgb(6 120 90 / 40%); }

.b-app { grid-area: app; justify-content: center; min-height: 300px; padding-right: 46%; background: radial-gradient(circle at 85% 100%, rgb(0 149 229 / 22%), transparent 60%), linear-gradient(135deg, #f1f9ff 0%, #d9eefc 100%); }
.b-app h3 { font-size: 26px; }
.b-phone-wrap { position: absolute; inset: 0; pointer-events: none; clip-path: inset(-160px -40px 0 0 round 0 0 26px 0); }
.b-phone { position: absolute; right: 5%; bottom: 0; width: 40%; max-width: 310px; height: auto; filter: drop-shadow(0 24px 22px rgb(0 60 94 / 30%)); }

.b-records { grid-area: rec; justify-content: flex-end; overflow: hidden; color: #fff; background: linear-gradient(140deg, #22a9f3 0%, #0087d2 52%, #005e91 100%); box-shadow: var(--sh-3), inset 0 1px 0 rgb(255 255 255 / 30%); }
.b-records h3 { color: #fff; }
.b-records p { color: #d6efff; }
.b-glyph { position: absolute; right: -14px; top: -18px; width: 150px; height: 150px; color: rgb(255 255 255 / 16%); pointer-events: none; }

.b-std { grid-area: std; justify-content: flex-end; }
.b-std .b-big { margin-bottom: auto; }
.b-std .b-num { font-size: 60px; color: var(--navy); }
.b-std .b-unit { font-size: 24px; color: var(--primary); }

/* Earn: margin equation + reasons + moments */
.earn-grid { display: grid; grid-template-columns: 5fr 6fr; gap: 56px; align-items: center; }
.calc { padding: 14px; border-radius: 26px; background: linear-gradient(180deg, #f3f9fe, #e3f2fc); box-shadow: var(--sh-3), inset 0 1px 0 #fff; }
.calc-row { display: grid; grid-template-columns: 44px 1fr; column-gap: 16px; align-items: center; padding: 18px 20px; border-radius: 18px; background: #fff; box-shadow: var(--sh-1); }
.calc-row + .calc-row { margin-top: 10px; }
.calc-row > span:nth-child(2) { font-size: 21px; font-weight: 700; line-height: 1.3; color: var(--navy); }
.calc-row small { grid-column: 2; color: var(--muted); font-size: 14px; line-height: 1.4; }
.calc-op { grid-row: span 2; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; font-size: 26px; font-weight: 700; line-height: 1; color: var(--primary-600); background: var(--sky-100); }
.calc-op svg { width: 22px; height: 22px; }
.calc-total { background: linear-gradient(140deg, #22a9f3 0%, #0087d2 52%, #005e91 100%); box-shadow: var(--sh-2), inset 0 1px 0 rgb(255 255 255 / 30%); }
.calc-total > span:nth-child(2) { color: #fff; font-size: 25px; }
.calc-total small { color: #d6efff; }
.calc-total .calc-op { color: #fff; background: rgb(255 255 255 / 18%); }
.earn-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 30px; }
.earn-list li { display: grid; grid-template-columns: 44px 1fr; column-gap: 18px; align-items: start; }
.earn-list .p-ico { grid-row: span 2; }
.earn-list h3 { font-size: 21px; }
.earn-list p { grid-column: 2; margin-top: 4px; color: var(--body); font-size: 16px; }
.moments { margin-top: 60px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; }
.moments p { font-weight: 700; color: var(--navy); }
.moments ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.moments li { padding: 9px 18px; border-radius: 999px; background: var(--surface); box-shadow: var(--sh-1), inset 0 1px 0 #fff; color: var(--navy); font-size: 15px; font-weight: 500; }

/* No paperwork: a pile of forms against the app */
#nopaper .svc-head { margin-bottom: 92px; }
.nop-stage { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.nop-card { position: relative; display: flex; flex-direction: column; gap: 26px; min-height: 500px; padding: 40px 53% 40px 40px; border-radius: 32px; }
.nop-card.old { background: linear-gradient(180deg, rgb(255 255 255 / 11%), rgb(255 255 255 / 4%)); box-shadow: inset 0 0 0 1px rgb(255 255 255 / 16%), inset 0 1px 0 rgb(255 255 255 / 16%); }
.nop-card.us { background: repeating-radial-gradient(circle at 76% 58%, transparent 0 52px, rgb(0 149 229 / 13%) 52px 54px), linear-gradient(160deg, #fff 0%, #dff2fe 100%); box-shadow: 0 40px 70px -26px rgb(0 0 0 / 65%), inset 0 1px 0 #fff; }
.nop-kicker { font-size: 15px; font-weight: 700; letter-spacing: .04em; color: #9fcbe6; }
.us .nop-kicker { color: var(--primary-600); }
.nop-steps { list-style: none; counter-reset: s; margin: 0; padding: 0; display: grid; }
.nop-steps li { counter-increment: s; display: flex; align-items: center; gap: 16px; padding: 15px 0; font-weight: 600; font-size: 18px; line-height: 1.35; border-top: 1px solid rgb(255 255 255 / 14%); }
.us .nop-steps li { border-top-color: rgb(0 60 94 / 12%); color: var(--navy); }
.nop-steps li:first-child { border-top: 0; }
.nop-steps li::before { content: counter(s); flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; font-size: 16px; font-weight: 700; }
.nop-steps li.t::before { background: #ffc23d; color: #3a2a00; }
.nop-steps li.o::before { background: linear-gradient(180deg, #19c99c, #06a37d); color: #fff; box-shadow: 0 6px 14px -6px rgb(6 163 125 / 70%); }
.nop-steps li.d { color: #057a5c; font-weight: 700; }
.nop-steps li.d::before { content: ""; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2306a37d' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 18px no-repeat; box-shadow: inset 0 0 0 2px #06a37d; }
.nop-stat { margin-top: auto; display: flex; align-items: center; gap: 18px; font-weight: 600; font-size: 17px; line-height: 1.35; color: #d6efff; }
.us .nop-stat { color: var(--navy); }
.nop-num { flex: none; font-size: 118px; font-weight: 700; line-height: .8; letter-spacing: -0.05em; padding-bottom: 6px; }
.nop-num.warm { color: #ffc23d; text-shadow: 0 14px 30px rgb(255 194 61 / 30%); }
.nop-num.cool { background: linear-gradient(180deg, #22a9f3, #005e91); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nop-visual { position: absolute; }
/* The pile: one form per animal */
.forms { right: 4%; top: 50%; width: 39%; max-width: 270px; aspect-ratio: 3 / 4; transform: translateY(-50%); }
.paper { position: absolute; inset: 0; border-radius: 6px; background: #fbfcfe; box-shadow: 0 18px 30px -12px rgb(0 0 0 / 55%), 0 2px 4px rgb(0 0 0 / 25%); }
.paper.p3 { transform: translate(22px, -6px) rotate(9deg); background: #e9eff5; }
.paper.p2 { transform: translate(-16px, 8px) rotate(-6deg); background: #f3f6fa; }
.paper.p1 { transform: rotate(-1.4deg); display: flex; flex-direction: column; gap: 9px; padding: 16px 15px; color: #5b7283; }
.pf-title { padding-bottom: 8px; border-bottom: 2px solid #1f3d57; font-size: 12px; font-weight: 700; color: #1f3d57; }
.pf-row { position: relative; display: grid; gap: 2px; }
.pf-row small { font-size: 9.5px; line-height: 1.2; color: #7b8f9e; }
.pf-row i { display: block; width: var(--w); height: 13px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 13' fill='none' stroke='%232a3f9d' stroke-width='1.3' stroke-linecap='round'%3E%3Cpath d='M0 8 Q3 1 6 8 T12 8'/%3E%3C/svg%3E") left center / 12px 13px repeat-x; border-bottom: 1px solid #c3d0db; }
.pf-row.sig svg { width: 80%; height: 32px; }
/* The same chore as a web form: a browser window tilted into the pile */
.webform { position: absolute; right: -16%; bottom: -5%; width: 82%; border-radius: 10px; overflow: hidden; background: #fff; transform: rotate(3.5deg); box-shadow: 0 22px 34px -12px rgb(0 0 0 / 65%), 0 0 0 1px rgb(0 40 70 / 22%); }
.wf-bar { display: flex; align-items: center; gap: 5px; height: 22px; padding: 0 9px; background: #dfe8ef; }
.wf-bar i { width: 7px; height: 7px; border-radius: 50%; background: #aebdca; }
.wf-bar span { flex: 1; height: 9px; margin-left: 6px; border-radius: 5px; background: #f6f9fb; }
.wf-body { display: grid; gap: 8px; padding: 11px 12px 13px; }
.wf-field { display: grid; gap: 2px; }
.wf-field small { font-size: 9.5px; line-height: 1.2; font-weight: 600; color: #52687a; }
.wf-in { display: flex; align-items: center; height: 22px; padding: 0 7px; border: 1px solid #b9c8d4; border-radius: 5px; background: #fff; }
.wf-in b { display: block; width: var(--w); height: 5px; border-radius: 3px; background: #7f95a6; }
.wf-btn { justify-self: start; margin-top: 3px; padding: 6px 16px; border-radius: 6px; background: #1f3d57; color: #fff; font-size: 11px; font-weight: 700; }
/* The app: pops out of the card */
.phone-wrap { inset: 0; pointer-events: none; clip-path: inset(-96px -40px 0 0 round 0 0 32px 0); }
.phone-wrap img { position: absolute; right: -7%; bottom: 0; width: 58%; max-width: 440px; height: auto; filter: drop-shadow(0 28px 24px rgb(0 60 94 / 38%)); }
.nop-legend { margin-top: 26px; display: flex; gap: 26px; justify-content: center; font-size: 15px; font-weight: 600; color: #c3e4f6; }
.nop-legend > span { display: inline-flex; align-items: center; gap: 9px; }
.dot { width: 14px; height: 14px; border-radius: 50%; }
.dot.t { background: #ffc23d; }
.dot.o { background: linear-gradient(180deg, #19c99c, #06a37d); }

/* Who it's for: navy section with tabs */
.dark { position: relative; overflow: hidden; color: #fff;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 800 800' fill='none' stroke='white' stroke-opacity='.13'%3E%3Ccircle cx='400' cy='400' r='90'/%3E%3Ccircle cx='400' cy='400' r='170'/%3E%3Ccircle cx='400' cy='400' r='250'/%3E%3Ccircle cx='400' cy='400' r='330'/%3E%3Ccircle cx='400' cy='400' r='398'/%3E%3C/svg%3E") right -260px top -220px / 900px no-repeat, radial-gradient(900px 520px at 100% 0%, rgb(0 149 229 / 32%), transparent 60%), linear-gradient(160deg, #004a74 0%, #003c5e 45%, #002a42 100%);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 12%); }
.dark h2 { color: #fff; }
.dark .section-p { color: #c3e4f6; }
.dark :focus-visible { outline-color: #fff; }
.svc-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px 48px; margin-bottom: 44px; }
.svc-head h2 { max-width: 13em; }
.svc-head .section-p { margin-top: 0; max-width: 24em; font-size: 18px; }
.tabs { display: grid; grid-template-columns: 300px 1fr; gap: 28px; align-items: stretch; }
.tablist { display: grid; gap: 10px; align-content: start; }
.tablist [role="tab"] { text-align: left; font: inherit; font-size: 17px; font-weight: 600; padding: 16px 20px; border-radius: 16px; cursor: pointer; color: #cfe8f7; background: rgb(255 255 255 / 6%); border: 1px solid rgb(255 255 255 / 12%); transition: background .15s, border-color .15s, color .15s, box-shadow .15s; }
.tablist [role="tab"]:hover { color: #fff; background: rgb(255 255 255 / 12%); }
.tablist [role="tab"][aria-selected="true"] { color: var(--navy); background: linear-gradient(180deg, #fff, #e6f4fd); border-color: #fff; box-shadow: 0 12px 26px -12px rgb(0 0 0 / 55%), inset 0 1px 0 #fff; }
.tabpanel { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: center; gap: 28px; min-height: 300px; padding: 44px; border-radius: 26px;
  background: linear-gradient(160deg, rgb(255 255 255 / 13%), rgb(255 255 255 / 4%)); border: 1px solid rgb(255 255 255 / 16%);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 20%), 0 30px 60px -30px rgb(0 0 0 / 60%); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.tab-lead { font-size: clamp(22px, 2.4vw, 30px); line-height: 1.45; font-weight: 600; color: #fff; max-width: 22em; }
.tabpanel .btn { align-self: flex-start; }

/* How: timeline */
.timeline { list-style: none; padding: 0; margin: 52px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; position: relative; }
.timeline::before { content: ""; position: absolute; top: 33px; left: 34px; right: calc((100% - 64px) / 3 - 34px); height: 3px; border-radius: 3px; background: linear-gradient(90deg, #0095e5, #7fd0fb); }
.timeline li { position: relative; }
.t-num { position: relative; z-index: 1; display: grid; place-items: center; width: 68px; height: 68px; margin-bottom: 22px; border-radius: 50%; font-size: 30px; font-weight: 700; color: #fff;
  background: linear-gradient(180deg, #22a9f3, #0086d2); box-shadow: inset 0 1px 0 rgb(255 255 255 / 45%), 0 0 0 8px #fff, 0 14px 24px -8px rgb(0 149 229 / 70%); }
.timeline h3 { font-size: 21px; }
.timeline p { margin-top: 6px; color: var(--body); max-width: 20em; }
.t-badge { display: inline-block; margin-top: 12px; padding: 5px 12px; border-radius: 999px; font-size: 14px; font-weight: 600; color: #057a5c; background: #e3faf3; box-shadow: inset 0 0 0 1px rgb(7 189 144 / 30%); }

/* Closing band */
.band {
  position: relative; overflow: hidden; color: #fff; padding-block: 100px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 800 800' fill='none' stroke='white' stroke-opacity='.13'%3E%3Ccircle cx='400' cy='400' r='90'/%3E%3Ccircle cx='400' cy='400' r='170'/%3E%3Ccircle cx='400' cy='400' r='250'/%3E%3Ccircle cx='400' cy='400' r='330'/%3E%3Ccircle cx='400' cy='400' r='398'/%3E%3C/svg%3E") left -200px center / 760px no-repeat, linear-gradient(115deg, #0a6fa8 0%, #004a74 45%, #002a42 100%);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 18%);
}
.band-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 32px; align-items: center; }
.band h2 { color: #fff; font-size: clamp(30px, 3.8vw, 50px); max-width: 13em; }
.band p { margin-top: 16px; color: #c3e4f6; font-size: 19px; }
.band .actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }
.band-product { width: 125%; max-width: none; height: auto; margin: -60px -32% -150px 0; filter: drop-shadow(0 34px 30px rgb(0 0 0 / 45%)); }
.btn-line { color: #fff; background: #06c755; box-shadow: inset 0 1px 0 rgb(255 255 255 / 30%), 0 10px 22px -10px rgb(6 199 85 / 80%); }
.btn-line:hover { background: #05b34c; }

/* Contact */
.contact-faq { margin-top: 26px; }
.contact-faq h3 { font-size: 18px; color: var(--navy); margin-bottom: 12px; }
.contact-faq .faq summary { font-size: 17px; padding: 17px 56px 17px 20px; }
.contact-faq .faq details p { padding: 0 24px 18px 20px; font-size: 16px; }
.contact-faq .faq summary::after { right: 18px; }
.contact-stack { margin-top: 36px; }
.quote-wrap { position: sticky; top: calc(var(--header-h) + 20px); }
.mascot { position: relative; z-index: 1; display: block; width: 56%; height: auto; margin: 0 0 -14px 24px; filter: drop-shadow(0 10px 8px rgb(0 60 94 / 24%)); }
.contact-card { border-radius: 22px; background: var(--surface); box-shadow: var(--sh-3), inset 0 1px 0 #fff; }
.contact-card .contact-list { margin: 0; padding: 10px 26px 14px; }
.contact-card .contact-list > div:first-child { border-top: 0; }
.contact-list { margin-top: 32px; }
.contact-list > div { padding: 13px 0; border-top: 1px solid rgb(0 100 160 / 14%); }
.contact-list dt { font-size: 14px; color: var(--muted); }
.contact-list a:not(.line-badge) { color: var(--navy); font-weight: 600; text-decoration: none; font-size: 18px; }
.contact-list a:not(.line-badge):hover { color: var(--primary); text-decoration: underline; }
form.quote { background: var(--surface); border-radius: 22px; padding: 34px; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; box-shadow: var(--sh-3), inset 0 1px 0 #fff; }
.field { display: grid; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 15px; font-weight: 600; color: var(--navy); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 16px; padding: 12px 14px; border-radius: 10px; width: 100%;
  border: 1px solid #b4d3e8; background: #fbfdff; color: var(--ink);
  box-shadow: inset 0 1px 3px rgb(0 60 94 / 10%);
  transition: border-color .15s, box-shadow .15s;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--primary); box-shadow: inset 0 1px 3px rgb(0 60 94 / 8%), 0 0 0 3px rgb(0 149 229 / 20%); }
.field [aria-invalid="true"] { border-color: #e40014; }
.form-foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 16px; justify-content: space-between; }
.form-foot small { color: var(--muted); font-size: 14px; max-width: 28em; }
#form-status:not(.sr-only) { grid-column: 1 / -1; color: #bf000f; font-size: 15px; font-weight: 500; }

/* Footer (layout replicated from petfamapp.com) */
.site-footer { background: #fff; padding-block: 64px; box-shadow: 0 -14px 40px -18px rgb(0 60 94 / 28%), 0 -1px 0 rgb(0 100 160 / 8%); position: relative; }
.footer-grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 48px; }
.f-logo { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 12px; text-decoration: none; }
.f-logo .mark { width: 54px; height: 54px; filter: drop-shadow(0 4px 7px rgb(0 100 170 / 32%)); }
.f-logo .word { height: 28px; width: auto; }
.f-tag { margin-top: 14px; color: var(--body); font-size: 15px; }
.f-contact { margin-top: 14px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.f-mail { display: inline-flex; align-items: center; gap: 8px; color: #5f7380; text-decoration: none; font-size: 15px; }
.f-mail svg { width: 18px; height: 18px; }
.f-mail:hover { color: var(--primary-600); }
.f-sep { width: 1px; height: 22px; background: var(--line); }
.line-badge { display: inline-flex; border-radius: 6px; }
.line-badge img { height: 36px; width: auto; }
.f-addr { margin-top: 18px; max-width: 26em; font-style: normal; display: grid; gap: 2px; color: #5f7380; font-size: 14px; line-height: 1.55; }
.f-addr strong { color: var(--navy); font-weight: 600; font-size: 15px; }
.f-cols { display: flex; gap: 72px; }
.f-cols > div { display: grid; align-content: start; gap: 14px; }
.f-h { font-weight: 700; color: #5f7380; font-size: 16px; }
.f-cols a { color: #7a8c97; text-decoration: none; font-size: 15px; }
.f-cols a:hover { color: var(--primary-600); }

/* Responsive */

/* ---------- Hero notes ---------- */
.hero-note { margin-top: 16px; color: var(--muted); font-size: 15px; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; }
.faq details { background: var(--surface); border-radius: 14px; box-shadow: var(--sh-1), inset 0 1px 0 #fff; }
.faq details[open] { box-shadow: var(--sh-2), inset 0 1px 0 #fff; }
.faq summary { cursor: pointer; list-style: none; padding: 20px 60px 20px 24px; position: relative; font-size: 18px; font-weight: 600; color: var(--navy); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 22px; top: 50%; width: 20px; height: 20px; margin-top: -10px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%230095e5' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M10 4v12M4 10h12'/%3E%3C/svg%3E") center / 20px 20px no-repeat;
}
.faq details[open] summary::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%230095e5' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M4 10h12'/%3E%3C/svg%3E");
}
.faq details p { padding: 0 60px 22px 24px; color: var(--body); }

/* Honeypot: invisible to people, irresistible to bots */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Consent checkbox + success panel ---------- */
.field.consent .check { display: flex; gap: 12px; align-items: flex-start; font-weight: 400; font-size: 14px; color: var(--body); line-height: 1.5; cursor: pointer; }
.field.consent input[type="checkbox"] { width: 20px; height: 20px; padding: 0; margin: 2px 0 0; flex: none; accent-color: var(--primary); box-shadow: none; }
.field.consent input[aria-invalid="true"] { outline: 2px solid #e40014; outline-offset: 2px; }
.field.consent a { color: var(--primary-600); }
.quote-done { background: var(--surface); border-radius: 22px; padding: 48px 34px; text-align: center; display: grid; justify-items: center; gap: 18px; box-shadow: var(--sh-3), inset 0 1px 0 #fff; }
.quote-done:focus { outline: 0; }
.quote-done h3 { font-size: 23px; }
.quote-done p { color: var(--body); max-width: 28em; margin-top: 8px; }
.done-ico { width: 60px; height: 60px; }
.mail-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 18px; }

@media (max-width: 560px) {
  .quote-done { padding: 36px 22px; }
}

@media (max-width: 980px) {
  .hero-media { margin-right: 0; }
  .quote-wrap { position: static; }
  .hero-grid, .split, .band-grid { grid-template-columns: 1fr; }
  .hero-grid { padding-block: 56px 88px; gap: 36px; }
  .rings { right: -330px; width: 700px; height: 700px; opacity: .8; }
  .split { gap: 32px; }
  .bento { grid-template-columns: 1fr 1fr; grid-template-areas: "warr warr" "app app" "rec std"; }
  .earn-grid { grid-template-columns: 1fr; gap: 44px; }
  .nop-stage { grid-template-columns: 1fr; }
  #nopaper .svc-head { margin-bottom: 44px; }
  .nop-card { min-height: 0; padding: 32px 32px 0; }
  .nop-visual { position: relative; order: 9; right: auto; top: auto; inset: auto; width: auto; max-width: none; transform: none; aspect-ratio: auto; height: 330px; margin: 0 -32px; }
  .forms { overflow: hidden; border-radius: 0 0 32px 32px; }
  .forms .paper { inset: 38px auto auto 50%; width: 220px; height: 300px; margin-left: -150px; }
  .webform { right: auto; bottom: auto; left: 50%; top: 150px; width: 200px; margin-left: -10px; }
  .phone-wrap { clip-path: inset(-60px 0 0 0 round 0 0 32px 32px); }
  .phone-wrap img { right: 50%; transform: translateX(50%); width: 62%; max-width: 270px; }
  .moments { margin-top: 44px; }
  .b-warranty { min-height: 0; }
  .tabs { grid-template-columns: 1fr; }
  .tablist { display: flex; overflow-x: auto; gap: 8px; padding-bottom: 6px; scrollbar-width: thin; }
  .tablist [role="tab"] { flex: none; white-space: nowrap; padding: 12px 16px; font-size: 16px; }
  .tabpanel { min-height: 0; padding: 30px; }
  .band-grid { grid-template-columns: 1fr; }
  .band-product { width: 100%; margin: 20px 0 -110px; }
  section { padding-block: 68px; }
  .menu-btn { display: grid; }
  .nav { position: absolute; top: var(--header-h); left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: #fff; box-shadow: 0 18px 30px -18px rgb(0 60 94 / 40%); padding: 8px 20px 20px; display: none; margin: 0; }
  .nav.open { display: flex; }
  .nav > a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav .lang { align-self: flex-start; margin-top: 14px; }
  .nav .header-cta { margin-top: 14px; }
}
@media (max-width: 560px) {
  .bento { grid-template-columns: 1fr; grid-template-areas: "warr" "app" "rec" "std"; }
  .calc-row { padding: 16px; column-gap: 14px; }
  .nop-card { padding: 26px 22px 0; }
  .nop-visual { margin: 0 -22px; }
  .nop-steps li { padding: 13px 0; font-size: 17px; }
  .nop-num { font-size: 92px; }
  .calc-row > span:nth-child(2) { font-size: 19px; }
  .calc-total > span:nth-child(2) { font-size: 22px; }
  .pillars b { font-size: 16px; }
  .b-card { padding: 26px; }
  .b-app { padding-right: 26px; padding-bottom: 300px; }
  .b-phone { width: 62%; right: 50%; transform: translateX(50%); }
  .timeline { grid-template-columns: 1fr; gap: 30px; }
  .timeline::before { top: 34px; bottom: 34px; left: 33px; right: auto; width: 3px; height: auto; }
  .timeline li { display: grid; grid-template-columns: 68px 1fr; column-gap: 20px; }
  .t-num { grid-row: span 3; margin-bottom: 0; }
  .band { padding-block: 72px; }
  .callout { padding: 6px 10px; }
  .callout b { font-size: 13px; }
  .callout small { display: none; }
  .f-cols { gap: 40px; }
  .site-footer { padding-block: 48px; }
  body { font-size: 16px; }
  .spec > div { grid-template-columns: 1fr; gap: 2px; padding: 14px 22px; }
  .sheet-head { padding: 16px 22px; }
  form.quote { grid-template-columns: 1fr; padding: 22px; }
  .hero-actions .btn, .band .actions .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* Header: five links need more room, so tighten first, then fold into the menu earlier than the layout breakpoint */
@media (max-width: 1240px) {
  .brand .sub { display: none; }
  .nav { gap: 18px; }
  .nav > a:not(.btn) { white-space: nowrap; }
}

/* Keep the hero image and its callouts inside the page margin until there is room to bleed */
@media (max-width: 1240px) { .hero-media { margin-right: 0; } }
