/* Home page styles (decision 064, approach 2). The privacy and support pages use style.css.
   Kept in a file because the site's Content-Security-Policy allows only its own stylesheets. */
:root {
  --bg: #f6f1e8;
  --surface: #fffaf2;
  --text: #2b2620;
  --muted: #6f665a;
  --accent: #2f5d4e;
  --accent-soft: #dfe9e2;
  --rule: #e4dccd;
  --warm: #b8763a;
  --shadow: 0 18px 40px -24px rgba(60, 40, 20, 0.45);
  --serif: ui-serif, "New York", "Iowan Old Style", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #1a1714;
    --surface: #241f1a;
    --text: #efe8dc;
    --muted: #b1a796;
    --accent: #9cc9b4;
    --accent-soft: #23362e;
    --rule: #3a332b;
    --warm: #e0a46a;
    --shadow: 0 18px 40px -24px rgba(0, 0, 0, 0.8);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
    --bg: #1a1714;
    --surface: #241f1a;
    --text: #efe8dc;
    --muted: #b1a796;
    --accent: #9cc9b4;
    --accent-soft: #23362e;
    --rule: #3a332b;
    --warm: #e0a46a;
    --shadow: 0 18px 40px -24px rgba(0, 0, 0, 0.8);
  color-scheme: dark;
}
* { box-sizing: border-box; }
/* The page's base colour is the hero's dark brown (Safari tints its address bar from it, and it
   shows when the page is pulled past the top); every section sets its own background. */
html { scroll-behavior: smooth; background: #201812; }
body { margin: 0; background: var(--bg); color: var(--text); font: 18px/1.6 var(--sans); }
img { max-width: 100%; height: auto; display: block; }
[hidden] { display: none !important; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
a { color: var(--accent); }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; letter-spacing: -0.01em; text-wrap: balance; }
h2 { font-size: clamp(1.9rem, 4.5vw, 2.8rem); line-height: 1.12; margin: 0 0 16px; }
h3 { font-size: 1.2rem; margin: 0 0 6px; }
p { margin: 0 0 14px; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
section { padding: clamp(56px, 9vw, 104px) 0; }
.eyebrow { font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--warm); font-weight: 600; margin-bottom: 10px; }
.lede { font-size: 1.15rem; color: var(--muted); max-width: 36em; }


/* Hero */
/* The hall is a square "stage"; the dog sits inside it in the app's proportions (35% of
   the side tall, its lowest point 27% of its height into the cushion top at 74.6%, centred on
   the cushion), so it lands on the cushion at every size.
   Phones and portrait tablets: text first, then room for the dog, with the hall anchored to
   the bottom, so text that wraps onto more lines pushes the scene down instead of into the dog. */
.hero { position: relative; container-type: inline-size; container-name: hero; color: #fdf8ef; overflow: hidden; padding: 0; background: #2a2018; }
.stage, .scene-room { --s: max(100cqw, 720px); --lift: 0.37; }
.stage { position: absolute; width: var(--s); height: var(--s); left: calc((100cqw - var(--s)) / 2); bottom: calc(var(--s) * -0.05 + 40px); background: url(/img/hall.webp) center / 100% 100% no-repeat; -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 16%, #000 94%, transparent 100%); mask-image: linear-gradient(180deg, transparent 0, #000 16%, #000 94%, transparent 100%); }
/* Below the text: the seated dog's height above the hero's bottom (0.46 of the side), its
   highest float (0.35 x lift of the side), and a gap. */
.scene-room { height: calc(var(--s) * (0.46 + 0.35 * var(--lift)) + 28px); }
.seat-shadow { position: absolute; left: 42.5%; width: 15%; top: 74.9%; height: 1.8%; border-radius: 50%; background: rgba(0,0,0,0.3); filter: blur(3px); animation: shadow 16s ease-in-out -7s infinite; }
.hero-dog { --rise: -34.1%; --hover: -37%; position: absolute; height: 35%; width: auto; max-width: none; left: 50%; bottom: 15.95%; transform: translateX(-50%); transform-origin: 50% 100%; animation: sit-float 16s ease-in-out -7s infinite; }
@keyframes sit-float {
  0%, 30% { transform: translateX(-50%) translateY(0) scale(1); }
  15% { transform: translateX(-50%) translateY(0) scale(1.012); }
  42% { transform: translateX(-50%) translateY(var(--rise)); }
  58% { transform: translateX(-50%) translateY(var(--hover)); }
  72% { transform: translateX(-50%) translateY(var(--rise)); }
  86%, 100% { transform: translateX(-50%) translateY(0) scale(1); }
}
@keyframes shadow {
  0%, 30%, 86%, 100% { opacity: 1; transform: scaleX(1); }
  42%, 72% { opacity: 0.55; transform: scaleX(1.15); }
}
.shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,14,8,0.7) 0%, rgba(20,14,8,0.45) 40%, rgba(20,14,8,0) 56%, rgba(20,14,8,0) 88%, rgba(20,14,8,0.35) 100%); }
/* On narrow phones the dog rises a little less (15% of its height at most, against 37% on wider
   screens), so the scene stays compact; the room below the text allows for it. */
