@font-face {
  font-family: "Inter";
  src: url("/fonts/Inter-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("/fonts/Inter-Bold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #022451;
  --navy-deep: #011635;
  --teal: #02a9a7;
  --teal-soft: #e6f6f6;
  --slate: #4d6e80;
  --ink: #0a1628;
  --muted: #4a5a6e;
  --paper: #f4f7fa;
  --white: #ffffff;
  --line: #d6dfe8;
  --danger: #b42318;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  padding: 14px 5vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  gap: 10px;
}

.brand img {
  height: 36px;
  width: auto;
  display: block;
}

.nav {
  display: flex;
  gap: 26px;
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
}

.nav a {
  text-decoration: none;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
  transition: border-color 0.15s ease, color 0.15s ease;
}

.nav a:hover {
  color: var(--teal);
  border-bottom-color: var(--teal);
}

/* Buttons & Eyebrows */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--navy);
  color: var(--white);
  border: 1px solid var(--navy);
  border-radius: 5px;
  padding: 11px 18px;
  font-size: 13.5px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.12s ease;
}

.button:hover {
  background: #033372;
  border-color: #033372;
}

.button:disabled {
  opacity: 0.6;
  cursor: wait;
}

.button.secondary {
  background: var(--white);
  color: var(--navy);
  border-color: var(--line);
}

.button.secondary:hover {
  border-color: var(--teal);
  color: var(--navy);
  background: var(--teal-soft);
}

.button.teal {
  background: var(--teal);
  border-color: var(--teal);
  color: var(--navy-deep);
}

.button.teal:hover {
  background: #03bebc;
  border-color: #03bebc;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slate);
}

.eyebrow i {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--teal);
  clip-path: polygon(50% 0%, 95% 25%, 95% 75%, 50% 100%, 5% 75%, 5% 25%);
}

.text-link {
  color: var(--navy);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: var(--teal);
  text-underline-offset: 3px;
}

.text-link:hover {
  color: var(--teal);
}

/* Sections */
.section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 64px 5vw;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.section-head h2 {
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--navy);
  margin: 8px 0 0;
}

/* Hero */
.hero-wrap {
  background:
    radial-gradient(900px 420px at 90% -10%, rgba(2, 169, 167, 0.1), transparent 70%),
    linear-gradient(180deg, #ffffff 0%, #f4f7fa 100%);
  border-bottom: 1px solid var(--line);
}

.hero {
  max-width: 1180px;
  margin: 0 auto;
  padding: 58px 5vw 54px;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 44px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(34px, 4.2vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.04em;
  color: var(--navy);
  margin: 14px 0 18px;
}

.hero p.lead {
  font-size: 16.5px;
  color: var(--muted);
  max-width: 540px;
  margin: 0 0 26px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-media {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  padding: 10px;
  box-shadow: 0 20px 50px rgba(2, 36, 81, 0.08);
}

.hero-media img {
  display: block;
  width: 100%;
  border-radius: 5px;
}

.hero-caption {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 6px 4px;
  font-size: 11.5px;
  color: var(--slate);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

/* Metrics strip */
.metrics-bar {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 5vw 46px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.metric-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 3px solid var(--navy);
  border-radius: 6px;
  padding: 16px 18px;
}

.metric-card:nth-child(2) {
  border-top-color: var(--teal);
}

.metric-val {
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.02em;
}

.metric-label {
  font-size: 12px;
  color: var(--muted);
  margin-top: 4px;
}

/* Verification Panel & COA Directory */
.verify-panel {
  background: var(--navy);
  color: var(--white);
  border-radius: 8px;
  padding: 36px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 32px;
  align-items: start;
}

.verify-panel .eyebrow {
  color: #8ee6e5;
}

.verify-panel h2 {
  color: var(--white);
  font-size: clamp(24px, 2.8vw, 34px);
  letter-spacing: -0.03em;
  margin: 10px 0 12px;
}

.verify-panel p {
  color: #c8d8e6;
  margin: 0 0 20px;
}

.coa-lookup-form {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.coa-lookup-form input {
  flex: 1 1 220px;
  min-width: 0;
  padding: 12px 14px;
  border-radius: 5px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 14px;
  text-transform: uppercase;
}

.coa-lookup-form input::placeholder {
  color: #9cb3c9;
  text-transform: none;
}

.coa-lookup-form input:focus {
  outline: 2px solid var(--teal);
  outline-offset: 1px;
  background: rgba(255, 255, 255, 0.14);
}

.coa-dir-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 6px;
  padding: 18px 20px;
}

.coa-dir-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #9adcdc;
}

.coa-dir-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
  max-height: 280px;
  overflow-y: auto;
}

.coa-dir-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 5px;
  padding: 10px 12px;
  text-decoration: none;
  font-size: 13px;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.coa-dir-item:hover {
  border-color: var(--teal);
  background: rgba(2, 169, 167, 0.16);
}

.coa-dir-lot {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-weight: 700;
  color: #8ee6e5;
}

/* Catalogue */
.cat-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.tab {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 8px 13px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--slate);
  cursor: pointer;
  font-family: inherit;
}

.tab[aria-selected="true"] {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.search {
  width: 270px;
  max-width: 100%;
  padding: 9px 13px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--white);
  font-family: inherit;
  font-size: 13.5px;
  color: var(--ink);
}

.cat-table-wrap {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow-x: auto;
}

.cat-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
}

