/* Built by site/build.mjs: fonts, tokens from docs/mockups/tokens.js, then src/styles/site.css. */
@font-face { font-family: 'Mitr'; font-style: normal; font-weight: 500; font-display: swap; src: url(/assets/fonts-mitr-500-thai.1720286e3d.woff2) format('woff2'); unicode-range: U+02D7, U+0303, U+0331, U+0E01-0E5B, U+200C-200D, U+25CC; }
@font-face { font-family: 'Mitr'; font-style: normal; font-weight: 500; font-display: swap; src: url(/assets/fonts-mitr-500-latin.5165976dbe.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Mitr'; font-style: normal; font-weight: 600; font-display: swap; src: url(/assets/fonts-mitr-600-thai.7d993a63a9.woff2) format('woff2'); unicode-range: U+02D7, U+0303, U+0331, U+0E01-0E5B, U+200C-200D, U+25CC; }
@font-face { font-family: 'Mitr'; font-style: normal; font-weight: 600; font-display: swap; src: url(/assets/fonts-mitr-600-latin.1c72b77ef2.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Noto Sans Thai Looped'; font-style: normal; font-weight: 400; font-display: swap; src: url(/assets/fonts-looped-400-thai.701cf15a27.woff2) format('woff2'); unicode-range: U+02D7, U+0303, U+0331, U+0E01-0E5B, U+200C-200D, U+25CC; }
@font-face { font-family: 'Noto Sans Thai Looped'; font-style: normal; font-weight: 400; font-display: swap; src: url(/assets/fonts-looped-400-latin.c58f53b605.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Noto Sans Thai Looped'; font-style: normal; font-weight: 600; font-display: swap; src: url(/assets/fonts-looped-600-thai.390a379e25.woff2) format('woff2'); unicode-range: U+02D7, U+0303, U+0331, U+0E01-0E5B, U+200C-200D, U+25CC; }
@font-face { font-family: 'Noto Sans Thai Looped'; font-style: normal; font-weight: 600; font-display: swap; src: url(/assets/fonts-looped-600-latin.d8446904ae.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 {
  --canvas: #F4FCFB;
  --surface: #FFFFFF;
  --surfaceMuted: #ECF6F6;
  --chip: #E3F0EF;
  --hairline: #CFE2E0;
  --ink: #232B2A;
  --inkSoft: #495655;
  --inkMuted: #5B6D6C;
  --inkFaint: #819493;
  --onBrand: #FFFFFF;
  --urgentGradEnd: #9E1B20;
  --aiGradEnd: #4B32B8;
  --okFill: #256F3E;
  --okInk: #1E5C33;
  --okSoft: #E3F4E9;
  --onOk: #FFFFFF;
  --warnFill: #F2B134;
  --warnInk: #7E5410;
  --warnSoft: #FDF3D9;
  --onWarn: #2E2420;
  --urgentFill: #C1272D;
  --urgentInk: #94151A;
  --urgentSoft: #FDECEC;
  --onUrgent: #FFFFFF;
  --aiFill: #6D4EF0;
  --aiInk: #4B32B8;
  --aiSoft: #EFEBFF;
  --onAi: #FFFFFF;
  --infoFill: #1C5094;
  --infoInk: #14427F;
  --infoSoft: #E4EDF9;
  --onInfo: #FFFFFF;
  --scanSurface: #FFFFFF;
  --onScanSurface: #161310;
  --spotlight: #221A16;
  --onSpotlight: #F8F0E8;
  --onSpotlightMuted: #C3B2A6;
  --brandFill: #0F6E68;
  --brandInk: #0D5E58;
  --brandBright: #4DEFE4;
  --brandGradEnd: #0B4F4B;
  --brandSoft: #E9FEFC;
  --cardShadow: 0 8px 24px rgba(45,118,113,.10), 0 1px 2px rgba(45,118,113,.04);
  --barShadow: 0 -8px 24px rgba(45,118,113,.08);
  --passportGradient: linear-gradient(140deg,#083D39 0%,#0D5E58 55%,#0F6E68 100%);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --canvas: #101515;
    --surface: #191F1F;
    --surfaceMuted: #202828;
    --chip: #273231;
    --hairline: #2C3837;
    --ink: #ECF4F4;
    --inkSoft: #BFCFCE;
    --inkMuted: #91A1A0;
    --inkFaint: #7C8C8B;
    --urgentGradEnd: #FFA9A5;
    --aiGradEnd: #C2B4FF;
    --okFill: #5FCB83;
    --okInk: #5FCB83;
    --okSoft: #1E3325;
    --onOk: #17110E;
    --warnFill: #F3C263;
    --warnInk: #F3C263;
    --warnSoft: #3A2E12;
    --onWarn: #17110E;
    --urgentFill: #FF7E7A;
    --urgentInk: #FF7E7A;
    --urgentSoft: #3A1D1C;
    --onUrgent: #17110E;
    --aiFill: #A791FF;
    --aiInk: #A791FF;
    --aiSoft: #2A2350;
    --onAi: #17110E;
    --infoFill: #6FA3E8;
    --infoInk: #6FA3E8;
    --infoSoft: #12233A;
    --onInfo: #17110E;
    --scanSurface: #FFFFFF;
    --onScanSurface: #161310;
    --spotlight: #221A16;
    --onSpotlight: #F8F0E8;
    --onSpotlightMuted: #C3B2A6;
    --brandFill: #61D1CA;
    --brandInk: #61D1CA;
    --brandBright: #81DAD4;
    --brandGradEnd: #81DAD4;
    --brandSoft: #153735;
    --onBrand: #092523;
    --cardShadow: none;
    --barShadow: none;
    --passportGradient: linear-gradient(140deg,#0D2B29 0%,#0B524E 60%,#0F6E68 100%);
    color-scheme: dark;
  }
}

/* Plan 078: the marketing site's layout and components. Colours are the app's tokens (Teal), so no hex here
   except the brand mark's fixed Teal and white text on the passport gradient. */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font: 400 16px/1.7 'Noto Sans Thai Looped', system-ui, sans-serif;
}
h1, h2, h3 { font-family: 'Mitr', system-ui, sans-serif; font-weight: 600; line-height: 1.3; margin: 0 0 12px; }
h1 { font-size: clamp(30px, 6vw, 46px); letter-spacing: -0.01em; }
h2 { font-size: clamp(24px, 4vw, 32px); }
h3 { font-size: 19px; font-weight: 500; }
p { margin: 0 0 14px; }
a { color: var(--brandInk); text-underline-offset: 3px; }
a:hover { color: var(--brandFill); }
img { max-width: 100%; height: auto; display: block; }
:focus-visible { outline: 3px solid var(--brandBright); outline-offset: 2px; border-radius: 6px; }
.muted { color: var(--inkMuted); }
.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 32px; } }

.skip { position: absolute; left: -9999px; top: 8px; background: var(--surface); padding: 8px 12px; z-index: 10; }
.skip:focus { left: 8px; }

.icon { width: 24px; height: 24px; fill: currentColor; flex: none; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 5;
  background: color-mix(in srgb, var(--canvas) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--hairline);
}
.header-row { display: flex; align-items: center; gap: 16px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand span { font: 600 22px/1 'Mitr', system-ui, sans-serif; }
.brand .paw { width: 34px; height: 35px; }
.nav { display: none; gap: 4px; margin-left: auto; }
.nav a { color: var(--inkSoft); text-decoration: none; padding: 8px 12px; border-radius: 999px; font-weight: 600; font-size: 15px; }
.nav a:hover { background: var(--chip); color: var(--ink); }
.header-row .btn-small { margin-left: auto; }
@media (min-width: 900px) {
  .nav { display: flex; }
  .header-row .btn-small { margin-left: 8px; }
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 22px; border-radius: 999px;
  background: var(--brandFill); color: var(--onBrand);
  font: 500 17px/1.2 'Mitr', system-ui, sans-serif; text-decoration: none;
  border: 2px solid var(--brandFill);
}
.btn:hover { background: var(--brandInk); border-color: var(--brandInk); color: var(--onBrand); }
.btn-ghost { background: transparent; color: var(--brandInk); border-color: var(--hairline); }
.btn-ghost:hover { background: var(--brandSoft); color: var(--brandInk); border-color: var(--brandFill); }
.btn-small { min-height: 40px; padding: 8px 16px; font-size: 15px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

/* Sections */
section { padding: 56px 0; }
@media (min-width: 720px) { section { padding: 80px 0; } }
.section-alt { background: var(--surfaceMuted); }
.eyebrow { display: inline-block; font: 500 14px/1.4 'Mitr', system-ui, sans-serif; color: var(--brandInk); background: var(--brandSoft); padding: 4px 12px; border-radius: 999px; margin-bottom: 14px; }
.lead { font-size: 18px; color: var(--inkSoft); max-width: 40em; }
.section-head { max-width: 680px; margin-bottom: 32px; }

/* Hero */
.hero { padding-top: 40px; }
.hero-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1.1fr 0.9fr; gap: 56px; } .hero { padding-top: 72px; } }
.hero-points { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 8px; }
.hero-points li { display: flex; gap: 10px; align-items: flex-start; color: var(--inkSoft); }
.hero-points .icon { color: var(--okFill); margin-top: 3px; width: 20px; height: 20px; }

/* The illustrated pet ID card and reminder (no screenshot: they are drawn from the app's own shapes). */
.visual { position: relative; max-width: 440px; margin: 0 auto; width: 100%; padding-bottom: 72px; }
.idcard {
  background: var(--passportGradient); color: #fff; border-radius: 28px; padding: 22px;
  box-shadow: 0 20px 48px rgba(8, 61, 57, .28); aspect-ratio: 1.6; display: flex; flex-direction: column;
}
.idcard-top { display: flex; align-items: center; gap: 12px; }
.idcard-badge { width: 52px; height: 52px; border-radius: 50%; background: #fff; display: grid; place-items: center; flex: none; }
.idcard-badge .paw { width: 28px; height: 29px; }
.idcard-kicker { font: 500 13px/1.6 'Mitr', system-ui, sans-serif; opacity: .85; }
.idcard-name { font: 600 24px/1.5 'Mitr', system-ui, sans-serif; }
.idcard-body { display: flex; justify-content: space-between; align-items: flex-end; margin-top: auto; gap: 12px; }
.idcard-rows { font-size: 14px; line-height: 1.6; opacity: .92; }
.idcard-qr { background: #fff; color: #083D39; border-radius: 14px; padding: 8px; flex: none; }
.idcard-qr .icon { width: 64px; height: 64px; display: block; }
.toast {
  position: absolute; left: -8px; right: 24px; bottom: 0;
  display: flex; gap: 12px; align-items: center;
  background: var(--surface); color: var(--ink); border-radius: 20px; padding: 14px 16px;
  box-shadow: var(--cardShadow); border: 1px solid var(--hairline);
}
@media (min-width: 480px) { .toast { left: -24px; right: 48px; } }
.toast-icon { width: 44px; height: 44px; border-radius: 14px; background: var(--warnSoft); color: var(--warnInk); display: grid; place-items: center; flex: none; }
.toast strong { display: block; font: 500 15px/1.35 'Mitr', system-ui, sans-serif; }
.toast span { font-size: 13px; color: var(--inkMuted); }

/* Cards */
.grid { display: grid; gap: 16px; }
@media (min-width: 640px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .grid-4 { grid-template-columns: repeat(4, 1fr); } .grid-3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 640px) and (max-width: 959px) { .grid-4, .grid-3 { grid-template-columns: repeat(2, 1fr); } }
.card {
  background: var(--surface); border: 1px solid var(--hairline); border-radius: 24px; padding: 24px;
  box-shadow: var(--cardShadow); display: flex; flex-direction: column;
}
.card p { color: var(--inkSoft); font-size: 15px; }
.card-icon { width: 48px; height: 48px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 16px; background: var(--brandSoft); color: var(--brandInk); }
.card-icon.urgent { background: var(--urgentSoft); color: var(--urgentInk); }
.card-icon.info { background: var(--infoSoft); color: var(--infoInk); }
.card-icon.ok { background: var(--okSoft); color: var(--okInk); }
.card-link { margin-top: auto; display: inline-flex; gap: 6px; align-items: center; font-weight: 600; text-decoration: none; }
.card-link .icon { width: 18px; height: 18px; }
a.card { text-decoration: none; color: inherit; transition: transform .15s ease, border-color .15s ease; }
a.card:hover { transform: translateY(-2px); border-color: var(--brandFill); color: inherit; }
@media (prefers-reduced-motion: reduce) { a.card { transition: none; } a.card:hover { transform: none; } }

/* Steps */
.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; }
.steps li { counter-increment: step; position: relative; padding-left: 56px; }
.steps li::before {
  content: counter(step); position: absolute; left: 0; top: 0;
  width: 40px; height: 40px; border-radius: 50%; background: var(--brandFill); color: var(--onBrand);
  display: grid; place-items: center; font: 600 18px/1 'Mitr', system-ui, sans-serif;
}

/* Feature pages */
.crumbs { font-size: 14px; color: var(--inkMuted); margin-bottom: 16px; }
.crumbs a { color: var(--inkMuted); }
.page-head { padding-bottom: 24px; }
/* Reading width for text, but the column starts at the same left edge as the header logo. */
.prose > * { max-width: 720px; }
.prose h2 { margin-top: 40px; font-size: 24px; }
.prose ul { padding-left: 1.2em; margin: 0 0 16px; }
.prose li { margin-bottom: 6px; }
.feature-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.feature-list li { display: flex; gap: 14px; align-items: flex-start; }
.feature-list .card-icon { margin: 0; width: 44px; height: 44px; flex: none; }
.feature-list strong { display: block; font: 500 17px/1.4 'Mitr', system-ui, sans-serif; margin-bottom: 2px; }
.feature-list span { color: var(--inkSoft); font-size: 15px; }
.note {
  border-radius: 20px; padding: 18px 20px; display: flex; gap: 12px; align-items: flex-start;
  background: var(--warnSoft); color: var(--ink); border: 1px solid color-mix(in srgb, var(--warnFill) 40%, transparent);
}
.note .icon { color: var(--warnInk); margin-top: 2px; }
.note p { margin: 0; }
.note.urgent { background: var(--urgentSoft); border-color: color-mix(in srgb, var(--urgentFill) 35%, transparent); }
.note.urgent .icon { color: var(--urgentInk); }

/* CTA band */
.cta-band { background: var(--passportGradient); color: #fff; border-radius: 32px; padding: 40px 24px; text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255, 255, 255, .88); max-width: 34em; margin-left: auto; margin-right: auto; }
.cta-band .btn-row { justify-content: center; }
.cta-band .btn { background: #fff; color: #0D5E58; border-color: #fff; }
.cta-band .btn:hover { background: #E9FEFC; border-color: #E9FEFC; color: #083D39; }
.cta-band .btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .6); }
.cta-band .btn-ghost:hover { background: rgba(255, 255, 255, .12); color: #fff; }
@media (min-width: 720px) { .cta-band { padding: 56px 40px; } }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq > * { max-width: 760px; width: 100%; }
.faq details { background: var(--surface); border: 1px solid var(--hairline); border-radius: 20px; padding: 0 20px; }
.faq summary {
  cursor: pointer; list-style: none; padding: 18px 32px 18px 0; position: relative;
  font: 500 17px/1.45 'Mitr', system-ui, sans-serif;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 0; top: 14px; font-size: 24px; color: var(--brandInk); }
.faq details[open] summary::after { content: '\2212'; }
.faq details > :not(summary) { color: var(--inkSoft); }
.faq details > :last-child { padding-bottom: 18px; margin-bottom: 0; }

/* About */
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.contact-list li { display: flex; gap: 12px; align-items: center; }
.contact-list .icon { color: var(--brandInk); }

/* 404 */
.not-found { text-align: center; padding: 96px 0; }
.not-found .paw { width: 93px; height: 96px; margin: 0 auto 24px; display: block; }

/* Footer */
.site-footer { border-top: 1px solid var(--hairline); background: var(--surface); padding: 48px 0 24px; margin-top: 24px; font-size: 15px; }
.footer-grid { display: grid; gap: 28px; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.footer-grid nav { display: flex; flex-direction: column; gap: 8px; }
.footer-grid nav a { color: var(--inkSoft); text-decoration: none; }
.footer-grid nav a[href^="mailto:"] { word-break: break-all; }
.footer-grid nav a:hover { color: var(--brandInk); text-decoration: underline; }
.footer-title { font: 500 15px/1.4 'Mitr', system-ui, sans-serif; margin: 0 0 4px; color: var(--ink); }
.footer-grid .brand { margin-bottom: 12px; }
.footer-base { border-top: 1px solid var(--hairline); margin-top: 32px; padding-top: 20px; font-size: 13px; }
.footer-base p { margin: 0 0 4px; }
.split { align-items: start; gap: 40px; }
.note + p, .note + h2 { margin-top: 20px; }
.btn-row.center { justify-content: center; }
.not-found .lead { margin-left: auto; margin-right: auto; }
.prose .feature-list { padding-left: 0; }
