/* =====================================================================
   LOOPO & CO. PUBLIC PAGES
   Shared look for How it works, Your Records, Our story and FAQ.
   Loaded AFTER styles.css (colours, fonts and buttons come from there).
   ===================================================================== */

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 720px; }

section { padding: 64px 0; }
h1, h2 { font-family: Fraunces, Georgia, serif; font-weight: 500; line-height: 1.08; margin: 0 0 14px; }
h1 { font-size: clamp(38px, 6vw, 58px); }
h2 { font-size: clamp(28px, 4vw, 38px); }
h3 { margin: 0 0 8px; font-size: 18px; }
.lead { margin: 0 0 28px; max-width: 600px; font-size: 18px; color: var(--muted); }
.section-intro { margin: 0 0 36px; max-width: 580px; font-size: 17px; color: var(--muted); }
.eyebrow { display: inline-block; margin-bottom: 14px; font-size: 13px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--green); }
.muted { color: var(--muted); }

/* ---------- Top bar and menu ---------- */
.site-header { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; }
.logo { display: flex; align-items: center; gap: 10px; white-space: nowrap; font-family: Lora, Georgia, serif; font-weight: 500; font-size: 23px; color: var(--green); text-decoration: none; }
.logo svg { width: 30px; height: 30px; flex-shrink: 0; }
.public-nav { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; justify-content: flex-end; }
.public-nav a { padding: 10px 12px; border-radius: 999px; color: var(--ink); font-weight: 500; font-size: 15px; text-decoration: none; white-space: nowrap; }
.public-nav a:hover { background: var(--green-tint); }
.public-nav a[aria-current="page"] { color: var(--green); font-weight: 700; }
.public-nav .nav-cta { margin-left: 6px; border: 1.5px solid var(--green); color: var(--green); font-weight: 700; }

/* ---------- Page heading ---------- */
.page-hero { padding-top: 48px; padding-bottom: 32px; }
main a:not(.button) { color: var(--green); }
.page-hero .lead:last-child { margin-bottom: 0; }

