/* ============================================================================
   Paws on Par — launch site
   Brand system pulled from the official kit (Marketing Materials + app):
   green launch palette, MyanmarMN lockup (rasterized), traffic-light trust
   metaphor, Fraunces/Sora/Space Mono type.
   ========================================================================== */

/* ---------- Fonts (self-hosted, same woff2 the app ships) ---------- */
@font-face {
  font-family: 'Fraunces';
  src: url('assets/fonts/Fraunces-latin.woff2') format('woff2');
  font-weight: 400 700; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'Fraunces';
  src: url('assets/fonts/Fraunces-latinext.woff2') format('woff2');
  font-weight: 400 700; font-style: normal; font-display: swap;
  unicode-range: U+0100-024F,U+0259,U+1E00-1EFF,U+2020,U+20A0-20AB,U+20AD-20CF,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'Sora';
  src: url('assets/fonts/Sora-latin.woff2') format('woff2');
  font-weight: 400 800; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'Sora';
  src: url('assets/fonts/Sora-latinext.woff2') format('woff2');
  font-weight: 400 800; font-style: normal; font-display: swap;
  unicode-range: U+0100-024F,U+0259,U+1E00-1EFF,U+2020,U+20A0-20AB,U+20AD-20CF,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'Space Mono';
  src: url('assets/fonts/SpaceMono-latin.woff2') format('woff2');
  font-weight: 700; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'Space Mono';
  src: url('assets/fonts/SpaceMono-latinext.woff2') format('woff2');
  font-weight: 700; font-style: normal; font-display: swap;
  unicode-range: U+0100-024F,U+0259,U+1E00-1EFF,U+2020,U+20A0-20AB,U+20AD-20CF,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

/* ---------- Brand tokens ---------- */
:root {
  --forest: #14512E;
  --forest-deep: #0F3D23;
  --forest-darkest: #0B2E1A;
  --lime: #B9F63B;
  --leaf: #8FCB6A;        /* launch accent green */
  --gold: #C9A463;
  --gold-light: #E7C885;  /* eyebrow gold on dark */
  --sky: #6F8FA6;
  --sky-dark: #3F5A6B;
  --coral: #D85A30;
  --coral-text: #993C1D;
  --ink: #0D1B2A;
  --navy: #12335E;
  --muted: #5B6770;
  --muted-light: #9AA7AF;
  --cream: #F5F1E8;       /* IG-tile cream */
  --cream-2: #EFE9DB;
  --tint: #F4F7F9;
  --white: #FFFFFF;
  --line: #E6E2D6;

  /* traffic-light trust (day-15) */
  --tl-green: #43A047; --tl-amber: #C9A463; --tl-red: #D85A30;

  /* in-app confidence pills (confidenceDisplay.ts) */
  --conf-high-bg: #E7F4EA;  --conf-high-text: #1E7E3C;  --conf-high-dot: #2E9E4F;
  --conf-med-bg:  #FBE9E0;  --conf-med-text:  #B44A24;  --conf-med-dot:  #D85A30;

  --serif: 'Fraunces', Georgia, Cambria, 'Times New Roman', serif;
  --sans: 'Sora', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --mono: 'Space Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  --maxw: 1140px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--sans); color: var(--ink); background: var(--white);
  line-height: 1.6; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--sky-dark); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.08; color: var(--ink); margin: 0; letter-spacing: -0.015em; }
