/* Daily Brief public site. Sunrise coral on deep navy, same brand as the
   Marketplace listing images, so the pages a reviewer opens from the listing
   look like they belong to the same product. */

:root {
  --navy: #16244e;
  --navy-2: #1d2f63;
  --coral: #ff6b4a;
  --cream: #fff7f2;
  --ink: #1c2b4a;
  --muted: #5b6b8c;
  --line: #e8ecf5;
  --max: 760px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  color: var(--ink);
  line-height: 1.65;
  background: #fff;
}

header.top {
  background: linear-gradient(180deg, var(--navy-2), var(--navy));
  color: #fff;
  padding: 28px 20px;
}

header.top .inner,
main,
footer .inner {
  max-width: var(--max);
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #fff;
  font-weight: 800;
  font-size: 20px;
}

.mark {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--navy);
  border: 1px solid rgba(255, 255, 255, 0.15);
  position: relative;
  flex: none;
}

.mark::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 47%;
  width: 16px;
  height: 16px;
  margin: -8px 0 0 -8px;
  border-radius: 50%;
  background: var(--coral);
}

.mark::after {
  content: "";
  position: absolute;
  left: 17%;
  right: 17%;
  top: 56%;
  height: 2px;
  background: var(--cream);
}

nav.links {
  margin-top: 18px;
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 15px;
}

nav.links a { color: #b9c3de; text-decoration: none; }
nav.links a:hover { color: #fff; }

main { padding: 34px 20px 60px; }

h1 { font-size: 32px; line-height: 1.25; margin: 0 0 6px; }
h2 { font-size: 21px; margin: 34px 0 10px; }
h3 { font-size: 17px; margin: 24px 0 6px; }

.updated { color: var(--muted); font-size: 14px; margin: 0 0 24px; }

a { color: #c04a2c; }

ul { padding-left: 20px; }
li { margin: 6px 0; }

.callout {
  background: #fff3ee;
  border-left: 4px solid var(--coral);
  padding: 14px 18px;
  border-radius: 6px;
  margin: 22px 0;
}

.callout strong { color: #a33f22; }

table {
  border-collapse: collapse;
  width: 100%;
  margin: 16px 0;
  font-size: 15px;
}

th, td {
  border: 1px solid var(--line);
  padding: 9px 12px;
  text-align: left;
  vertical-align: top;
}

th { background: #f7f9fc; }

.wrap-scroll { overflow-x: auto; }

footer {
  border-top: 1px solid var(--line);
  padding: 24px 20px 40px;
  color: var(--muted);
  font-size: 14px;
}

footer a { color: var(--muted); }

code {
  background: #f2f5fa;
  padding: 1px 5px;
  border-radius: 4px;
  font-size: 14px;
}

.hero-sub { font-size: 18px; color: #b9c3de; margin: 10px 0 0; }

.cta {
  display: inline-block;
  margin-top: 18px;
  background: var(--coral);
  color: #fff;
  padding: 11px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
}

.grid { display: grid; gap: 18px; grid-template-columns: 1fr; margin-top: 8px; }
@media (min-width: 640px) { .grid { grid-template-columns: 1fr 1fr; } }

.card {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 16px 18px;
}

.card h3 { margin-top: 0; }