/* ---------- Bands of colour to break up long pages ---------- */
.band-white { background: var(--white); }
.band-tint { background: var(--green-tint); }
.band-green { background: var(--green); color: var(--white); }
.band-green h2 { color: var(--white); }
.band-green p { color: #DCE6DF; }

/* ---------- Numbered steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin: 0; padding: 0; list-style: none; }
.steps.four { grid-template-columns: repeat(4, 1fr); gap: 24px; }
.step-number { width: 40px; height: 40px; margin-bottom: 16px; border-radius: 50%; background: var(--green-tint); color: var(--green); font-weight: 700; display: flex; align-items: center; justify-content: center; }
.band-tint .step-number { background: var(--white); }
.steps h3 { font-family: Fraunces, Georgia, serif; font-weight: 500; font-size: 22px; }
.steps p { margin: 0; color: var(--muted); }

/* ---------- Cards ---------- */
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.card { background: var(--white); border-radius: 20px; padding: 28px; }
.band-white .card { background: var(--cream-light); }
.card p { margin: 0; color: var(--muted); }
.card p + p { margin-top: 10px; }

/* ---------- Two columns: text and picture ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }

/* ---------- Free vs Your Records table ---------- */
.compare { width: 100%; border-collapse: collapse; background: var(--white); border-radius: 20px; overflow: hidden; font-size: 16px; }
.compare th, .compare td { padding: 16px 18px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: middle; }
.compare thead th { background: var(--green); color: var(--white); font-weight: 700; font-size: 15px; }
.compare td.yes, .compare td.no, .compare th.col { width: 150px; text-align: center; }
.compare td.yes { color: var(--green); font-weight: 700; font-size: 20px; }
.compare td.no { color: #A9A495; }
.compare tr:last-child td { border-bottom: none; }

/* ---------- Ticked lists ---------- */
.ticks { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 14px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; }
.ticks li::before { content: "✓"; flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%; background: var(--green-tint); color: var(--green); font-weight: 700; font-size: 14px; display: flex; align-items: center; justify-content: center; }
.band-tint .ticks li::before { background: var(--white); }
.ticks strong { display: block; }
.ticks span { color: var(--muted); }
.soon-pill { display: inline-block; margin-left: 6px; padding: 1px 9px; border-radius: 999px; background: var(--cream); font-size: 12px; font-weight: 700; color: var(--muted); vertical-align: 2px; }

/* ---------- Questions that open and close ---------- */
.faq-group { margin-bottom: 40px; }
.faq-group h2 { font-size: 26px; margin-bottom: 4px; }
details { border-bottom: 1px solid #E6DECF; padding: 18px 0; }
summary { cursor: pointer; font-weight: 700; font-size: 17px; }
details p { margin: 10px 0 0; color: var(--muted); }

/* ---------- Call to action at the bottom of pages ---------- */
.cta { text-align: center; }
.cta .section-intro { margin-left: auto; margin-right: auto; }
.cta-buttons { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.cta-buttons .button, .inline-buttons .button { width: auto; padding: 0 26px; }
.inline-buttons { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.public-footer { padding: 32px 0 40px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.public-footer nav { display: flex; gap: 16px; flex-wrap: wrap; }
.public-footer a { color: inherit; }

/* ---------- Phones ---------- */
@media (max-width: 760px) {
  section { padding: 48px 0; }
  .site-header, .wrap > .site-header { flex-direction: column; align-items: flex-start; gap: 8px; padding: 16px 0 8px; }
  .public-nav { justify-content: flex-start; margin-left: -12px; }
  .public-nav a { padding: 8px 12px; font-size: 14px; }
  .logo { font-size: 20px; }
  .logo svg { width: 26px; height: 26px; }
  .steps, .steps.four, .cards, .split { grid-template-columns: 1fr; }
  .split { gap: 8px; }
  .page-hero.split { gap: 32px; }
  .compare { font-size: 14px; }
  .compare th, .compare td { padding: 12px; }
  .compare td.yes, .compare td.no, .compare th.col { width: 84px; }
}
.table-scroll { overflow-x: auto; }

/* =====================================================================
   SHOP
   ===================================================================== */

/* ---------- The brushed steel tag, drawn with CSS ----------
   Change the size with --size (e.g. style="--size: 220px") */
.tag { --size: 170px; width: var(--size); height: var(--size); border-radius: 50%; position: relative; flex-shrink: 0;
  background: radial-gradient(circle at 34% 26%, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0) 45%),
              conic-gradient(from 200deg, #D4D7D6, #F1F2F1, #C7CBCA, #E9EBEA, #BEC2C1, #EEF0EF, #D4D7D6);
  box-shadow: 0 16px 36px rgba(20,30,25,0.22), inset 0 2px 1px rgba(255,255,255,0.85), inset 0 -3px 6px rgba(0,0,0,0.18), inset 0 0 0 1px rgba(0,0,0,0.08);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: calc(var(--size) * 0.07); }
.tag::before { content: ""; position: absolute; top: calc(var(--size) * 0.07); width: calc(var(--size) * 0.06); height: calc(var(--size) * 0.06); border-radius: 50%; background: var(--cream); box-shadow: inset 0 1px 2px rgba(0,0,0,0.45); }
.tag-name { font-family: "DM Sans", system-ui, sans-serif; font-weight: 400; font-size: calc(var(--size) * 0.23); letter-spacing: 0.16em; margin-right: -0.16em; color: #3B3F3E; text-shadow: 0 1px 0 rgba(255,255,255,0.7); max-width: 82%; white-space: nowrap; overflow: hidden; text-overflow: clip; text-align: center; }
.tag-dot { width: calc(var(--size) * 0.035); height: calc(var(--size) * 0.035); border-radius: 50%; background: #3B3F3E; box-shadow: 0 1px 0 rgba(255,255,255,0.7); }
.tag-qr { margin-top: calc(var(--size) * 0.06); line-height: 0; opacity: 0.88; }
.tag-qr svg { width: calc(var(--size) * 0.5); height: calc(var(--size) * 0.5); }
.tag-mark { width: calc(var(--size) * 0.1); height: calc(var(--size) * 0.1); color: #2E3231; opacity: 0.8; }

/* ---------- Notice strip ---------- */
.notice-strip { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; padding: 14px 18px; border-radius: 14px; background: var(--green-tint); color: var(--green-text); font-size: 15px; }
.notice-strip strong { color: var(--green); }
.notice-strip a { margin-left: auto; font-weight: 700; }

/* ---------- Dog / cat filter ---------- */
.filters { display: flex; gap: 8px; margin: 28px 0 24px; flex-wrap: wrap; }
.chip { padding: 9px 18px; border-radius: 999px; border: 1.5px solid var(--border); background: transparent; font: inherit; font-size: 15px; font-weight: 500; color: var(--ink); cursor: pointer; }
.chip:hover { border-color: var(--green); }
.chip[aria-pressed="true"] { background: var(--green); border-color: var(--green); color: var(--white); }

/* ---------- Product cards ---------- */
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.product-card { display: flex; flex-direction: column; border-radius: 22px; background: var(--white); text-decoration: none; color: var(--ink); overflow: hidden; transition: transform 0.2s ease, box-shadow 0.2s ease; }
a.product-card:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(31,58,46,0.10); }
.product-card[hidden] { display: none; }
.product-image { position: relative; aspect-ratio: 1; background: var(--cream-light); display: flex; align-items: center; justify-content: center; }
.product-image .pill { position: absolute; top: 14px; left: 14px; }
.product-info { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 4px; }
.product-info h3 { margin: 0; font-family: Fraunces, Georgia, serif; font-weight: 500; font-size: 22px; }
.product-info .spec { color: var(--muted); font-size: 14px; }
.product-info .price { margin-top: 8px; font-weight: 700; color: var(--green); }
.pill { display: inline-block; padding: 4px 11px; border-radius: 999px; background: var(--white); font-size: 12px; font-weight: 700; letter-spacing: 0.02em; color: var(--green); box-shadow: 0 1px 0 rgba(0,0,0,0.04); }
.product-card.soon { background: transparent; border: 1.5px dashed var(--border); }
.product-card.soon .product-image { background: transparent; }

/* ---------- Icon features row ---------- */
.feature-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.feature-row .icon { width: 44px; height: 44px; margin-bottom: 14px; border-radius: 12px; background: var(--green-tint); color: var(--green); display: flex; align-items: center; justify-content: center; }
.band-tint .feature-row .icon { background: var(--white); }
.feature-row h3 { font-size: 17px; margin-bottom: 6px; }
.feature-row p { margin: 0; color: var(--muted); font-size: 15px; }

/* ---------- Product page ---------- */
.breadcrumb { display: flex; gap: 8px; padding-top: 12px; font-size: 14px; color: var(--muted); }
.breadcrumb a { color: var(--muted); }
.product-layout { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: start; padding: 20px 0 64px; }
.gallery { position: sticky; top: 20px; }
.stage { aspect-ratio: 1; border-radius: 28px; background: var(--white); display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.stage .view { display: none; flex-direction: column; align-items: center; gap: 18px; text-align: center; }
.stage .view.active { display: flex; }
.stage .caption { position: absolute; bottom: 16px; left: 24px; right: 24px; text-align: center; font-size: 13px; color: var(--muted); }
.thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 12px; }
.thumb { aspect-ratio: 1; border-radius: 14px; border: 2px solid transparent; background: var(--white); cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 6px; font: inherit; font-size: 12px; color: var(--muted); }
.thumb[aria-pressed="true"] { border-color: var(--green); color: var(--green); font-weight: 700; }
.photo-soon { width: 70%; aspect-ratio: 1; border-radius: 50%; border: 2px dashed var(--border); display: flex; align-items: center; justify-content: center; color: var(--muted); font-size: 14px; padding: 20px; }
.thumb .photo-soon { width: 54%; padding: 0; border-width: 1.5px; font-size: 0; }

.buy h1 { font-size: clamp(34px, 4.6vw, 48px); margin-bottom: 8px; }
.buy .price-line { display: flex; align-items: baseline; gap: 12px; margin: 0 0 18px; }
.buy .price-big { font-family: Fraunces, Georgia, serif; font-size: 28px; color: var(--green); }
.buy .price-note { font-size: 14px; color: var(--muted); }
.buy .intro { margin: 0 0 24px; color: var(--muted); font-size: 17px; }
.option-label { display: flex; justify-content: space-between; margin: 0 0 10px; font-weight: 700; font-size: 15px; }
.option-label span { font-weight: 400; color: var(--muted); }
.size-options { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 8px; }
.size-option { padding: 14px; border-radius: 14px; border: 1.5px solid var(--border); background: var(--white); text-align: left; cursor: pointer; font: inherit; color: var(--ink); }
.size-option strong { display: block; font-size: 16px; }
.size-option span { font-size: 13px; color: var(--muted); }
.size-option[aria-pressed="true"] { border-color: var(--green); box-shadow: inset 0 0 0 1px var(--green); }
.size-detail { margin: 0 0 22px; font-size: 14px; color: var(--muted); }
.engrave-input { width: 100%; padding: 14px 16px; border: 1.5px solid var(--border); border-radius: 14px; background: var(--white); font: inherit; font-size: 18px; letter-spacing: 0.08em; text-transform: lowercase; }
.engrave-input:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px var(--green-tint); }
.engrave-hint { display: flex; justify-content: space-between; gap: 12px; margin: 8px 0 24px; font-size: 13px; color: var(--muted); }
.buy .button { width: 100%; }
.available-note { margin: 10px 0 0; text-align: center; font-size: 14px; color: var(--muted); }
.reassure { list-style: none; margin: 24px 0; padding: 18px 20px; border-radius: 18px; background: var(--white); display: flex; flex-direction: column; gap: 12px; font-size: 15px; }
.reassure li { display: flex; gap: 12px; align-items: flex-start; }
.reassure svg { flex-shrink: 0; margin-top: 2px; color: var(--green); }
.accordion details { padding: 16px 0; }
.accordion summary { font-size: 16px; list-style: none; display: flex; justify-content: space-between; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: "+"; font-weight: 400; font-size: 22px; line-height: 1; color: var(--green); }
.accordion details[open] summary::after { content: "–"; }
.accordion ul { margin: 10px 0 0; padding-left: 20px; color: var(--muted); }
.accordion li { margin-bottom: 4px; }

/* "In scale" comparison: tag next to a coin */
.scale-row { display: flex; align-items: flex-end; gap: 24px; }
.coin { border-radius: 50%; background: radial-gradient(circle at 35% 30%, #F4E3A8, #C9A548 70%, #A98A35); box-shadow: inset 0 0 0 3px rgba(0,0,0,0.08); display: flex; align-items: center; justify-content: center; font-weight: 700; color: rgba(70,55,15,0.7); }
.scale-label { font-size: 13px; color: var(--muted); text-align: center; margin-top: 8px; }

/* ---------- Contact ---------- */
.contact-layout { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: start; }
.form-card { background: var(--white); border-radius: 24px; padding: 32px; display: flex; flex-direction: column; gap: 12px; }
.form-card label { font-weight: 700; font-size: 14px; }
.form-card input, .form-card select, .form-card textarea { width: 100%; padding: 13px 14px; border: 1.5px solid var(--border); border-radius: 12px; background: var(--white); font: inherit; font-size: 16px; }
.form-card textarea { min-height: 160px; resize: vertical; }
.form-card input:focus, .form-card select:focus, .form-card textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px var(--green-tint); }
.form-card .button { margin-top: 6px; }
.form-note { margin: 0; font-size: 13px; color: var(--muted); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.info-stack { display: flex; flex-direction: column; gap: 16px; }
.info-stack .card h3 { margin-bottom: 6px; }
.form-status { margin: 0; font-size: 15px; }
.form-status.problem { color: #7A3B2E; }
.form-done { text-align: center; padding: 24px 8px; }

/* ---------- Shipping & returns ---------- */
.policy-summary { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 40px; }
.policy-summary .card { padding: 22px; }
.legal-text h2 { font-size: 26px; margin-top: 36px; }
.legal-text p, .legal-text li { line-height: 1.65; }
.legal-text ul { padding-left: 22px; }
.tbc { display: inline-block; padding: 2px 8px; border-radius: 6px; background: #F6E9D7; color: #7A4B1E; font-size: 13px; font-weight: 700; }
.acl-box { margin: 16px 0; padding: 18px 20px; border-left: 4px solid var(--green); border-radius: 12px; background: var(--white); }

@media (max-width: 860px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-row { grid-template-columns: repeat(2, 1fr); }
  .product-layout, .contact-layout { grid-template-columns: 1fr; gap: 28px; }
  .gallery { position: static; }
  .policy-summary { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .product-grid { grid-template-columns: 1fr; }
  .feature-row { grid-template-columns: 1fr; }
  .form-card { padding: 22px; }
  .notice-strip a { margin-left: 0; }
}
.product-layout > *, .contact-layout > *, .split > * { min-width: 0; }

/* ---------- Dog sizes ---------- */
.size-buttons { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.size-button { padding: 10px 6px; border-radius: 12px; border: 1.5px solid var(--border); background: var(--white); cursor: pointer; font: inherit; color: var(--ink); text-align: center; }
.size-button strong { display: block; font-size: 17px; }
.size-button span { font-size: 12px; color: var(--muted); }
.size-button[aria-pressed="true"] { border-color: var(--green); box-shadow: inset 0 0 0 1px var(--green); }
.size-option[aria-pressed="true"] strong, .size-button[aria-pressed="true"] strong { color: var(--green); }
div.size-detail { display: flex; flex-direction: column; gap: 2px; margin: 14px 0 10px; padding: 14px 16px; border-radius: 14px; background: var(--white); font-size: 14px; color: var(--muted); }
div.size-detail strong { color: var(--ink); font-size: 15px; }
.lupo-note { display: flex; align-items: center; gap: 8px; margin: 0 0 22px; font-size: 14px; color: var(--green-text); }
.lupo-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold, #B8924F); }
.size-table { width: 100%; margin-top: 12px; border-collapse: collapse; font-size: 14px; }
.size-table th, .size-table td { padding: 9px 8px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.size-table th { font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }
.size-table td:nth-child(2), .size-table td:nth-child(3) { white-space: nowrap; }
.coin.silver { background: radial-gradient(circle at 35% 30%, #F4F5F5, #BFC4C6 70%, #9EA4A7); color: rgba(40,45,48,0.6); }
.coin.sided { border-radius: 0; clip-path: polygon(50% 0%, 75% 6.7%, 93.3% 25%, 100% 50%, 93.3% 75%, 75% 93.3%, 50% 100%, 25% 93.3%, 6.7% 75%, 0% 50%, 6.7% 25%, 25% 6.7%); }
@media (max-width: 560px) { .size-table th:nth-child(4), .size-table td:nth-child(4) { display: none; } }
.lupo-note[hidden] { display: none; }

/* =====================================================================
   HOMEPAGE AND HOW IT WORKS (design refresh)
   ===================================================================== */

/* ---------- Big opening section ---------- */
.home-hero { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; padding-top: 36px; padding-bottom: 72px; }
.home-hero h1 { font-size: clamp(42px, 6.2vw, 68px); line-height: 1.02; margin-bottom: 18px; }
.home-hero .lead { font-size: 19px; max-width: 520px; margin-bottom: 30px; }
.home-hero .inline-buttons .button { min-height: 54px; }
.launch-badge { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 18px; padding: 6px 14px 6px 10px; border-radius: 999px; background: var(--white); font-size: 13px; font-weight: 700; color: var(--green); box-shadow: 0 1px 0 rgba(0,0,0,0.04); }
.launch-badge::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--gold, #B8924F); }
.trust-row { display: flex; margin: 30px 0 0; padding: 18px 0 0; list-style: none; border-top: 1px solid var(--line); max-width: 520px; }
.trust-row li { flex: 1; display: flex; align-items: center; gap: 8px; padding: 0 14px; font-size: 14px; font-weight: 500; color: var(--green-text); white-space: nowrap; border-left: 1px solid var(--line); }
.trust-row li:first-child { padding-left: 0; border-left: none; }
.trust-row svg { flex-shrink: 0; color: var(--green); }
@media (max-width: 480px) {
  .trust-row { flex-direction: column; gap: 10px; }
  .trust-row li { padding: 0; border-left: none; }
}
.hero-visual { position: relative; }
.hero-photo { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 28px; background: var(--tan); display: block; }
.hero-visual .tag { position: absolute; left: -32px; bottom: -32px; }

/* ---------- Section headings that sit centred ---------- */
.section-head { max-width: 640px; margin: 0 auto 40px; text-align: center; }
.section-head .section-intro { margin: 0 auto; }
.more-link { margin: 32px 0 0; text-align: center; font-weight: 700; }

/* ---------- Shop front on the homepage ---------- */
.shelf { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.shelf .product-card { background: var(--cream-light); }
.band-white .shelf .product-card { background: var(--cream-light); }
.records-card .product-image { background: var(--green); }
.mini-records { width: 72%; background: var(--white); color: var(--ink); border-radius: 16px; padding: 14px; box-shadow: 0 10px 24px rgba(0,0,0,0.18); display: flex; flex-direction: column; gap: 8px; font-size: 12px; text-align: left; }
.mini-records .mr-row span { color: var(--muted); }
.mini-records .mr-title { font-weight: 700; font-size: 13px; }
.mini-records .mr-row { display: flex; justify-content: space-between; padding: 6px 8px; border-radius: 8px; background: var(--green-tint); }
.mini-records .mr-row.soon { background: #F6E9D7; }

/* ---------- Big numbered steps with pictures ---------- */
.journey { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin: 0; padding: 0; list-style: none; counter-reset: step; }
.journey li { background: var(--white); border-radius: 24px; padding: 28px; display: flex; flex-direction: column; }
.band-white .journey li { background: var(--cream-light); }
.journey .pic { height: 150px; margin-bottom: 22px; border-radius: 16px; background: var(--green-tint); display: flex; align-items: center; justify-content: center; }
.journey .num { font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--green); margin-bottom: 6px; }
.journey h3 { font-family: Fraunces, Georgia, serif; font-weight: 500; font-size: 24px; margin-bottom: 8px; }
.journey p { margin: 0; color: var(--muted); }

/* ---------- A phone showing a pet's page ---------- */
.phone { width: 270px; border-radius: 40px; padding: 12px; background: #1C1B18; box-shadow: 0 24px 50px rgba(20,30,25,0.25); }
.phone-screen { border-radius: 30px; overflow: hidden; background: var(--cream); display: flex; flex-direction: column; }
.phone-photo { height: 150px; background: var(--tan) center / cover no-repeat; }
.phone-body { padding: 14px 16px 18px; display: flex; flex-direction: column; gap: 8px; }
.phone-body .hi { font-family: Fraunces, Georgia, serif; font-size: 22px; line-height: 1.1; }
.phone-body .meta { font-size: 11px; color: var(--muted); }
.phone-body .note { font-size: 11px; padding: 8px 10px; border-radius: 10px; background: var(--white); color: var(--ink); }
.phone-body .pbtn { text-align: center; padding: 10px; border-radius: 10px; font-size: 12px; font-weight: 700; background: var(--green); color: var(--white); }
.phone-body .pbtn.alt { background: transparent; border: 1.5px solid var(--green); color: var(--green); }
.phone-body .or { text-align: center; font-size: 10px; color: var(--muted); }
.phone-wrap { display: flex; justify-content: center; }

/* Labels pointing at the phone */
.annotated { display: grid; grid-template-columns: 1fr auto 1fr; gap: 32px; align-items: center; }
.callouts { display: flex; flex-direction: column; gap: 22px; margin: 0; padding: 0; list-style: none; }
.callouts li { padding: 16px 18px; border-radius: 16px; background: var(--white); }
.callouts strong { display: block; margin-bottom: 2px; }
.callouts span { font-size: 15px; color: var(--muted); }
.callouts.left li { text-align: right; }

/* ---------- Two-product explainer ---------- */
.two-up { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.offer { border-radius: 24px; padding: 32px; background: var(--white); display: flex; flex-direction: column; }
.offer.dark { background: var(--green); color: var(--white); }
.offer.dark p, .offer.dark .ticks span { color: #DCE6DF; }
.offer.dark .ticks li::before { background: rgba(255,255,255,0.14); color: var(--white); }
.offer .tagline { margin: 0 0 20px; color: var(--muted); }
.offer h3 { font-family: Fraunces, Georgia, serif; font-weight: 500; font-size: 28px; margin-bottom: 6px; }
.offer .ticks { margin-bottom: 24px; }
.offer .price-tag { margin-top: auto; font-weight: 700; }
.offer.dark .price-tag { color: var(--white); }

/* ---------- Story band on the homepage ---------- */
.story-band .wrap { display: grid; grid-template-columns: 300px 1fr; gap: 56px; align-items: center; }
.story-band img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 50%; background: var(--tan); }
.story-band p { max-width: 560px; font-size: 17px; }
main .story-band a { font-weight: 700; }
main .band-green.story-band a { color: var(--white); }

/* ---------- Waitlist form ---------- */
.waitlist-form { display: flex; flex-direction: column; gap: 12px; max-width: 440px; margin: 0 auto; text-align: left; }
.waitlist-form label { font-weight: 700; font-size: 14px; }
.waitlist-form input, .waitlist-form select { width: 100%; padding: 13px 14px; border: 1.5px solid var(--border); border-radius: 12px; background: var(--white); font: inherit; font-size: 16px; }
.waitlist-form .consent-row { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; margin-top: 4px; cursor: pointer; }
.waitlist-form .consent-row input { width: 20px; height: 20px; padding: 0; margin: 2px 0 0; flex-shrink: 0; accent-color: var(--green); }

/* ---------- Short FAQ ---------- */
.faq-short { max-width: 760px; margin: 0 auto; }

@media (max-width: 860px) {
  .home-hero, .story-band .wrap, .two-up { grid-template-columns: 1fr; }
  .home-hero { gap: 48px; padding-top: 16px; }
  .hero-visual { order: -1; margin: 0 8px 0 28px; }
  .hero-photo { aspect-ratio: 5 / 4; }
  .hero-visual .tag { --size: 120px !important; left: -20px; bottom: -24px; }
  .shelf, .journey { grid-template-columns: 1fr; }
  .annotated { grid-template-columns: 1fr; }
  .callouts.left li { text-align: left; }
  .story-band img { width: 180px; }
}
@media (min-width: 561px) and (max-width: 860px) { .shelf { grid-template-columns: repeat(2, 1fr); } }

/* ---------- "Be first in line": the same green card on every page ---------- */
.cta-section { padding: 80px 0; background: var(--green); color: var(--white); }
.cta-card { max-width: 1032px; margin: 0 auto; text-align: center; }
.cta-card h2 { color: var(--white); margin-bottom: 12px; }
.cta-card > p { max-width: 560px; margin: 0 auto 28px; color: #DCE6DF; font-size: 17px; }
.button-light { display: inline-flex; width: auto; padding: 0 30px; min-height: 54px; background: var(--white); color: var(--green); border: none; font-size: 16px; }
.button-light:hover { background: var(--cream); }
.cta-card .waitlist-form label, .cta-card .small-note { color: #DCE6DF; }
.cta-card .waitlist-form label[for="email"], .cta-card .waitlist-form label[for="pet-type"] { color: var(--white); }
.cta-card .waitlist-form input, .cta-card .waitlist-form select { border-color: transparent; }
.cta-card .waitlist-form .button-light { width: 100%; justify-content: center; }
main .cta-card a:not(.button) { color: var(--white); }
.cta-card .form-problem { color: #FFD9CF; font-size: 14px; }
@media (max-width: 560px) { .cta-section { padding: 56px 0; } }

/* ---------- Menu button on phones ---------- */
.menu-toggle { display: none; }
@media (max-width: 760px) {
  .site-header, .wrap > .site-header { flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; padding: 14px 0; position: relative; }
  .menu-toggle { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; border: 1.5px solid var(--green); background: transparent; color: var(--green); font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; }
  .menu-icon, .menu-icon::before, .menu-icon::after { display: block; width: 16px; height: 2px; border-radius: 2px; background: currentColor; position: relative; transition: transform 0.2s ease; }
  .menu-icon::before, .menu-icon::after { content: ""; position: absolute; left: 0; }
  .menu-icon::before { top: -5px; }
  .menu-icon::after { top: 5px; }
  .menu-toggle[aria-expanded="true"] .menu-icon { background: transparent; }
  .menu-toggle[aria-expanded="true"] .menu-icon::before { transform: translateY(5px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .menu-icon::after { transform: translateY(-5px) rotate(-45deg); }
  .public-nav { display: none; width: 100%; flex-direction: column; align-items: stretch; gap: 2px; margin: 10px 0 4px; padding: 8px; border-radius: 18px; background: var(--white); box-shadow: 0 12px 30px rgba(20,30,25,0.10); }
  .public-nav.open { display: flex; }
  .public-nav a { padding: 13px 14px; border-radius: 12px; font-size: 16px; }
  .public-nav .nav-cta { margin: 6px 0 0; text-align: center; background: var(--green); color: var(--white); border-color: var(--green); }
}

/* ---------- Example records card (shared by homepage and Your Records page) ---------- */
    .preview { position: relative; background: var(--white); border-radius: 20px; padding: 16px; display: flex; flex-direction: column; gap: 14px; box-shadow: 0 10px 30px rgba(31, 58, 46, 0.08); }
    .example-badge { position: absolute; top: 14px; right: 14px; padding: 4px 10px; border-radius: 999px; background: var(--cream); font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
    .preview-pet { display: flex; align-items: center; gap: 12px; }
    .preview-avatar { width: 44px; height: 44px; border-radius: 12px; background: var(--tan); display: flex; align-items: center; justify-content: center; font-family: Fraunces, Georgia, serif; font-weight: 700; font-size: 20px; color: #4A3F2A; }
    .preview-pet strong { display: block; font-size: 17px; }
    .preview-pet span { font-size: 13px; color: var(--muted); }
    .mini-title { margin: 0; font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
    .due { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: var(--green-tint); font-size: 14px; }
    .due.soon { background: #F6E9D7; }
    .due b { font-weight: 700; }
    .due small { font-size: 12px; color: var(--green-text); white-space: nowrap; }
    .due.soon small { color: #7A4B1E; }
    .row { display: flex; gap: 10px; align-items: baseline; padding: 8px 0; border-top: 1px solid var(--line); font-size: 14px; }
    .row:first-of-type { border-top: none; }
    .row .kind { flex-shrink: 0; width: 92px; font-size: 12px; font-weight: 700; color: var(--green); }
    .row .what { flex-grow: 1; }
    .row .when { font-size: 12px; color: var(--muted); white-space: nowrap; }

/* =====================================================================
   HOMEPAGE: TAG + YOUR RECORDS, SIDE BY SIDE
   ===================================================================== */
.duo-hero { padding-top: 32px; padding-bottom: 64px; }
.duo-intro { max-width: 760px; margin: 0 auto 40px; text-align: center; }
.duo-intro h1 { font-size: clamp(40px, 6vw, 64px); line-height: 1.03; margin-bottom: 16px; }
.duo-intro .lead { margin: 0 auto; max-width: 600px; }
.duo { display: grid; grid-template-columns: 1fr 56px 1fr; align-items: stretch; }
.duo-card { display: flex; flex-direction: column; border-radius: 28px; overflow: hidden; background: var(--white); color: var(--ink); text-decoration: none; transition: transform 0.2s ease, box-shadow 0.2s ease; }
.duo-card:hover { transform: translateY(-3px); box-shadow: 0 16px 38px rgba(31,58,46,0.12); }
.duo-card.records { background: var(--green); color: var(--white); }
.duo-visual { height: 250px; display: flex; align-items: center; justify-content: center; gap: 20px; }
.tag-visual { background: var(--cream-light); }
.records-visual { background: rgba(255,255,255,0.08); }
.records-visual .mini-records { width: min(300px, 80%); gap: 6px; padding: 12px 14px; }
.duo-text { padding: 28px 30px 30px; display: flex; flex-direction: column; flex: 1; }
.duo-label { font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--green); margin-bottom: 8px; }
.duo-card.records .duo-label { color: var(--gold, #B8924F); }
.duo-text h2 { font-size: clamp(28px, 3.2vw, 34px); margin-bottom: 10px; }
.duo-card.records h2 { color: var(--white); }
.duo-text p { margin: 0 0 16px; color: var(--muted); font-size: 16px; }
.duo-card.records p { color: #DCE6DF; }
.duo-points { margin: 0 0 20px; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 6px; font-size: 15px; font-weight: 500; }
.duo-points li { display: flex; gap: 8px; align-items: center; }
.duo-points li::before { content: "✓"; color: var(--green); font-weight: 700; }
.duo-card.records .duo-points li::before { color: var(--gold, #B8924F); }
.duo-price { margin-top: auto; margin-bottom: 16px; font-weight: 700; color: var(--green); }
.duo-card.records .duo-price { color: var(--white); }
.duo-text .button { width: 100%; }
.duo-plus { display: flex; align-items: center; justify-content: center; }
.duo-plus span { width: 44px; height: 44px; border-radius: 50%; background: var(--white); color: var(--green); font-size: 26px; font-weight: 700; display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 16px rgba(31,58,46,0.12); }
.trust-row.centred { justify-content: center; max-width: 640px; margin: 36px auto 0; }
.trust-row.centred li { flex: 0 1 auto; }

/* How it fits together */
.fit-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin: 0; padding: 0; list-style: none; position: relative; }
.fit-steps::before { content: ""; position: absolute; top: 22px; left: 16.6%; right: 16.6%; height: 2px; background: var(--line); }
.fit-steps li { position: relative; text-align: center; padding: 0 22px; }
.fit-num { position: relative; z-index: 1; width: 46px; height: 46px; margin: 0 auto 16px; border-radius: 50%; background: var(--green-tint); color: var(--green); font-weight: 700; font-size: 18px; display: flex; align-items: center; justify-content: center; border: 4px solid var(--white); box-sizing: content-box; }
.fit-steps .upgrade .fit-num { background: var(--green); color: var(--white); }
.fit-steps h3 { font-family: Fraunces, Georgia, serif; font-weight: 500; font-size: 22px; }
.fit-steps p { margin: 0 auto; max-width: 300px; color: var(--muted); }

/* Your Records spotlight */
.records-spotlight { padding: 88px 0; }
.eyebrow.light { color: var(--gold, #B8924F); }
.records-spotlight h2 { font-size: clamp(32px, 4.4vw, 46px); }
.spot-intro { font-size: 18px; margin: 0 0 28px; max-width: 520px; }
.records-spotlight .ticks strong { color: var(--white); }
.records-spotlight .ticks span { color: #DCE6DF; }
.records-spotlight .ticks li::before { background: rgba(255,255,255,0.14); color: var(--white); }
.records-spotlight .soon-pill { background: rgba(255,255,255,0.14); color: var(--white); }
.spot-price { margin: 14px 0 0; font-size: 14px; color: #DCE6DF; }
.records-spotlight .preview { max-width: 460px; justify-self: end; width: 100%; color: var(--ink); }
.records-spotlight .preview p, .records-spotlight .preview span { color: inherit; }

@media (max-width: 860px) {
  .duo { grid-template-columns: 1fr; gap: 0; }
  .duo-plus { height: 56px; }
  .duo-visual { height: 230px; }
  .fit-steps { grid-template-columns: 1fr; gap: 28px; }
  .fit-steps::before { display: none; }
  .records-spotlight .preview { justify-self: stretch; }
}
@media (max-width: 480px) {
  .duo-text { padding: 24px 22px 24px; }
  .tag-visual .tag { --size: 120px !important; }
  .trust-row.centred { align-items: flex-start; max-width: 260px; }
}

/* ---------- Homepage design B: Lupo with both products ---------- */
.heroB { display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; padding-top: 32px; padding-bottom: 80px; }
.heroB h1 { font-size: clamp(40px, 5.6vw, 62px); line-height: 1.03; margin-bottom: 16px; }
.heroB .lead { margin-bottom: 24px; }
.pair { display: flex; flex-direction: column; gap: 10px; margin-bottom: 26px; max-width: 520px; }
.pair-item { display: grid; grid-template-columns: 52px 1fr auto; gap: 14px; align-items: center; padding: 12px 16px 12px 12px; border-radius: 18px; background: var(--white); color: var(--ink); text-decoration: none; transition: transform 0.2s ease, box-shadow 0.2s ease; }
.pair-item:hover { transform: translateX(3px); box-shadow: 0 8px 22px rgba(31,58,46,0.10); }
.pair-item.records { background: var(--green); color: var(--white); }
.pair-icon { width: 52px; height: 52px; border-radius: 14px; background: var(--cream-light); display: flex; align-items: center; justify-content: center; }
.pair-item.records .pair-icon { background: rgba(255,255,255,0.12); color: var(--white); }
.pair-body { display: flex; flex-direction: column; gap: 2px; }
.pair-label { font-weight: 700; font-size: 16px; }
.pair-desc { font-size: 14px; color: var(--muted); }
.pair-item.records .pair-desc { color: #DCE6DF; }
.pair-price { font-size: 14px; font-weight: 700; color: var(--green); text-align: right; white-space: nowrap; }
.pair-item.records .pair-price { color: var(--white); }
.heroB-visual { position: relative; }
.heroB-visual .hero-photo { aspect-ratio: 4 / 5; }
.float-tag { position: absolute; left: -34px; bottom: -30px; }
.float-records { position: absolute; right: -24px; top: 32px; width: 230px; }
@media (max-width: 860px) {
  .heroB { grid-template-columns: 1fr; gap: 40px; padding-top: 12px; }
  .heroB-visual { order: -1; margin: 0 16px 0 24px; }
  .heroB-visual .hero-photo { aspect-ratio: 5 / 4; }
  .float-tag { --size: 110px !important; left: -18px; bottom: -22px; }
  .float-records { width: 190px; right: -12px; top: 16px; font-size: 11px; }
  .pair-price { display: none; }
  .pair-item { grid-template-columns: 52px 1fr; }
}

/* Keep Lupo's head in the picture whatever shape the photo is cropped to */
.hero-photo { object-position: 50% 28%; }
@media (max-width: 860px) {
  .heroB-visual .hero-photo { aspect-ratio: 1 / 1; object-position: 50% 22%; }
}

/* ---------- Homepage design C: Lupo panel with two product cards underneath ---------- */
.heroC { padding-top: 24px; padding-bottom: 72px; }
.heroC-panel { display: grid; grid-template-columns: 1.15fr 1fr; border-radius: 32px; overflow: hidden; background: var(--white); min-height: 480px; }
.heroC-text { padding: 56px 48px 110px; display: flex; flex-direction: column; justify-content: center; }
.heroC-text h1 { font-size: clamp(38px, 5vw, 58px); line-height: 1.03; margin-bottom: 16px; }
.heroC-text .lead { margin: 0; }
.heroC-photo { position: relative; }
.heroC-photo .hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; border-radius: 0; }
.heroC-products { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: -76px 32px 0; position: relative; z-index: 2; }
.c-card { display: grid; grid-template-columns: 140px 1fr; border-radius: 24px; overflow: hidden; background: var(--cream-light); color: var(--ink); text-decoration: none; box-shadow: 0 16px 40px rgba(31,58,46,0.14); transition: transform 0.2s ease; }
.c-card:hover { transform: translateY(-3px); }
.c-card.records { background: var(--green); color: var(--white); }
.c-visual { display: flex; align-items: center; justify-content: center; background: var(--white); }
.c-card.records .c-visual { background: rgba(255,255,255,0.08); }
.c-visual .mini-records { width: 118px; padding: 9px; gap: 5px; font-size: 9px; }
.c-body { padding: 22px 24px; display: flex; flex-direction: column; }
.c-body h2 { font-size: 26px; margin-bottom: 6px; }
.c-card.records h2 { color: var(--white); }
.c-body p { margin: 0 0 12px; font-size: 15px; color: var(--muted); }
.c-card.records p { color: #DCE6DF; }
.c-card.records .duo-label { color: var(--gold, #B8924F); }
.c-cta { margin-top: auto; font-weight: 700; color: var(--green); }
.c-card.records .c-cta { color: var(--white); }
@media (max-width: 860px) {
  .heroC-panel { grid-template-columns: 1fr; min-height: 0; }
  .heroC-photo { order: -1; height: 300px; }
  .heroC-photo .hero-photo { object-position: 50% 22%; }
  .heroC-text { padding: 28px 24px 32px; }
  .heroC-products { grid-template-columns: 1fr; margin: 16px 0 0; }
}
@media (max-width: 480px) { .c-card { grid-template-columns: 110px 1fr; } .c-visual .tag { --size: 86px !important; } .c-visual .mini-records { width: 96px; } }
.heroC-text .launch-badge { align-self: flex-start; }
.c-card { grid-template-columns: 160px 1fr; }
.c-visual .mini-records { width: 138px; }
.c-visual .mini-records .mr-title { white-space: nowrap; }
@media (max-width: 560px) {
  .c-card { grid-template-columns: 1fr; }
  .c-visual { height: 150px; }
  .c-visual .tag { --size: 110px !important; }
  .c-visual .mini-records { width: 170px; font-size: 11px; }
}
/* Design C: cards tuck only slightly under the panel, so more of Lupo shows */
.heroC-text { padding-bottom: 76px; }
.heroC-products { margin-top: -32px; }
@media (max-width: 860px) { .heroC-products { margin-top: 16px; } }

/* ---------- Link cards (waitlist thanks) ---------- */
.cards.three-up { grid-template-columns: repeat(3, 1fr); }
.link-card { display: flex; flex-direction: column; text-decoration: none; color: var(--ink); transition: transform 0.2s ease, box-shadow 0.2s ease; }
.link-card:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(31,58,46,0.10); }
.link-card p { margin-bottom: 14px; }
@media (max-width: 760px) { .cards.three-up { grid-template-columns: 1fr; } }

/* =====================================================================
   HOMEPAGE DEMO: a phone scanning the tag, then calling and texting
   ===================================================================== */
.demo-layout { display: grid; grid-template-columns: auto minmax(0, 440px); gap: 64px; align-items: center; justify-content: center; }
.demo-phone { position: relative; width: 290px; border-radius: 44px; padding: 12px; background: #1C1B18; box-shadow: 0 30px 60px rgba(20,30,25,0.28); }
.demo-screen { position: relative; height: 580px; border-radius: 34px; overflow: hidden; background: var(--cream); }
.demo-notch { position: absolute; top: 10px; left: 50%; width: 86px; height: 24px; margin-left: -43px; border-radius: 14px; background: #1C1B18; z-index: 9; }
.scr { position: absolute; inset: 0; opacity: 0; transition: opacity 0.45s ease, transform 0.45s ease; pointer-events: none; }
[data-screen="camera"] .scr-camera, [data-screen="page"] .scr-page, [data-screen="call"] .scr-call, [data-screen="text"] .scr-text { opacity: 1; transform: none; }
.scr-page { transform: translateY(24px); }

/* 1. Camera pointing at the back of the tag */
.scr-camera { background: radial-gradient(circle at 50% 46%, #6b665c 0%, #3d3a34 55%, #26241f 100%); display: flex; align-items: center; justify-content: center; }
.scr-camera .tag { --size: 190px; box-shadow: 0 18px 40px rgba(0,0,0,0.45), inset 0 2px 1px rgba(255,255,255,0.85), inset 0 -3px 6px rgba(0,0,0,0.18); }
.scr-camera .tag::before { background: #3d3a34; }
.viewfinder { position: absolute; left: 50%; top: 50%; width: 150px; height: 150px; margin: -82px 0 0 -75px; }
.viewfinder i { position: absolute; width: 26px; height: 26px; border: 4px solid rgba(255,255,255,0.9); }
.viewfinder i:nth-child(1) { top: 0; left: 0; border-right: none; border-bottom: none; border-radius: 10px 0 0 0; }
.viewfinder i:nth-child(2) { top: 0; right: 0; border-left: none; border-bottom: none; border-radius: 0 10px 0 0; }
.viewfinder i:nth-child(3) { bottom: 0; left: 0; border-right: none; border-top: none; border-radius: 0 0 0 10px; }
.viewfinder i:nth-child(4) { bottom: 0; right: 0; border-left: none; border-top: none; border-radius: 0 0 10px 0; }
.scanline { position: absolute; left: 8px; right: 8px; height: 2px; top: 10%; background: rgba(255,255,255,0.85); box-shadow: 0 0 12px #fff; animation: scan 1.4s ease-in-out infinite alternate; }
@keyframes scan { to { top: 88%; } }
[data-state="found"] .scanline { display: none; }
[data-state="found"] .viewfinder i { border-color: #F5D061; }
.cam-hint { position: absolute; bottom: 34px; left: 0; right: 0; text-align: center; font-size: 13px; color: rgba(255,255,255,0.8); }
.qr-pill { position: absolute; top: 46px; left: 14px; right: 14px; padding: 10px 14px; border-radius: 16px; background: rgba(255,255,255,0.95); display: flex; align-items: center; gap: 10px; font-size: 12px; color: var(--ink); transform: translateY(-120px); transition: transform 0.4s cubic-bezier(.2,.9,.3,1.2); }
.qr-pill b { display: block; font-size: 13px; }
.qr-pill .ico { width: 30px; height: 30px; border-radius: 8px; background: var(--green); color: #fff; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
[data-state="found"] .qr-pill { transform: none; }

/* 2. The pet's page */
.scr-page { background: var(--cream); display: flex; flex-direction: column; }
.scr-page .phone-photo { height: 210px; background: var(--tan) center 30% / cover no-repeat; }
.scr-page .phone-body { padding: 16px 18px; gap: 9px; }
.scr-page .hi { font-size: 26px; }
.reveal { display: none; flex-direction: column; gap: 8px; padding: 12px; border-radius: 12px; background: var(--white); }
.reveal .num { text-align: center; font-weight: 700; font-size: 17px; color: var(--ink); }
.reveal .two { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
[data-state="open"] .reveal { display: flex; }
[data-state="open"] .family-btn { display: none; }

/* 3. Calling */
.scr-call { background: linear-gradient(180deg, #2C4A3C 0%, #1F3A2E 100%); color: #fff; display: flex; flex-direction: column; align-items: center; padding-top: 110px; text-align: center; }
.call-avatar { width: 96px; height: 96px; border-radius: 50%; background: #fff center 30% / cover no-repeat; margin-bottom: 18px; box-shadow: 0 0 0 0 rgba(255,255,255,0.35); animation: ring 1.6s ease-out infinite; }
@keyframes ring { 0% { box-shadow: 0 0 0 0 rgba(255,255,255,0.35); } 100% { box-shadow: 0 0 0 26px rgba(255,255,255,0); } }
.scr-call .who { font-size: 22px; font-weight: 700; }
.scr-call .sub { font-size: 14px; color: #DCE6DF; margin-top: 4px; }
.call-btns { position: absolute; bottom: 60px; left: 0; right: 0; display: flex; justify-content: center; gap: 70px; }
.call-btns span { width: 60px; height: 60px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.call-btns .end { background: #D9534F; }
.call-btns .spk { background: rgba(255,255,255,0.18); }

/* 4. Texting */
.scr-text { background: #fff; display: flex; flex-direction: column; }
.text-head { padding: 46px 16px 12px; text-align: center; border-bottom: 1px solid #eee; font-size: 13px; color: #555; }
.text-head b { display: block; font-size: 15px; color: #111; }
.bubble { align-self: flex-end; max-width: 78%; margin: 18px 14px 0; padding: 10px 14px; border-radius: 18px 18px 4px 18px; background: #2F7D5B; color: #fff; font-size: 14px; line-height: 1.35; opacity: 0; transform: translateY(10px); transition: all 0.4s ease 0.4s; }
[data-screen="text"] .bubble { opacity: 1; transform: none; }
.delivered { align-self: flex-end; margin: 4px 16px 0; font-size: 11px; color: #999; opacity: 0; transition: opacity 0.3s ease 1.2s; }
[data-screen="text"] .delivered { opacity: 1; }
.text-input { margin-top: auto; margin: auto 12px 22px; padding: 10px 14px; border-radius: 20px; border: 1px solid #ddd; font-size: 13px; color: #aaa; }

/* The finger tap */
.tapdot { position: absolute; width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%; background: rgba(255,255,255,0.55); border: 2px solid rgba(255,255,255,0.9); box-shadow: 0 4px 14px rgba(0,0,0,0.25); opacity: 0; transform: scale(1.4); transition: opacity 0.2s, transform 0.25s; z-index: 8; pointer-events: none; }
[data-tap]:not([data-tap=""]) .tapdot { opacity: 1; transform: scale(1); }
[data-tap="pill"] .tapdot { left: 50%; top: 76px; }
[data-tap="family"] .tapdot { left: 50%; top: 366px; }
[data-tap="call"] .tapdot { left: 30%; top: 408px; }
[data-tap="text"] .tapdot { left: 70%; top: 408px; }

/* Steps beside the phone */
.demo-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; max-width: 440px; }
.demo-steps li { display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: start; padding: 16px 18px; border-radius: 18px; cursor: pointer; transition: background 0.3s ease, transform 0.3s ease; }
.demo-steps li:hover { background: rgba(255,255,255,0.5); }
.demo-steps li.active { background: var(--white); transform: translateX(6px); box-shadow: 0 8px 22px rgba(31,58,46,0.08); }
.demo-steps .n { width: 40px; height: 40px; border-radius: 50%; background: var(--green-tint); color: var(--green); font-weight: 700; display: flex; align-items: center; justify-content: center; transition: background 0.3s, color 0.3s; }
.demo-steps li.active .n { background: var(--green); color: var(--white); }
.demo-steps h3 { margin: 6px 0 4px; font-family: Fraunces, Georgia, serif; font-weight: 500; font-size: 21px; }
.demo-steps p { margin: 0; color: var(--muted); font-size: 15px; }

@media (max-width: 860px) {
  .demo-layout { grid-template-columns: 1fr; gap: 32px; justify-items: center; }
  .demo-steps li.active { transform: none; }
}
@media (max-width: 400px) { .demo-phone { transform: scale(0.9); transform-origin: top center; margin-bottom: -60px; } }
@media (prefers-reduced-motion: reduce) { .scanline, .call-avatar { animation: none; } .scr, .bubble, .qr-pill { transition: none; } }

/* ---------- "Works in your browser" note for Your Records ---------- */
.device-note { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-radius: 16px; background: var(--white); font-size: 15px; color: var(--green-text); }
.device-note svg { flex-shrink: 0; color: var(--green); }
.device-note strong { color: var(--ink); }
.band-green .device-note, .records-spotlight .device-note { background: rgba(255,255,255,0.1); color: #DCE6DF; }
.band-green .device-note strong, .records-spotlight .device-note strong { color: var(--white); }
.band-green .device-note svg, .records-spotlight .device-note svg { color: var(--gold, #B8924F); }

/* Space above the "No app" note in green sections */
.records-spotlight .device-note, .band-green .device-note { margin-top: 28px; }
.annotated .demo-phone { margin: 0 auto; }
@media (max-width: 860px) { .records-spotlight .preview { margin-top: 32px; } }

/* =====================================================================
   PET GALLERY (homepage). Photos are listed in js/gallery.js
   ===================================================================== */
.gallery-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
@media (max-width: 1000px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }
.gallery-tile { position: relative; margin: 0; aspect-ratio: 1 / 1; border-radius: 22px; overflow: hidden; background: var(--white); }
.gallery-tile img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.5s ease; }
.gallery-tile:hover img { transform: scale(1.04); }
.gallery-tile figcaption { position: absolute; left: 12px; bottom: 12px; padding: 8px 14px; border-radius: 14px; background: rgba(255,255,255,0.92); font-size: 13px; color: var(--muted); display: flex; flex-direction: column; }
.gallery-tile figcaption strong { color: var(--ink); font-size: 15px; }
.gallery-tile.empty { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; text-align: center; border: 2px dashed #D8CFBE; background: transparent; color: #C4B89F; font-size: 14px; font-weight: 600; }
@media (max-width: 760px) { .gallery-grid { gap: 10px; } .gallery-tile { border-radius: 16px; } }
@media (max-width: 760px) { .gallery-tile.empty { font-size: 12px; } .gallery-tile.empty svg { width: 30px; height: 30px; } }
