/* Morning Star 0 Limited — site styles
   Palette: navy shell, warm gold accent, editorial serif display.
   No external fonts or CSS frameworks: the page renders offline and fast. */

:root {
  --navy: #081524;
  --navy-soft: #0e2036;
  --ink: #101820;
  --muted: #5b6773;
  --line: #e2e6eb;
  --paper: #ffffff;
  --paper-alt: #f6f7f9;
  --gold: #b3862f;
  --gold-soft: #d8b166;
  --ok: #2f7d5a;
  --warn: #b3862f;
  --radius: 14px;
  --shadow: 0 18px 40px -24px rgba(8, 21, 36, .45);
  --wrap: 1120px;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.14;
  letter-spacing: -0.01em;
  margin: 0 0 .6em;
}

h1 { font-size: clamp(2.1rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); }
h3 { font-size: 1.18rem; font-family: var(--sans); font-weight: 650; letter-spacing: -0.005em; }

p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; }

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--navy); color: #fff; padding: 12px 18px; z-index: 100;
}
.skip:focus { left: 12px; top: 12px; }

/* ---------- header ---------- */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, background .25s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }

.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 72px; gap: 20px;
}

.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name {
  font-family: var(--serif); font-size: 1.12rem; letter-spacing: .01em; color: var(--navy);
}
.brand-sub {
  font-size: .64rem; letter-spacing: .22em; text-transform: uppercase; color: var(--muted);
}

.nav { display: flex; align-items: center; gap: 30px; }
.nav a {
  text-decoration: none; font-size: .94rem; color: #26313c;
  padding: 6px 0; border-bottom: 1px solid transparent;
  transition: color .2s ease, border-color .2s ease;
}
.nav a:hover { color: var(--navy); border-bottom-color: var(--gold); }

