/* Light Language — shared stylesheet
   Palette: dawn ivory background, plum-grey text, soft gold accent,
   muted grey for the Grey-Light Language caution notes.
   Fonts: system-native only, no external font loading. */

:root{
  --bg: #FFFFFF;
  --bg-panel: #F4F8F9;
  --text: #2E2A38;
  --text-soft: #5B5568;
  --accent: #2F6FA8;
  --accent-soft: #D7E6F2;
  --accent-green: #2E8B74;
  --line: #E3ECEF;
  --safety-bg: #FFF8DE;
  --safety-border: #D6A72A;
  --grey-bg: #ECEAE4;
  --grey-border: #9A958E;
  --grey-text: #4B4740;
  --max: 760px;
}

*{ box-sizing: border-box; }

html{ scroll-behavior: smooth; }

body{
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.65;
  font-size: 17px;
}

img{ max-width: 100%; display:block; }

h1, h2, h3{
  font-family: Georgia, "Times New Roman", Times, serif;
  font-weight: 600;
  color: var(--text);
  line-height: 1.2;
  letter-spacing: 0.01em;
}

h1{ font-size: 2.6rem; }
h2{ font-size: 1.7rem; margin-top: 2.4rem; }
h3{ font-size: 1.25rem; font-style: italic; font-weight: 500; color: var(--accent); margin-bottom: 0.4rem;}

p{ margin: 0 0 1rem; }

a{ color: var(--accent); text-decoration: none; border-bottom: 1px solid var(--accent-soft); }
a:hover{ border-bottom-color: var(--accent); }

.wrap{
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* header / nav */
header.site{
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, var(--bg-panel), var(--bg));
}
header.site .wrap{
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding-top: 1.4rem;
  padding-bottom: 1.4rem;
}
.brand{
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text);
  border-bottom: none;
  display:flex;
  align-items:center;
  gap:0.5rem;
}
.brand .mark{
  width: 20px; height: 20px;
  flex: none;
}
nav.mainnav{
  display: flex;
  gap: 1.4rem;
  flex-wrap: wrap;
  font-size: 0.95rem;
}
nav.mainnav a{
  color: var(--text-soft);
  border-bottom: 1px solid transparent;
}
nav.mainnav a:hover, nav.mainnav a[aria-current="page"]{
  color: var(--accent);
  border-bottom-color: var(--accent);
}

/* hero */
.hero{
  padding: 3rem 0 1.5rem;
  text-align: left;
}
.hero .kicker{
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
  color: var(--accent);
  margin-bottom: 0.6rem;
  display:block;
}
.hero p.lede{
  font-size: 1.15rem;
  color: var(--text-soft);
  max-width: 58ch;
}

main{
  padding-bottom: 3rem;
}

section{ margin-top: 1.5rem; }

ul, ol{ padding-left: 1.3rem; }
li{ margin-bottom: 0.5rem; }

/* notice boxes */
.notice{
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  background: var(--bg-panel);
  border-radius: 4px;
  padding: 1rem 1.2rem;
  margin: 1.6rem 0;
}
.notice h3{ margin-top:0; }

.notice.safety{
  background: var(--safety-bg);
  border-left-color: var(--safety-border);
}
.notice.safety h3{ color: var(--safety-border); }

.notice.grey{
  background: var(--grey-bg);
  border-left-color: var(--grey-border);
  color: var(--grey-text);
}
.notice.grey h3{ color: var(--grey-text); font-style: normal; font-weight: 600; }

.notice p:last-child{ margin-bottom: 0; }

.uncertain{
  background: #F1F1F1;
  border: 1px dashed #B7B2A8;
  padding: 0.05rem 0.4rem;
  border-radius: 3px;
  font-style: italic;
}

/* video embeds */
.video{
  margin: 1.6rem 0 2.2rem;
}
.video .frame{
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 6px;
  border: 1px solid var(--line);
  background: #000;
}
.video .frame iframe{
  position: absolute;
  top:0; left:0;
  width: 100%; height: 100%;
  border: 0;
}
.video figcaption{
  margin-top: 0.6rem;
  font-size: 0.92rem;
  color: var(--text-soft);
}
.video figcaption .creator{
  color: var(--text);
  font-weight: 500;
}

/* cards / links grid */
.grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 1.4rem;
}
.card{
  border: 1px solid var(--line);
  border-top: 3px solid var(--accent-green);
  background: var(--bg-panel);
  border-radius: 6px;
  padding: 1.1rem 1.2rem;
}
.card a{ border-bottom: none; }
.card h3{ margin-top: 0; }
.card p{ color: var(--text-soft); font-size: 0.95rem; margin-bottom: 0.6rem; }

/* footer */
footer.site{
  border-top: 1px solid var(--line);
  padding: 2rem 0;
  color: var(--text-soft);
  font-size: 0.85rem;
}
footer.site .wrap{ display:flex; flex-direction:column; gap:0.5rem; }
footer.site a{ color: var(--text-soft); }

nav.footernav{
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  padding: 0.5rem 0 1.4rem;
  border-bottom: 1px solid var(--line);
  margin-bottom: 1.4rem;
  font-size: 0.95rem;
}
nav.footernav a{
  color: var(--accent);
  border-bottom: 1px solid transparent;
}
nav.footernav a:hover{ border-bottom-color: var(--accent); }

.otherlinks{
  padding-top: 0.4rem;
}
.otherlinks h3{
  font-style: normal;
  font-weight: 600;
  color: var(--text);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0 0 0.5rem;
}
.otherlinks ul{
  list-style: none;
  padding-left: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.2rem;
}
.otherlinks li{ margin: 0; }
.otherlinks a{ color: var(--accent-green); }

@media (max-width: 560px){
  h1{ font-size: 2.1rem; }
  body{ font-size: 16px; }
}
