/* Martyza prototype
   Locked palette:
   navy #0B1220, cyan #22D3EE (decorative),
   teal #0E7490 with white text on primary buttons,
   off-white #F8FAFC, slate #475569.
   Space Grotesk for headings, Inter for body, with system fallbacks.
   No third-party requests. */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/inter-latin-400-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/inter-latin-500-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/inter-latin-600-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/space-grotesk-latin-500-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/space-grotesk-latin-600-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/space-grotesk-latin-700-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --navy: #0B1220;
  --cyan: #22D3EE;
  --teal: #0E7490;
  --teal-hover: #0C6380;
  --white: #ffffff;
  --offwhite: #F8FAFC;
  --slate: #475569;
  --line-light: rgba(71, 85, 105, 0.28);
  --line-dark: rgba(248, 250, 252, 0.16);
  --font-display: "Space Grotesk", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Inter", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --header-offset: 5.5rem;
  --wrap: 1120px;
}

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

html {
  scroll-behavior: smooth;
  text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--offwhite);
  color: var(--slate);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  font-weight: 400;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--navy);
  letter-spacing: -0.03em;
  line-height: 1.08;
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

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

a {
  color: inherit;
}

:focus {
  outline: none;
}

:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 3px;
}

.site-header :focus-visible,
.hero :focus-visible,
.launch :focus-visible,
.site-footer :focus-visible {
  outline-color: var(--offwhite);
}

.contact-card :focus-visible {
  outline-color: var(--navy);
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: 0.75rem;
  z-index: 40;
  transform: translateY(-160%);
  background: var(--offwhite);
  color: var(--navy);
  padding: 0.7rem 1rem;
  font-weight: 600;
  text-decoration: none;
  min-height: 44px;
}

.skip-link:focus {
  transform: none;
}

.wrap {
  width: min(var(--wrap), calc(100% - 2.5rem));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--navy);
  color: var(--offwhite);
  border-bottom: 1px solid var(--line-dark);
}

.header-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  column-gap: 1.5rem;
  row-gap: 0.25rem;
  min-height: 4.5rem;
  padding-block: 0.55rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 44px;
  color: var(--offwhite);
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.2rem;
  letter-spacing: -0.03em;
}

.brand img {
  width: auto;
  height: 40px;
}

.primary-nav {
  margin-left: auto;
}

.nav-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem 1.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-list a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--offwhite);
  text-decoration: none;
  font-size: 0.975rem;
  font-weight: 500;
  box-shadow: inset 0 -1px 0 transparent;
}

.nav-list a:hover {
  box-shadow: inset 0 -1px 0 var(--cyan);
}

.hero {
  position: relative;
  overflow: hidden;
  background: var(--navy);
  color: var(--offwhite);
  padding: 4.25rem 0 4.75rem;
}