.nav-cta {
  border: 1px solid var(--navy); border-radius: 999px;
  padding: 9px 20px !important; color: var(--navy);
}
.nav-cta:hover { background: var(--navy); color: #fff; border-bottom-color: var(--navy); }

.nav-toggle {
  display: none; width: 44px; height: 44px; border: 1px solid var(--line);
  border-radius: 10px; background: #fff; cursor: pointer; padding: 0;
  align-items: center; justify-content: center; flex-direction: column; gap: 5px;
}
.nav-toggle span { display: block; width: 18px; height: 1.5px; background: var(--navy); }

/* ---------- hero ---------- */

.hero {
  position: relative; overflow: hidden;
  padding: clamp(64px, 9vw, 120px) 0 clamp(56px, 7vw, 96px);
  background:
    radial-gradient(900px 420px at 78% -10%, rgba(179, 134, 47, .16), transparent 62%),
    radial-gradient(720px 360px at 8% 110%, rgba(14, 32, 54, .09), transparent 60%),
    linear-gradient(180deg, #fbfbfc 0%, #ffffff 62%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(to right, rgba(8,21,36,.045) 1px, transparent 1px);
  background-size: 120px 100%;
  mask-image: linear-gradient(180deg, rgba(0,0,0,.5), transparent 70%);
}
.hero-inner { position: relative; z-index: 1; max-width: 860px; }

.eyebrow {
  font-size: .72rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--gold); font-weight: 650; margin-bottom: 18px;
}
.hero h1 { max-width: 20ch; }
.lede { font-size: clamp(1.02rem, 1.5vw, 1.18rem); color: #35404c; max-width: 62ch; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 30px 0 40px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 24px; border-radius: 999px;
  font-size: .95rem; font-weight: 600; text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
  border: 1px solid transparent; cursor: pointer;
}
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-ghost { border-color: rgba(8, 21, 36, .22); color: var(--navy); }
.btn-ghost:hover { border-color: var(--navy); background: rgba(8, 21, 36, .04); }

.trust {
  list-style: none; margin: 0; padding: 22px 0 0;
  border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: 10px 28px;
  font-size: .84rem; color: var(--muted);
}
.trust li { position: relative; padding-left: 16px; }
.trust li::before {
  content: ""; position: absolute; left: 0; top: .62em;
  width: 6px; height: 6px; border-radius: 50%; background: var(--gold);
}

/* ---------- sections ---------- */

.section { padding: clamp(64px, 8vw, 108px) 0; }
.section-alt { background: var(--paper-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-dark { background: var(--navy); color: #e8ecf1; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .eyebrow { color: var(--gold-soft); }
.section-dark .section-lede, .section-dark .footnote { color: #a9b6c4; }

.section-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-lede { color: var(--muted); font-size: 1.03rem; }

/* cards */

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 26px 26px; position: relative;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #d3d9e0; }
.card-index {
  font-size: .7rem; letter-spacing: .18em; color: var(--gold); font-weight: 700;
  display: block; margin-bottom: 14px;
}
.card p { color: #46515d; font-size: .96rem; }

.ticks { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 9px; }
.ticks li { position: relative; padding-left: 22px; font-size: .92rem; color: #3d4853; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .52em;
  width: 10px; height: 10px;
  border-left: 1.5px solid var(--gold); border-bottom: 1.5px solid var(--gold);
  transform: rotate(-45deg); opacity: .9;
}
.ticks-lg li { font-size: .98rem; color: #35404c; }
.ticks strong { font-weight: 650; color: var(--ink); }

/* split */

.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.split-copy p { color: #3d4853; }

/* mock */

.mock {
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  box-shadow: var(--shadow); overflow: hidden;
}
.mock-bar { display: flex; gap: 6px; padding: 12px 14px; border-bottom: 1px solid var(--line); background: #fafbfc; }
.mock-bar span { width: 9px; height: 9px; border-radius: 50%; background: #d9dee4; }
.mock-body { padding: 20px 22px 22px; display: grid; gap: 12px; }
.mock-row {
  display: flex; align-items: center; gap: 10px;
  font-size: .9rem; padding: 11px 13px; border: 1px solid var(--line);
  border-radius: 10px; background: #fcfcfd;
}
.dot { width: 8px; height: 8px; border-radius: 50%; flex: 0 0 auto; }
.dot.ok { background: var(--ok); }
.dot.warn { background: var(--warn); }
.mock-meta { font-size: .78rem; color: var(--muted); padding-top: 4px; }

/* grids */

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.mini { border-top: 2px solid var(--navy); padding-top: 18px; }
.mini p { color: var(--muted); font-size: .95rem; margin: 0; }

.panel {
  border: 1px solid rgba(255, 255, 255, .14); border-radius: var(--radius);
  padding: 26px; background: rgba(255, 255, 255, .04);
}
.panel .ticks li { color: #c3cedb; }
.panel .ticks li::before { border-color: var(--gold-soft); }

.footnote {
  margin-top: 36px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .12);
  font-size: .82rem; color: #9dabb9; max-width: 78ch;
}

/* contact */

.contact-list { margin: 26px 0 0; display: grid; gap: 16px; }
.contact-list div { display: grid; gap: 2px; }
.contact-list dt { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.contact-list dd { margin: 0; font-size: 1rem; }
.contact-list a { color: var(--navy); text-decoration: none; border-bottom: 1px solid var(--gold); }

.contact-form {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; display: grid; gap: 16px; box-shadow: var(--shadow);
}
.field { display: grid; gap: 6px; }
.field label { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.field input, .field textarea {
  font: inherit; font-size: .95rem; color: var(--ink);
  border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px;
  background: #fff; transition: border-color .18s ease, box-shadow .18s ease;
}
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(8, 21, 36, .08);
}
.contact-form .btn { justify-self: start; margin-top: 4px; }
.form-note { margin: 0; font-size: .85rem; color: var(--ok); min-height: 1.2em; }

/* footer */

.site-footer { background: var(--navy); color: #cfd8e2; padding: 56px 0 40px; }
.footer-inner { display: grid; gap: 30px; grid-template-columns: 1fr auto; align-items: start; }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-name { margin: 0; font-family: var(--serif); font-size: 1.05rem; color: #fff; }
.footer-meta { margin: 0; font-size: .8rem; color: #8fa0b1; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 18px 26px; justify-content: flex-end; }
.footer-nav a { color: #cfd8e2; text-decoration: none; font-size: .9rem; }
.footer-nav a:hover { color: #fff; }
.footer-legal { grid-column: 1 / -1; border-top: 1px solid rgba(255,255,255,.12); padding-top: 24px; }
.footer-legal p { margin: 0 0 8px; font-size: .82rem; }
.disclaimer { color: #8fa0b1; max-width: 92ch; }

/* reveal: content is always visible; the class is kept for future use so a
   missing observer, a crawler or a full-page screenshot never hides copy. */

.reveal { opacity: 1; transform: none; }

/* ---------- responsive ---------- */

@media (max-width: 900px) {
  .cards, .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .split-visual { order: 2; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-nav { justify-content: flex-start; }
}

@media (max-width: 720px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; align-items: flex-start; gap: 4px;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 12px 24px 22px; display: none;
  }
  .nav.is-open { display: flex; }
  .nav a { width: 100%; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav-cta { border: 0; padding: 12px 0 !important; }
  .hero { padding-top: 52px; }
  .contact-form { padding: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .card { transition: none; }
}

/* company facts (About) */
.facts { margin: 32px 0 0; display: grid; gap: 14px; border-top: 1px solid var(--line); padding-top: 24px; }
.facts div { display: grid; grid-template-columns: 170px 1fr; gap: 12px; align-items: baseline; }
.facts dt { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.facts dd { margin: 0; font-size: .95rem; color: #35404c; }
@media (max-width: 620px) { .facts div { grid-template-columns: 1fr; gap: 2px; } }
