/* PetVision website — single stylesheet, no build step.
   Fonts: Inter (SIL Open Font License 1.1, see fonts/OFL.txt), self-hosted. */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("fonts/inter-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("fonts/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --ink: #12151c;
  --text: #2b313b;
  --muted: #5e6673;
  --line: #e7e8ec;
  --bg: #ffffff;
  --bg-soft: #f6f7f8;
  --bg-warm: #fff5ee;
  --brand: #ff6b00;          /* logo orange — decorative use only */
  --brand-strong: #c2410c;   /* orange for text and links on light backgrounds (AA) */
  --brand-soft: #ffe6d4;
  --night: #0f1218;
  --night-text: #c9d1dc;
  --hr: #16a34a;
  --rr: #0284c7;
  --temp: #ea580c;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(17, 24, 39, 0.06);
  --shadow: 0 1px 2px rgba(17, 24, 39, 0.05), 0 12px 32px rgba(17, 24, 39, 0.09);
  --container: 1120px;
  --gutter: clamp(16px, 4vw, 32px);
  --section: clamp(64px, 9vw, 108px);
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--brand-strong); text-underline-offset: 3px; }
a:hover { color: #9a3412; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 6px; }

h1, h2, h3 { color: var(--ink); line-height: 1.15; letter-spacing: -0.02em; margin: 0; }
h1 { font-size: clamp(2.2rem, 1.4rem + 3vw, 3.25rem); font-weight: 800; letter-spacing: -0.03em; }
h2 { font-size: clamp(1.7rem, 1.25rem + 1.8vw, 2.4rem); font-weight: 750; }
h3 { font-size: 1.1rem; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }

.skip {
  position: absolute; left: 12px; top: -100px; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 8px; text-decoration: none;
}
.skip:focus { top: 12px; color: #fff; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 24px; height: 66px; }

.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); margin-right: auto; }
.brand:hover { color: var(--ink); }
.brand-mark { width: 34px; height: 31px; flex: none; }
.brand-name { font-weight: 800; font-size: 1.2rem; letter-spacing: -0.02em; }

.site-nav { display: flex; gap: 4px; }
.site-nav a {
  color: var(--text); text-decoration: none; font-size: 0.95rem; font-weight: 550;
  padding: 8px 12px; border-radius: 999px;
}
.site-nav a:hover { background: var(--bg-soft); color: var(--ink); }

.header-actions { display: flex; align-items: center; gap: 10px; }
.lang {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 44px; height: 38px; padding: 0 10px;
  border: 1px solid var(--line); border-radius: 999px;
  color: var(--ink); font-weight: 650; font-size: 0.85rem; letter-spacing: 0.04em; text-decoration: none;
}
.lang:hover { border-color: #cfd2d8; color: var(--ink); background: var(--bg-soft); }

@media (max-width: 880px) { .site-nav { display: none; } }
@media (max-width: 400px) { .header-actions .btn-small { display: none; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border-radius: 999px;
  font: inherit; font-weight: 650; font-size: 1rem; line-height: 1; text-decoration: none;
  border: 1px solid transparent; cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: #262b36; color: #fff; }
.btn-ghost { background: #fff; color: var(--ink); border-color: #d6d9df; }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn-small { min-height: 38px; padding: 0 16px; font-size: 0.9rem; }
.btn-brand { background: var(--brand); color: var(--ink); }
.btn-brand:hover { background: #ff7d1f; color: var(--ink); }

/* ---------- Hero ---------- */
.hero {
  padding: clamp(44px, 6vw, 88px) 0 clamp(52px, 7vw, 96px);
  background: radial-gradient(800px 460px at 90% 0%, rgba(255, 107, 0, 0.1), transparent 62%), var(--bg);
}
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--brand-strong); font-weight: 700; font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase;
  margin-bottom: 16px;
}
.eyebrow::before { content: ""; width: 18px; height: 2px; background: var(--brand); border-radius: 2px; }
.hero h1 { max-width: 17ch; }
.lead { margin-top: 20px; font-size: clamp(1.06rem, 1rem + 0.3vw, 1.2rem); max-width: 34em; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

.chips { list-style: none; padding: 0; margin: 30px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line);
  font-size: 0.9rem; font-weight: 550; color: var(--ink);
}
.chips li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--brand); }

.hero-visual { margin: 0; position: relative; }
.device-stage {
  position: relative; aspect-ratio: 1 / 1; max-width: 460px; margin-inline: auto;
  display: grid; place-items: center;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 45%, #fff 0%, var(--bg-warm) 55%, #ffe9d9 100%);
}
.device-img { width: 70%; filter: drop-shadow(0 28px 32px rgba(17, 24, 39, 0.18)); }
.reading-card {
  position: absolute; left: 0; bottom: 8%;
  background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow);
  padding: 14px 16px; min-width: 190px; font-variant-numeric: tabular-nums;
}
.reading-card .rc-title { font-size: 0.78rem; font-weight: 650; color: var(--muted); margin-bottom: 8px; }
.reading-card .rc-row { display: flex; align-items: baseline; gap: 8px; line-height: 1.5; }
.reading-card .rc-row::before { content: ""; width: 8px; height: 8px; border-radius: 50%; align-self: center; flex: none; }
.reading-card .rc-row.hr::before { background: var(--hr); }
.reading-card .rc-row.rr::before { background: var(--rr); }
.reading-card .rc-row.temp::before { background: var(--temp); }
.reading-card strong { font-size: 1.15rem; color: var(--ink); font-weight: 750; }
.reading-card span { font-size: 0.8rem; color: var(--muted); }
.hero-visual figcaption { margin-top: 14px; text-align: center; font-size: 0.82rem; color: var(--muted); }

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero h1 { max-width: 19ch; }
  .device-stage { max-width: 380px; }
}
@media (max-width: 480px) {
  .reading-card { min-width: 0; padding: 10px 12px; }
  .reading-card strong { font-size: 1rem; }
}

