/* MNA Worldwide — "light paper technical": warm paper interior inside a dark frame,
   hairline structure, one teal accent taken from the logo. */
:root {
  --outer: #11161a;
  --paper: #f3efe6;
  --paper-2: #ebe5d8;
  --paper-3: #e2dbcb;
  --ink: #161a1d;
  --ink-2: #4a4f52;
  --ink-3: #7c7f7d;
  --rule: rgba(22, 26, 29, 0.12);
  --rule-2: rgba(22, 26, 29, 0.22);
  --accent: #007f99;        /* logo teal, darkened for text on paper */
  --accent-bright: #00c8ff; /* logo cyan, used on dark */
  --panel: #0d1215;
  --radius: 22px;
  --sans: "Inter Tight", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  background: var(--outer);
  color: var(--ink);
  font: 400 16px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  padding: 14px;
}
img { display: block; }
a { color: inherit; }
.mono { font-family: var(--mono); }

/* the paper shell */
.frame {
  max-width: 1320px;
  margin: 0 auto;
  background:
    repeating-linear-gradient(135deg, rgba(22,26,29,0.022) 0 1px, transparent 1px 9px),
    var(--paper);
  border-radius: var(--radius);
  box-shadow: 0 30px 80px -30px rgba(0,0,0,0.6);
  overflow: clip;
}

/* nav */
.nav {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 16px 40px;
  background: rgba(243, 239, 230, 0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--rule);
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 600; letter-spacing: -0.01em; }
.nav-links { display: flex; gap: 28px; font-size: 14px; color: var(--ink-2); }
.nav-links a { text-decoration: none; }
.nav-links a:hover { color: var(--ink); }

/* buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 22px; border-radius: 999px;
  font: 500 15px/1 var(--sans); text-decoration: none; cursor: pointer;
  border: 1px solid transparent;
  transition: transform .2s ease, background-color .2s ease, border-color .2s ease;
}
.btn:active { transform: scale(0.97); }
.btn-sm { padding: 10px 16px; font-size: 14px; }
.btn-dark { background: var(--ink); color: var(--paper); }
.btn-dark:hover { background: #000; }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: #006a80; }
.btn-ghost { border-color: var(--rule-2); }
.btn-ghost:hover { border-color: var(--ink); }

/* labels */
.label {
  display: inline-flex; align-items: center; gap: 10px;
  margin: 0 0 18px;
  font: 500 11px/1 var(--mono); letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-3);
}
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(0,127,153,0.15); }

h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -0.025em; }
h1 { font-size: clamp(38px, 5.4vw, 72px); line-height: 1.02; letter-spacing: -0.035em; }
h1 em { font-style: normal; color: var(--accent); }
h2 { font-size: clamp(30px, 3.6vw, 46px); line-height: 1.08; }
h3 { font-size: 18px; line-height: 1.3; letter-spacing: -0.01em; }

/* hero */
.hero {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center;
  padding: 72px 40px 64px;
  border-bottom: 1px solid var(--rule);
}
.lede { font-size: 18px; color: var(--ink-2); max-width: 540px; margin: 26px 0 32px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.specs {
  display: grid; grid-template-columns: repeat(3, 1fr);
  margin: 44px 0 0; border-top: 1px solid var(--rule);
}
.specs div { padding: 16px 16px 0 0; border-right: 1px solid var(--rule); }
.specs div + div { padding-left: 16px; }
.specs div:last-child { border-right: 0; }
.specs dt { font: 500 10px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); }
.specs dd { margin: 8px 0 0; font-size: 26px; font-weight: 600; letter-spacing: -0.02em; }

/* dark instrument panel holding the globe */
.instrument {
  position: relative;
  aspect-ratio: 1 / 1;
  background: radial-gradient(120% 90% at 50% 40%, #142026 0%, var(--panel) 60%);
  border-radius: 18px;
  border: 1px solid #1f2a2f;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04), 0 24px 60px -24px rgba(0,30,40,0.6);
  padding: 18px;
  display: flex; flex-direction: column;
}
#globe { flex: 1; width: 100%; min-height: 0; cursor: grab; touch-action: none; }
#globe:active { cursor: grabbing; }
.inst-top, .inst-bottom {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,0.45);
}
.inst-bottom .arrow { color: var(--accent-bright); letter-spacing: 0; }
.live { display: inline-flex; align-items: center; gap: 8px; color: rgba(255,255,255,0.7); }
.live i { width: 6px; height: 6px; border-radius: 50%; background: var(--accent-bright); animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .25; } }
.br { position: absolute; width: 14px; height: 14px; border-color: rgba(255,255,255,0.35); border-style: solid; border-width: 0; }
.br.tl { top: 8px; left: 8px; border-top-width: 1px; border-left-width: 1px; }
.br.tr { top: 8px; right: 8px; border-top-width: 1px; border-right-width: 1px; }
.br.bl { bottom: 8px; left: 8px; border-bottom-width: 1px; border-left-width: 1px; }
.br.br- { bottom: 8px; right: 8px; border-bottom-width: 1px; border-right-width: 1px; }

/* sections */
.block { padding: 88px 40px; border-bottom: 1px solid var(--rule); }
.block-head { max-width: 640px; margin-bottom: 48px; }
.block-head p:not(.label) { color: var(--ink-2); font-size: 17px; margin: 16px 0 0; }

