/* Whiskerling's site identity, on top of the design system's tokens and marketing kit.
   Until iamjarl-design ships dist/identity/whiskerling.css, the identity is set here, on the
   kit's own variable names, so moving it there later changes no markup. See IDENTITY.md.
   Light only: a warm, sunny room, whatever the visitor's setting. */

:root {
  color-scheme: light;
  --ij-color-bg-app: #FDF1E0;
  --ij-color-bg-card: #FFF8EE;
  --ij-color-surface-default: #FFF8EE;
  --ij-color-text-primary: #4A3B35;
  --ij-color-text-secondary: #6E584C;   /* 5.9:1 on the ground */
  --ij-color-text-tertiary: #7A6457;    /* 5.0:1 on the ground */
  --ij-color-border-subtle: rgba(74, 59, 53, 0.12);
  --ij-color-border-default: rgba(74, 59, 53, 0.2);
  --ij-color-accent: #E76B86;           /* the bow and the curtains: fills and lines only, 2.7:1 */
  --ij-color-accent-rgb: 231, 107, 134;
  --ij-color-on-accent: #000000;
  --ij-color-accent-text: #A8325A;      /* links and small highlights, 5.8:1 */
  --ij-color-accent-family: #A8325A;
  /* The app's own face: SF Rounded on Apple devices, the system face elsewhere. Nothing to load. */
  --ij-font-display: ui-rounded, "SF Pro Rounded", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ij-font-ui: ui-rounded, "SF Pro Rounded", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ij-display-weight: 800;
  --ij-wordmark-em: 6.6;                /* "Whiskerling" is eleven letters; the kit's 4 suits six or seven */
}

html { background: var(--ij-color-bg-app); }
h1, h2, h3 { font-family: var(--ij-font-display); }

/* The header: the name, and the other language. */
.site-head { padding-block: var(--ij-mkt-space-stack, 20px); }
.site-head .ij-container { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.site-brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 800; font-size: 1.25rem;
  color: var(--ij-color-text-primary); text-decoration: none; }
.site-brand img { border-radius: 22%; }
.site-lang { font-weight: 600; }

/* Not on the App Store yet: a plain line where the badge will go, never a fake button. */
.soon { display: inline-block; margin: 0; padding: 10px 18px; border-radius: 999px; font-weight: 700;
  background: color-mix(in srgb, var(--ij-color-accent) 22%, var(--ij-color-bg-card));
  color: var(--ij-color-text-primary); }
.soon-facts { margin: 10px 0 0; color: var(--ij-color-text-secondary); font-size: 0.95rem; }

/* A screen of the app, frameless, with the iPad's rounded corners. */
.screen { display: block; width: 100%; height: auto; border-radius: 18px;
  box-shadow: 0 18px 50px -18px rgba(138, 90, 60, 0.45), 0 0 0 1px var(--ij-color-border-subtle); }
.ij-hero__media .screen { max-width: 440px; margin-inline: auto; }

/* A row: words on one side, a screen on the other, alternating. */
.rows { display: grid; gap: clamp(48px, 8vw, 96px); }
.row { display: grid; gap: clamp(24px, 4vw, 56px); align-items: center; grid-template-columns: 1fr; }
.row__media { max-width: 400px; width: 100%; margin-inline: auto; }
@media (min-width: 760px) {
  .row { grid-template-columns: 1fr 1fr; }
  .row:nth-child(even) .row__media { order: -1; }
}
.row h3 { margin: 0 0 8px; }
.row p { margin: 0; }
.pro-tag { display: inline-block; margin-left: 8px; padding: 2px 10px; border-radius: 999px; font-size: 0.8rem;
  font-weight: 700; vertical-align: middle; background: var(--ij-color-accent); color: var(--ij-color-on-accent); }

/* Questions and answers, in the served HTML so every crawler reads them. */
.faq { display: grid; gap: 12px; max-width: 760px; }
.faq details { background: var(--ij-color-bg-card); border-radius: 16px; padding: 16px 20px;
  border: 1px solid var(--ij-color-border-subtle); }
.faq summary { cursor: pointer; font-weight: 700; }
.faq p { margin: 10px 0 0; }

/* The footer, until <ij-footer> knows Whiskerling. */
.site-foot { padding-block: 40px 56px; color: var(--ij-color-text-tertiary); font-size: 0.95rem; }
.site-foot nav { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-bottom: 12px; }
.site-foot p { margin: 4px 0; }

/* The privacy and support pages: one readable column. */
.doc { max-width: 720px; }
.doc h1 { margin-bottom: 4px; }
.doc h2 { margin-top: 40px; }
.doc .updated { color: var(--ij-color-text-tertiary); margin-top: 0; }
.doc li { margin-bottom: 6px; }

a { color: var(--ij-color-accent-text); }
