:root {
  --bg: #ffffff;
  --ink: #17181c;
  --muted: #626874;
  --line: #d9dde5;
  --soft: #f5f6f8;
  --accent: #2447a8;
  --accent-dark: #17347d;
  --max: 1040px;
  --text: 720px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(36, 71, 168, .34);
  outline-offset: 3px;
}
.wide { max-width: var(--max); margin: 0 auto; padding: 0 28px; }
.narrow { max-width: var(--text); margin: 0 auto; padding: 0 28px; }
.skip-link {
  position: absolute;
  left: 12px;
  top: -80px;
  z-index: 50;
  background: var(--ink);
  color: #fff;
  padding: 8px 12px;
}
.skip-link:focus { top: 12px; }

header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255,255,255,.97);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(8px);
}
.nav {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.brand {
  font-size: 18px;
  font-weight: 650;
  text-decoration: none;
  white-space: nowrap;
  letter-spacing: -.01em;
}
.brand span { font-weight: 400; color: var(--muted); }
.nav-right { display: flex; align-items: center; gap: 24px; }
.links { display: flex; gap: 20px; flex-wrap: wrap; }
.links a { font-size: 14px; text-decoration: none; color: #363b45; }
.links a:hover { text-decoration: underline; text-underline-offset: 4px; }
.langs { display: flex; gap: 8px; align-items: center; font-size: 13px; }
.lang {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 9px;
  text-decoration: none;
  background: #fff;
}
.lang.active { border-color: var(--ink); font-weight: 650; }

.hero { padding: 54px 0 24px; text-align: center; }
h1, h2, h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -.015em;
}
h1 {
  margin: 0 auto 22px;
  max-width: 860px;
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.14;
}
h2 {
  margin: 0 0 14px;
  font-size: clamp(26px, 3vw, 34px);
  line-height: 1.25;
}
h3 { margin: 0 0 8px; font-size: 22px; line-height: 1.3; }
p { margin: 0; }
p + p { margin-top: 14px; }
.eyebrow {
  margin-bottom: 12px;
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.intro { max-width: 720px; margin: 0 auto 28px; font-size: 19px; color: #343943; }

.starshell {
  max-width: 930px;
  margin: 0 auto;
  border: 1px solid var(--line);
  background: var(--soft);
  border-radius: 8px;
  overflow: hidden;
}
.star-instruction {
  margin: 0 auto 12px;
  font-size: 18px;
  line-height: 1.35;
  font-weight: 700;
  text-align: center;
  color: #177245;
}
.starframe { position: relative; height: min(430px, 54vw); min-height: 300px; background: #eef0f5; }
.starframe iframe { display: block; width: 100%; height: 100%; border: 0; background: #eef0f5; }
.starcaption {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 10px 16px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  text-align: left;
  background: #fff;
}
.starcaption a { color: var(--accent-dark); }

section { padding: 54px 0; border-top: 1px solid var(--line); scroll-margin-top: 74px; }
.soft { background: var(--soft); }
.lead { font-size: 19px; }
.facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin-top: 24px;
  border-top: 1px solid var(--line);
}
.fact { padding: 18px 18px 18px 0; border-bottom: 1px solid var(--line); }
.fact:nth-child(odd) { padding-right: 28px; }
.fact:nth-child(even) { padding-left: 28px; border-left: 1px solid var(--line); }
.fact strong { display: block; margin-bottom: 3px; font-size: 14px; }
.fact span { color: var(--muted); font-size: 15px; }

.products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 24px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.product { padding: 24px 22px; }
.product + .product { border-left: 1px solid var(--line); }
.product p { color: #484e59; font-size: 15px; }
.note { margin-top: 18px; color: var(--muted); font-size: 14px; }
.roles { margin-top: 18px; }
.role { margin: 0 0 7px; font-size: 18px; font-weight: 550; }

.btn {
  display: inline-block;
  margin-top: 24px;
  padding: 11px 20px;
  border: 1px solid var(--ink);
  border-radius: 4px;
  background: var(--ink);
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .015em;
}
.btn:hover { background: #30323a; }
.text-link { color: var(--accent-dark); text-underline-offset: 3px; }

.requirements-callout {
  padding: 28px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  background: #fff;
}
.requirements-callout p { color: #434955; }

.faq-list { margin: 24px 0 0; }
.faq-list div { padding: 18px 0; border-top: 1px solid var(--line); }
.faq-list div:last-child { border-bottom: 1px solid var(--line); }
.faq-list dt { font-weight: 700; }
.faq-list dd { margin: 5px 0 0; color: #444a54; }

.about { display: flex; align-items: flex-start; gap: 22px; margin-top: 22px; }
.about img {
  width: 104px;
  height: 104px;
  object-fit: cover;
  border-radius: 4px;
  filter: grayscale(100%);
  flex: 0 0 auto;
}
.about strong { display: block; }
.about span { display: block; color: var(--muted); font-size: 14px; margin-top: 4px; }

.contact-grid { display: block; }
.contact-grid.form-ready { display: grid; grid-template-columns: .8fr 1.2fr; gap: 50px; align-items: start; }
.contact-copy address { margin-top: 18px; font-style: normal; }
.contact-copy a { color: var(--accent-dark); }
.contact-form-panel[hidden] { display: none; }
form { display: grid; gap: 15px; }
label { display: grid; gap: 5px; font-size: 14px; font-weight: 650; }
input, textarea {
  width: 100%;
  border: 1px solid #bfc4ce;
  border-radius: 4px;
  padding: 10px 11px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 16px;
}
textarea { min-height: 130px; resize: vertical; }
button {
  justify-self: start;
  border: 1px solid var(--ink);
  border-radius: 4px;
  padding: 11px 20px;
  background: var(--ink);
  color: #fff;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}
.hp-field { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.form-note { color: var(--muted); font-size: 13px; }

.article-hero { padding: 54px 0 34px; }
.article-hero h1 { margin-left: 0; max-width: 760px; text-align: left; }
.article-hero .intro { margin-left: 0; margin-bottom: 0; }
.article-body { padding-top: 42px; }
.article-body h2 { margin-top: 44px; }
.article-body h2:first-child { margin-top: 0; }
.article-body h3 { margin-top: 28px; }
.article-body ul { padding-left: 22px; }
.article-body li + li { margin-top: 8px; }
.legal-table { width: 100%; border-collapse: collapse; margin: 20px 0 28px; font-size: 15px; }
.legal-table th, .legal-table td { padding: 12px 10px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.legal-table th { background: var(--soft); }
pre {
  overflow-x: auto;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: #f7f8fa;
  font-size: 13px;
  line-height: 1.5;
  white-space: pre-wrap;
  word-break: break-word;
}

footer { padding: 26px 0 40px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
footer p + p { margin-top: 5px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 8px; }
.footer-links a { color: var(--accent-dark); text-underline-offset: 3px; }

@media (max-width: 820px) {
  .nav { align-items: flex-start; padding-top: 13px; padding-bottom: 13px; }
  .nav-right { flex-direction: column-reverse; align-items: flex-end; gap: 9px; }
  .links { gap: 12px; justify-content: flex-end; }
  .products { grid-template-columns: 1fr; }
  .product + .product { border-left: 0; border-top: 1px solid var(--line); }
  .contact-grid.form-ready { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .wide, .narrow { padding-left: 20px; padding-right: 20px; }
  header { position: static; }
  .nav { display: block; }
  .nav-right { align-items: flex-start; margin-top: 10px; }
  .links { gap: 10px 15px; justify-content: flex-start; }
  .hero { padding-top: 38px; }
  .starframe { height: 460px; min-height: 0; }
  .starcaption { display: block; }
  .starcaption a { display: inline-block; margin-top: 5px; }
  section { padding: 42px 0; }
  .facts { grid-template-columns: 1fr; }
  .fact:nth-child(odd), .fact:nth-child(even) { padding: 15px 0; border-left: 0; }
  .about { display: block; }
  .about img { margin-bottom: 14px; }
  .legal-table { display: block; overflow-x: auto; }
}
