/* Shared styles for the mailing-list pages: /join, /confirm, /unsubscribe, /privacy.
   Colors and type match the rest of the site (see blades-explained.html). */
@font-face {
  font-family: 'Aurebesh';
  src: url('/fonts/Aurebesh-English.ttf') format('truetype');
  font-weight: normal; font-style: normal;
  font-display: swap;
}
:root {
  --bg:            #0a0604;
  --bg-stage:      #1a130b;
  --bg-card:       rgba(40,28,16,0.7);
  --text:          #e8dcc8;
  --text-soft:     rgba(200,180,150,0.85);
  --text-dim:      rgba(200,170,120,0.5);
  --amber:         #c8a040;
  --amber-bright:  #f6e3b0;
  --amber-soft:    #d4c4a0;
  --amber-line:    rgba(160,128,64,0.35);
  --amber-line-sm: rgba(160,128,64,0.2);
  --warn:          #e9967a;
}
* { box-sizing: border-box; }
html, body {
  margin: 0; padding: 0;
  background: var(--bg); color: var(--text);
  font-family: 'Georgia', serif; line-height: 1.7; font-size: 17px;
}
a { color: var(--amber); text-decoration: none; border-bottom: 1px solid var(--amber-line); }
a:hover { color: var(--amber-bright); border-bottom-color: var(--amber); }
.top-bar { border-bottom: 1px solid var(--amber-line-sm); padding: 14px 24px; background: var(--bg-stage); }
.top-bar-inner { max-width: 900px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; font-size: 14px; }
.top-bar a { border-bottom: none; color: var(--amber-soft); }
.top-bar a:hover { color: var(--amber-bright); }
.top-bar .brand { font-family: 'Aurebesh', monospace; letter-spacing: 3px; color: var(--amber); }
.page { max-width: 560px; margin: 0 auto; padding: 48px 24px 20px; }
.page.wide { max-width: 720px; }
h1 { font-family: 'Aurebesh', monospace; font-size: 28px; color: var(--amber); font-weight: normal; letter-spacing: 3px; margin: 0 0 8px; line-height: 1.3; }
h2 { font-family: 'Aurebesh', monospace; font-size: 19px; color: var(--amber); font-weight: normal; letter-spacing: 3px; margin: 40px 0 12px; border-bottom: 1px solid var(--amber-line-sm); padding-bottom: 6px; }
p { margin: 0 0 16px; }
ul { padding-left: 22px; }
li { margin-bottom: 8px; }
.subhead { font-style: italic; color: var(--amber-soft); font-size: 18px; margin-bottom: 28px; }
label { display: block; margin: 20px 0 6px; font-size: 16px; }
.optional { color: var(--text-dim); font-size: 14px; }
input[type=email], input[type=text] {
  width: 100%; padding: 12px 14px; font: inherit; color: var(--text);
  background: var(--bg-stage); border: 1px solid var(--amber-line); border-radius: 4px;
}
input[type=email]:focus, input[type=text]:focus { outline: 2px solid var(--amber); outline-offset: 1px; }
input[type=checkbox] { width: 18px; height: 18px; margin: 5px 0 0; accent-color: var(--amber); flex: none; }
.check { display: flex; gap: 12px; align-items: flex-start; margin: 8px 0; }
.check label { margin: 0; }
.consent { margin-top: 26px; padding: 14px 16px; border: 1px solid var(--amber-line); background: var(--bg-card); border-radius: 4px; }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
button {
  display: block; width: 100%; margin-top: 24px; padding: 14px 20px; font: inherit; font-weight: bold;
  color: var(--bg); background: var(--amber); border: 1px solid var(--amber); border-radius: 4px; cursor: pointer;
}
button:hover { background: var(--amber-bright); }
button:disabled { opacity: 0.6; cursor: default; }
button.quiet { background: transparent; color: var(--amber-soft); border-color: var(--amber-line); font-weight: normal; margin-top: 12px; }
button.quiet:hover { color: var(--amber-bright); border-color: var(--amber); background: transparent; }
.msg { margin-top: 18px; padding: 12px 16px; border-radius: 4px; border: 1px solid var(--amber-line); background: var(--bg-card); }
.msg.error { border-color: var(--warn); color: var(--warn); }
.hint { margin-top: 8px; font-size: 15px; color: var(--amber-soft); }
.hint button { display: inline; width: auto; margin: 0 0 0 6px; padding: 2px 10px; font-size: 14px; font-weight: normal; color: var(--amber-bright); background: transparent; border-color: var(--amber-line); }
.hint button:hover { background: transparent; border-color: var(--amber); }
.fine { font-size: 14px; color: var(--text-soft); margin-top: 26px; }
[hidden] { display: none !important; }
footer { max-width: 800px; margin: 50px auto 0; padding: 28px 24px 40px; text-align: center; font-size: 12px; color: var(--text-dim); border-top: 1px solid var(--amber-line-sm); }
footer .aure { font-family: 'Aurebesh', monospace; letter-spacing: 4px; font-size: 10px; color: rgba(160,128,64,0.4); display: block; margin-bottom: 6px; }
footer a { color: rgba(160,128,64,0.5); border-bottom-color: rgba(160,128,64,0.2); }
.ip-disclaimer { margin-top: 14px; font-size: 10px; color: rgba(200,170,120,0.35); line-height: 1.5; font-style: italic; }