@container hero (max-width: 599px) {
  .stage, .scene-room { --lift: 0.15; --s: max(100cqw, 580px); }
  .hero-dog { --rise: -12%; --hover: -15%; }
}
/* Side by side when there's room: landscape from 780 wide, or anything from 1000 wide. The
   hero has a set height and the hall is sized by it; the dog's centre sits right of the text
   with a gap (its visible width is about 0.28 of the side); the hall's edges fade out. */
@media (min-width: 1000px), (min-width: 780px) and (orientation: landscape) {
  .hero { height: clamp(420px, 100svh, 940px); container-type: size; }
  .scene-room, .cta-below { display: none; }
  .hero .hero-copy .cta-beside { display: inline-flex; margin-top: 18px; }
  .stage { --s: 118cqh; --text-right: calc(max(20px, (100cqw - 1080px) / 2 + 20px) + 30rem); --cx: max(64cqw, var(--text-right) + 28px + 0.14 * var(--s)); left: calc(var(--cx) - 0.5 * var(--s)); top: calc(0.86 * (100cqh - var(--s))); bottom: auto; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 24%, #000 84%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 24%, #000 84%, transparent 100%); }
  .hero-dog { --rise: -34.1%; --hover: -37%; }
  .shade { background: linear-gradient(90deg, rgba(20,14,8,0.82) 0%, rgba(20,14,8,0.55) 38%, rgba(20,14,8,0) 58%), linear-gradient(180deg, rgba(20,14,8,0.6) 0%, rgba(20,14,8,0.25) 10%, rgba(20,14,8,0) 22%); }
  .hero .hero-copy { text-align: left; padding-top: 0; position: absolute; top: 50%; left: 0; right: 0; transform: translateY(-50%); }
  .hero .hero-copy > * { max-width: 30rem; margin-left: 0; margin-right: 0; }
  .hero .hero-copy h1 { font-size: clamp(2.8rem, 5vw, 4.6rem); }
  .hero .hero-copy .hero-launch { max-width: 26rem; margin-top: 22px; }
}
@media (prefers-reduced-motion: reduce) { .hero-dog, .seat-shadow { animation: none; } }
.hero-top { position: absolute; top: 0; left: 0; right: 0; }
.nav { display: flex; align-items: center; justify-content: space-between; padding-top: 18px; padding-bottom: 18px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--serif); font-size: 1.4rem; font-weight: 600; color: inherit; text-decoration: none; }
.brand img { width: 36px; height: 36px; border-radius: 9px; }
.nav-links a { color: inherit; text-decoration: none; margin-left: 22px; font-size: 0.95rem; opacity: 0.9; }
/* The social link at the top right: stays when the page links are hidden on phones. */
.nav-right { display: flex; align-items: center; gap: 22px; }
.social { display: inline-flex; align-items: center; gap: 7px; padding: 6px 13px; border: 1px solid rgba(253, 248, 239, 0.6); border-radius: 999px; color: inherit; text-decoration: none; font-size: 0.9rem; font-weight: 600; }
.social:hover { background: rgba(253, 248, 239, 0.14); }
.social:focus-visible { outline: 3px solid #f3e2c4; outline-offset: 3px; }
.social svg, .follow-btn svg { width: 16px; height: 16px; fill: currentColor; flex: none; }
.hero-copy { position: relative; z-index: 1; padding-top: 96px; text-align: center; }
.hero h1 { font-size: clamp(2.8rem, 9vw, 5.6rem); line-height: 1; margin: 0 0 14px; text-shadow: 0 2px 24px rgba(0,0,0,0.35); }
/* "Maybe yours." turns the headline toward the reader's own dog: its own line, warm and lighter. */
.hero h1 .yours-line { display: block; color: #f3d3a4; font-weight: 400; font-style: italic; }
.hero p { max-width: 32em; margin: 0 auto 8px; font-size: 1.15rem; opacity: 0.95; }

/* The hero's one action, down to "Your dog, meditating.": under the floating dog on phones
   (.cta-below, in the 40px the hall was raised by), beside the text on wide screens. */
.hero-copy .cta-beside { display: none; }
.cta-below { position: relative; z-index: 1; height: 40px; }
.cta-below .cta { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); white-space: nowrap; }
.cta-below .cta:hover { transform: translateX(-50%) translateY(-1px); }
/* Not a button: a quiet line until Apple's App Store badge can go here at launch. */
.hero .soon { margin-top: 14px; font-size: 0.9rem; letter-spacing: 0.02em; opacity: 0.85; }
.cta { display: inline-flex; align-items: center; gap: 8px; padding: 12px 22px; border-radius: 999px; background: #f3e2c4; color: #2b2620; font-weight: 600; font-size: 0.95rem; text-decoration: none; box-shadow: 0 6px 20px -8px rgba(0,0,0,0.6); transition: transform 0.2s ease, background 0.2s ease; }
.cta:hover { background: #fbeed6; transform: translateY(-1px); }
.cta:focus-visible { outline: 3px solid #f3e2c4; outline-offset: 3px; }

/* Dogs */
.dogs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-top: 36px; }
.dog { background: radial-gradient(circle at 50% 38%, #f3e2c4 0%, #c9a77c 55%, #5b4330 100%); border-radius: 22px; padding: 18px 10px 14px; text-align: center; box-shadow: var(--shadow); }
.dog img { aspect-ratio: 1; object-fit: contain; width: 100%; transition: transform 0.6s ease; }
.dog:hover img { transform: translateY(-6px); }
/* "Add your own dogi", the last tile as in the app's dog row: a dashed circle with a plus on a
   soft warm glow, level with the dogs, leading to the make-your-own section below. */
.dog.add { display: flex; flex-direction: column; align-items: center; text-decoration: none; color: inherit; }
.dog.add .plus { position: relative; width: 100%; aspect-ratio: 1; display: grid; place-items: center; margin: 0; padding: 0; background: none; border-radius: 0; }
.dog.add .plus::before { content: ""; position: absolute; width: 78%; aspect-ratio: 1.15; border-radius: 50%; background: rgba(255,248,232,0.55); filter: blur(16px); }
.dog.add .plus::after { content: "+"; position: relative; width: 52%; aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; border: 2px dashed rgba(91,67,48,0.7); background: rgba(255,250,242,0.45); color: #5b4330; font: 500 2.8rem/1 var(--sans); transition: transform 0.6s ease; }
.dog.add:hover .plus::after, .dog.add:focus-visible .plus::after { transform: translateY(-6px); }
.dog.add:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.dog span { display: inline-block; margin-top: 6px; padding: 4px 14px; border-radius: 999px; background: rgba(255,250,242,0.88); color: #2b2620; font-weight: 600; font-size: 0.95rem; }

/* Your dog */
.yours { background: var(--surface); }
/* "Your dog, meditating.": photo, dogi, share video, the same height side by side. */
.yours-intro { max-width: 40rem; }
.strip { --h: clamp(220px, 30vw, 360px); display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-end; gap: 14px 18px; margin-top: 36px; }
.strip figure { margin: 0; display: flex; flex-direction: column; align-items: center; }
.strip figcaption { font-size: 1.1rem; font-weight: 600; color: var(--text); text-align: center; margin-top: 12px; }
.strip .photo, .strip .made, .strip .phone { height: var(--h); width: auto; }
.strip .arrow { align-self: center; }
.strip .phone .quote { font-size: clamp(0.7rem, 1.4vw, 0.95rem); top: 9%; }
/* Phones: just the photo and the share video, side by side and as large as fit (0.75 + 0.5625
   of their height wide, plus the phone's border), so the video is never off the screen. The
   still dogi in between is left out: the video shows the same dogi. */
@media (max-width: 720px) {
  .strip { --h: min(320px, calc((100vw - 70px) / 1.3125)); flex-wrap: nowrap; gap: 14px; }
  .strip .dogi-fig { display: none; }
  .strip { align-items: flex-start; }
  .strip .tap-hint { display: block; font-size: 0.9rem; }
  .strip .tap-hint::before { content: none; }
  .strip .arrow { display: none; }
  .strip .phone { border-width: 5px; border-radius: 22px; }
  .strip .phone .quote { font-size: 0.62rem; left: 6px; right: 6px; }
}
.photo { border-radius: 18px; aspect-ratio: 3 / 4; object-fit: cover; object-position: 50% 50%; box-shadow: var(--shadow); }
.made { border-radius: 18px; aspect-ratio: 3 / 4; position: relative; overflow: hidden; box-shadow: var(--shadow); }
/* Small scenes (the beach card, the widget, the share video) use the hero's method: a square
   scene sized to cover the frame as the app does, the dog placed by the app's numbers. Hall:
   cushion top 74.6%. Beach: cushion top 73.2%, sinking 1.5% deeper (soft cushion). */
.made, .widget, .phone { container-type: size; }
.mini-stage { --s: max(100cqw, 100cqh); position: absolute; z-index: 0; width: var(--s); height: var(--s); left: calc((100cqw - var(--s)) / 2); top: calc(0.86 * (100cqh - var(--s))); background: var(--scene) center / 100% 100% no-repeat; }
.mini-stage.hall { --scene: url(/img/hall.webp); }
.mini-stage.beach { --scene: url(/img/beachscene.webp); }
.mini-stage img { position: absolute; height: 35%; width: auto; max-width: none; left: 50%; bottom: 15.95%; transform: translateX(-50%); transform-origin: 50% 100%; }
.mini-stage.beach img { bottom: 15.85%; }
.mini-stage .contact { position: absolute; border-radius: 50%; background: rgba(0,0,0,0.3); filter: blur(2px); left: 42.5%; width: 15%; top: 74.9%; height: 1.8%; }
.mini-stage.beach .contact { left: 42%; width: 16%; top: 73.5%; }
.arrow { font-size: 1.8rem; color: var(--warm); }
.small { font-size: 0.9rem; color: var(--muted); }
.price { display: inline-block; padding: 6px 14px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); font-weight: 600; font-size: 0.95rem; margin-bottom: 14px; }

/* Inside */

/* What's inside: four short lines in two columns, each with a rule above it. */
/* Keeps each short phrase of a heading whole when the line breaks. */
.nb { white-space: nowrap; }
.inside { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 48px; margin: 28px 0 0; max-width: 56rem; }
.inside div { padding: 16px 0; border-top: 1px solid var(--rule); }
.inside dt { font-family: var(--serif); font-weight: 600; font-size: 1.15rem; }
.inside dd { margin: 4px 0 0; color: var(--muted); }
@media (max-width: 720px) { .inside { grid-template-columns: 1fr; } }

/* Day */
.day { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 6vw, 72px); align-items: center; }
.day ul { list-style: none; padding: 0; margin: 18px 0 0; }
.day li { padding: 12px 0; border-top: 1px solid var(--rule); }
.widget { width: min(320px, 100%); margin: 0 auto; aspect-ratio: 1; border-radius: 40px; position: relative; overflow: hidden; box-shadow: var(--shadow); color: #fdf8ef; }
.widget::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(20,14,8,0.6), rgba(20,14,8,0) 45%, rgba(20,14,8,0.65)); }
.widget .q { position: absolute; z-index: 2; top: 22px; left: 24px; right: 24px; font-family: var(--serif); font-size: 1.05rem; line-height: 1.3; }
.widget .note { position: absolute; z-index: 2; bottom: 18px; left: 24px; right: 24px; font-size: 0.82rem; opacity: 0.92; }

/* Promise blocks */
.promises { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.promise { border-radius: 26px; padding: clamp(28px, 4vw, 44px); }
.promise.guilt { background: #2f5d4e; color: #f2efe6; }
.promise.private { background: var(--surface); border: 1px solid var(--rule); }
.promise h2 { font-size: clamp(1.6rem, 3.4vw, 2.2rem); }
.promise.guilt a { color: #cfe6da; }

/* Share */
.phone { aspect-ratio: 9 / 19.5; border-radius: 38px; border: 8px solid #1c1915; position: relative; overflow: hidden; box-shadow: var(--shadow); }
.phone .mini-stage img { --rise: -34.1%; --hover: -37%; animation: sit-float 16s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) { .phone .mini-stage img { animation: none; } }
.phone::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 45%; background: linear-gradient(180deg, rgba(20,14,8,0.85), rgba(20,14,8,0)); z-index: 1; }
/* The real share video in the phone: 9:16, as the app makes it, with nothing drawn over it. */
.phone.real { aspect-ratio: 9 / 16; background: #14100c; }
.phone.real::before { content: none; }
.phone.real img, .phone.real video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@media (prefers-reduced-motion: reduce) { .phone.real video { display: none; } }
/* Tapping the phone opens the video large (the popover below). */
.phone-open { display: block; padding: 0; border: 0; background: none; border-radius: 38px; cursor: pointer; position: relative; font: inherit; color: inherit; -webkit-tap-highlight-color: transparent; }
.phone-open:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
/* A play mark over the phone, so it reads as something to tap. */
.phone-open::after { content: ""; position: absolute; z-index: 3; left: 50%; bottom: 9%; width: 44px; height: 44px; margin-left: -22px; border-radius: 50%; background: rgba(20, 14, 8, 0.6); box-shadow: 0 0 0 1.5px rgba(253, 248, 239, 0.85); }
/* The triangle is drawn with borders: the site's policy allows no inline pictures. */
.phone-open::before { content: ""; position: absolute; z-index: 4; left: 50%; bottom: calc(9% + 13px); margin-left: -5px; border-style: solid; border-width: 9px 0 9px 15px; border-color: transparent transparent transparent #fdf8ef; }
.phone-open:hover::after { background-color: rgba(20, 14, 8, 0.8); }
.tap-hint { font-weight: 400; color: var(--muted); white-space: nowrap; }
.tap-hint::before { content: "· "; }
.share-pop { border: 0; padding: 0; background: transparent; overflow: visible; color: #fdf8ef; }
.share-pop::backdrop { background: rgba(20, 14, 8, 0.92); }
.share-pop video { display: block; height: min(82vh, 82svh); width: auto; max-width: 92vw; aspect-ratio: 9 / 16; object-fit: contain; border-radius: 22px; background: #14100c; box-shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.9); }
.share-close { display: block; margin: 14px auto 0; padding: 10px 26px; border-radius: 999px; border: 1px solid rgba(253, 248, 239, 0.8); background: #14100c; color: #fdf8ef; font: 600 1rem/1.2 var(--sans); cursor: pointer; }
.share-close:focus-visible { outline: 3px solid #f3e2c4; outline-offset: 3px; }
/* Browsers without popovers would show it in the page: there, the phone just isn't a button. */
@supports not selector(:popover-open) {
  .share-pop, .phone-open::after, .phone-open::before, .tap-hint { display: none; }
  .phone-open { cursor: default; }
}
.phone .quote { z-index: 2;  position: absolute; left: 14px; right: 14px; top: 40px; text-align: center; color: #fdf8ef; font-family: var(--serif); font-size: 0.95rem; line-height: 1.3; text-shadow: 0 1px 8px rgba(0,0,0,0.5); }

/* The signup bands (App Store and Android): the server unhides each for the devices it suits. */
.android .wrap { max-width: 40rem; text-align: center; }
.android h2 { margin-bottom: 8px; }
.android p { color: var(--muted); }
.android-form { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin: 20px 0 12px; }
.android-form input[type="email"] { flex: 1 1 16rem; max-width: 22rem; padding: 12px 16px; border-radius: 999px; border: 1px solid var(--rule); background: var(--surface); color: var(--text); font: inherit; font-size: 1rem; }
.android-form input[type="email"]:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.android-form button { padding: 12px 22px; border-radius: 999px; border: 0; background: var(--accent); color: var(--bg); font: 600 1rem/1.2 var(--sans); cursor: pointer; }
.android-form button:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.android-form .trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.hero .soon a { color: inherit; }
/* The App Store waitlist comes first, so it is the loud one: the form itself sits in the hero,
   under the headline, and a green band repeats it after the make-your-own section. The Android
   band stays quiet. */
.hero-launch { margin: 20px auto 0; max-width: 26rem; }
.hero .hero-launch p { font-size: 0.8rem; margin: 0; opacity: 1; }
.hero .hero-launch .hero-launch-label { letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600; color: #f3d3a4; margin-bottom: 10px; }
.hero-form { display: flex; gap: 6px; padding: 5px; border-radius: 999px; background: #fffaf2; box-shadow: 0 10px 28px -10px rgba(0,0,0,0.75); }
.hero-form:focus-within { outline: 3px solid #f3d3a4; outline-offset: 3px; }
.hero-form input[type="email"] { flex: 1 1 auto; min-width: 0; border: 0; background: transparent; padding: 9px 6px 9px 16px; color: #2b2620; font: inherit; font-size: 1rem; outline: none; }
.hero-form input[type="email"]::placeholder { color: #6f665a; }
.hero-form button { flex: none; padding: 10px 20px; border-radius: 999px; border: 0; background: #2f5d4e; color: #fff; font: 600 0.95rem/1.2 var(--sans); white-space: nowrap; cursor: pointer; }
.hero-form button:hover { background: #26503f; }
.hero-form button:focus-visible { outline: 3px solid #2f5d4e; outline-offset: 2px; }
.hero-form .trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.hero .hero-launch .hero-launch-note { margin-top: 10px; opacity: 0.9; }
.hero .hero-launch a { color: inherit; }
/* With the form above it, "Make your dog meditate" steps back to an outline (wide screens). */
.hero-launch:not([hidden]) ~ .cta-beside { background: transparent; color: #f3e2c4; border: 1px solid rgba(243, 226, 196, 0.75); box-shadow: none; }
.hero-launch:not([hidden]) ~ .cta-beside:hover { background: rgba(243, 226, 196, 0.14); }
.android.launch { background: #2f5d4e; color: #f2efe6; padding: clamp(48px, 7vw, 80px) 0; }
.android.launch .eyebrow { color: #e9c79d; }
.android.launch p { color: #dfe9e2; }
.android.launch a { color: #cfe6da; }
.android.launch input[type="email"] { background: #fffaf2; color: #2b2620; border-color: transparent; }
.android.launch input[type="email"]:focus-visible { outline-color: #f3e2c4; }
.android.launch button { background: #f3e2c4; color: #2b2620; }
.android.launch button:focus-visible { outline-color: #f3e2c4; }

footer { border-top: 1px solid var(--rule); padding: 32px 0 48px; color: var(--muted); font-size: 0.92rem; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 10px 22px; justify-content: space-between; }
footer .follow { justify-content: center; align-items: center; gap: 12px 16px; margin-bottom: 28px; padding-bottom: 28px; border-bottom: 1px solid var(--rule); color: var(--text); font-family: var(--serif); font-size: 1.25rem; font-weight: 600; }
.follow-btn { display: inline-flex; align-items: center; gap: 9px; padding: 11px 20px; border-radius: 999px; background: var(--text); color: var(--bg); font: 600 1rem/1.2 var(--sans); text-decoration: none; }
footer a.follow-btn { color: var(--bg); }
.follow-btn:hover { opacity: 0.88; }
.follow-btn:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
footer a { color: inherit; }
footer nav a { margin-right: 18px; }

@media (max-width: 900px) {
  .dogs { grid-template-columns: repeat(5, 150px); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; margin-left: -20px; margin-right: -20px; padding-left: 20px; padding-right: 20px; }
  .dog { scroll-snap-align: start; }
  /* While the row scrolls sideways (phones, small tablets), "Add your own dogi" comes second,
     beside the first dog, so it's seen without swiping. Wider screens keep the app's order. */
  .dog { order: 3; }
  .dog:first-child { order: 1; }
  .dog.add { order: 2; }
}
@media (max-width: 720px) {
  body { font-size: 17px; }
  .nav-links { display: none; }
  .day, .promises { grid-template-columns: 1fr; }
  /* The hero on a phone, kept short so the dog is on the first screen under the signup form:
     smaller headline and line, less air, and a smaller hall (above). */
  .hero-copy { padding-top: 70px; }
  .hero h1 { font-size: clamp(2.2rem, 10.5vw, 2.8rem); margin-bottom: 8px; }
  .hero p { font-size: 1rem; margin-bottom: 0; }
  .hero-launch { margin-top: 14px; }
  .hero .hero-launch .hero-launch-label { margin-bottom: 8px; }
  .hero .hero-launch .hero-launch-note { margin-top: 8px; }
  .nav { padding-top: 14px; padding-bottom: 14px; }
}
/* Short landscape screens (phones turned sideways, small laptop windows): smaller text so it
   fits beside the dog within one screen. */
@media (max-height: 560px) and (orientation: landscape) and (min-width: 780px) {
  .hero h1 { font-size: 2.6rem; margin-bottom: 8px; }
  .hero p { font-size: 1rem; margin-bottom: 4px; }
  .hero .hero-copy .cta-beside { margin-top: 10px; padding: 9px 18px; font-size: 0.85rem; }
  .hero .soon { margin-top: 8px; font-size: 0.8rem; }
  .hero .hero-copy .hero-launch { margin-top: 10px; }
  .hero .hero-launch .hero-launch-label { margin-bottom: 6px; }
  .hero .hero-launch .hero-launch-note { margin-top: 6px; }
  .nav { padding-top: 10px; padding-bottom: 10px; }
}
.promise.guilt .eyebrow { color: #e9c79d; }
