:root{
  color-scheme: light;
  --paper: #f5eddd;
  --ink: #302923;
  --red: #77131e;
  --gold: #a77730;
}
*{ box-sizing: border-box; }
body{
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background: var(--paper) url('../images/roman-legion/background.png.webp') center top / cover no-repeat;
  font-family: Georgia, 'Times New Roman', serif;
  line-height: 1.5;
}
a{ color: inherit; text-decoration: none; }
a:focus-visible{ outline: 3px solid #236a98; outline-offset: 5px; }
.skip-link{ position: absolute; left: 16px; top: -100px; padding: 12px 20px; background: white; z-index: 5; }
.skip-link:focus{ top: 12px; }
.roman-header{
  max-width: 1320px;
  margin: 0 auto;
  padding: 20px 0 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  border-bottom: 1px solid var(--gold);
  font-size: 19px;
  color: #75501f;
}
.back-link{ color: var(--red); }
.back-link span{ margin-left: 8px; }
.studio-link:hover, .back-link:hover, .roman-footer a:hover{ text-decoration: underline; text-underline-offset: 4px; }
.roman-seal{
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 9px;
  padding: 7px 16px;
  border-left: 3px double var(--gold);
  border-right: 3px double var(--gold);
  border-radius: 50%;
  background: var(--paper);
  letter-spacing: .16em;
  color: #906020;
}
main{ width: min(100% - 40px, 1060px); margin: 42px auto 30px; text-align: center; }
.eyebrow{ margin: 0 0 0; color: #80531d; font-size: 18px; letter-spacing: .23em; text-transform: uppercase; }
h1{ color: #700f18; font-weight: 500; font-size: clamp(42px, 6.5vw, 94px); line-height: 1.08; margin: 0; letter-spacing: -.035em; }
.ornament{ display: flex; align-items: center; gap: 20px; width: min(100%, 530px); margin: 3px auto 9px; color: var(--gold); }
.ornament::before, .ornament::after{ content: ''; height: 1px; flex: 1; background: var(--gold); }
.ornament span{ font-size: 32px; line-height: 1.1; }
.lead{ font-size: clamp(19px, 2vw, 25px); margin: 8px auto 22px; }
.versions{ display: grid; grid-template-columns: 1fr 1fr; gap: 28px; max-width: 840px; margin: 0 auto; }
.version-card{ min-width: 0; padding: 24px 26px 17px; border: 1.5px solid var(--gold); border-radius: 14px; background: #fffaf0c9; box-shadow: 0 10px 25px #70532912; }
.coin{
  width: 134px; height: 134px; margin: 0 auto 8px;
  display: grid; place-items: center; border-radius: 50%;
  background: radial-gradient(circle at 35% 25%, #c65036, #811b1b 70%);
  border: 4px solid #cc963f;
  box-shadow: inset 0 0 0 2px #f5d899, inset 0 0 0 7px #7f471e, inset 0 0 0 9px #d9a656, 0 5px 0 #684422, 0 10px 14px #4c311a33;
}
.coin svg{ width: 68%; height: 68%; fill: #f2cc7d; filter: drop-shadow(0 2px 1px #49251c); }
.coin-blue{ border-color: #7294a1; background: radial-gradient(circle at 35% 25%, #d0e4e9, #81a6b8 75%); box-shadow: inset 0 0 0 2px #ecf2ee, inset 0 0 0 7px #446272, inset 0 0 0 9px #b6ced4, 0 5px 0 #3a5262, 0 10px 14px #4c311a33; }
.coin-blue svg{ fill: #25495e; filter: drop-shadow(0 1px 1px #ecf5f5); }
h2{ font-size: 36px; font-weight: 500; line-height: 1.2; color: var(--red); margin: 16px 0 14px; }
.button{ display: flex; align-items: center; justify-content: center; gap: 16px; min-height: 54px; padding: 10px 20px; background: linear-gradient(#92212e, #70151d); color: #fff9eb; border: 1px solid #65111b; border-radius: 7px; box-shadow: 0 5px 12px #711b1710; font-size: 21px; text-transform: uppercase; transition: background .15s ease, box-shadow .15s ease; }
.button:hover{ background: #63131b; box-shadow: 0 5px 16px #711b1730; }
.version-url{ font-size: 14px; margin: 10px 0 0; overflow-wrap: anywhere; }
.rules-note{ font-size: 20px; line-height: 1.4; margin: 22px auto; max-width: 880px; }
.feedback h2{ font-size: 42px; margin: 12px 0 8px; }
.feedback > p{ max-width: 930px; font-size: 20px; line-height: 1.4; margin: 0 auto 16px; }
.feedback-button{ width: fit-content; min-width: 420px; max-width: 100%; margin: 0 auto; }
.feedback .mail-note{ font-size: 13px; margin: 8px auto 0; color: #6b5844; font-family: Arial, sans-serif; }
.roman-footer{ max-width: 1320px; border-top: 1px solid var(--gold); margin: 0 auto; padding: 12px 20px 18px; text-align: center; font-size: 14px; color: #71543a; }
.roman-footer span{ margin: 0 5px; }
@media(max-width: 1400px){ .roman-header, .roman-footer{ margin-left: 6%; margin-right: 6%; } }
@media(max-width: 620px){
  body{ background-size: auto 100%; }
  .roman-header{ margin: 0 20px; padding: 16px 0; font-size: 14px; gap: 16px; }
  .roman-seal{ display: none; }
  main{ margin-top: 30px; }
  .eyebrow{ font-size: 13px; letter-spacing: .2em; margin-bottom: 7px; }
  h1{ font-size: clamp(36px, 9vw, 55px); }
  .lead{ font-size: 20px; line-height: 1.4; }
  .versions{ grid-template-columns: 1fr; gap: 20px; max-width: 390px; }
  .version-card{ padding: 22px 20px 18px; }
  .coin{ width: 112px; height: 112px; }
  h2{ font-size: 32px; }
  .rules-note, .feedback > p{ font-size: 18px; }
  .feedback h2{ font-size: 32px; }
  .feedback-button{ min-width: 0; width: 100%; font-size: 18px; padding: 12px; }
  .desktop-break{ display: none; }
  .roman-footer{ margin: 0 20px; font-size: 12px; padding-inline: 0; }
}
