@font-face {
  font-family: "PetNest Sans";
  src: url("assets/fonts/NotoSans-VariableFont.ttf") format("truetype");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --ivory: #f7f0e4;
  --paper: #fffaf2;
  --paper-strong: #fffdf8;
  --charcoal: #282522;
  --muted: #6f675f;
  --coral: #cf674a;
  --coral-dark: #a94730;
  --coral-soft: #f2c6b2;
  --sage: #dce1cc;
  --sage-dark: #61705c;
  --line: rgba(40, 37, 34, 0.14);
  --shadow: 0 24px 70px rgba(71, 48, 33, 0.13);
  --shadow-hover: 0 28px 80px rgba(71, 48, 33, 0.18);
  --frame-radius-base: 48px;
  --radius-sm: 16px;
  --radius-md: 28px;
  --radius-lg: 44px;
  --page: min(1180px, calc(100% - 48px));
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ivory);
  color: var(--charcoal);
  font-family: "PetNest Sans", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

a { color: inherit; }
img { display: block; max-width: 100%; }

.skip-link {
  background: var(--charcoal);
  color: white;
  left: 16px;
  padding: 10px 16px;
  position: fixed;
  top: -80px;
  z-index: 20;
}

.skip-link:focus { top: 16px; }

.site-header {
  align-items: center;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  margin: 0 auto;
  max-width: 1380px;
  padding: 24px 40px;
  position: relative;
  z-index: 10;
}

.brand {
  align-items: center;
  display: inline-flex;
  font-size: 20px;
  font-weight: 750;
  gap: 10px;
  text-decoration: none;
  width: max-content;
}

.brand-mark {
  border-radius: 50%;
  display: block;
}


nav { display: flex; gap: 32px; }
nav a, .header-link, footer a { text-decoration: none; }
nav a { color: var(--muted); font-size: 14px; font-weight: 650; }
nav a:hover, nav a:focus-visible { color: var(--coral-dark); }

.header-link {
  align-items: center;
  display: inline-flex;
  font-size: 14px;
  font-weight: 700;
  gap: 8px;
  justify-self: end;
}

.hero {
  align-items: center;
  display: grid;
  gap: 64px;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 0.9fr);
  margin: 0 auto;
  min-height: 720px;
  padding: 64px 0 96px;
  width: var(--page);
}

.hero-copy { max-width: 660px; }

.eyebrow {
  color: var(--coral-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.15em;
  margin: 0 0 20px;
  text-transform: uppercase;
}

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

h1, h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 0.98;
}

h1 { font-size: clamp(58px, 7vw, 96px); margin-bottom: 32px; }
h2 { font-size: clamp(44px, 5vw, 68px); margin-bottom: 24px; }
h3 { font-size: 25px; line-height: 1.2; margin-bottom: 14px; }

.hero-summary {
  color: var(--muted);
  font-size: 19px;
  line-height: 1.65;
  max-width: 590px;
}

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

.button {
  align-items: center;
  border: 1px solid transparent;
  border-radius: 999px;
  display: inline-flex;
  font-size: 14px;
  font-weight: 750;
  justify-content: center;
  min-height: 52px;
  padding: 12px 24px;
  text-decoration: none;
  transition: transform 180ms ease, background 180ms ease;
}

