/* Atharsoft site. Two layers: the studio (paper, ink, clay, a serif display face) on every page,
   and the My Day with Pip product presentation ("Grape pop", KidsStories/brand/colors.md), used
   only inside main.pip on /apps/my-day-with-pip. */
@font-face { font-family: "Baloo"; src: url("/assets/fonts/BalooBhaijaan2_800ExtraBold.ttf") format("truetype"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Baloo"; src: url("/assets/fonts/BalooBhaijaan2_700Bold.ttf") format("truetype"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Readex"; src: url("/assets/fonts/ReadexPro_400Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Readex"; src: url("/assets/fonts/ReadexPro_600SemiBold.ttf") format("truetype"); font-weight: 600; font-display: swap; }

:root {
  color-scheme: light;
  /* Studio */
  --paper: #FAF7F2;
  --paper-deep: #F1EBE1;
  --st-ink: #1E1C24;
  --st-soft: #57535F;
  --clay: #A9472A;
  --clay-soft: #F6E4DC;
  --line: rgba(30, 28, 36, 0.12);
  --serif: ui-serif, "New York", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  /* My Day with Pip */
  --purple: #7C4DFF;
  --purple-deep: #5A2FE0;
  --purple-ink: #3B1F9E;
  --lavender: #F1ECFF;
  --cream: #FFF8EC;
  --cream-deep: #FBEFD6;
  --tangerine: #FF9F1C;
  --coral: #FF6B6B;
  --sun: #FFC83D;
  --sky: #22C1EE;
  --mint: #7FE0C3;
  --ink: #2A1F5C;
  --ink-soft: #5C5480;
  --rule: rgba(42, 31, 92, 0.12);
  --shadow: 0 24px 60px rgba(42, 31, 92, 0.18);
  --radius: 28px;
  --head: "Baloo", "Baloo Bhaijaan 2", ui-rounded, system-ui, sans-serif;
  --body: "Readex", "Readex Pro", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
html, body { margin: 0; }
body {
  background: var(--paper);
  color: var(--st-ink);
  font: 400 17px/1.65 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; }
a { color: var(--clay); text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--clay); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.1; margin: 0; letter-spacing: -0.015em; }
h2 { font-size: clamp(32px, 4.2vw, 46px); }
h3 { font-size: 22px; }
p { margin: 0 0 16px; }
.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.muted { color: var(--st-soft); }
@media (max-width: 480px) { .wrap { padding: 0 20px; } }

.skip { position: absolute; left: 16px; top: -60px; z-index: 50; padding: 10px 16px; border-radius: 10px; background: var(--st-ink); color: #fff; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }

/* Studio header */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(250, 247, 242, 0.9);
  backdrop-filter: saturate(1.3) blur(12px);
  -webkit-backdrop-filter: saturate(1.3) blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 68px; }
.wordmark { display: inline-flex; align-items: center; gap: 10px; color: var(--st-ink); text-decoration: none; font-family: var(--serif); font-weight: 600; font-size: 23px; letter-spacing: -0.01em; }
.wordmark .mark { width: 30px; height: 30px; flex: none; }
.nav { display: flex; align-items: center; gap: 28px; font-size: 15px; font-weight: 600; }
.nav a { color: var(--st-soft); text-decoration: none; padding: 6px 0; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--st-ink); }
.nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--clay); }
@media (max-width: 640px) {
  .site-header { position: static; }
  .site-header .wrap { flex-direction: column; align-items: flex-start; gap: 4px; padding-top: 12px; padding-bottom: 8px; }
  .nav { gap: 22px; }
  html { scroll-padding-top: 16px; }
}

