/* The Live Paper: home pages (/ and /hi). */
  /* The app's three typefaces, hosted here: all under the SIL Open Font
     License 1.1 (licences in /fonts/). */
  @font-face { font-family: "UnifrakturMaguntia"; src: url("/fonts/UnifrakturMaguntia-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
  @font-face { font-family: "Playfair Display"; src: url("/fonts/PlayfairDisplay-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }
  @font-face { font-family: "Playfair Display"; src: url("/fonts/PlayfairDisplay-Italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
  @font-face { font-family: "Old Standard TT"; src: url("/fonts/OldStandardTT-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
  @font-face { font-family: "Old Standard TT"; src: url("/fonts/OldStandardTT-Italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
  @font-face { font-family: "Old Standard TT"; src: url("/fonts/OldStandardTT-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }
  :root {
    --paper: #F3ECDD; --ink: #1B1712; --soft: #473F35; --faint: #7B7062;
    --desk: #2A2520; --rule: #2A241C;
  }
  * { box-sizing: border-box; }
  html, body { margin: 0; }
  body {
    background: var(--desk); color: var(--ink);
    font-family: "Old Standard TT", Georgia, "Times New Roman", serif;
    padding: 24px 16px 48px;
  }
  .sheet {
    max-width: 760px; margin: 0 auto; background: var(--paper);
    padding: 22px 28px 30px; box-shadow: 0 10px 40px rgba(0,0,0,.45);
  }
  .thick { border-top: 4px solid var(--rule); }
  .double { border-top: 3px solid var(--rule); border-bottom: 1px solid var(--rule); height: 7px; }
  .plain { border-top: 1px solid var(--rule); }
  .ears { display: flex; align-items: center; gap: 12px; margin: 12px 0 4px; }
  .ear { width: 108px; border: 1px solid var(--rule); padding: 5px 6px; text-align: center; font-size: 11px; line-height: 1.3; }
  .ear b { display: block; letter-spacing: .12em; text-transform: uppercase; font-size: 10px; }
  .ear i { color: var(--soft); }
  h1 {
    flex: 1; margin: 0; text-align: center; font-weight: 700;
    font-family: "UnifrakturMaguntia", Georgia, serif; font-weight: 400;
    font-size: clamp(34px, 8vw, 64px); line-height: 1.05; letter-spacing: -.01em;
  }
  .tagline { text-align: center; font-style: italic; color: var(--soft); margin: 2px 0 10px; }
  .dateline { display: flex; justify-content: space-between; gap: 8px; padding: 6px 0; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; }
  .kicker { display: flex; align-items: center; gap: 8px; margin-top: 22px; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; font-weight: 700; }
  .kicker::before { content: ""; width: 9px; height: 9px; background: var(--ink); }
  h2 { font-family: "Playfair Display", Georgia, serif; font-weight: 700; font-size: clamp(30px, 6vw, 46px); line-height: 1.08; margin: 8px 0 10px; letter-spacing: -.01em; }
  .stand { font-style: italic; font-size: 20px; line-height: 1.45; color: var(--soft); margin: 0 0 18px; }
  .cols { columns: 2 260px; column-gap: 28px; column-rule: 1px solid rgba(42,36,28,.35); font-size: 16.5px; line-height: 1.6; }
  .cols p { margin: 0 0 12px; }
  .leadin { font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
  .band { display: flex; align-items: center; gap: 12px; margin: 26px 0 12px; font-size: 12px; letter-spacing: .22em; text-transform: uppercase; font-weight: 700; }
  .band::before, .band::after { content: ""; flex: 1; border-top: 1px solid var(--rule); }
  .stores { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
  .store { border: 1.5px solid var(--ink); padding: 12px 18px; min-width: 200px; text-align: center; }
  .store b { display: block; font-size: 18px; }
  .store span { font-size: 13px; color: var(--soft); font-style: italic; }
  .facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 0; border: 1.5px solid var(--ink); }
  .fact { padding: 14px 16px; border-right: 1px solid rgba(42,36,28,.35); }
  .fact:last-child { border-right: 0; }
  .fact b { display: block; font-size: 18px; margin-bottom: 4px; }
  .fact span { font-size: 14.5px; line-height: 1.5; color: var(--soft); }
  footer { margin-top: 26px; padding-top: 10px; border-top: 1px solid rgba(42,36,28,.35); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; font-size: 13px; font-style: italic; color: var(--faint); }
  footer a { color: var(--soft); }
  /* Today's front page: the live strip of headlines */
  .live { margin: 4px 0 22px; border: 1.5px solid var(--ink); }
  .live[hidden] { display: none; }
  .live-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 12px; padding: 8px 12px; background: var(--ink); color: var(--paper); }
  .live-head b { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; }
  .live-head b::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #D93A26; margin-right: 8px; vertical-align: 1px; animation: pulse 2s ease-in-out infinite; }
  @keyframes pulse { 50% { opacity: .35; } }
  @media (prefers-reduced-motion: reduce) { .live-head b::before { animation: none; } }
  .live-head span { font-size: 13px; font-style: italic; opacity: .85; }
  .editions { display: flex; flex-wrap: wrap; gap: 4px 14px; padding: 8px 12px 0; }
  .editions button { font: inherit; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; background: none; border: 0; border-bottom: 2px solid transparent; padding: 4px 0; color: var(--soft); cursor: pointer; }
  .editions button[aria-pressed="true"] { color: var(--ink); border-bottom-color: var(--ink); font-weight: 700; }
  .live ol { list-style: none; margin: 0; padding: 4px 12px 6px; counter-reset: n; }
  .live li { counter-increment: n; display: grid; grid-template-columns: 26px 1fr; gap: 0 8px; padding: 10px 0; border-top: 1px solid rgba(42,36,28,.25); }
  .live li:first-child { border-top: 0; }
  .live li::before { content: counter(n); font-family: "Playfair Display", Georgia, serif; font-weight: 700; font-size: 22px; line-height: 1.1; }
  .live a { color: var(--ink); text-decoration: none; font-size: 17px; line-height: 1.4; }
  .live a:hover, .live a:focus-visible { text-decoration: underline; }
  .live small { grid-column: 2; display: block; margin-top: 3px; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); }
  .live-foot { margin: 0; padding: 0 12px 10px; font-size: 12.5px; font-style: italic; color: var(--faint); }
  /* The app, in pictures */
  .front-shot { margin: 0 0 22px; }
  .front-shot img { display: block; width: 100%; height: auto; border: 1px solid rgba(42,36,28,.35); }
  .shots { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 22px; margin: 0; }
  .shot { margin: 0; }
  .phone { border: 10px solid var(--ink); border-radius: 34px; overflow: hidden; background: var(--ink); box-shadow: 0 8px 24px rgba(0,0,0,.25); max-width: 300px; margin: 0 auto; }
  .phone img { display: block; width: 100%; height: auto; }
  figcaption { margin-top: 10px; font-size: 14.5px; line-height: 1.45; color: var(--soft); text-align: center; }
  figcaption b { color: var(--ink); }
  @media (max-width: 560px) {
    .sheet { padding: 16px 16px 24px; }
    .ear { display: none; }
    .dateline span:nth-child(2) { display: none; }
    .fact { border-right: 0; border-bottom: 1px solid rgba(42,36,28,.35); }
    .fact:last-child { border-bottom: 0; }
  }

  /* Download buttons */
  .cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin: 4px 0 22px; }
  a.store { display: block; color: var(--paper); background: var(--ink); text-decoration: none; border: 1.5px solid var(--ink); padding: 11px 20px 12px; min-width: 210px; text-align: center; }
  a.store small { display: block; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; opacity: .8; }
  a.store b { display: block; font-family: "Playfair Display", Georgia, serif; font-size: 22px; line-height: 1.2; }
  a.store:hover, a.store:focus-visible { background: var(--paper); color: var(--ink); }
  .cta-note { text-align: center; font-size: 13.5px; font-style: italic; color: var(--soft); margin: -12px 0 22px; }
  /* Sections and FAQ */
  .sections { columns: 2 220px; column-gap: 28px; column-rule: 1px solid rgba(42,36,28,.35); margin: 0; padding: 0; list-style: none; font-size: 15.5px; line-height: 1.5; }
  .sections li { break-inside: avoid; margin: 0 0 10px; }
  .sections b { font-family: "Playfair Display", Georgia, serif; }
  .faq { margin: 0; }
  .faq h3 { font-family: "Playfair Display", Georgia, serif; font-size: 19px; margin: 16px 0 4px; }
  .faq p { margin: 0; font-size: 16px; line-height: 1.55; color: var(--soft); }
  .faq a, .cols a { color: var(--ink); }
  .lang { text-align: center; font-size: 14px; margin: 0 0 4px; }
  .lang a { color: var(--soft); }
  /* Letter-spacing pulls Devanagari conjuncts apart: none on the Hindi page. */
  html[lang="hi"] body *:not(h1) { letter-spacing: 0 !important; }