.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--charcoal); color: white; }
.button-primary:hover { background: #121110; }
.button-secondary { border-color: var(--line); }
.button-secondary:hover { background: rgba(255, 255, 255, 0.5); }

.availability { align-items: center; color: var(--muted); display: flex; font-size: 13px; gap: 9px; margin: 20px 0 0; }
.availability span { background: var(--sage-dark); border-radius: 50%; height: 7px; width: 7px; }

.hero-visual {
  align-items: center;
  display: flex;
  justify-content: center;
}

.hero-screenshot {
  border-radius: 32px;
  box-shadow: var(--shadow);
  max-height: 680px;
  object-fit: contain;
  width: auto;
}

.device-frame {
  --frame-padding: 14px;
   --frame-radius: var(--frame-radius-base);
  background: var(--charcoal);
  border-radius: var(--frame-radius);
  box-shadow: var(--shadow);
  padding: var(--frame-padding);
  position: relative;
  cursor: pointer;
}

.device-notch {
  background: var(--charcoal);
  border-radius: 0 0 calc(var(--frame-radius) / 2) calc(var(--frame-radius) / 2);
  height: 28px;
  left: 50%;
  position: absolute;
  top: var(--frame-padding);
  transform: translateX(-50%);
  width: 120px;
  z-index: 2;
}

.device-screen {
  border-radius: calc(var(--frame-radius) - var(--frame-padding));
  overflow: hidden;
}

.device-screen img {
  border-radius: 0;
  box-shadow: none;
  display: block;
  max-height: none;
  width: 100%;
}

@media (hover: hover) {
  .device-frame {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  .device-frame:hover {
    transform: scale(1.03);
    box-shadow: var(--shadow-hover);
  }
}

.screenshot-showcase {
  margin: 0 auto;
  padding: 60px 0 120px;
  width: var(--page);
}

.screenshot-row {
  align-items: center;
  display: grid;
  gap: 64px;
  grid-template-columns: 1fr 1fr;
  padding: 60px 0;
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.screenshot-row.animate-hidden {
  opacity: 0;
  transform: translateY(30px);
}

.screenshot-row.visible {
  opacity: 1;
  transform: translateY(0);
}

.screenshot-row + .screenshot-row {
  border-top: 1px solid var(--line);
}

.screenshot-row .device-frame {
  margin: 0 auto;
  max-width: 393px;
}

.screenshot-copy {
  max-width: 460px;
}

.screenshot-copy .feature-number {
  color: var(--coral-dark);
  display: block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  margin-bottom: 20px;
}

.screenshot-copy h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 36px;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 16px;
}

.screenshot-copy p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

.feature-list {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
}

.feature-list li {
  border-top: 1px solid var(--line);
  font-size: 13px;
  font-weight: 650;
  padding: 12px 0;
}

.feature-list li::before {
  color: var(--coral-dark);
  content: "✓";
  margin-right: 10px;
}

.pricing-section {
  background: var(--paper);
  margin: 0 auto;
  padding: 120px 0;
  text-align: center;
}

.pricing-section .eyebrow,
.pricing-section h2 {
  margin-left: auto;
  margin-right: auto;
}

.pricing-section h2 {
  max-width: 620px;
}

.pricing-cards {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr 1fr;
  margin: 64px auto 0;
  max-width: 780px;
}

.pricing-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 40px 32px;
  text-align: left;
}

.pricing-card-featured {
  background: var(--charcoal);
  border-color: var(--charcoal);
  color: white;
}

.pricing-tier {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  margin: 0 0 8px;
  text-transform: uppercase;
}

.pricing-card-featured .pricing-tier {
  color: var(--coral-soft);
}

.pricing-amount {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 56px;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1;
  margin: 0 0 4px;
}

.pricing-period {
  color: var(--muted);
  font-size: 14px;
  margin: 0 0 28px;
}

.pricing-card-featured .pricing-period {
  color: #bdb5ac;
}

.pricing-features {
  list-style: none;
  margin: 0;
  padding: 0;
}

.pricing-features li {
  font-size: 14px;
  padding: 8px 0;
}

.pricing-features li::before {
  color: var(--sage-dark);
  content: "✓";
  margin-right: 10px;
}

.pricing-card-featured .pricing-features li::before {
  color: var(--coral-soft);
}

.pricing-note {
  color: var(--muted);
  font-size: 12px;
  margin: 24px 0 0;
}

.pricing-card-featured .pricing-note {
  color: #bdb5ac;
}

.trust-strip { border-bottom: 1px solid var(--line); border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(3, 1fr); margin: 0 auto; width: var(--page); }
.trust-strip div { align-items: center; display: flex; font-size: 13px; gap: 12px; justify-content: center; padding: 27px 16px; }
.trust-strip div + div { border-left: 1px solid var(--line); }
.trust-strip span { color: var(--coral-dark); font-size: 19px; }

.section { margin: 0 auto; padding: 150px 0 70px; width: var(--page); }
.intro { text-align: center; }
.intro h2, .intro > p:last-child { margin-left: auto; margin-right: auto; max-width: 760px; }
.intro > p:last-child { color: var(--muted); max-width: 610px; }

.privacy-section { align-items: center; background: #2d2a27; color: white; display: grid; gap: 8vw; grid-template-columns: 1fr 1fr; padding: 120px max(48px, calc((100vw - 1180px) / 2)); }
.privacy-art img { border-radius: var(--radius-lg); height: 670px; object-fit: cover; object-position: center 74%; width: 100%; }
.privacy-copy { max-width: 560px; }
.privacy-copy .eyebrow { color: #f09b7d; }
.privacy-lead { color: #d4ccc3; font-size: 17px; }
.privacy-point { border-top: 1px solid rgba(255,255,255,.14); display: grid; gap: 22px; grid-template-columns: auto 1fr; padding: 22px 0; }
.privacy-point > span { color: #f09b7d; font-size: 11px; font-weight: 800; letter-spacing: .1em; }
.privacy-point strong { display: block; }
.privacy-point p { color: #bdb5ac; font-size: 13px; margin: 3px 0 0; }
.text-link { color: white; display: inline-block; font-size: 13px; font-weight: 750; margin-top: 16px; text-underline-offset: 5px; }

.faq { max-width: 900px; }
.faq > .eyebrow, .faq > h2 { text-align: center; }
.faq-list { margin-top: 60px; }
details { border-top: 1px solid var(--line); }
details:last-child { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; font-size: 18px; font-weight: 700; list-style: none; padding: 24px 48px 24px 0; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 25px; font-weight: 400; position: absolute; right: 8px; top: 19px; }
details[open] summary::after { content: "−"; }
details p { color: var(--muted); max-width: 690px; padding: 0 48px 24px 0; }

.closing-section { align-items: end; background: var(--coral); color: white; display: grid; gap: 60px; grid-template-columns: 1.5fr .5fr; margin: 100px auto 0; max-width: 1380px; min-height: 480px; padding: 80px max(48px, calc((100% - 1180px) / 2)); }
.closing-section .eyebrow { color: #fee6da; }
.closing-section h2 { font-size: clamp(54px, 7vw, 92px); margin: 0; }
.closing-action p { color: #fee6da; font-size: 14px; }
.button-light { background: white; color: var(--charcoal); gap: 10px; }

footer { align-items: center; display: grid; font-size: 12px; grid-template-columns: 1fr auto 1fr; margin: 0 auto; max-width: 1380px; padding: 40px; }
footer p { color: var(--muted); margin: 0; }
footer > div { display: flex; gap: 20px; justify-self: end; }
footer > div span { color: var(--muted); }
.footer-brand { font-size: 16px; }
.footer-brand .brand-mark { height: 30px; width: 30px; }

.policy-page { background: var(--paper); }
.policy-main { margin: 0 auto; max-width: 780px; padding: 100px 24px 140px; }
.policy-main h1 { font-size: clamp(52px, 8vw, 82px); }
.policy-intro { color: var(--muted); font-size: 19px; }
.policy-meta { border-bottom: 1px solid var(--line); color: var(--muted); font-size: 12px; margin: 40px 0 56px; padding-bottom: 24px; }
.policy-main h2 { font-family: inherit; font-size: 25px; font-weight: 750; letter-spacing: -.02em; line-height: 1.2; margin: 48px 0 16px; }
.policy-main li, .policy-main p { color: #514b46; }
.policy-main li { margin: 10px 0; }
.policy-note { background: var(--ivory); border-left: 3px solid var(--coral); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; margin-top: 48px; padding: 24px; }

:focus-visible { outline: 3px solid #2573b8; outline-offset: 4px; }

/* ── Lightbox ── */

.lightbox-overlay {
  align-items: center;
  animation: lightbox-fade-in 0.2s ease;
  background: rgba(0, 0, 0, 0.85);
  display: flex;
  inset: 0;
  justify-content: center;
  position: fixed;
  z-index: 1000;
}

.lightbox-overlay.lightbox-closing {
  animation: lightbox-fade-out 0.15s ease forwards;
}

.lightbox-img {
  animation: lightbox-scale-in 0.25s ease;
  border-radius: 12px;
  max-height: 90vh;
  max-width: 90vw;
  object-fit: contain;
}

.lightbox-img.lightbox-closing {
  animation: lightbox-scale-out 0.15s ease forwards;
}

.lightbox-close {
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  font-size: 32px;
  line-height: 1;
  padding: 16px;
  position: absolute;
  right: 16px;
  top: 16px;
  z-index: 1001;
}

@keyframes lightbox-fade-in {
  from { opacity: 0; }
}

@keyframes lightbox-fade-out {
  to { opacity: 0; }
}

@keyframes lightbox-scale-in {
  from { opacity: 0; transform: scale(0.92); }
}

@keyframes lightbox-scale-out {
  to { opacity: 0; transform: scale(0.92); }
}

@media (max-width: 900px) {
  :root { --page: min(100% - 32px, 720px); }
  .site-header { grid-template-columns: 1fr auto; padding: 20px 24px; }
  nav { display: none; }
  .hero { grid-template-columns: 1fr; padding-top: 70px; }
  .hero-copy { max-width: 720px; }
  .hero-screenshot { max-height: 480px; }
  .trust-strip { grid-template-columns: 1fr; }
  .trust-strip div + div { border-left: 0; border-top: 1px solid var(--line); }
  .screenshot-row { gap: 40px; grid-template-columns: 1fr; padding: 40px 0; }
  .screenshot-row-reverse { display: flex; flex-direction: column-reverse; }
  .screenshot-copy { max-width: none; }
  .screenshot-row .device-frame {
    max-width: 340px;
  }
  .pricing-cards { grid-template-columns: 1fr; }
  .privacy-section { gap: 54px; grid-template-columns: 1fr; padding: 88px 32px; }
  .privacy-art img { height: 480px; }
  .privacy-copy { max-width: none; }
  .closing-section { grid-template-columns: 1fr; }
  footer { gap: 24px; grid-template-columns: 1fr; text-align: left; }
  footer > div { justify-self: start; }
}

@media (max-width: 640px) {
  .site-header { padding: 18px 16px; }
  .hero { gap: 32px; min-height: auto; padding: 54px 0 80px; }
  h1 { font-size: clamp(51px, 15vw, 70px); }
  h2 { font-size: 44px; }
  .hero-summary { font-size: 17px; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-screenshot { max-height: 380px; }
  .section { padding-top: 100px; }
  .screenshot-row { gap: 28px; padding: 32px 0; }
  .screenshot-row .device-frame { 
    max-width: 280px;
  }
  .device-frame { --frame-padding: 10px; --frame-radius: 36px; }
  .device-notch { height: 20px; width: 80px; }
  .screenshot-copy h3 { font-size: 26px; }
  .pricing-section { padding: 80px 0; }
  .pricing-card { padding: 28px 24px; }
  .pricing-amount { font-size: 42px; }
  .privacy-section { padding: 72px 24px; }
  .privacy-art img { border-radius: 28px; height: 390px; }
  .closing-section { margin-top: 60px; padding: 64px 24px; }
  .closing-section h2 { font-size: 54px; }
  footer { padding: 36px 24px; }
  footer > div { flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }

  .lightbox-overlay,
  .lightbox-img,
  .lightbox-overlay.lightbox-closing,
  .lightbox-img.lightbox-closing {
    animation: none;
  }
  .lightbox-overlay.lightbox-closing { opacity: 0; }
  .lightbox-img.lightbox-closing { opacity: 0; }
}
