/* Dog Play Journal — "notebook spread": dot-grid paper, a soft serif, taped-in screens and a
   tennis-ball highlighter. Fonts: Young Serif and Cabin (SIL OFL), served from this site. */

@font-face { font-family: "Young Serif"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/young-serif-latin-400-normal.woff2") format("woff2"); 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: "Young Serif"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/young-serif-latin-ext-400-normal.woff2") format("woff2"); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Cabin"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/cabin-latin-400-normal.woff2") format("woff2"); 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: "Cabin"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/cabin-latin-ext-400-normal.woff2") format("woff2"); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Cabin"; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/cabin-latin-600-normal.woff2") format("woff2"); 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: "Cabin"; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/cabin-latin-ext-600-normal.woff2") format("woff2"); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Cabin"; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/cabin-latin-700-normal.woff2") format("woff2"); 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: "Cabin"; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/cabin-latin-ext-700-normal.woff2") format("woff2"); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --paper: #f4efe4;
  --card: #fffcf5;
  --sunk: #eae3d4;
  --dot: #d8cdb9;
  --ink: #2b2420;
  --soft: #665a51;
  --line: #ddd3c1;
  --clay: #b24e2c;
  --clay-dark: #8c3a1e;
  --ball: #c6d93b;
  --ball-deep: #56620a;
  --ball-tint: #eef3c6;
  --serif: "Young Serif", Georgia, "Times New Roman", serif;
  --sans: "Cabin", "Segoe UI", Roboto, Arial, sans-serif;
  --wrap: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body {
  margin: 0;
  background-color: var(--paper);
  background-image: radial-gradient(circle, var(--dot) 1.2px, transparent 1.4px);
  background-size: 28px 28px;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  overflow-wrap: anywhere;
  hyphens: auto;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--clay-dark); text-underline-offset: 3px; }
a:hover { color: var(--clay); }
:focus-visible { outline: 3px solid var(--clay); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.15; margin: 0 0 0.5em; overflow-wrap: anywhere; hyphens: auto; }
h1 { font-size: clamp(2.1rem, 5.2vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.6rem); }
h3 { font-size: 1.4rem; }
p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 780px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 10; }
.skip:focus { left: 8px; }

.kicker { font-weight: 700; font-size: 0.85rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--clay-dark); margin-bottom: 0.6em; }
.lead { font-size: 1.2rem; color: var(--soft); max-width: 40em; }
.small { font-size: 0.9rem; color: var(--soft); }
.hl { background: linear-gradient(transparent 52%, rgba(198, 217, 59, 0.85) 52%, rgba(198, 217, 59, 0.85) 90%, transparent 90%); padding: 0 0.08em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }

/* Ball trail: a tennis ball followed by dotted clay dots, as under every header in the app. */
.trail { display: flex; align-items: center; gap: 10px; margin: 0.4em 0 1.4em; max-width: 520px; }
.trail::after { content: ""; flex: 1; height: 6px; background-image: radial-gradient(circle, var(--clay) 2.5px, transparent 3px); background-size: 16px 6px; background-repeat: repeat-x; }
.trail-ball { width: 22px; height: 22px; flex: none; border-radius: 50%; background: var(--ball); border: 1.5px solid var(--ball-deep); position: relative; overflow: hidden; }
.trail-ball::before, .trail-ball::after { content: ""; position: absolute; top: -3px; width: 12px; height: 26px; border: 2px solid #fff; border-radius: 50%; }
.trail-ball::before { left: -8px; }
.trail-ball::after { right: -8px; }

/* Header */
.top { border-bottom: 1px solid var(--line); background: rgba(244, 239, 228, 0.92); }
.top-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 72px; flex-wrap: wrap; padding-top: 8px; padding-bottom: 8px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; font-family: var(--serif); font-size: 1.3rem; }
.brand img { border-radius: 10px; }
.nav { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; flex-wrap: wrap; }
.nav a { display: inline-block; padding: 10px 14px; border-radius: 999px; color: var(--ink); text-decoration: none; font-weight: 600; min-height: 44px; }
.nav a:hover { background: var(--sunk); }
.nav a[aria-current="page"] { background: var(--ball); }

/* Taped-in screenshots */
.shot { position: relative; margin: 0; background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 10px; box-shadow: 5px 8px 0 rgba(43, 36, 32, 0.07); }
.shot img { border-radius: 10px; width: 100%; }
.tape { position: absolute; top: -12px; width: 38%; height: 26px; background: rgba(198, 217, 59, 0.78); }
.tape-l { left: 6%; transform: rotate(-7deg); }
.tape-r { right: 6%; transform: rotate(6deg); }