p { margin: 0; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.eyebrow {
  font-family: var(--mono); font-weight: 700; font-size: 12px; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--gold); margin: 0 0 18px;
}
.eyebrow.on-dark { color: var(--gold-light); }
.eyebrow.coral { color: var(--coral-text); }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.9); backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid rgba(13,27,42,0.07);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 66px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { width: 30px; height: 34px; }
.brand span { font-family: var(--serif); font-weight: 600; font-size: 21px; color: var(--ink); letter-spacing: -0.02em; }
.nav-right { display: flex; align-items: center; gap: 24px; }
.nav-right a.link { font-size: 15px; font-weight: 500; color: var(--muted); }
.nav-right a.link:hover { color: var(--ink); text-decoration: none; }
.btn-pill {
  font-family: var(--sans); font-weight: 600; font-size: 15px; background: var(--forest);
  color: #fff; padding: 9px 18px; border-radius: 999px; transition: background .18s ease;
}
.btn-pill:hover { background: var(--forest-deep); text-decoration: none; }
@media (max-width: 640px) { .nav-right a.link { display: none; } }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #EAF1EC;
  background:
    radial-gradient(64% 90% at 2% 2%, rgba(216,90,48,.34), rgba(216,90,48,0) 52%),
    radial-gradient(72% 100% at 99% 100%, rgba(111,143,166,.42), rgba(111,143,166,0) 56%),
    linear-gradient(150deg, #14512E 0%, #0F3D23 28%, #0B2E1A 62%, #0D1B2A 100%);
}
.hero-grid {
  display: grid; grid-template-columns: 1.02fr 0.98fr; gap: 56px; align-items: center;
  padding: 66px 0 84px;
}
.hero-lockup { width: auto; height: 132px; margin: 0 0 26px -6px; }
.hero h1 {
  color: #fff; font-size: clamp(33px, 4.9vw, 54px); font-weight: 600;
  letter-spacing: -0.025em; margin-bottom: 20px; max-width: 15ch;
}
.hero h1 .accent { color: var(--leaf); }
.hero-lead { font-size: clamp(16.5px, 2vw, 19px); color: #C6D6CC; max-width: 42ch; margin-bottom: 30px; }
.hero-lead strong { color: #EAF1EC; font-weight: 600; }
.hero-micro { margin-top: 20px; font-size: 14px; color: #9FB6A8; display: flex; align-items: center; gap: 9px; flex-wrap: wrap; }
.hero-micro .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--leaf); }

/* hero photo card */
.hero-visual { position: relative; }
.photo-card {
  position: relative; border-radius: 24px; overflow: hidden;
  box-shadow: 0 40px 80px -32px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.08);
  aspect-ratio: 4 / 4.4;
}
.photo-card img { width: 100%; height: 100%; object-fit: cover; }
.photo-card .grad { position: absolute; inset: 0; background: linear-gradient(to top, rgba(11,46,26,0.5), transparent 42%); }
.float-pill {
  position: absolute; left: 18px; bottom: 18px; z-index: 2;
  display: inline-flex; align-items: center; gap: 9px; background: rgba(255,255,255,0.96);
  border-radius: 14px; padding: 10px 14px; box-shadow: 0 12px 26px -10px rgba(0,0,0,0.5);
}
.float-pill .cdot { width: 9px; height: 9px; border-radius: 50%; background: var(--conf-high-dot); box-shadow: 0 0 0 4px rgba(46,158,79,0.16); }
.float-pill b { display: block; font-size: 13.5px; color: var(--conf-high-text); font-weight: 700; }
.float-pill .meta { display: block; font-size: 12px; color: var(--muted); font-weight: 500; margin-top: 1px; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; padding: 44px 0 60px; text-align: center; }
  .hero-lockup { margin: 0 auto 22px; height: 116px; }
  .hero h1, .hero-lead { margin-left: auto; margin-right: auto; }
  .hero-micro, .store-row { justify-content: center; }
  .hero-visual { max-width: 420px; margin: 0 auto; }
}

/* ---------- Store buttons ----------------------------------------------------
   Apple  · LIVE. Uses Apple's official "Download on the App Store" badge SVG
            (assets/badges/app-store-badge.svg). Per Apple's marketing
            guidelines the badge artwork itself is never restyled — no recolor,
            no border, no shadow, no distortion. Only its height is set; the
            width follows the native 119.664 x 40 ratio. The wrapper's padding
            supplies the required minimum clear space (1/10 of badge height).
   Google · Not submitted. Muted, non-interactive .is-soon state below; it is a
            <span> in the markup, so nothing here needs to defeat focus.
   ---------------------------------------------------------------------------- */
.store-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }

/* --- Apple official badge (live) --- */
.appstore-link {
  display: inline-flex;              /* kills the inline-image baseline gap */
  padding: 4.8px;                    /* Apple minimum clear space: 48px / 10 */
  border-radius: 4px;
  transition: transform .15s ease, opacity .15s ease;
}
.appstore-link:hover { transform: translateY(-2px); opacity: .9; text-decoration: none; }
.appstore-link:focus-visible { outline: 3px solid var(--leaf); outline-offset: 2px; }
.appstore-badge {
  display: block;
  height: 48px;
  width: auto;                       /* preserve the 2.9916:1 native ratio */
}