/* ---------- Sections ---------- */
.section { padding: var(--section) 0; }
.section-soft { background: var(--bg-soft); }
.section-head { max-width: 680px; margin-bottom: clamp(32px, 4vw, 48px); }
.section-head p { margin-top: 14px; color: var(--muted); font-size: 1.08rem; }

/* Problem */
.problem { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.photo { margin: 0; }
.photo img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow); aspect-ratio: 3 / 4; object-fit: cover; }
.photo figcaption { margin-top: 10px; font-size: 0.85rem; color: var(--muted); }
.problem .section-head { margin-bottom: 24px; }
.points { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.points li { display: grid; grid-template-columns: auto 1fr; gap: 14px; }
.points .num {
  width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  background: var(--brand-soft); color: var(--brand-strong); font-weight: 750; font-size: 0.85rem; margin-top: 1px;
}
.points h3 { margin-bottom: 2px; }
.points p { color: var(--muted); font-size: 1rem; }
@media (max-width: 860px) {
  .problem { grid-template-columns: 1fr; }
  .photo { max-width: 420px; }
}

/* How it measures */
.measure { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.measure-figure {
  margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(16px, 3vw, 28px); box-shadow: var(--shadow);
}
.measure-figure figcaption { margin-top: 12px; font-size: 0.85rem; color: var(--muted); text-align: center; }
.measure-list { display: grid; gap: 14px; }
.measure-item { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: start; padding: 18px 20px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.measure-item h3 { margin-bottom: 4px; }
.measure-item p { color: var(--muted); font-size: 1rem; }
@media (max-width: 960px) { .measure { grid-template-columns: 1fr; } }

.icon {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; flex: none;
  background: var(--brand-soft); color: var(--brand-strong);
}
.icon svg { width: 22px; height: 22px; }
.icon.rr { background: #e0f2fe; color: #0369a1; }
.icon.temp { background: #ffedd5; color: #c2410c; }
.icon.cam { background: #f1f2f4; color: var(--ink); }

/* Features */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 960px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-3 { grid-template-columns: 1fr; } }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 26px; height: 100%;
}
.card .icon { margin-bottom: 16px; }
.card h3 { margin-bottom: 6px; }
.card p { color: var(--muted); font-size: 1rem; }

/* Stage + founder */
.about { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: clamp(28px, 4vw, 48px); align-items: start; }
.stage-lines { margin: 26px 0 0; display: grid; gap: 14px; }
.stage-lines div { display: grid; grid-template-columns: 9.5rem 1fr; gap: 16px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.stage-lines dt { font-weight: 700; color: var(--ink); }
.stage-lines dd { margin: 0; }
.stage-note { margin-top: 20px; font-size: 0.95rem; color: var(--muted); }
@media (max-width: 560px) { .stage-lines div { grid-template-columns: 1fr; gap: 2px; } }

.person { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px; box-shadow: var(--shadow); }
.person-photo { width: 96px; height: 96px; border-radius: 24px; object-fit: cover; margin-bottom: 16px; background: var(--bg-soft); }
.person-name { font-size: 1.25rem; font-weight: 750; color: var(--ink); }
.person-role { color: var(--muted); margin-top: 2px; }
.person-text { margin-top: 12px; font-size: 0.95rem; color: var(--muted); }
.person-mail { display: inline-block; margin-top: 14px; font-weight: 600; word-break: break-all; }
@media (max-width: 900px) { .about { grid-template-columns: 1fr; } .person { max-width: 420px; } }

/* Contact */
.contact {
  position: relative; overflow: hidden;
  background: var(--night); color: var(--night-text); border-radius: 28px;
  padding: clamp(32px, 6vw, 64px);
  display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 28px; align-items: center;
}
.contact::after {
  content: ""; position: absolute; right: -120px; top: -120px; width: 400px; height: 400px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 107, 0, 0.32), transparent 65%); pointer-events: none;
}
.contact h2 { color: #fff; }
.contact p { margin-top: 12px; font-size: 1.08rem; max-width: 36em; }
.contact .eyebrow { color: #fdba74; }
.contact-actions { position: relative; z-index: 1; display: grid; gap: 14px; justify-items: start; }
.contact-mail { color: #fff; font-weight: 700; font-size: clamp(1.1rem, 1rem + 0.7vw, 1.45rem); text-decoration: none; border-bottom: 2px solid var(--brand); word-break: break-all; }
.contact-mail:hover { color: #fdba74; }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } }

/* Footer */
.site-footer { padding: 44px 0 40px; border-top: 1px solid var(--line); margin-top: var(--section); }
.footer-inner { display: flex; flex-wrap: wrap; gap: 20px 40px; align-items: flex-start; justify-content: space-between; }
.footer-brand p { margin-top: 10px; color: var(--muted); font-size: 0.95rem; max-width: 30em; }
.footer-meta { display: grid; gap: 6px; font-size: 0.9rem; color: var(--muted); text-align: right; }
.footer-meta a { color: var(--muted); }
@media (max-width: 700px) { .footer-meta { text-align: left; } }

/* 404 */
.notfound { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 64px 0; }
.notfound .code { font-size: clamp(4rem, 12vw, 7rem); font-weight: 800; color: var(--brand); letter-spacing: -0.04em; line-height: 1; }
.notfound h1 { font-size: clamp(1.6rem, 1.2rem + 1.5vw, 2.2rem); margin-top: 12px; }
.notfound p { color: var(--muted); margin-top: 12px; }
.notfound .cta-row { justify-content: center; }
