/* Landing page and 404 only. Legal pages keep their own inline styles. */
@font-face { font-family: 'Outfit'; font-weight: 500; font-display: swap; src: url(/assets/outfit-Medium.woff) format('woff'); }
@font-face { font-family: 'Outfit'; font-weight: 700 900; font-display: swap; src: url(/assets/outfit-Bold.woff) format('woff'); }

:root {
    --bg: #0B1A10; --text: #F3FAF4; --muted: #C9DCCD; --line: rgba(220, 245, 226, .1);
    --mint: #9FE0AE; --sage: #7CB88A; --cream: #FBEFD8; --forest: #1A3D24; --gold: #F2C46B;
    --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { background: var(--bg); scroll-behavior: smooth; }
body {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text); background: var(--bg); line-height: 1.55; font-weight: 500;
    -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
picture { display: block; }
ul { list-style: none; }
a { color: var(--mint); text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--cream); outline-offset: 4px; border-radius: 8px; }
p, li { color: var(--muted); font-size: 18px; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--cream); color: var(--forest); padding: 8px 14px; border-radius: 8px; z-index: 20; }
.skip:focus { left: 8px; }

/* page: soft glows down the whole length, clipped so nothing scrolls sideways */
.page {
    position: relative; overflow: hidden; overflow: clip;
    background:
        radial-gradient(55% 1400px at 85% 0, rgba(124, 184, 138, .38), transparent 70%),
        radial-gradient(60% 1400px at 0 18%, rgba(40, 110, 60, .5), transparent 70%),
        radial-gradient(55% 1400px at 100% 38%, rgba(242, 196, 107, .14), transparent 70%),
        radial-gradient(60% 1400px at 0 55%, rgba(124, 184, 138, .3), transparent 70%),
        radial-gradient(55% 1400px at 100% 72%, rgba(40, 110, 60, .45), transparent 70%),
        radial-gradient(70% 1200px at 50% 100%, rgba(124, 184, 138, .32), transparent 70%),
        var(--bg);
}