/* Studio buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 22px; border-radius: 999px;
  background: var(--st-ink); color: #fff;
  font: 600 16px/1 var(--body);
  text-decoration: none; border: 1px solid var(--st-ink);
  transition: background-color .15s ease, color .15s ease;
}
.btn:hover { background: #38343F; }
.btn.ghost { background: transparent; color: var(--st-ink); border-color: rgba(30, 28, 36, 0.3); }
.btn.ghost:hover { background: #fff; }
.text-link { font-weight: 600; }

/* Studio sections */
.s-section { padding: 96px 0; }
.s-section.alt { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.label { display: block; margin: 0 0 14px; color: var(--clay); font-size: 13px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; }
.s-head { max-width: 40em; margin-bottom: 44px; }
.s-head p { margin: 14px 0 0; font-size: 19px; color: var(--st-soft); }

.s-hero { padding: 112px 0 88px; }
.s-hero h1 { font-size: clamp(46px, 7.2vw, 92px); line-height: 1.02; letter-spacing: -0.025em; max-width: 11em; margin-bottom: 28px; }
.s-hero h1 em { font-style: italic; font-weight: 500; color: var(--clay); }
.s-hero .intro { max-width: 34em; font-size: clamp(19px, 2vw, 22px); line-height: 1.55; color: var(--st-soft); }
.s-hero .intro strong { color: var(--st-ink); font-weight: 600; }
.s-hero .actions { margin-top: 32px; }
.identity { max-width: 40em; margin: 40px 0 0; padding-left: 16px; border-left: 2px solid var(--clay); font-size: 15px; color: var(--st-soft); }
.identity strong { color: var(--st-ink); font-weight: 600; }
@media (max-width: 640px) { .s-hero { padding: 56px 0 56px; } }

/* Featured app */
.app-feature { display: grid; grid-template-columns: 1fr 1fr; overflow: hidden; border-radius: 28px; background: #fff; border: 1px solid var(--line); box-shadow: 0 30px 60px -30px rgba(30, 28, 36, 0.25); }
.app-feature .copy { padding: 52px 48px; }
.app-title { display: flex; align-items: center; gap: 16px; margin-bottom: 22px; }
.app-title img { width: 72px; height: 72px; border-radius: 17px; box-shadow: 0 6px 16px rgba(42, 31, 92, 0.18); }
.app-title h3 { font-size: clamp(28px, 3vw, 36px); }
.app-title .by { margin: 4px 0 0; font-size: 15px; color: var(--st-soft); }
.app-feature .desc { font-size: 18px; color: var(--st-soft); }
.status { display: inline-flex; align-items: center; gap: 10px; margin: 6px 0 4px; padding: 8px 14px; border-radius: 999px; background: var(--clay-soft); color: #7A2F18; font-size: 15px; font-weight: 600; }
.status .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--clay); }
.status-note { margin: 8px 0 24px; font-size: 14px; color: var(--st-soft); }
.facts { margin: 0 0 30px; padding: 0; list-style: none; display: grid; gap: 8px; font-size: 16px; }
.facts li { position: relative; padding-left: 22px; }
.facts li::before { content: ""; position: absolute; left: 2px; top: 10px; width: 8px; height: 8px; border-radius: 50%; background: var(--purple); }
.app-feature .actions { align-items: center; }
.app-art { position: relative; display: flex; align-items: flex-end; justify-content: center; min-height: 520px; padding: 48px 24px 0; overflow: hidden;
  background: radial-gradient(600px 400px at 80% 0%, #9B7BFF 0%, transparent 60%), linear-gradient(160deg, #7C4DFF 0%, #5A2FE0 100%); }
.app-art .phone { position: relative; z-index: 1; width: 250px; margin-bottom: -60px; transform: rotate(-3deg); }
.app-art .pip-art { position: absolute; z-index: 2; width: 210px; right: 6%; bottom: 8px; filter: drop-shadow(0 16px 20px rgba(42, 31, 92, 0.35)); }
@media (max-width: 900px) {
  .app-feature { grid-template-columns: 1fr; }
  .app-feature .copy { padding: 36px 28px; }
  .app-art { min-height: 420px; order: -1; }
  .app-art .phone { width: 220px; }
  .app-art .pip-art { width: 170px; right: 4%; }
}

/* About and company */
.about { display: grid; grid-template-columns: 1.15fr 1fr; gap: 56px; align-items: start; }
.about .prose p { font-size: 18px; color: var(--st-soft); }
.about .prose p:first-of-type { font-size: 21px; color: var(--st-ink); line-height: 1.5; }
.company { padding: 32px; border-radius: 20px; background: var(--paper); border: 1px solid var(--line); }
.company h3 { margin-bottom: 18px; font-size: 20px; }
.company dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 10px 20px; font-size: 15px; }
.company dt { color: var(--st-soft); }
.company dd { margin: 0; min-width: 0; overflow-wrap: anywhere; font-weight: 600; }
.company address { font-style: normal; }
@media (max-width: 860px) { .about { grid-template-columns: 1fr; gap: 36px; } }
@media (max-width: 600px) {
  .company { padding: 24px; }
  .company dl { grid-template-columns: 1fr; gap: 2px; }
  .company dd + dt { margin-top: 12px; }
}

/* Contact */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.s-card { display: flex; flex-direction: column; padding: 28px; border-radius: 20px; background: #fff; border: 1px solid var(--line); }
.s-card h3 { margin-bottom: 8px; }
.s-card p { color: var(--st-soft); font-size: 16px; }
.s-card .go { margin-top: auto; font-weight: 600; overflow-wrap: anywhere; }
.s-card.primary { background: var(--st-ink); border-color: var(--st-ink); color: #fff; }
.s-card.primary p { color: rgba(255, 255, 255, 0.78); }
.s-card.primary a { color: #fff; }
.s-card.primary :focus-visible { outline-color: #fff; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

/* Studio footer */
.site-footer { background: var(--st-ink); color: rgba(255, 255, 255, 0.74); padding: 56px 0 32px; font-size: 14px; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer :focus-visible { outline-color: #fff; }
.foot-top { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; }
.foot-id .wordmark { color: #fff; font-size: 21px; margin-bottom: 14px; }
.site-footer .mark .m-bg { fill: #3A3644; }
.foot-id p { max-width: 30em; margin: 0; line-height: 1.6; }
.foot-col p { margin: 0 0 10px; color: rgba(255, 255, 255, 0.55); font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; }
.foot-col ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.foot-bottom { margin-top: 44px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.14); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; font-size: 13px; color: rgba(255, 255, 255, 0.6); }
@media (max-width: 860px) { .foot-top { grid-template-columns: 1fr 1fr; } .foot-id { grid-column: 1 / -1; } }

/* Text pages (privacy, support, 404) */
.page { max-width: 760px; padding: 64px 24px 96px; }
.page h1 { font-size: clamp(38px, 5vw, 54px); letter-spacing: -0.02em; margin-bottom: 12px; }
.page .updated { margin: 0 0 32px; color: var(--st-soft); font-size: 15px; }
.page h2 { margin: 48px 0 12px; font-size: 28px; }
.page h3 { margin: 26px 0 6px; font-family: var(--body); font-size: 18px; font-weight: 600; letter-spacing: 0; }
.page p, .page li { color: var(--st-soft); }
.page strong { color: var(--st-ink); }
.page ul { padding-left: 22px; }
.page .toc { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 8px; }
.page .toc a { padding: 7px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--st-ink); font-size: 14px; font-weight: 600; text-decoration: none; }
.page .toc a:hover { border-color: var(--st-ink); }
.page.center { text-align: center; }
.page-app { display: flex; align-items: center; gap: 14px; margin: 0 0 18px; color: var(--st-soft); font-size: 15px; }
.page-app img { width: 48px; height: 48px; border-radius: 12px; }
.page-app strong { display: block; font-size: 17px; }
.contact-panel { margin: 8px 0 8px; padding: 26px 28px; border-radius: 20px; background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--clay); }
.contact-panel p { margin: 0 0 8px; }
.contact-panel .email { display: inline-block; margin: 2px 0 10px; font-family: var(--serif); font-size: clamp(24px, 3.4vw, 30px); font-weight: 600; color: var(--st-ink); overflow-wrap: anywhere; }
.contact-panel p:last-child { margin: 0; }

/* ---------- My Day with Pip (main.pip) ---------- */
.pip { background: var(--cream); color: var(--ink); }
.pip h1, .pip h2, .pip h3 { font-family: var(--head); font-weight: 800; line-height: 1.08; letter-spacing: -0.01em; }
.pip h2 { font-size: clamp(32px, 4.4vw, 48px); }
.pip h3 { font-size: 24px; font-weight: 700; }
.pip a { color: var(--purple-deep); }
.pip :focus-visible { outline-color: var(--purple-deep); }
.pip .hero :focus-visible, .pip .band :focus-visible { outline-color: #fff; }

/* Product bar under the studio header */
.product-bar { background: #fff; border-bottom: 1px solid var(--rule); }
.product-bar .wrap { display: flex; align-items: center; gap: 24px; min-height: 56px; overflow-x: auto; scrollbar-width: none; }
.product-bar .wrap::-webkit-scrollbar { display: none; }
.product-bar .name { display: inline-flex; align-items: center; gap: 10px; flex: none; color: var(--ink); text-decoration: none; font-family: var(--head); font-weight: 800; font-size: 18px; }
.product-bar .name img { width: 28px; height: 28px; border-radius: 8px; }
.product-bar nav { display: flex; gap: 20px; flex: none; font-size: 14px; font-weight: 600; }
.product-bar nav a { color: var(--ink-soft); text-decoration: none; white-space: nowrap; padding: 4px 0; }
.product-bar nav a:hover { color: var(--ink); }
@media (max-width: 640px) {
  /* Narrow screens: wrap the product links instead of scrolling them sideways. */
  .product-bar .wrap { flex-wrap: wrap; gap: 2px 24px; overflow: visible; padding-top: 8px; padding-bottom: 8px; }
  .product-bar .name { min-height: 40px; }
  .product-bar nav { flex: 1 1 100%; flex-wrap: wrap; gap: 0 18px; }
  .product-bar nav a { padding: 10px 0; }
}

/* Pip buttons */
.button {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 24px; border-radius: 999px;
  background: var(--tangerine); color: var(--ink);
  font-family: var(--head); font-weight: 700; font-size: 18px; line-height: 1;
  text-decoration: none; border: 0; cursor: pointer;
  box-shadow: 0 8px 0 rgba(42, 31, 92, 0.12);
  transition: transform .12s ease, box-shadow .12s ease;
}
.pip a.button { color: var(--ink); }
.button:hover { transform: translateY(-2px); box-shadow: 0 10px 0 rgba(42, 31, 92, 0.14); }
.button:active { transform: translateY(2px); box-shadow: 0 4px 0 rgba(42, 31, 92, 0.14); }
.pip a.button.ghost { background: rgba(255, 255, 255, 0.16); color: #fff; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.55); }
.pip a.button.soft { background: var(--lavender); color: var(--purple-ink); box-shadow: 0 8px 0 rgba(124, 77, 255, 0.14); }
.button svg { width: 20px; height: 20px; }

/* Pills */
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; background: #fff; color: var(--ink); font-size: 14px; font-weight: 600; box-shadow: 0 2px 0 rgba(42, 31, 92, 0.08); }
.pill .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--sun); }
.eyebrow { display: inline-block; margin: 0 0 16px; padding: 6px 14px; border-radius: 999px; background: var(--sun); color: var(--ink); font-size: 14px; font-weight: 600; letter-spacing: 0.02em; }
.eyebrow.purple { background: var(--lavender); color: var(--purple-ink); }

/* Hero */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background: radial-gradient(1200px 600px at 85% -10%, #9B7BFF 0%, transparent 60%),
              radial-gradient(800px 500px at -10% 110%, #5A2FE0 0%, transparent 60%),
              linear-gradient(160deg, #7C4DFF 0%, #6A3FF0 55%, #5A2FE0 100%);
}
.hero::before, .hero::after {
  content: ""; position: absolute; border-radius: 50%; pointer-events: none;
  background: rgba(255, 255, 255, 0.07);
}
.hero::before { width: 520px; height: 520px; left: -160px; top: -200px; }
.hero::after { width: 380px; height: 380px; right: 8%; bottom: -200px; }
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; padding-top: 72px; padding-bottom: 72px; }
.hero h1 { font-size: clamp(46px, 6.4vw, 78px); color: #fff; margin-bottom: 6px; }
.hero .by { margin: 0 0 22px; font-size: 19px; font-weight: 600; color: rgba(255, 255, 255, 0.92); }
.hero .lead { font-size: clamp(18px, 2vw, 21px); color: #fff; max-width: 34em; margin-bottom: 28px; }
.hero .eyebrow { background: rgba(255, 255, 255, 0.16); color: #fff; }
.hero .dev { max-width: 34em; margin: 26px 0 0; font-size: 15px; color: #fff; }
.hero .dev a { color: #fff; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-art { position: relative; display: flex; justify-content: center; align-items: flex-end; min-height: 560px; }
.hero-art .phone { position: relative; z-index: 2; width: 300px; transform: rotate(-3deg); }
.hero-art .pip-art { position: absolute; z-index: 3; width: 290px; right: -20px; bottom: -28px; filter: drop-shadow(0 18px 24px rgba(42, 31, 92, 0.35)); }
.hero-art .blob { position: absolute; z-index: 1; width: 440px; height: 440px; border-radius: 50%; background: radial-gradient(circle at 40% 35%, #B49CFF, #7C4DFF 70%); opacity: 0.55; left: 50%; top: 50%; transform: translate(-50%, -45%); }
.hero-art .badge { position: absolute; z-index: 4; padding: 10px 16px; border-radius: 18px; background: #fff; color: var(--ink); font-family: var(--head); font-weight: 700; font-size: 16px; box-shadow: var(--shadow); }
.hero-art .badge.a { left: -10px; top: 60px; transform: rotate(-6deg); }
.hero-art .badge.b { left: 0; bottom: 120px; transform: rotate(4deg); }
.hero-art .badge .star { color: var(--tangerine); }
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; padding-top: 48px; padding-bottom: 40px; }
  .hero-art { min-height: 520px; margin-top: 8px; }
  .hero-art .pip-art { width: 240px; right: 0; }
  .hero-art .badge.a { left: 0; }
}
@media (max-width: 480px) {
  .hero-art { min-height: 460px; }
  .hero-art .phone { width: 240px; }
  .hero-art .pip-art { width: 190px; right: -6px; }
  .hero-art .badge { display: none; }
}

/* Trust strip */
.strip { background: var(--cream-deep); border-bottom: 1px solid var(--rule); }
.strip .wrap { display: flex; flex-wrap: wrap; gap: 10px 14px; justify-content: center; padding: 16px 24px; }

/* Phone frame */
.phone { width: 280px; padding: 10px; border-radius: 46px; background: #1E1740; box-shadow: var(--shadow); }
.phone img { display: block; width: 100%; border-radius: 36px; }
.phone.sm { width: 240px; border-radius: 40px; padding: 8px; }
.phone.sm img { border-radius: 32px; }

/* Sections */
.pip section { padding: 96px 0; }
.pip section.tight { padding: 72px 0; }
.section-head { max-width: 42em; margin-bottom: 48px; }
.section-head p { font-size: 19px; color: var(--ink-soft); margin: 14px 0 0; }
.center { text-align: center; margin-left: auto; margin-right: auto; }
.lavender { background: var(--lavender); }
.white { background: #fff; }

.grid { display: grid; gap: 22px; grid-template-columns: repeat(3, 1fr); }
.grid.two { grid-template-columns: repeat(2, 1fr); }
.grid.four { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .grid, .grid.four { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid, .grid.two, .grid.four { grid-template-columns: 1fr; } }

.card { padding: 30px; border-radius: var(--radius); background: #fff; box-shadow: 0 2px 0 rgba(42, 31, 92, 0.06), 0 12px 32px rgba(42, 31, 92, 0.06); }
.card h3 { margin-bottom: 10px; }
.card p { margin: 0; color: var(--ink-soft); font-size: 16px; }
.card .num { display: inline-grid; place-items: center; width: 44px; height: 44px; margin-bottom: 18px; border-radius: 14px; background: var(--lavender); color: var(--purple-ink); font-family: var(--head); font-weight: 800; font-size: 20px; }
.card .num.sun { background: var(--sun); color: var(--ink); }
.card .num.coral { background: var(--coral); color: var(--ink); }
.card .num.sky { background: var(--sky); color: var(--ink); }
.card .num.mint { background: var(--mint); color: var(--ink); }

/* Feature rows */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; padding: 40px 0; }
.feature + .feature { border-top: 1px dashed var(--rule); }
.feature .art { display: flex; justify-content: center; align-items: center; position: relative; }
.feature .art .buddy { position: absolute; width: 150px; bottom: -16px; right: calc(50% - 230px); filter: drop-shadow(0 12px 16px rgba(42, 31, 92, 0.25)); }
.feature .art .buddy.left { right: auto; left: calc(50% - 230px); }
.feature.flip .art { order: 2; }
.feature h3 { font-size: clamp(26px, 3vw, 34px); font-weight: 800; margin-bottom: 14px; }
.feature p { font-size: 18px; color: var(--ink-soft); }
.feature ul { margin: 18px 0 0; padding: 0; list-style: none; }
.feature li { position: relative; padding: 8px 0 8px 32px; font-size: 17px; }
.feature li::before { content: ""; position: absolute; left: 0; top: 13px; width: 20px; height: 20px; border-radius: 50%; background: var(--sun); box-shadow: inset 0 -3px 0 rgba(42, 31, 92, 0.12); }
.feature li::after { content: ""; position: absolute; left: 6px; top: 18px; width: 8px; height: 5px; border-left: 2.5px solid var(--ink); border-bottom: 2.5px solid var(--ink); transform: rotate(-45deg); }
@media (max-width: 860px) {
  .feature { grid-template-columns: 1fr; gap: 28px; }
  .feature.flip .art { order: 0; }
  .feature .art .buddy { width: 120px; right: max(0px, calc(50% - 230px)); }
  .feature .art .buddy.left { left: max(0px, calc(50% - 230px)); right: auto; }
}

/* Games */
.games { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.game { text-align: center; }
.game .phone { margin: 0 auto 22px; }
.game h3 { margin-bottom: 6px; }
.game p { color: var(--ink-soft); font-size: 16px; margin: 0; }
@media (max-width: 900px) { .games { grid-template-columns: 1fr; } }
.game-extra { margin-top: 36px; display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
@media (max-width: 760px) { .game-extra { grid-template-columns: 1fr; } }

/* Friends */
.friend { text-align: center; padding: 28px 22px; }
.friend img { width: 150px; height: 150px; object-fit: contain; margin: 0 auto 14px; display: block; }
.friend h3 { font-size: 22px; margin-bottom: 6px; }
.friend p { font-size: 15px; }

/* Channel */
.channel { display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center; padding: 32px; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.channel img { width: 96px; height: 96px; border-radius: 50%; }
.channel h3 { margin-bottom: 6px; }
.channel p { margin: 0; color: var(--ink-soft); }
@media (max-width: 760px) { .channel { grid-template-columns: 1fr; text-align: center; } .channel img { margin: 0 auto; } }

/* CTA band */
.band { position: relative; overflow: hidden; color: #fff; background: linear-gradient(135deg, #7C4DFF, #5A2FE0); }
.band .wrap { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; }
.band h2 { color: #fff; }
.band p { color: #fff; font-size: 19px; max-width: 36em; }
.band .pip-art { width: 220px; filter: drop-shadow(0 16px 20px rgba(0, 0, 0, 0.25)); }
.band small { display: block; margin-top: 14px; font-size: 14px; color: #fff; }
@media (max-width: 760px) { .band .wrap { grid-template-columns: 1fr; } .band .pip-art { width: 170px; margin: 0 auto; } }

/* Developer block at the end of the product page */
.developer { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; padding: 36px 40px; border-radius: var(--radius); background: #fff; box-shadow: 0 2px 0 rgba(42, 31, 92, 0.06), 0 12px 32px rgba(42, 31, 92, 0.06); }
.developer h2 { font-size: clamp(28px, 3.4vw, 36px); margin-bottom: 12px; }
.developer p { color: var(--ink-soft); }
.developer ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; font-weight: 600; }
@media (max-width: 760px) { .developer { grid-template-columns: 1fr; padding: 28px; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
  .button:hover, .button:active { transform: none; }
}

/* ---------- mydaywithpip.com additions ---------- */
/* The product bar is the site header. */
.product-bar.top { position: sticky; top: 0; z-index: 20; }
.product-bar.top .name { font-size: 20px; }
.product-bar.top .name img { width: 32px; height: 32px; }
@media (max-width: 640px) { .product-bar.top { position: static; } }
/* Pip wordmark in the footer and on the 404 page. */
.pip-mark { font-family: var(--head); font-weight: 800; }
.wordmark img { width: 30px; height: 30px; border-radius: 8px; flex: none; }
.site-footer.pip-foot { background: var(--ink); }
.pip-page { background: var(--cream); color: var(--ink); min-height: 50vh; }
.pip-page h1 { font-family: var(--head); font-weight: 800; }
