/* Duck Trucks pages on techaesthetics.io. Same type family as the home page,
   the game's own sage and construction yellow for warmth. Self-contained. */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --bg: #f5f3f0; --fg: #1f1e1c; --fg-mid: #45423e; --fg-dim: #6b665f;
  --line: rgba(0,0,0,0.10); --card: rgba(0,0,0,0.035);
  --sage: #91ad80; --sage-deep: #3e4e3a; --yellow: #efd47c; --yellow-ink: #6b5410;
  --serif: 'Instrument Serif', Georgia, serif;
  --sans: 'DM Sans', system-ui, -apple-system, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #111211; --fg: #ebe7e1; --fg-mid: #c4bfb7; --fg-dim: #8f8a82;
          --line: rgba(255,255,255,0.12); --card: rgba(255,255,255,0.045);
          --sage-deep: #b9cfae; --yellow-ink: #efd47c; }
}
html { -webkit-text-size-adjust: 100%; }
body { background: var(--bg); color: var(--fg); font-family: var(--sans); font-weight: 300;
       font-size: 1.0625rem; line-height: 1.6; }
a { color: inherit; text-decoration: underline; text-decoration-color: var(--sage); text-underline-offset: 3px; }
a:hover { text-decoration-color: currentColor; }
.wrap { max-width: 42rem; margin: 0 auto;
        padding: 2.5rem max(1.25rem, env(safe-area-inset-right)) calc(5rem + env(safe-area-inset-bottom)) max(1.25rem, env(safe-area-inset-left)); }
/* The hero is a two-column grid: icon left, everything else right. On a phone
   only the title shares the icon's row; the rest runs full width beneath. */
header.hero { display: grid; grid-template-columns: 96px 1fr; column-gap: 1.25rem; align-items: start; margin-bottom: 2rem; }
header.hero img { grid-column: 1; grid-row: 1 / span 4; width: 96px; height: 96px; border-radius: 22px; object-fit: cover; box-shadow: 0 6px 24px rgba(0,0,0,0.18); margin-top: 0.3rem; }
header.hero > :not(img) { grid-column: 2; min-width: 0; margin: 0; }
h1 { font-family: var(--serif); font-weight: 400; font-size: 2.6rem; line-height: 1.05; letter-spacing: -0.01em; }
.tagline { color: var(--fg-mid); margin-top: 0.35rem; font-size: 1.1rem; }
.by { color: var(--fg-dim); font-size: 0.9rem; margin-top: 0.25rem; }
h2 { font-family: var(--serif); font-weight: 400; font-size: 1.85rem; line-height: 1.15; margin: 2.75rem 0 0.75rem; }
h3 { font-weight: 500; font-size: 1.05rem; margin: 1.5rem 0 0.35rem; }
p, li, dd { text-wrap: pretty; }
p { margin: 0 0 0.9rem; }
p.lead { font-size: 1.2rem; color: var(--fg-mid); }
ul { padding-left: 1.2rem; margin: 0 0 1rem; }
li { margin: 0.3rem 0; }
.promise { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.6rem; margin: 1.25rem 0 0.5rem; list-style: none; padding: 0; }
.promise li { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 0.8rem 0.95rem; margin: 0; line-height: 1.4; }
.promise li strong { display: block; font-weight: 500; }
.promise li span { color: var(--fg-dim); font-size: 0.92rem; }
.note { border-left: 3px solid var(--sage); padding: 0.6rem 1rem; background: var(--card); border-radius: 0 10px 10px 0; margin: 1.25rem 0; }
.yellow { background: var(--yellow); color: #2a2208; border-radius: 12px; padding: 1.1rem 1.25rem; margin: 1.25rem 0; }
.yellow p { margin-bottom: 0.6rem; } .yellow p:last-child { margin: 0; }
.yellow a { text-decoration-color: rgba(0,0,0,0.4); }
figure { margin: 1.75rem 0; }
figure img { width: 100%; max-width: 560px; height: auto; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 16px; display: block; margin: 0 auto; }
figcaption { color: var(--fg-dim); font-size: 0.9rem; margin-top: 0.6rem; text-align: center; }
.faq dt { font-weight: 500; margin-top: 1rem; }
.faq dd { margin: 0.2rem 0 0; color: var(--fg-mid); }
.faq + p { margin-top: 1.5rem; }
/* The status is its own centred row beneath the hero, on every screen size. */
header.hero .status { grid-column: 1 / -1; text-align: center; margin-top: 1.5rem; }
.status span { display: inline-block; font-size: 0.8rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--sage-deep);
               border: 1px solid var(--sage); border-radius: 999px; padding: 0.3rem 1rem 0.3rem 0.9rem; line-height: 1.5; text-wrap: balance; }
/* A live dot: this pill is the status tracker, so it gets a soft pulse. */
.status span::before { content: ""; display: inline-block; width: 0.5em; height: 0.5em; border-radius: 50%; background: var(--sage);
                       margin-right: 0.55em; vertical-align: 0.05em; animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(145,173,128,0.55); } 60% { box-shadow: 0 0 0 0.45em rgba(145,173,128,0); } }
@media (prefers-reduced-motion: reduce) { .status span::before { animation: none; } }
footer { margin-top: 3.5rem; padding-top: 1.25rem; border-top: 1px solid var(--line); color: var(--fg-dim); font-size: 0.9rem; }
footer p { margin-bottom: 0.4rem; }
nav.crumbs { font-size: 0.9rem; color: var(--fg-dim); margin-bottom: 1.5rem; }
.policy h3 { margin-top: 1.75rem; }
@media (max-width: 480px) {
  .wrap { padding-top: 1.5rem; }
  header.hero { grid-template-columns: 72px 1fr; column-gap: 1rem; margin-bottom: 1.5rem; }
  header.hero img { grid-row: 1; width: 72px; height: 72px; border-radius: 17px; margin-top: 0; }
  h1 { font-size: 2.1rem; align-self: center; }
  header.hero .tagline, header.hero .by, header.hero .status { grid-column: 1 / -1; }
  .tagline { margin-top: 0.9rem; font-size: 1.05rem; }
  header.hero .status { margin-top: 1.25rem; }
  .status span { font-size: 0.75rem; letter-spacing: 0.03em; border-radius: 16px; padding: 0.35rem 1rem; max-width: 17rem; }
  p.lead { font-size: 1.125rem; }
  h2 { font-size: 1.65rem; margin-top: 2.25rem; }
  .promise { gap: 0.5rem; }
  .promise li { padding: 0.6rem 0.7rem; }
  .promise li strong { font-size: 0.92rem; letter-spacing: -0.01em; }
  .promise li span { font-size: 0.85rem; }
  .yellow { padding: 1rem 1.1rem; }
}