/* the streak */
.streak { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; overflow: visible; }
.streak use { fill: none; stroke: url(#sg); vector-effect: non-scaling-stroke; stroke-linecap: round; }
.s-halo { stroke-width: 90px; opacity: .07; }
.s-glow { stroke-width: 22px; opacity: .2; }
.s-core { stroke-width: 4px; opacity: .9; }
@media (max-width: 700px) {
    .s-halo { stroke-width: 50px; }
    .s-glow { stroke-width: 14px; }
    .s-core { stroke-width: 3px; }
}

/* nav */
.nav {
    position: sticky; top: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between;
    padding: 14px clamp(20px, 5vw, 64px);
    background: rgba(11, 26, 16, .72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 700; font-size: 23px; letter-spacing: -.02em; }
.brand:hover { text-decoration: none; }
.brand img { border-radius: 22%; }
.nav nav { display: flex; gap: 24px; }
.nav nav a { color: var(--text); font-size: 16px; }

main, .foot { position: relative; z-index: 1; }

/* the one headline pattern: verb-led, huge, heavy, key phrase in mint */
.hl {
    font-weight: 700; text-transform: uppercase; color: var(--text);
    font-size: clamp(42px, 4vw + 18px, 76px); line-height: .9; letter-spacing: -.035em;
    text-wrap: balance;
}
.hl em { display: block; font-style: normal; color: var(--mint); text-shadow: 0 0 60px rgba(159, 224, 174, .45); }
.eyebrow { text-shadow: 0 0 8px var(--bg), 0 0 3px var(--bg); display: block; color: var(--cream); font-size: 14px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; line-height: 1.4; margin-bottom: 18px; }
.hl .eyebrow { margin-bottom: 22px; }

/* CTA */
.cta { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 14px 20px; margin-top: 32px; }
.badge { display: inline-block; border-radius: 10px; transition: transform 160ms var(--ease-out); }
.badge:active { transform: scale(.97); }
@media (hover: hover) and (pointer: fine) { .badge:hover { transform: translateY(-2px); } .badge:hover:active { transform: translateY(-2px) scale(.97); } }
.badge img { width: 150px; height: 50px; }
.soon { font-size: 15px; color: var(--cream); font-weight: 700; }

/* phone frame drawn around raw captures */
.phone {
    position: relative; width: 300px; max-width: 70vw; padding: 10px;
    background: #060D08; border-radius: 50px;
    box-shadow: inset 0 0 0 1.5px #2E3F33, 0 0 0 1px #1C2A20, 0 60px 100px -30px rgba(0, 0, 0, .85);
}
.screen { position: relative; display: block; border-radius: 40px; overflow: hidden; }
.screen::after { /* Dynamic Island */
    content: ""; position: absolute; top: 2.4%; left: 50%; transform: translateX(-50%);
    width: 30%; height: 3.4%; border-radius: 99px; background: #000;
}
/* cropped phone: only the top of the screen, fading out */
.phone.crop { padding-bottom: 0; border-radius: 50px 50px 0 0; -webkit-mask-image: linear-gradient(#000 70%, transparent); mask-image: linear-gradient(#000 70%, transparent); }
.phone.crop .screen { aspect-ratio: 640 / 900; border-radius: 40px 40px 0 0; }
.phone.crop-top .screen { aspect-ratio: 640 / 1000; }
.phone.crop-top { -webkit-mask-image: linear-gradient(#000 75%, transparent); mask-image: linear-gradient(#000 75%, transparent); }
.tilt-r { transform: rotate(6deg); }
.tilt-l { transform: rotate(-6deg); }

/* cards cut from real screens */
.fly, .out, .card { position: absolute; z-index: 3; border-radius: 26px; overflow: hidden; box-shadow: 0 40px 70px -24px rgba(0, 0, 0, .75), 0 0 0 1px rgba(255, 255, 255, .08); }
.fly img, .out img, .card img { width: 100%; }

/* hero */
.hero { text-align: center; padding: clamp(40px, 6vw, 80px) 20px 0; }
.hero-icon { margin: 0 auto 22px; width: clamp(84px, 9vw, 112px); border-radius: 23%; box-shadow: 0 20px 60px -10px rgba(159, 224, 174, .55); }
.hero .hl { font-size: clamp(50px, 5.6vw + 24px, 108px); max-width: 18ch; margin-inline: auto; }
.lede { max-width: 34em; margin: 26px auto 0; font-size: clamp(18px, 1.6vw, 21px); color: #E1EEE4; }

.stage { position: relative; max-width: 1180px; height: 720px; margin: 40px auto 0; }
.hero-phone { position: absolute; left: 50%; top: 20px; width: 320px; transform: translateX(-50%); z-index: 2; }
.far { z-index: 1; filter: blur(3px) saturate(.9); opacity: .7; }
.mid { z-index: 2; filter: blur(1px); }
.near { z-index: 3; }
.f-week   { width: 260px; left: 3%;  top: 40px;  transform: rotate(-10deg); }
.f-switch { width: 190px; right: 4%; top: 10px;  transform: rotate(9deg); }
.f-rings  { width: 330px; left: 6%;  top: 500px; transform: rotate(4deg); border-radius: 18px; }
.f-rabies { width: 340px; right: 9%; top: 520px; transform: rotate(-4deg); }
.f-coming { width: 400px; left: 11%; top: 300px; transform: rotate(-5deg); border-radius: 22px; }
.f-streak { width: 400px; right: 6%; top: 250px; transform: rotate(5deg); z-index: 4; }
.js .fly { animation: pop 600ms var(--ease-out) backwards; }
.js .f-coming { animation-delay: 80ms; } .js .f-streak { animation-delay: 140ms; } .js .f-rabies { animation-delay: 200ms; }
.js .f-rings { animation-delay: 240ms; } .js .f-week, .js .f-switch { animation-delay: 320ms; }

/* feature sections */
.sec {
    display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 40px;
    max-width: 1220px; margin: 0 auto; padding: clamp(64px, 8vw, 120px) clamp(20px, 5vw, 64px);
}
.sec.flip .copy { order: 2; }
.copy p:not(.eyebrow) { margin-top: 26px; max-width: 30em; text-shadow: 0 0 10px var(--bg), 0 0 4px var(--bg); }
.copy.center { text-align: center; grid-column: 1 / -1; }
.copy.center p:not(.eyebrow) { margin-left: auto; margin-right: auto; }
.art { position: relative; display: grid; place-items: center; min-height: 620px; }

.pill, .marks li, .species li { display: inline-block; border-radius: 999px; font-weight: 700; letter-spacing: -.01em; text-transform: uppercase; }
.pill {
    position: absolute; z-index: 5; top: 0; right: 0; padding: 16px 28px; font-size: clamp(20px, 2.4vw, 32px); line-height: 1.1;
    background: var(--cream); color: var(--forest); box-shadow: 0 24px 50px -16px rgba(0, 0, 0, .6); transform: rotate(5deg);
}
.pill span { color: #3C8A50; }

/* reminders: centred, tilted banner across a cropped phone */
.s-remind .art { grid-column: 1 / -1; min-height: 0; padding-top: 30px; }
.s-remind .phone { width: 360px; }
.banner {
    position: absolute; z-index: 4; top: 62%; left: 50%; width: min(1180px, 140vw); transform: translateX(-50%) rotate(-4deg);
    display: flex; justify-content: center; flex-wrap: nowrap; gap: 0 26px; padding: 18px 20px;
    background: var(--mint); color: #0B2414; font-weight: 700; font-size: clamp(18px, 2.4vw, 34px);
    text-transform: uppercase; letter-spacing: -.01em; white-space: nowrap; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .7);
}
.banner span + span::before { content: "•"; margin-right: 26px; opacity: .5; }
.out-week { width: 330px; right: calc(50% - 520px); top: 40px; transform: rotate(6deg); border-radius: 26px; z-index: 5; }

/* log */
.bubble {
    position: absolute; z-index: 5; top: 30px; left: 0; padding: 18px 24px; border-radius: 28px 28px 28px 6px;
    background: var(--cream); color: var(--forest); font-weight: 700; font-size: 23px; line-height: 1.15; letter-spacing: -.01em;
    box-shadow: 0 24px 50px -16px rgba(0, 0, 0, .6); transform: rotate(-4deg);
}
.out-tiles { width: 300px; right: -2%; bottom: 20px; transform: rotate(-5deg); border-radius: 28px; }

/* streak */
.marks { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.marks li { padding: 10px 18px; font-size: clamp(16px, 1.6vw, 20px); color: var(--text); border: 2px solid var(--mint); }
.marks li:nth-child(-n+3) { background: var(--mint); color: #0B2414; }
.out-streak { width: 118%; max-width: 480px; left: -6%; bottom: 80px; transform: rotate(4deg); }

/* records: two phones, card in front */
.s-records .art { grid-column: 1 / -1; min-height: 0; display: flex; justify-content: center; gap: 0; padding: 40px 0 0; }
.s-records .phone { width: 330px; }
.p-left { margin-right: -30px; z-index: 1; }
.p-right { margin-top: 70px; z-index: 2; }
.out-upcoming { width: 440px; left: 50%; top: 52%; transform: translateX(-50%) rotate(-3deg); z-index: 4; }
.pill-ok { top: 70px; right: calc(50% - 400px); transform: rotate(6deg); background: #C8F0D8; }
.vetnote {
    grid-column: 1 / -1; justify-self: center; max-width: 40em; margin-top: 10px; padding: 14px 22px; border-radius: 18px;
    border: 1px solid var(--line); background: rgba(11, 26, 16, .8); font-size: 15px; text-align: center;
}

/* weight: no phone, a cascade of real cards */
.stack { min-height: 560px; }
.card { width: min(440px, 92%); }
.c-cur { top: 70px; left: 2%; transform: rotate(-4deg); z-index: 3; width: min(480px, 96%); }
.c-stats { top: 270px; right: 0; transform: rotate(3deg); z-index: 4; }
.c-entries { top: 380px; left: 6%; transform: rotate(-2deg); z-index: 2; }
.pill-range { top: 0; right: 4%; transform: rotate(4deg); }
.pill-range span { color: #3C8A50; }

/* memories */
.out-memtop { width: 110%; max-width: 440px; left: -8%; top: 60px; transform: rotate(-5deg); border-radius: 20px; }
.out-memrow { width: 120%; max-width: 520px; right: -10%; bottom: 60px; transform: rotate(4deg); border-radius: 20px; }

/* pets: species cloud around the switcher */
.s-pets .art { grid-column: 1 / -1; min-height: 0; padding: 20px 0 0; }
.species { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; max-width: 980px; }
.species li { padding: 12px 22px; font-size: clamp(16px, 1.8vw, 22px); color: var(--text); background: rgba(26, 61, 36, .85); border: 1px solid rgba(159, 224, 174, .3); }
.species li:nth-child(1), .species li:nth-child(2) { background: var(--mint); color: #0B2414; transform: rotate(-3deg); }
.species li:nth-child(3n) { transform: rotate(2deg); }
.species li:nth-child(5n) { background: var(--cream); color: var(--forest); transform: rotate(-2deg); }
.out-switch { position: relative; width: 300px; margin-top: 34px; transform: rotate(-4deg); border-radius: 30px; }

/* tiles: bento, icon chips */
.s-more { gap: 40px; }
.tiles {
    grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
    grid-template-areas: "widgets widgets lock" "pdf report sync" "lang lang lang";
}
.tiles li {
    position: relative; display: flex; flex-direction: column; gap: 8px; padding: 28px; border-radius: 28px; font-size: 16px;
    background: rgba(20, 44, 27, .96); border: 1px solid var(--line);
}
.tiles b { color: var(--text); font-size: 22px; font-weight: 700; letter-spacing: -.01em; line-height: 1.2; }
.t-widgets { grid-area: widgets; min-height: 220px; padding-right: 52% !important; justify-content: center; background: linear-gradient(135deg, rgba(40, 100, 58, .9), rgba(20, 44, 27, .85)) !important; }
.t-lock { grid-area: lock; } .t-pdf { grid-area: pdf; } .t-report { grid-area: report; }
.t-sync { grid-area: sync; } .t-lang { grid-area: lang; }
.tiles .t-hot { background: var(--mint); border-color: transparent; color: #12301B; }
.t-hot b { color: #0B2414; }
.chip { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 10px; border-radius: 15px; background: var(--mint); box-shadow: 0 10px 24px -8px rgba(159, 224, 174, .6); }
.chip svg { width: 26px; height: 26px; fill: none; stroke: #0B2414; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.t-hot .chip { background: #0B2414; box-shadow: none; }
.t-hot .chip svg { stroke: var(--mint); }
.row { position: absolute; right: 22px; top: 50%; width: 46%; border-radius: 16px; overflow: hidden; transform: translateY(-50%) rotate(-3deg); box-shadow: 0 30px 50px -20px rgba(0, 0, 0, .7); }
.nevers { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.nevers li {
    padding: 10px 20px; border-radius: 999px; border: 2px solid var(--mint); color: var(--text);
    font-weight: 700; font-size: clamp(16px, 1.6vw, 20px); text-transform: uppercase;
}
.privacy-line { grid-column: 1 / -1; text-align: center; margin-top: -16px; }

/* FAQ */
.faq { grid-column: 1 / -1; display: grid; gap: 12px; max-width: 860px; width: 100%; margin: 0 auto; }
.faq details { border-radius: 22px; background: rgba(20, 44, 27, .97); border: 1px solid var(--line); }
.faq summary {
    cursor: pointer; list-style: none; padding: 22px 60px 22px 26px; position: relative;
    color: var(--text); font-weight: 700; font-size: clamp(18px, 1.8vw, 22px); line-height: 1.3;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 24px; top: 50%; transform: translateY(-50%); color: var(--mint); font-size: 30px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 26px 24px; font-size: 17px; }

/* closing */
.final { position: relative; text-align: center; padding: clamp(90px, 12vw, 170px) 20px 90px; }
.final-icon { margin: 0 auto 30px; width: clamp(110px, 12vw, 140px); border-radius: 23%; box-shadow: 0 0 0 10px rgba(159, 224, 174, .12), 0 30px 90px -10px rgba(159, 224, 174, .7); }
.final .hl { font-size: clamp(50px, 4vw + 30px, 92px); }
.disclaimer, .privacy-line { text-shadow: 0 0 10px var(--bg), 0 0 4px var(--bg); }
.disclaimer { max-width: 36em; margin: 44px auto 0; font-size: 15px; }

/* footer */
.foot { border-top: 1px solid var(--line); padding: 36px clamp(20px, 5vw, 64px) 44px; display: grid; gap: 14px; justify-items: center; text-align: center; background: rgba(11, 26, 16, .65); }
.foot nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; }
.foot nav a { color: var(--text); font-size: 15px; }
.foot p { font-size: 13px; max-width: 46em; }
.foot .langs { gap: 6px 16px; }
.foot .langs a { color: var(--muted); font-size: 13px; }
.foot .langs a[aria-current] { color: var(--mint); font-weight: 700; }

/* localized pages: long words (de, nl) may break; English never reaches the break point */
.hl { overflow-wrap: break-word; }
html:not([lang="en"]) .hl { hyphens: auto; }
@media (min-width: 641px) { html:not([lang="en"]) .hero .hl { hyphens: manual; } } /* every hero word fits on desktop; auto split "herin-neringen" */
html:not([lang="en"]) .tiles, html:not([lang="en"]) .tiles li { min-width: 0; }
html:not([lang="en"]) .tiles b { overflow-wrap: anywhere; hyphens: auto; }
html:not([lang="en"]) .banner { flex-wrap: wrap; width: max-content; min-width: min(1180px, 104vw); max-width: 104vw; font-size: clamp(16px, 2vw, 28px); }
@media (max-width: 640px) {
    html:not([lang="en"]) .banner { gap: 2px 18px; }
    html:not([lang="en"]) .banner span + span::before { content: none; }
}

/* 404 */
.lost { min-height: 70vh; display: grid; place-content: center; text-align: center; padding: 60px 20px; }
.lost .hl { font-size: clamp(50px, 4vw + 30px, 92px); }
.lost p { margin-top: 24px; }

/* motion: one curve, small distances, each thing once (Emil Kowalski's rules) */
/* sections: copy, then art, rise 16px as they come into view; tiles stagger */
.js .reveal > :not(.tiles), .js .tiles > li { opacity: 0; transform: translateY(16px); transition: opacity 600ms var(--ease-out), transform 600ms var(--ease-out); }
.js .reveal > :nth-child(2), .js .tiles > li:nth-child(1) { transition-delay: 80ms; }
.js .reveal > :nth-child(3), .js .tiles > li:nth-child(2) { transition-delay: 140ms; }
.js .reveal > :nth-child(4), .js .tiles > li:nth-child(3) { transition-delay: 200ms; } .js .tiles > li:nth-child(4) { transition-delay: 260ms; }
.js .tiles > li:nth-child(5) { transition-delay: 320ms; } .js .tiles > li:nth-child(6) { transition-delay: 380ms; }
.js .reveal.in > :not(.tiles), .js .reveal.in .tiles > li { opacity: 1; transform: none; }
/* stickers land a beat after their section; streak milestones tick in one after another */
.js .reveal .pill, .js .reveal .bubble, .js .reveal .banner, .js .reveal .marks li { opacity: 0; scale: .96; transition: opacity 400ms var(--ease-out) 240ms, scale 400ms var(--ease-out) 240ms; }
.js .reveal .marks li:nth-child(2) { transition-delay: 290ms; } .js .reveal .marks li:nth-child(3) { transition-delay: 340ms; }
.js .reveal .marks li:nth-child(4) { transition-delay: 390ms; } .js .reveal .marks li:nth-child(5) { transition-delay: 440ms; }
.js .reveal .marks li:nth-child(6) { transition-delay: 490ms; }
.js .reveal.in .pill, .js .reveal.in .bubble, .js .reveal.in .banner, .js .reveal.in .marks li { opacity: 1; scale: 1; }
@keyframes pop { from { opacity: 0; scale: .96; } }
/* scroll-linked, no JS: the streak draws itself down the page just ahead of the reader,
   and the hero cards drift up at depth-based rates. Browsers without scroll timelines get the static page. */
@supports (animation-timeline: scroll()) {
    .js .streak {
        -webkit-mask: linear-gradient(#000 calc(100% - 300px), transparent) top / 100% 100% no-repeat;
        mask: linear-gradient(#000 calc(100% - 300px), transparent) top / 100% 100% no-repeat;
        animation: draw linear both; animation-timeline: scroll(root);
        /* own layer: the mask repaints every scroll frame, and without this it dragged the page's
           full-height glow gradients into a GPU re-raster each frame (Treato dropped ~50 of 500 frames) */
        will-change: transform;
    }
    .js .near, .js .mid, .js .far { animation: pop 600ms var(--ease-out) backwards, drift linear both; animation-timeline: auto, scroll(root); animation-range: normal, 0 800px; }
    .js .f-coming { animation-delay: 80ms, 0s; } .js .f-streak { animation-delay: 140ms, 0s; } .js .f-rabies { animation-delay: 200ms, 0s; }
    .js .f-rings { animation-delay: 240ms, 0s; } .js .f-week, .js .f-switch { animation-delay: 320ms, 0s; }
    .near { --d: -56px; } .mid { --d: -32px; } .far { --d: -14px; }
}
@keyframes draw { from { -webkit-mask-size: 100% calc(100vh + 120px); mask-size: 100% calc(100vh + 120px); } to { -webkit-mask-size: 100% calc(100% + 300px); mask-size: 100% calc(100% + 300px); } }
@keyframes drift { to { translate: 0 var(--d); } }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition: none !important; }
    .js .reveal > *, .js .tiles > li, .js .reveal .pill, .js .reveal .bubble, .js .reveal .banner, .js .reveal .marks li { opacity: 1; transform: none; scale: none; }
}

/* tablet */
@media (max-width: 960px) {
    .sec { grid-template-columns: 1fr; gap: 30px; }
    .sec.flip .copy { order: 0; }
    .copy { text-align: center; }
    .copy p:not(.eyebrow) { margin-left: auto; margin-right: auto; }
    .marks { justify-content: center; }
    .stage { height: 660px; }
    /* fade the streak behind paragraphs where it crosses centred copy */
    .lede, .copy p:not(.eyebrow), .disclaimer, .privacy-line { position: relative; z-index: 0; }
    .lede::before, .copy p:not(.eyebrow)::before, .disclaimer::before, .privacy-line::before {
        content: ""; position: absolute; inset: -14px -16px; z-index: -1; border-radius: 30px;
        background: rgba(11, 26, 16, .84); filter: blur(14px);
    }
    .f-week { left: 0; } .f-coming { left: 1%; } .f-rings { left: 0; }
    .f-streak { right: 0; } .f-rabies { right: 3%; } .f-switch { right: -3%; }
    .out-week { right: 2%; }
    .pill-ok { right: 4%; }
}

/* phone width */
@media (max-width: 640px) {
    p, li { font-size: 17px; }
    .hl { font-size: 12.4vw; }
    .hero .hl { font-size: 13.4vw; }
    .hl .eyebrow { font-size: 13px; letter-spacing: .12em; }
    .stage { height: 600px; margin-top: 60px; }
    .hero-phone { width: 230px; top: 50px; }
    .f-week, .f-switch { display: none; }
    .f-coming { width: 74%; left: -3%; top: 0; }
    .f-streak { width: 70%; right: -4%; top: 230px; }
    .f-rings  { width: 60%; left: -3%; top: 400px; }
    .f-rabies { width: 70%; right: 0; top: 480px; }
    .art { min-height: 0; padding: 20px 0 40px; }
    .phone { width: 250px; }
    .s-remind .phone { width: 260px; }
    .banner { top: 64%; gap: 0 12px; padding: 12px; font-size: 16px; }
    .banner span + span::before { margin-right: 12px; }
    .out-week { width: 52%; right: -2%; top: 0; }
    .bubble { font-size: 18px; padding: 14px 18px; top: 0; left: 0; }
    .out-tiles { width: 56%; right: -2%; bottom: 20px; }
    .pill { font-size: 18px; padding: 12px 20px; right: 0; top: 0; }
    .out-streak { width: 94%; left: 3%; bottom: 30px; }
    .s-records .phone { width: 190px; }
    .p-left { margin-right: -24px; }
    .p-right { margin-top: 50px; }
    .out-upcoming { width: 86%; top: 46%; }
    .pill-ok { top: 0; right: 2%; }
    .stack { min-height: 420px; }
    .c-cur { top: 60px; left: 0; width: 92%; }
    .c-stats { top: 205px; right: 0; width: 84%; }
    .c-entries { top: 280px; left: 2%; width: 90%; }
    .pill-range { right: 2%; top: 0; }
    .out-memtop { width: 88%; left: 0; top: 30px; }
    .out-memrow { width: 96%; right: 0; bottom: 30px; }
    .species { gap: 8px; }
    .species li { padding: 9px 14px; font-size: 15px; }
    .out-switch { width: 230px; margin-top: 28px; }
    .pill-ok { top: 24px; }
    .tiles { grid-template-columns: 1fr 1fr; gap: 12px; grid-template-areas: "widgets widgets" "lock pdf" "report sync" "lang lang"; }
    .tiles li { padding: 20px 18px; font-size: 15px; border-radius: 24px; }
    .tiles b { font-size: 19px; }
    .chip { width: 42px; height: 42px; border-radius: 13px; margin-bottom: 6px; }
    .t-widgets { min-height: 0; padding-right: 18px !important; justify-content: flex-start; }
    .row { position: static; width: calc(100% + 12px); margin: 12px -6px 0; transform: rotate(-2deg); border-radius: 14px; }
    .faq summary { padding: 18px 50px 18px 20px; }
    .faq details p { padding: 0 20px 20px; }
}

/* guide pages (English only): one readable column on the same dark page */
.more-apps { position: relative; z-index: 1; }
.doc { max-width: 760px; margin: 0 auto; padding: clamp(48px, 7vw, 96px) clamp(20px, 5vw, 40px) 40px; }
.doc .hl { font-size: clamp(40px, 2.4vw + 26px, 60px); }
/* short answer box: the page's first answer paragraph */
.doc .lede { margin: 32px 0 0; max-width: none; padding: 22px 24px; border-radius: 22px; border: 1px solid rgba(159, 224, 174, .35); border-left: 5px solid var(--mint); background: rgba(20, 44, 27, .97); color: var(--text); }
.doc h2 { margin: 56px 0 16px; color: var(--text); font-size: clamp(26px, 3vw, 34px); font-weight: 700; line-height: 1.15; letter-spacing: -.02em; }
.doc h3 { margin: 30px 0 10px; color: var(--cream); font-size: 21px; font-weight: 700; }
.doc p, .doc li { margin-top: 14px; }
.doc ul.list, .doc ol { list-style: disc; padding-left: 1.3em; }
.doc ol { list-style: decimal; }
.doc li::marker { color: var(--mint); }
.doc strong { color: var(--text); }
.doc a { text-decoration: underline; text-underline-offset: 3px; }
.doc .cta { justify-content: flex-start; }
.doc .faq { margin-top: 20px; }
.doc .vetnote { margin-top: 40px; text-align: left; }
.box { margin-top: 24px; padding: 24px 26px; border-radius: 22px; background: rgba(20, 44, 27, .97); border: 1px solid var(--line); }
.box > :first-child { margin-top: 0; }
.tbl { margin-top: 20px; overflow-x: auto; border-radius: 18px; border: 1px solid var(--line); background: rgba(20, 44, 27, .97); }
.tbl table { width: 100%; border-collapse: collapse; font-size: 16px; min-width: 620px; }
.tbl th, .tbl td { padding: 12px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); color: var(--muted); }
.tbl th { color: var(--text); font-weight: 700; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl caption { caption-side: bottom; padding: 10px 14px; font-size: 14px; color: var(--muted); text-align: left; }
.doc p, .doc li, .doc h2, .doc h3 { text-shadow: 0 0 10px var(--bg), 0 0 4px var(--bg); }

/* cards: More apps, homepage guides, related guides. Whole card is the link (stretched ::after). */
.more-apps, .guides { position: relative; z-index: 1; max-width: 1220px; margin: 0 auto; padding: clamp(56px, 7vw, 96px) clamp(20px, 5vw, 64px) 0; }
.more-apps { padding-bottom: clamp(56px, 7vw, 96px); }
.more-apps > .eyebrow, .guides > .eyebrow { text-align: center; margin-bottom: 24px; }
.app-grid, .guide-grid, .related ul { display: grid; gap: 16px; }
.app-grid { grid-template-columns: repeat(3, 1fr); }
.guide-grid { grid-template-columns: repeat(3, 1fr); }
.guide-grid > li:last-child:nth-child(3n+1) { grid-column: 1 / -1; }
.related ul { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); margin-top: 18px; }
.app-card, .guide-grid li, .related li {
    position: relative; margin: 0; padding: 22px 24px; border-radius: 24px;
    background: rgba(20, 44, 27, .97); border: 1px solid var(--line);
    transition: transform 160ms var(--ease-out), border-color 160ms var(--ease-out);
}
.app-card { display: flex; gap: 16px; align-items: flex-start; }
.app-card img { flex: none; width: 56px; height: 56px; border-radius: 22%; }
.app-card h3 { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; font-size: 20px; line-height: 1.2; }
.app-card a, .guide-grid a, .related a { color: var(--text); font-weight: 700; text-decoration: none; }
.guide-grid a, .related a { display: block; font-size: 19px; line-height: 1.25; letter-spacing: -.01em; }
.app-card a::after, .guide-grid a::after, .related a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.app-card p, .guide-grid p { margin-top: 6px; font-size: 16px; }
.related li { font-size: 16px; color: var(--muted); }
.related a { margin-bottom: 6px; }
.go { display: inline-block; margin-top: 10px; color: var(--mint); font-size: 14px; font-weight: 700; }
.go::after { content: " →"; }
.tag { padding: 3px 10px; border-radius: 999px; background: var(--cream); color: var(--forest); font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.app-card:hover, .guide-grid li:hover, .related li:hover { border-color: rgba(159, 224, 174, .55); }
@media (hover: hover) and (pointer: fine) { .app-card:hover, .guide-grid li:hover, .related li:hover { transform: translateY(-2px); } }
.app-card:focus-within, .guide-grid li:focus-within, .related li:focus-within { outline: 3px solid var(--cream); outline-offset: 3px; }
.app-card a:focus-visible, .guide-grid a:focus-visible, .related a:focus-visible { outline: none; }
.app-card a:hover, .guide-grid a:hover, .related a:hover { text-decoration: none; color: var(--mint); }
.also { margin-top: 22px; text-align: center; font-size: 15px; }
.also a { padding: 12px 0; text-decoration: underline; text-underline-offset: 3px; }

/* guide App Store block with the app icon */
.cta-app {
    display: grid; grid-template-columns: auto 1fr auto; grid-template-areas: "icon name badge" "icon note badge";
    align-items: center; gap: 2px 18px; margin-top: 40px; padding: 22px 24px; border-radius: 24px;
    background: rgba(20, 44, 27, .97); border: 1px solid rgba(159, 224, 174, .35);
}
.cta-icon { grid-area: icon; width: 64px; height: 64px; border-radius: 23%; box-shadow: 0 12px 30px -10px rgba(159, 224, 174, .6); }
.doc .cta-app p { margin: 0; text-shadow: none; }
.doc .cta-name { grid-area: name; align-self: end; color: var(--text); font-size: 22px; font-weight: 700; }
.cta-app .soon { grid-area: note; align-self: start; font-size: 15px; }
.cta-app .badge { grid-area: badge; }

/* tap targets in nav and footer */
.nav nav a, .foot nav a { display: inline-block; padding: 10px 2px; }
.foot nav { row-gap: 0; }

@media (max-width: 900px) { .app-grid, .guide-grid { grid-template-columns: 1fr; } }
@media (max-width: 640px) {
    .doc .lede { padding: 18px 18px; }
    .cta-app { grid-template-columns: auto 1fr; grid-template-areas: "icon name" "icon note" "badge badge"; padding: 20px; }
    .cta-app .badge { margin-top: 16px; justify-self: start; }
    .app-card, .guide-grid li, .related li { padding: 20px; }
}

/* wide tables scroll inside their box: first column stays put, a shadow on the right edge shows there is more */
.tbl {
    background:
        linear-gradient(to left, rgb(20, 44, 27) 30%, rgba(20, 44, 27, 0)) right / 40px 100% no-repeat local,
        radial-gradient(farthest-side at 100% 50%, rgba(159, 224, 174, .35), transparent) right / 18px 100% no-repeat scroll,
        rgb(20, 44, 27);
}
.tbl th:first-child, .tbl td:first-child { position: sticky; left: 0; z-index: 1; background: rgb(20, 44, 27); }
@media (max-width: 640px) {
    .tbl th:first-child, .tbl td:first-child { box-shadow: 1px 0 0 var(--line); }
    .tbl th, .tbl td { padding: 12px; }
}