/* --- Custom pill (Google Play "coming to" state) --- */
.store-btn {
  display: inline-flex; align-items: center; gap: 12px; background: #0A2415; color: #fff;
  border: 1px solid rgba(255,255,255,0.18); padding: 11px 20px; border-radius: 10px;
  min-width: 208px; min-height: 57.6px; box-sizing: border-box;  /* matches badge + clear space */
  transition: transform .15s ease, border-color .15s ease;
}
.store-btn:hover { text-decoration: none; }
.store-btn.is-live:hover { transform: translateY(-2px); border-color: rgba(143,203,106,0.6); }
.store-btn.is-live:focus-visible { outline: 3px solid var(--leaf); outline-offset: 2px; }
.store-btn svg { width: 25px; height: 25px; flex: none; fill: #fff; }
.store-btn .st-txt { display: flex; flex-direction: column; line-height: 1.15; text-align: left; }
.store-btn .st-small { font-size: 11px; color: #9FB6A8; letter-spacing: 0.02em; }
.store-btn .st-big { font-size: 17px; font-weight: 600; letter-spacing: -0.01em; }

/* Muted, genuinely inert. Deliberately NOT a blanket `opacity`, which would drag
   the label under contrast minimums and read as a rendering glitch. Instead the
   surface is dimmed and only the glyph is softened, so the text stays legible. */
.store-btn.is-soon {
  cursor: default; pointer-events: none; user-select: none;
  background: #1C3527; border-color: rgba(255,255,255,0.10);
}
.store-btn.is-soon svg { opacity: .55; }
.store-btn.is-soon .st-small { color: #8FA396; }
.store-btn.is-soon .st-big { color: #D6E2DA; font-weight: 500; }
.store-btn.is-soon .st-badge {
  margin-left: auto; font-family: var(--mono); font-size: 9px; font-weight: 700; letter-spacing: 0.1em;
  color: #CFE0D4; background: rgba(255,255,255,0.10); border: 1px solid rgba(255,255,255,0.16);
  padding: 3px 7px; border-radius: 999px; text-transform: uppercase;
}
.on-light-store .store-btn { background: var(--ink); border-color: rgba(13,27,42,0.14); }
.on-light-store .store-btn.is-soon { background: #33414E; border-color: rgba(13,27,42,0.10); }

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section.cream { background: var(--cream); }
.section.forest { background: var(--forest-deep); color: #E7EFE9;
  background-image: radial-gradient(60% 70% at 90% 8%, rgba(143,203,106,0.12), transparent 60%); }
.section-head { max-width: 660px; margin: 0 0 54px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section h2 { font-size: clamp(30px, 4.4vw, 46px); margin-bottom: 18px; }
.section.forest h2 { color: #fff; }
.section-head p { font-size: 18px; color: var(--muted); }
.section.forest .section-head p { color: #AEC3B6; }
.section h2 .green { color: var(--tl-green); }
.section h2 .coral { color: var(--coral); }

/* ---------- Problem ---------- */
.problem { text-align: center; max-width: 820px; margin: 0 auto; }
.problem h2 { font-size: clamp(31px, 5vw, 52px); line-height: 1.06; margin-bottom: 26px; }
.problem h2 .muted { color: var(--muted-light); }
.problem p { font-size: 19px; color: var(--muted); max-width: 62ch; margin: 0 auto; }
.tabs-line { margin-top: 30px; display: inline-flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.tabs-line span {
  font-family: var(--mono); font-size: 13px; font-weight: 700; color: var(--coral-text);
  background: #FAECE7; border-radius: 999px; padding: 7px 15px;
}

/* ---------- Traffic light ---------- */
.trust-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
@media (max-width: 860px) { .trust-wrap { grid-template-columns: 1fr; gap: 36px; } }
.trust-copy h2 { font-size: clamp(30px, 4.2vw, 44px); margin-bottom: 16px; }
.trust-copy p { font-size: 18px; color: var(--muted); }
.tl-card { background: var(--cream); border: 1px solid var(--line); border-radius: 22px; padding: 14px 12px; }
.tl-row { display: flex; align-items: center; gap: 16px; padding: 20px 20px; border-radius: 16px; }
.tl-row + .tl-row { margin-top: 6px; }
.tl-row .lens {
  width: 46px; height: 46px; border-radius: 50%; flex: none; display: grid; place-items: center;
  background: #fff; box-shadow: inset 0 0 0 1px rgba(13,27,42,0.06);
}
.tl-row .bulb { width: 20px; height: 20px; border-radius: 50%; }
.tl-row.g .bulb { background: var(--tl-green); box-shadow: 0 0 0 5px rgba(67,160,71,0.16); }
.tl-row.a .bulb { background: var(--tl-amber); box-shadow: 0 0 0 5px rgba(201,164,99,0.18); }
.tl-row.r .bulb { background: var(--tl-red); box-shadow: 0 0 0 5px rgba(216,90,48,0.16); }
.tl-row b { font-family: var(--serif); font-size: 20px; font-weight: 600; color: var(--ink); display: block; }
.tl-row span { font-size: 14.5px; color: var(--muted); }

/* ---------- Steps ---------- */
.steps { margin-top: 66px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; gap: 18px; } }
.step { background: #fff; border: 1px solid #ECEFF1; border-radius: 20px; padding: 30px 28px; box-shadow: 0 1px 2px rgba(13,27,42,0.03); }
.step-num {
  font-family: var(--mono); font-weight: 700; font-size: 12px; letter-spacing: 0.12em; color: var(--forest);
  background: #E7F4EA; width: fit-content; padding: 5px 11px; border-radius: 999px; margin-bottom: 18px;
}
.step h3 { font-size: 23px; margin-bottom: 10px; }
.step p { color: var(--muted); font-size: 15.5px; }

/* in-app badges strip */
.badges {
  margin-top: 26px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px;
  background: var(--cream); border: 1px solid var(--line); border-radius: 20px; padding: 32px 26px;
}
@media (max-width: 720px) { .badges { grid-template-columns: repeat(2, 1fr); gap: 26px 16px; } }
.badges-cap { text-align: center; margin: 60px 0 0; font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted-light); }
.badge { text-align: center; }
.badge img { height: 80px; margin: 0 auto 13px; width: auto; }
.badge h4 { font-family: var(--serif); font-weight: 600; font-size: 16px; margin: 0 0 5px; color: var(--ink); }
.badge p { font-size: 13px; color: var(--muted); margin: 0; }

/* ---------- Phone / gallery ---------- */
.phone {
  width: 100%; max-width: 292px; aspect-ratio: 1080 / 2200; background: #0B140E;
  border-radius: 42px; padding: 11px; box-shadow: 0 40px 90px -30px rgba(0,0,0,0.7), 0 0 0 2px rgba(255,255,255,0.08);
}
.phone-screen { width: 100%; height: 100%; border-radius: 32px; overflow: hidden; background: #fff; }
.phone-screen img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.gallery { display: flex; justify-content: center; align-items: flex-start; gap: 46px; flex-wrap: wrap; }
.g-item { display: flex; flex-direction: column; align-items: center; gap: 18px; max-width: 292px; }
.g-cap { text-align: center; }
.g-cap strong { display: block; font-family: var(--serif); font-size: 19px; color: #fff; margin-bottom: 4px; }
.g-cap span { font-size: 14.5px; color: #AEC3B6; }

/* ---------- CTA ---------- */
.cta {
  position: relative; overflow: hidden; border-radius: 30px; padding: 66px 48px; text-align: center; color: #fff;
  background:
    radial-gradient(60% 120% at 12% 0%, rgba(216,90,48,0.3), transparent 55%),
    radial-gradient(70% 130% at 100% 100%, rgba(143,203,106,0.28), transparent 55%),
    linear-gradient(140deg, #14512E, #0F3D23 60%, #0B2E1A);
}
.cta h2 { color: #fff; font-size: clamp(29px, 4.6vw, 44px); margin-bottom: 14px; }
.cta p { color: #C6D6CC; font-size: 18px; margin: 0 auto 30px; max-width: 44ch; }
.cta .store-row { justify-content: center; }
.cta-contact { margin-top: 26px; font-size: 14.5px; color: #9FB6A8; }
.cta-contact a { color: var(--gold-light); }
@media (max-width: 560px) { .cta { padding: 46px 24px; border-radius: 22px; } }

/* ---------- Footer ---------- */
.footer { background: var(--forest-darkest); color: #A9C0B2; padding: 52px 0 44px; }
.footer-inner { display: flex; align-items: flex-start; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.footer-lockup { height: 96px; width: auto; }
.footer-links { display: flex; flex-direction: column; gap: 12px; font-size: 15px; }
.footer-links a { color: #C6D6CC; }
.footer-links a:hover { color: #fff; }
.footer-copy { width: 100%; margin-top: 30px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,0.09); font-size: 13.5px; color: #7E988A; }

/* ---------- Privacy page ---------- */
.legal { max-width: 760px; margin: 0 auto; padding: 60px 24px 96px; }
.legal .back { font-size: 14px; font-weight: 600; color: var(--sky-dark); display: inline-block; margin-bottom: 28px; }
.legal h1 { font-size: clamp(32px, 5vw, 46px); margin-bottom: 10px; }
.legal .updated { font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted-light); margin-bottom: 34px; }
.legal .lead { font-size: 18px; color: var(--muted); margin-bottom: 8px; }
.legal h2 { font-size: 24px; margin: 44px 0 12px; }
.legal h3 { font-size: 18px; font-family: var(--serif); margin: 26px 0 8px; }
.legal p { color: #33404B; margin-bottom: 14px; }
.legal ul { color: #33404B; margin: 0 0 16px; padding-left: 22px; }
.legal li { margin-bottom: 9px; }
.legal .callout { background: var(--cream); border-left: 3px solid var(--leaf); border-radius: 10px; padding: 16px 20px; margin: 20px 0; font-size: 15px; color: var(--muted); }
.legal a { font-weight: 500; }
.legal .tag { display: inline-block; font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--forest); background: #E7F4EA; padding: 3px 9px; border-radius: 999px; margin-bottom: 22px; }