.cat-table th {
  text-align: left;
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--slate);
  padding: 12px 16px;
  border-bottom: 2px solid var(--navy);
  background: #f9fbfd;
}

.cat-table td {
  padding: 13px 16px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.cat-table tr:last-child td {
  border-bottom: none;
}

.cat-more-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 16px;
  font-size: 13px;
  color: var(--muted);
}

/* Architecture Cards */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.pillar {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 24px;
}

.pillar-num {
  display: inline-block;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
  font-weight: 700;
  color: var(--teal);
  margin-bottom: 10px;
}

.pillar h3 {
  margin: 0 0 8px;
  color: var(--navy);
  font-size: 17px;
}

.pillar p {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 36px;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 4px solid var(--navy);
  border-radius: 8px;
  padding: 36px;
}

.contact-grid h2 {
  color: var(--navy);
  margin: 8px 0 12px;
  font-size: 28px;
  letter-spacing: -0.03em;
}

.contact-meta {
  list-style: none;
  padding: 0;
  margin: 22px 0 0;
  display: grid;
  gap: 12px;
  font-size: 13.5px;
  color: var(--muted);
}

.contact-meta strong {
  color: var(--navy);
  display: block;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field.full {
  grid-column: 1 / -1;
}

.field label {
  font-size: 12px;
  font-weight: 700;
  color: var(--navy);
}

.field input,
.field select,
.field textarea {
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 5px;
  font-family: inherit;
  font-size: 14px;
  color: var(--ink);
  background: var(--white);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 2px solid var(--teal);
  border-color: var(--teal);
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.consent-row {
  grid-column: 1 / -1;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 12.5px;
  color: var(--muted);
}

.form-status {
  grid-column: 1 / -1;
  font-size: 13.5px;
  font-weight: 700;
  color: #0b6e4f;
  min-height: 20px;
}

.form-status.error {
  color: var(--danger);
}

/* Footer */
.footer {
  background: var(--navy-deep);
  color: #c8d8e6;
  padding: 40px 5vw;
  margin-top: 48px;
}

.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-brand img {
  height: 34px;
  width: auto;
  display: block;
  margin-bottom: 10px;
}

.footer-brand p {
  margin: 0;
  font-size: 12.5px;
  color: #93abc2;
}

.footer-links {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  font-size: 13px;
}

.footer-links a {
  text-decoration: none;
  color: #d6e4f0;
}

.footer-links a:hover {
  color: #8ee6e5;
}

/* Privacy / 404 */
.privacy {
  max-width: 720px;
  margin: 56px auto;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 4px solid var(--navy);
  border-radius: 8px;
  padding: 36px;
}

.privacy h1 {
  color: var(--navy);
  margin: 10px 0 8px;
}

.privacy h2 {
  color: var(--navy);
  font-size: 17px;
  margin: 24px 0 8px;
}

@media (max-width: 900px) {
  .hero,
  .verify-panel,
  .pillars,
  .contact-grid,
  .metrics-bar {
    grid-template-columns: 1fr;
  }
  .nav {
    display: none;
  }
}

@media (max-width: 600px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
}