.grid4 { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--rule); border-radius: 16px; overflow: hidden; background: rgba(255,255,255,0.35); }
.card { position: relative; padding: 28px 24px 32px; border-right: 1px solid var(--rule); transition: background-color .25s ease; }
.card:last-child { border-right: 0; }
.card:hover { background: rgba(255,255,255,0.6); }
.card .num { display: block; font-size: 11px; color: var(--accent); margin-bottom: 56px; letter-spacing: .1em; }
.card p { color: var(--ink-2); font-size: 15px; margin: 10px 0 0; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.steps li { position: relative; padding: 24px 22px 28px; background: var(--paper-2); border-radius: 14px; border: 1px solid var(--rule); }
.steps li::after {
  content: ""; position: absolute; top: 34px; right: -12px; width: 8px; height: 1px; background: var(--rule-2);
}
.steps li:last-child::after { display: none; }
.step-n { font-size: 10px; letter-spacing: .18em; color: var(--accent); }
.steps h3 { margin-top: 36px; }
.steps p { color: var(--ink-2); font-size: 15px; margin: 10px 0 0; }

.why { display: grid; grid-template-columns: 1fr 1.2fr; gap: 64px; }
.why-left p:not(.label) { color: var(--ink-2); font-size: 17px; margin: 20px 0 0; max-width: 420px; }
.why-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule-2); }
.why-list li { padding: 22px 0 22px 28px; border-bottom: 1px solid var(--rule); position: relative; }
.why-list li::before { content: ""; position: absolute; left: 0; top: 30px; width: 10px; height: 10px; border-left: 1px solid var(--accent); border-top: 1px solid var(--accent); }
.why-list p { color: var(--ink-2); font-size: 15px; margin: 6px 0 0; }

.faq { max-width: 820px; border-top: 1px solid var(--rule-2); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 40px 22px 0; position: relative;
  font-size: 18px; font-weight: 500; letter-spacing: -0.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 18px; font: 400 22px var(--mono); color: var(--accent); transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 22px; color: var(--ink-2); max-width: 680px; }

/* RFQ */
.rfq { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 64px; background: var(--paper-2); }
.rfq-left p:not(.label) { color: var(--ink-2); font-size: 17px; margin: 20px 0 0; }
.contact-lines { display: grid; gap: 10px; margin-top: 32px; font-size: 13px; }
.contact-lines a { text-decoration: none; color: var(--accent); }
.contact-lines a:hover { text-decoration: underline; }
.form { display: grid; gap: 16px; background: var(--paper); border: 1px solid var(--rule); border-radius: 16px; padding: 28px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: grid; gap: 7px; font-size: 13px; font-weight: 500; color: var(--ink-2); }
.form input, .form select, .form textarea {
  font: 400 15px/1.4 var(--sans); color: var(--ink);
  background: #fbf9f4; border: 1px solid var(--rule-2); border-radius: 10px; padding: 11px 13px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(0,127,153,0.15); }
.form .invalid { border-color: #b3261e; }
.file em { font-style: normal; font-size: 11px; color: var(--ink-3); font-weight: 400; margin-left: 6px; }
.file input { padding: 9px; }
.hp { position: absolute; left: -9999px; }
.consent { margin: 0; font-size: 13px; color: var(--ink-3); }
.form button { justify-self: start; }
.form-status { margin: 0; font-size: 14px; min-height: 1.4em; }
.form-status.ok { color: var(--accent); }
.form-status.err { color: #b3261e; }

/* footer */
.foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; padding: 28px 40px; font-size: 14px; }
.foot-brand { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.foot-legal { margin: 0; font-size: 11px; color: var(--ink-3); letter-spacing: .02em; }
.foot-links { display: flex; gap: 20px; color: var(--ink-2); }
.foot-links a { text-decoration: none; }
.foot-links a:hover { color: var(--ink); }

/* entrance motion */
.reveal-in { opacity: 0; transform: translateY(14px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal-in.shown { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal-in { opacity: 1; transform: none; transition: none; }
  .live i { animation: none; }
  html { scroll-behavior: auto; }
}

/* responsive */
@media (max-width: 1020px) {
  .hero, .why, .rfq { grid-template-columns: 1fr; }
  .instrument { max-width: 560px; width: 100%; margin: 0 auto; }
  .grid4 { grid-template-columns: 1fr 1fr; }
  .card:nth-child(2) { border-right: 0; }
  .card:nth-child(-n+2) { border-bottom: 1px solid var(--rule); }
  .steps { grid-template-columns: 1fr 1fr; }
  .steps li::after { display: none; }
}
@media (max-width: 720px) {
  body { padding: 0; }
  .frame { border-radius: 0; }
  .nav { padding: 12px 16px; }
  .nav-links { display: none; }
  .hero { padding: 44px 16px 48px; gap: 36px; }
  .block { padding: 60px 16px; }
  .grid4, .steps, .row2 { grid-template-columns: 1fr; }
  .card { border-right: 0; border-bottom: 1px solid var(--rule); }
  .card:last-child { border-bottom: 0; }
  .card .num { margin-bottom: 24px; }
  .specs dd { font-size: 20px; }
  .specs dt { letter-spacing: .08em; font-size: 9px; white-space: nowrap; }
  .hero .label { letter-spacing: .1em; font-size: 10px; }
  .inst-top { letter-spacing: .12em; }
  .live { display: none; }
  .form { padding: 20px 16px; }
  .foot { padding: 24px 16px; flex-direction: column; align-items: flex-start; }
}