.motif {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.motif svg {
  position: absolute;
  width: min(760px, 78vw);
  height: auto;
  right: -6%;
  top: 46%;
  transform: translateY(-50%);
  opacity: 0.55;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 40rem;
}

.hero-status {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin: 0 0 1.35rem;
  color: var(--offwhite);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.hero-status::before {
  content: "";
  width: 1.85rem;
  height: 2px;
  flex: none;
  background: var(--cyan);
}

.hero h1 {
  margin: 0;
  max-width: 11em;
  color: var(--offwhite);
  font-size: clamp(2.35rem, 7vw, 4.6rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 0.98;
}

.lede {
  margin: 1.5rem 0 0;
  max-width: 38rem;
  color: var(--offwhite);
  font-size: 1.125rem;
  line-height: 1.6;
}

.hero-note {
  margin: 0.9rem 0 0;
  max-width: 36rem;
  color: var(--offwhite);
  font-size: 1rem;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem 1.35rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.75rem 1.2rem;
  background: var(--teal);
  color: var(--white);
  border: 1px solid var(--teal);
  border-radius: 2px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.3;
  text-align: center;
}

.button:hover {
  background: var(--teal-hover);
  border-color: var(--teal-hover);
  color: var(--white);
}

.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  color: var(--offwhite);
  font-weight: 600;
  text-underline-offset: 0.22em;
}

.band {
  padding: 4.25rem 0;
}

.kicker {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0 0 0.9rem;
  color: var(--teal);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.kicker::before {
  content: "";
  width: 1.5rem;
  height: 1px;
  flex: none;
  background: var(--cyan);
}

h2 {
  margin: 0;
  max-width: 14ch;
  font-size: clamp(2rem, 4vw, 3.15rem);
}

.section-intro {
  margin: 1.15rem 0 0;
  max-width: 42rem;
  font-size: 1.0625rem;
}

.principles {
  list-style: none;
  margin: 2.75rem 0 0;
  padding: 0;
  display: grid;
  gap: 0;
}

.principles li {
  margin: 0;
  padding: 1.6rem 0;
  border-top: 1px solid var(--line-light);
}

.principle-index {
  margin: 0 0 0.85rem;
  color: var(--teal);
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
}

h3 {
  margin: 0 0 0.7rem;
  font-size: 1.55rem;
  letter-spacing: -0.03em;
}

.principles p:last-child {
  margin: 0;
  max-width: 36rem;
}

.about {
  border-top: 1px solid var(--line-light);
  padding-top: 4.25rem;
}

.about-grid {
  display: grid;
  gap: 1.25rem;
}

.prose p {
  margin: 0 0 1rem;
  max-width: 62ch;
}

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

.launch {
  background: var(--navy);
  color: var(--offwhite);
  padding: 4.5rem 0;
}

.launch h2,
.launch .kicker {
  color: var(--offwhite);
}

.launch h2 {
  max-width: 12em;
}

.launch-intro {
  margin: 1.1rem 0 0;
  max-width: 36rem;
  color: var(--offwhite);
}

.launch-grid {
  display: grid;
  gap: 2.25rem;
}

.facts {
  margin: 1.75rem 0 0;
}

.facts div {
  padding: 0.95rem 0;
  border-top: 1px solid var(--line-dark);
}

.facts div:last-child {
  border-bottom: 1px solid var(--line-dark);
}

.facts dt {
  margin: 0;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--offwhite);
}

.facts dd {
  margin: 0.28rem 0 0;
  color: var(--offwhite);
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.contact-card {
  background: var(--offwhite);
  color: var(--slate);
  padding: 1.75rem 1.4rem 1.5rem;
  align-self: start;
}

.contact-card h3 {
  font-size: clamp(1.8rem, 3vw, 2.35rem);
}

.contact-card > p {
  margin: 0.85rem 0 1.25rem;
  max-width: 38ch;
}

.contact-card .button {
  width: 100%;
}

.email-line {
  margin: 0.9rem 0 0;
}

.email-line a {
  color: var(--navy);
  font-weight: 600;
  overflow-wrap: anywhere;
  text-underline-offset: 0.18em;
}

.fine {
  margin: 0.85rem 0 0;
  font-size: 0.9375rem;
  line-height: 1.55;
}

.site-footer {
  background: var(--navy);
  color: var(--offwhite);
  padding: 2.5rem 0 2.25rem;
  border-top: 1px solid var(--line-dark);
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.25rem 2rem;
  align-items: flex-start;
}

.footer-brand p {
  margin: 0.85rem 0 0;
  max-width: 36ch;
  color: var(--offwhite);
}

.footer-nav {
  gap: 0.15rem 1.25rem;
}

.legal {
  margin: 2rem 0 0;
  padding-top: 1.35rem;
  border-top: 1px solid var(--line-dark);
  max-width: 68ch;
  color: var(--offwhite);
  font-size: 0.9375rem;
  line-height: 1.6;
}

.notice {
  padding: 3.5rem 0 4.5rem;
}

.notice h1 {
  margin: 0 0 1rem;
  max-width: 12ch;
  color: var(--navy);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  letter-spacing: -0.035em;
  line-height: 1.02;
}

.notice h2 {
  margin: 2.25rem 0 0.75rem;
  max-width: 22ch;
  font-size: clamp(1.55rem, 3vw, 2rem);
}

.notice p,
.notice li {
  max-width: 65ch;
}

.notice a {
  color: var(--navy);
  font-weight: 600;
  text-underline-offset: 0.18em;
}

.notice-updated {
  margin: 0;
  max-width: 42rem;
}

.colophon {
  margin: 1.25rem 0 0;
  color: var(--offwhite);
  font-size: 0.875rem;
  letter-spacing: 0.04em;
}

.colophon a {
  font-weight: 600;
  text-underline-offset: 0.18em;
}

.footer-nav {
  justify-content: flex-end;
}

h1,
h2,
h3,
.site-header,
.contact-card,
section {
  scroll-margin-top: var(--header-offset);
}

@media (max-width: 1040px) {
  .hero {
    display: flex;
    flex-direction: column;
    padding-bottom: 0;
  }

  .motif {
    position: relative;
    inset: auto;
    order: 2;
    height: 9.5rem;
    overflow: hidden;
  }

  .motif svg {
    width: 340px;
    right: -2.75rem;
    top: -0.75rem;
    transform: none;
    opacity: 0.6;
  }
}

@media (max-width: 640px) {
  .wrap {
    width: min(var(--wrap), calc(100% - 2rem));
  }

  .header-bar {
    align-items: flex-start;
    padding-block: 0.7rem 0.35rem;
  }

  .primary-nav {
    margin-left: 0;
    flex: 1 1 100%;
    border-top: 1px solid var(--line-dark);
  }

  .nav-list {
    width: 100%;
    justify-content: space-between;
    gap: 0.25rem 0.75rem;
  }

  .footer-nav {
    justify-content: flex-start;
    gap: 0.25rem 1.1rem;
  }

  .hero {
    padding: 3.25rem 0 0;
  }

  .band,
  .about,
  .launch {
    padding: 3.25rem 0;
  }

  .principles {
    margin-top: 1.75rem;
  }

  .contact-card {
    padding: 1.4rem 1.15rem 1.25rem;
  }

  .brand img {
    height: 34px;
  }

  .notice {
    padding: 2.75rem 0 3.25rem;
  }
}

@media (min-width: 860px) {
  .hero {
    padding: 6.25rem 0 7.25rem;
  }

  .band {
    padding: 6.25rem 0;
  }

  .about {
    padding-top: 6.25rem;
  }

  .about-grid {
    grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
    gap: 3rem;
    align-items: start;
  }

  .principles {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0 2rem;
  }

  .principles li {
    padding: 0 1.5rem 0 0;
    border-top: none;
    border-left: 1px solid var(--line-light);
    padding-left: 1.5rem;
  }

  .principles li:first-child {
    border-left: none;
    padding-left: 0;
  }

  .launch {
    padding: 6.25rem 0;
  }

  .launch-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 4rem;
    align-items: start;
  }

  .contact-card {
    padding: 2rem 1.75rem 1.75rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

@media (forced-colors: active) {
  .motif {
    display: none;
  }

  .button {
    border: 1px solid ButtonText;
  }

  .hero-status::before,
  .kicker::before {
    background: CanvasText;
    forced-color-adjust: none;
  }
}

@media print {
  .site-header {
    position: static;
  }

  .skip-link,
  .motif {
    display: none;
  }

  .hero,
  .launch,
  .site-header,
  .site-footer {
    background: #fff;
    color: #000;
  }

  h1,
  h2,
  .hero-status,
  .launch h2,
  .launch .kicker,
  .nav-list a,
  .brand,
  .lede,
  .hero-note,
  .launch-intro,
  .facts dt,
  .facts dd,
  .footer-brand p,
  .legal,
  .colophon,
  .text-link {
    color: #000;
  }
}