/* Hero: a two-page spread */
.hero { padding: 56px 0 72px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 48px; align-items: center; }
.hero h1 { margin-bottom: 0.25em; }
.facts { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0 0 28px; }
.facts li { border: 1.5px solid var(--ink); border-radius: 999px; padding: 4px 14px; font-weight: 600; font-size: 0.95rem; background: var(--card); }
.hero-cta { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.text-link { font-weight: 700; }
.hero-shots { position: relative; min-height: 560px; }
.shot-main { width: 72%; max-width: 330px; margin-left: auto; transform: rotate(1.5deg); }
.shot-side { position: absolute; left: 0; bottom: -30px; width: 50%; max-width: 230px; transform: rotate(-3deg); }

/* Google Play button (neutral while the app is not published) */
.play { display: inline-flex; align-items: center; gap: 12px; min-height: 56px; padding: 8px 22px 8px 12px; border-radius: 999px; background: var(--ink); color: #fff; text-decoration: none; }
.play:hover { color: #fff; background: #000; }
.play-ball { width: 34px; height: 34px; border-radius: 50%; background: var(--ball); border: 2px solid #fff; }
.play-text { display: flex; flex-direction: column; line-height: 1.15; }
.play-small { font-size: 0.8rem; opacity: 0.85; }
.play-big { font-weight: 700; font-size: 1.15rem; }
.play-soon { background: var(--soft); cursor: default; }

/* Session: three numbered entries */
.session { padding: 64px 0; border-top: 1px dashed var(--line); }
.entries { list-style: none; padding: 0; margin: 32px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.entry { display: flex; flex-direction: column; }
.entry-no { font-weight: 700; color: var(--clay); letter-spacing: 0.12em; margin-bottom: 0.3em; }
.entry p:not(.entry-no) { color: var(--soft); }
.shot-entry { margin-top: auto; max-width: 300px; }
.entry:nth-child(2) .shot-entry { transform: rotate(-1.2deg); }
.entry:nth-child(3) .shot-entry { transform: rotate(1deg); }

/* Journal: feature list + screen strip */
.journal { padding: 72px 0; background: var(--card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.journal-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.features { margin: 24px 0 0; }
.feature { padding: 16px 0; border-top: 1px dashed var(--line); }
.feature dt { font-family: var(--serif); font-size: 1.3rem; display: flex; gap: 12px; align-items: baseline; }
.feature-no { font-family: var(--sans); font-weight: 700; font-size: 0.85rem; color: var(--clay); letter-spacing: 0.1em; flex: none; }
.feature dd { margin: 4px 0 0 34px; color: var(--soft); }
.strip { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 20px; padding-top: 24px; }
.shot-strip-1, .shot-strip-3 { transform: translateY(40px); }

/* Privacy band */
.private { padding: 72px 0; }
.private-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.checks li { position: relative; padding: 12px 16px 12px 48px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; font-weight: 600; }
.checks li::before { content: ""; position: absolute; left: 16px; top: 50%; width: 18px; height: 18px; margin-top: -9px; border-radius: 50%; background: var(--ball); border: 1.5px solid var(--ball-deep); }

/* FAQ */
.faq { padding: 24px 0 72px; }
.faq-list { display: grid; gap: 10px; margin-top: 20px; }
details { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 4px 18px; }
summary { cursor: pointer; font-weight: 700; padding: 12px 0; min-height: 44px; }
details p { color: var(--soft); }

/* Download band */
.download { padding: 0 0 72px; }
.download-inner { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; background: var(--ball-tint); border: 1.5px dashed var(--ball-deep); border-radius: 22px; padding: 28px; }
.download-inner > div { flex: 1 1 280px; min-width: 0; }
.download-inner img { border-radius: 22px; }
.download h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
.download p { margin: 0; color: var(--soft); }

/* Inner pages */
.page { padding: 48px 0 72px; }
.steps { list-style: none; padding: 0; margin: 28px 0 40px; display: grid; gap: 14px; }
.steps li { display: flex; gap: 18px; background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; }
.step-no { font-weight: 700; color: var(--clay); letter-spacing: 0.1em; flex: none; padding-top: 4px; }
.steps h2 { font-size: 1.35rem; margin-bottom: 0.25em; }
.steps p { margin: 0; color: var(--soft); }
.sub { font-size: 1.6rem; margin-top: 1em; }
.contact-box { margin-top: 40px; background: var(--ball-tint); border: 1.5px dashed var(--ball-deep); border-radius: 18px; padding: 22px 24px; }
.contact-box h2 { font-size: 1.5rem; }
.mail { font-size: 1.25rem; font-weight: 700; }
.legal h2 { font-size: 1.4rem; margin-top: 1.6em; }
.legal p { color: #3d342e; }

/* Footer */
.foot { border-top: 1px solid var(--line); background: var(--card); padding: 32px 0; }
.foot-inner { display: flex; flex-wrap: wrap; gap: 20px 40px; align-items: center; justify-content: space-between; }
.foot-brand { display: flex; gap: 12px; align-items: center; min-width: 0; }
.foot-brand img { border-radius: 10px; }
.foot-name { font-family: var(--serif); font-size: 1.2rem; margin: 0; }
.foot-small { margin: 0; font-size: 0.9rem; color: var(--soft); }
.foot-links { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 20px; margin: 0; padding: 0; min-width: 0; }
.foot-links a { display: inline-block; padding: 8px 0; font-weight: 600; }
.foot-note { flex-basis: 100%; margin: 0; font-size: 0.85rem; color: var(--soft); }

@media (max-width: 900px) {
  .hero { padding-top: 32px; }
  .hero-grid, .journal-grid, .private-inner { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .hero-shots { min-height: 0; display: flex; justify-content: center; padding: 10px 0 30px; }
  .shot-main { width: 70%; max-width: 300px; margin: 0 auto; }
  .shot-side { width: 42%; left: 2%; bottom: 0; }
  .entries { grid-template-columns: minmax(0, 1fr); }
  .shot-entry { width: 78%; margin: 12px auto 0; }
  .strip { gap: 20px 14px; }
  .shot-strip-1, .shot-strip-3 { transform: translateY(24px); }
}

@media (max-width: 420px) {
  body { font-size: 1rem; }
  .wrap { padding: 0 16px; }
  .brand { font-size: 1.15rem; }
  .nav a { padding: 10px 10px; }
  .lead { font-size: 1.08rem; }
  .feature dd { margin-left: 0; }
  .steps li { flex-direction: column; gap: 4px; }
  .download-inner { padding: 20px; }
}
