/* YARC static pages (guide, privacy, cookies): same look as the app's front page. */
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  background-color: #0b0b0b;
  background-image:
    linear-gradient(rgba(255, 135, 0, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 135, 0, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  color: #d1d5db;
  padding: 24px 16px 40px;
  font-size: 16px;
  line-height: 1.7;
}
.container { max-width: 760px; margin: 0 auto; }

/* Logo block, as in the app header */
.brand { text-align: center; margin-bottom: 28px; }
.brand .stripe { display: flex; align-items: center; justify-content: center; gap: 8px; margin-bottom: 12px; }
.brand .stripe span { height: 2px; width: 72px; border-radius: 2px; }
.brand .stripe span:first-child { background: linear-gradient(to right, transparent, #FF8700); }
.brand .stripe span:last-child { background: linear-gradient(to left, transparent, #FF8700); }
.brand .stripe i { width: 7px; height: 7px; border-radius: 50%; background: #FF8700; box-shadow: 0 0 10px rgba(255, 135, 0, 0.7); }
.brand .label { font-size: 0.6rem; font-weight: 700; letter-spacing: 0.2em; color: #FF8700; text-transform: uppercase; margin-bottom: 10px; }
.brand .logo { display: inline-block; font-size: 3.5rem; font-weight: 800; letter-spacing: -0.02em; line-height: 1; color: #fff; text-decoration: none; margin-bottom: 10px; }
.brand .logo:hover { color: #fff; }
.brand .bar { width: 52px; height: 3px; background: #FF8700; border-radius: 2px; margin: 0 auto; box-shadow: 0 0 12px rgba(255, 135, 0, 0.5); }

/* Content card, as the app's panels */
.card {
  background: rgba(31, 41, 55, 0.5);
  border: 1px solid rgba(255, 135, 0, 0.2);
  border-radius: 8px;
  padding: 24px;
  margin: 16px 0;
}
h1 { font-size: 1.6rem; color: #FF8700; line-height: 1.3; margin-bottom: 8px; }
h2 { font-size: 1.2rem; color: #FF8700; margin: 32px 0 12px; }
h3 { font-size: 1.05rem; color: #f3f4f6; margin: 20px 0 6px; }
.card > h2:first-child, .card > div > h1:first-child { margin-top: 0; }
p { margin-bottom: 12px; }
ul, ol { padding-left: 22px; margin-bottom: 12px; }
li { margin-bottom: 6px; }
ul ul { margin-top: 6px; }
strong { color: #f3f4f6; }
em { color: #9ca3af; }
a { color: #FF8700; }
a:hover { color: #ffb15c; }
code { background: #1f2937; padding: 2px 6px; border-radius: 4px; font-size: 0.85rem; color: #fdba74; }
.lead { color: #9ca3af; margin-bottom: 20px; }
.updated { font-size: 0.85rem; color: #6b7280; margin-bottom: 24px; }

/* Tables scroll inside themselves on a phone, never the page */
.table-wrap { overflow-x: auto; margin: 12px 0 20px; }
table { width: 100%; border-collapse: collapse; margin: 12px 0 20px; }
.table-wrap table { margin: 0; }
th, td { text-align: left; padding: 8px 10px; border: 1px solid #374151; font-size: 0.9rem; vertical-align: top; }
th { background: #1f2937; color: #9ca3af; font-weight: 600; }

/* Orange buttons, as Save Copy in the app */
.cta, .back-link {
  display: inline-block; margin: 8px 0 4px; padding: 12px 28px;
  background: #FF8700; color: #0b0b0b; text-decoration: none; border-radius: 8px; font-weight: 700;
}
.cta:hover, .back-link:hover { color: #0b0b0b; opacity: 0.9; }
.footer { margin-top: 32px; font-size: 0.85rem; color: #6b7280; text-align: center; }
.footer a { color: #9ca3af; }

@media (max-width: 480px) {
  .card { padding: 18px 16px; }
  .brand .logo { font-size: 2.8rem; }
}

/* Fields as in the in-app Help Guide */
.why { background: linear-gradient(135deg, rgba(255, 135, 0, 0.10), rgba(255, 135, 0, 0.05)); border: 1px solid rgba(255, 135, 0, 0.3); border-radius: 8px; padding: 16px 18px; margin: 20px 0; }
.why h2, .step h2, .field h2 { margin: 0 0 8px; font-size: 1.05rem; }
.why p:last-child, .step ul:last-child, .field ul:last-child { margin-bottom: 0; }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 20px 0; }
.field { border-radius: 8px; padding: 14px 16px; }
.field ul { list-style: none; padding-left: 0; }
.field li { padding-left: 1.4em; text-indent: -1.4em; }
.field .tag { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 8px; }
.field.do { background: rgba(20, 83, 45, 0.2); border: 1px solid rgba(34, 197, 94, 0.3); }
.field.do .tag, .field.do li::before { color: #4ade80; }
.field.do li::before { content: '\2713\00a0\00a0'; }
.field.dont { background: rgba(127, 29, 29, 0.2); border: 1px solid rgba(239, 68, 68, 0.3); }
.field.dont .tag, .field.dont li::before { color: #f87171; }
.field.dont li::before { content: '\2717\00a0\00a0'; }
.field.free { background: #0F172A; border: 1px solid rgba(255, 135, 0, 0.3); }
.field.free .tag { color: #9ca3af; }
.field.pro { background: linear-gradient(135deg, rgba(255, 135, 0, 0.10), rgba(255, 135, 0, 0.05)); border: 1px solid rgba(255, 135, 0, 0.5); }
.field.pro .tag { color: #FF8700; }
.field.free li::before, .field.pro li::before { content: '\2022\00a0\00a0'; color: #FF8700; }
.step { background: #0F172A; border: 1px solid rgba(255, 135, 0, 0.3); border-radius: 8px; padding: 16px 18px; margin: 12px 0; }
.step ul { padding-left: 20px; }
@media (max-width: 600px) { .pair { grid-template-columns: 1fr; } }

/* Centered short pages: thank-you and 404 */
.short { max-width: 560px; text-align: center; }
.short .card { text-align: left; }
.leds { display: flex; justify-content: center; gap: 6px; margin: 4px 0 18px; }
.leds b { width: 10px; height: 10px; border-radius: 2px; background: #1f2937; border: 1px solid #374151; animation: blink 1.4s infinite; }
.leds b:nth-child(2n) { animation-delay: 0.35s; }
.leds b:nth-child(3n) { animation-delay: 0.7s; }
.leds b:nth-child(5n) { animation-delay: 1.05s; }
@keyframes blink { 0%, 60%, 100% { background: #1f2937; box-shadow: none; } 20% { background: #4ade80; box-shadow: 0 0 8px rgba(74, 222, 128, 0.7); } 40% { background: #FF8700; box-shadow: 0 0 8px rgba(255, 135, 0, 0.7); } }
@media (prefers-reduced-motion: reduce) { .leds b { animation: none; } }
.minion-log { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 0.85rem; color: #9ca3af; }
.minion-log li { list-style: none; margin-bottom: 4px; }
.minion-log span { color: #FF8700; }
