/* Twilight Zero — company landing page.
   Static and dependency-free: no build step, no framework, no JavaScript,
   no analytics, no cookies, no trackers, no third-party requests (fonts
   included). Everything here is served as flat files.

   Deliberately light-mode only. `color-scheme: light` stops the browser
   from repainting form/scrollbar chrome dark around a light page. */

:root {
  color-scheme: light;

  --bg:        #FCFBF9;
  --surface:   #FFFFFF;
  --line:      #E7E4DD;
  --line-soft: #F0EDE7;

  --ink:       #15171E;
  --ink-soft:  #4A4E5C;
  --ink-faint: #767A87;

  --accent:      #33356A;
  --accent-deep: #23254C;
  --accent-wash: #F2F1F7;

  --wrap: 62rem;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(21, 23, 30, .04), 0 8px 24px -12px rgba(21, 23, 30, .12);

  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
          Arial, "Noto Sans", sans-serif;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3 {
  margin: 0;
  letter-spacing: -0.022em;
  line-height: 1.12;
  font-weight: 640;
  text-wrap: balance;
}

p { margin: 0; }

a { color: var(--accent); }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 20;
  background: var(--accent);
  color: #fff;
  padding: .75rem 1.125rem;
  border-radius: 0 0 8px 0;
  text-decoration: none;
}
.skip-link:focus { left: 0; }

/* ---------- Masthead ---------- */

.masthead {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(252, 251, 249, .82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line-soft);
}

.masthead-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 4rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .625rem;
  text-decoration: none;
  color: var(--ink);
}

.brand-mark {
  width: 1.5rem;
  height: 1.5rem;
  flex: none;
  color: var(--accent);
}

.brand-name {
  font-size: 1.0625rem;
  font-weight: 640;
  letter-spacing: -0.018em;
}

.masthead-nav ul {
  display: flex;
  gap: 1.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.masthead-nav a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: .9375rem;
  transition: color .18s ease;
}
.masthead-nav a:hover { color: var(--ink); }

@media (max-width: 34rem) {
  .masthead-nav { display: none; }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line-soft);
  background:
    radial-gradient(72rem 32rem at 50% -16rem, #EDECF5 0%, rgba(237, 236, 245, 0) 68%),
    linear-gradient(180deg, #FDFCFA 0%, var(--bg) 100%);
}

.hero-inner {
  padding-block: clamp(4.5rem, 12vw, 8.5rem) clamp(4rem, 10vw, 7rem);
  max-width: 46rem;
  text-align: center;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 1.5rem;
  padding: .3125rem .75rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink-faint);
  font-size: .78125rem;
  font-weight: 560;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.hero h1 {
  font-size: clamp(2.25rem, 6.2vw, 3.75rem);
  letter-spacing: -0.032em;
}

.lede {
  margin: 1.625rem auto 0;
  max-width: 40rem;
  color: var(--ink-soft);
  font-size: clamp(1.0625rem, 1.6vw, 1.1875rem);
  line-height: 1.62;
  text-wrap: pretty;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .75rem;
  margin-top: 2.25rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.875rem;
  padding: 0 1.5rem;
  border-radius: 999px;
  font-size: .96875rem;
  font-weight: 560;
  text-decoration: none;
  transition: background-color .18s ease, border-color .18s ease,
              color .18s ease, transform .18s ease;
}
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--accent);
  color: #fff;
  border: 1px solid var(--accent);
}
.btn-primary:hover { background: var(--accent-deep); border-color: var(--accent-deep); }

.btn-secondary {
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line);
}
.btn-secondary:hover { border-color: #CFCBC2; }

/* ---------- Sections ---------- */

.section { border-bottom: 1px solid var(--line-soft); }
.section-alt { background: var(--surface); }

.section-inner {
  padding-block: clamp(3.5rem, 8vw, 5.5rem);
}

.section-label {
  margin-bottom: .875rem;
  color: var(--ink-faint);
  font-size: .78125rem;
  font-weight: 600;
  letter-spacing: .085em;
  text-transform: uppercase;
}

.section h2 {
  max-width: 24ch;
  font-size: clamp(1.625rem, 3.4vw, 2.125rem);
}

.prose {
  margin-top: 1.25rem;
  max-width: 40rem;
  color: var(--ink-soft);
  text-wrap: pretty;
}

.fineprint {
  margin-top: 1.5rem;
  font-size: .9375rem;
  color: var(--ink-faint);
}

/* ---------- Product cards ---------- */

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(17rem, 24rem));
  gap: 1rem;
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
}

.card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 1.75rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg);
  box-shadow: var(--shadow);
}
.section-alt .card { background: var(--bg); }

.card h3 {
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.card p {
  margin-top: .625rem;
  color: var(--ink-soft);
  font-size: .96875rem;
  text-wrap: pretty;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: .4375rem;
  margin-top: 1.5rem;
  font-size: .9375rem;
  font-weight: 560;
  text-decoration: none;
  color: var(--accent);
}
.card-link:hover { text-decoration: underline; text-underline-offset: 3px; }

.arrow { transition: transform .18s ease; }
.card-link:hover .arrow { transform: translateX(3px); }

/* ---------- Contact ---------- */

.contact-email {
  margin-top: 1.5rem;
  font-size: clamp(1.125rem, 2.6vw, 1.4375rem);
  font-weight: 600;
  letter-spacing: -0.018em;
  overflow-wrap: anywhere;
}

.contact-email a {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 2px solid var(--accent);
  padding-bottom: 2px;
  transition: color .18s ease;
}
.contact-email a:hover { color: var(--accent); }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--bg);
}

.footer-inner {
  padding-block: 3rem 3.5rem;
}

.footer-brand { color: var(--ink-faint); }
.footer-brand .brand-mark { width: 1.375rem; height: 1.375rem; color: inherit; }

.entity {
  margin: 1.125rem 0 0;
  font-style: normal;
  font-size: .9375rem;
  line-height: 1.7;
  color: var(--ink-soft);
}
.entity strong {
  color: var(--ink);
  font-weight: 620;
  letter-spacing: .005em;
}

.copyright {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line-soft);
  color: var(--ink-faint);
  font-size: .875rem;
}
