/* Forever Translated website: a parchment page with a gold border on dark leather - the addon panel's look (D-059).
   System fonts only (no external assets, CSP style-src 'self'); no JavaScript anywhere. */
:root {
  --leather: #231910;
  --leather-2: #33251a;
  --parchment: #f4ead3;
  --parchment-2: #ebdcbc;
  --ink: #2e2013;
  --muted: #6a5236;
  --title: #5b3510;
  --gold: #b58a2a;
  --gold-light: #e2c275;
  --link: #8a3b0c;
  --link-hover: #5b2305;
  --serif: "Palatino Linotype", Palatino, "Book Antiqua", Georgia, "Times New Roman", serif;
  --mono: Consolas, "Cascadia Mono", "DejaVu Sans Mono", monospace;
}

*, *::before, *::after { box-sizing: border-box; }

html { background: var(--leather); }

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(ellipse at 50% -10%, rgba(226, 194, 117, 0.12), transparent 60%),
    linear-gradient(180deg, var(--leather-2), var(--leather) 40%);
  color: var(--ink);
  font: 1.09rem/1.65 var(--serif);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

/* Header */
.site-header {
  max-width: 50rem;
  margin: 0 auto;
  padding: 1.1rem 1rem 0.9rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem 1.5rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--gold-light);
  text-decoration: none;
  font-size: 1.35rem;
  font-weight: bold;
  letter-spacing: 0.02em;
  text-shadow: 0 1px 0 #000;
}
.brand img { display: block; }
.site-header nav { display: flex; flex-wrap: wrap; gap: 0.2rem 1.1rem; }
.site-header nav a {
  color: var(--parchment-2);
  text-decoration: none;
  padding: 0.15rem 0;
  border-bottom: 2px solid transparent;
}
.site-header nav a:hover { color: var(--gold-light); }
.site-header nav a[aria-current="page"] { color: var(--gold-light); border-bottom-color: var(--gold); }

/* The page: parchment with a gold double border */
.page {
  max-width: 50rem;
  margin: 0.4rem auto 0;
  padding: 2.4rem 2.6rem 2.2rem;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(255, 255, 255, 0.45), transparent 70%),
    radial-gradient(ellipse at 50% 120%, rgba(150, 110, 50, 0.18), transparent 60%),
    var(--parchment);
  border: 4px double var(--gold);
  border-radius: 6px;
  box-shadow: 0 0 0 1px #0006, 0 12px 40px #0009, inset 0 0 60px rgba(120, 85, 30, 0.18);
}

h1, h2 { color: var(--title); line-height: 1.25; font-weight: bold; }
h1 {
  margin: 0 0 1.1rem;
  font-size: 2rem;
  text-shadow: 0 1px 0 rgba(226, 194, 117, 0.6);
}
h1::after {
  content: "";
  display: block;
  width: 7rem;
  height: 2px;
  margin-top: 0.7rem;
  background: linear-gradient(90deg, var(--gold), rgba(181, 138, 42, 0));
}
h2 { margin: 2rem 0 0.6rem; font-size: 1.3rem; }
p, ul, ol { margin: 0 0 0.95rem; }
ul, ol { padding-left: 1.4rem; }
li { margin-bottom: 0.45rem; }
li::marker { color: var(--gold); }
strong { color: var(--title); }

a { color: var(--link); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: var(--link-hover); }
a:focus-visible, .site-header nav a:focus-visible, .brand:focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: 3px;
  border-radius: 2px;
}

code {
  font-family: var(--mono);
  font-size: 0.88em;
  background: rgba(91, 53, 16, 0.09);
  border: 1px solid rgba(91, 53, 16, 0.15);
  border-radius: 3px;
  padding: 0.05em 0.3em;
  overflow-wrap: anywhere;
}

/* Home */
.hero { margin-bottom: 0.5rem; }
.eyebrow {
  margin: 0 0 0.35rem;
  color: var(--muted);
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.lead { font-size: 1.2rem; color: var(--ink); }
.features { list-style: none; padding-left: 0; }
.features li {
  position: relative;
  padding-left: 1.6rem;
  margin-bottom: 0.8rem;
}
.features li::before {
  content: "";
  position: absolute;
  left: 0.2rem;
  top: 0.55em;
  width: 0.55rem;
  height: 0.55rem;
  background: var(--gold);
  transform: rotate(45deg);
  box-shadow: 0 0 0 2px rgba(181, 138, 42, 0.25);
}

/* Notices */
.note {
  background: var(--parchment-2);
  border-left: 4px solid var(--gold);
  border-radius: 0 4px 4px 0;
  padding: 0.7rem 1rem;
}
.meta { color: var(--muted); font-size: 0.95rem; }

/* Footer */
.site-footer {
  max-width: 50rem;
  margin: 0 auto;
  padding: 1.4rem 1rem 2.4rem;
  color: #bca98a;
  font-size: 0.88rem;
  line-height: 1.5;
}
.site-footer p { margin: 0 0 0.45rem; }
.site-footer a { color: var(--gold-light); }

@media (max-width: 640px) {
  body { font-size: 1.02rem; }
  .page { margin: 0.2rem 0.5rem 0; padding: 1.5rem 1.2rem 1.3rem; border-width: 3px; }
  h1 { font-size: 1.6rem; }
  .lead { font-size: 1.1rem; }
  .brand { font-size: 1.2rem; }
}
