/* Age of Discipline: the app's own world. Dark keep, parchment, campaign gold. */
.aod {
  --bg: #15110d; --panel: #1f1912; --panel-border: #4a3d2c; --rule: #2a2217;
  --parch: #e9dcbb; --muted: #b8a67e; --dim: #9a8a69;
  --gold: #c9a24c; --gold-hover: #e3c372; --crimson: #d4606d; --green: #9fc07a;
  margin: 0;
  background: var(--bg);
  color: var(--parch);
  font: 400 20px/1.55 "Crimson Pro", Georgia, serif;
}
.aod ::selection { background: var(--gold); color: var(--bg); }
.aod :focus-visible { outline: 2px solid var(--gold-hover); outline-offset: 3px; }
.aod main a { color: var(--gold-hover); text-underline-offset: 0.18em; }
.aod main .wrap { max-width: 1200px; margin: 0 auto; padding-inline: clamp(16px, 4vw, 48px); }
.aod main :is(h1, h2, h3) { font-family: "Cinzel", Georgia, serif; font-weight: 700; letter-spacing: 0.01em; line-height: 1.08; text-wrap: balance; }

/* Hero: the war room at night. */
.aod-hero {
  background: radial-gradient(70% 60% at 30% 0%, #3a2c18 0%, transparent 70%), var(--bg);
  padding-block: clamp(48px, 8vw, 104px) clamp(56px, 8vw, 96px);
  overflow: hidden;
}
.aod-hero .wrap { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.aod-hero .tower { width: 64px; height: 64px; border-radius: 14px; box-shadow: 0 0 0 1px var(--panel-border); }
.aod-hero h1 { margin-top: 28px; font-size: clamp(46px, 6.4vw, 92px); color: var(--parch); }
.aod-hero .motto { margin-top: 18px; font: 700 clamp(22px, 2.4vw, 30px)/1.2 "Cinzel", serif; color: var(--gold); }
.aod-hero .lede { margin-top: 18px; max-width: 34ch; font-size: clamp(21px, 1.8vw, 24px); color: var(--parch); }
.aod-hero .lede em { color: var(--muted); }
.aod-hero .rule { width: 72px; height: 2px; background: var(--gold); margin-top: 32px; opacity: 0.8; }

.get { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; align-items: stretch; }
.btn {
  display: inline-flex; align-items: center; gap: 12px; min-height: 56px; padding: 10px 22px;
  font: 700 17px/1.1 "Cinzel", serif; letter-spacing: 0.02em; text-decoration: none; border-radius: 6px;
}
.aod a.btn--primary { background: var(--parch); color: #1a140f; }
.aod a.btn--primary:hover { background: #f6ecd2; }
.btn--soon { border: 1px solid var(--panel-border); color: var(--muted); background: rgb(31 25 18 / 0.7); }
.btn small { display: block; font: 400 14px/1.2 "Crimson Pro", serif; letter-spacing: 0; color: var(--dim); margin-top: 2px; }
.get-note { margin-top: 14px; font-size: 17px; color: var(--muted); }

.phone { justify-self: center; width: min(100%, 380px); }
.phone img { width: 100%; height: auto; border-radius: 28px; box-shadow: 0 0 0 1px var(--panel-border), 0 40px 80px -30px rgb(0 0 0 / 0.9); }

/* The ledger of disciplines: text and the matching screen, alternating. */
.ledger { border-top: 1px solid var(--rule); }
.ledger-intro { padding-block: clamp(56px, 8vw, 96px) 24px; max-width: 760px; }
.ledger-intro h2 { font-size: clamp(32px, 3.6vw, 48px); }
.ledger-intro p { margin-top: 18px; color: var(--muted); font-size: 21px; }
.ledger-intro p strong { color: var(--parch); font-weight: 600; }

.front { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(28px, 6vw, 96px); align-items: center;
  padding-block: clamp(28px, 4vw, 48px); border-bottom: 1px solid var(--rule); }
.front:nth-child(even) .front-text { order: 2; }
.front h3 { font-size: clamp(26px, 2.6vw, 36px); color: var(--parch); }
.front p { margin-top: 14px; max-width: 46ch; color: var(--muted); font-size: 20px; }
.front figure { justify-self: center; width: min(100%, 280px); }
.front img { width: 100%; height: auto; border-radius: 22px; box-shadow: 0 0 0 1px var(--panel-border), 0 30px 60px -28px rgb(0 0 0 / 0.9); }

/* The terms of service, said plainly, on parchment. */
.charter { padding-block: clamp(56px, 8vw, 96px); }
.charter .sheet {
  background: var(--parch); color: #2a2017; border: 1px solid #8a7249; border-radius: 6px;
  padding: clamp(28px, 5vw, 56px); display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(24px, 4vw, 56px);
}
.charter h2 { font-size: clamp(30px, 3.4vw, 44px); color: #2a2017; }
.charter p { font-size: 20px; color: #5c4b36; }
.charter p + p { margin-top: 12px; }
.charter strong { color: #2a2017; }
.charter ul { margin-top: 18px; display: grid; gap: 10px; }
.charter li a { color: #7f2733; font-weight: 600; }
.charter li a:hover { color: #2a2017; }
.aod .charter :focus-visible { outline-color: #7f2733; }

.screens { padding-block: clamp(48px, 7vw, 80px); }
.screens h2 { font-size: clamp(26px, 2.6vw, 34px); margin-bottom: 24px; }
.pair { display: grid; grid-template-columns: repeat(2, minmax(0, 280px)); gap: clamp(20px, 4vw, 56px); }
.pair img { width: 100%; height: auto; border-radius: 20px; box-shadow: 0 0 0 1px var(--panel-border), 0 30px 60px -28px rgb(0 0 0 / 0.9); }
.pair figcaption { margin-top: 14px; font-size: 18px; color: var(--muted); }

@media (max-width: 860px) {
  .aod-hero .wrap, .front, .charter .sheet { grid-template-columns: minmax(0, 1fr); }
  .front:nth-child(even) .front-text { order: 0; }
  .phone { width: min(80%, 340px); }
  .front figure { width: min(72%, 300px); }
}
@media (max-width: 520px) {
  .btn { width: 100%; }
  .aod { font-size: 19px; }
}
