:root {
  --bg: #120D02;
  --surface: #1F1704;
  --text: #FFFAF0;
  --muted: #D4A373;
  --primary: #FF9F1C;
  --secondary: #FFBF69;
  --accent: #2EC4B6;
  --border: rgba(255, 159, 28, 0.2);
  --font-sans: "Avenir Next", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "SF Mono", "Cascadia Code", Consolas, "Courier New", monospace;
  --max: 1200px;
}

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

html {
  height: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--text);
  background-color: var(--bg);
  background-image:
    linear-gradient(rgba(46, 196, 182, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(46, 196, 182, 0.06) 1px, transparent 1px),
    radial-gradient(ellipse at 12% 0%, rgba(255, 159, 28, 0.18), transparent 55%),
    radial-gradient(ellipse at 88% 20%, rgba(46, 196, 182, 0.12), transparent 50%),
    linear-gradient(180deg, #1a1204 0%, var(--bg) 40%, #0c0901 100%);
  background-size: 24px 24px, 24px 24px, 100% 100%, 100% 100%, 100% 100%;
  line-height: 1.6;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

main {
  flex: 1 0 auto;
  width: 100%;
}

body.technical.draft.precise.architectural.minimal {
  letter-spacing: 0.01em;
}

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

#offers .offer-logo {
  max-width: none;
  height: 100%;
}

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

.disclosure-banner {
  background: #0a0701;
  width: 100%;
  border-bottom: 1px solid var(--border);
}

.disclosure-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 8px 16px 8px 12px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
}

.disclosure-icon {
  flex-shrink: 0;
  font-size: 12px;
  color: var(--primary);
  line-height: 1;
}

.disclosure-inner p {
  margin: 0;
  font-size: 11px;
  line-height: 1.45;
  color: rgba(255, 250, 240, 0.78);
  text-align: left;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(18, 13, 2, 0.94);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(8px);
}

.nav-shell {
  max-width: var(--max);
  margin: 0 auto;
  height: 50px;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.02em;
}

.brand-lockup img {
  display: block;
  width: 32px;
  height: 32px;
}

.nav-icons {
  display: none;
  align-items: center;
  gap: 20px;
}

.nav-icons a {
  position: relative;
  display: inline-flex;
  opacity: 0.6;
  color: var(--text);
  transition: opacity 0.2s ease;
}

.nav-icons a:hover,
.nav-icons a:focus-visible {
  opacity: 1;
}

.nav-icons a svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.6;
}

.nav-icons a::after {
  content: attr(data-tip);
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 4px 8px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s ease;
}

.nav-icons a:hover::after,
.nav-icons a:focus-visible::after {
  opacity: 1;
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  background: transparent;
  border: 1px solid var(--border);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 1px;
  background: var(--secondary);
}

.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(8, 5, 0, 0.96);
  display: flex;
  flex-direction: column;
  padding: 24px 20px;
  gap: 12px;
  transform: translateX(100%);
  transition: transform 0.25s ease;
}

.nav-overlay.is-open {
  transform: translateX(0);
}

.nav-overlay-close {
  align-self: flex-end;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
  padding: 8px 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  cursor: pointer;
}

.nav-overlay a {
  color: var(--text);
  text-decoration: none;
  font-size: 1.1rem;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}

@media (min-width: 900px) {
  .nav-icons {
    display: flex;
  }

  .nav-toggle {
    display: none;
  }
}

.hero {
  position: relative;
  background: var(--bg);
  padding: 56px 16px 64px;
  overflow: hidden;
}

.hero::before {
  content: "A1 — 0,0";
  position: absolute;
  top: 18px;
  left: 16px;
  font-family: var(--font-mono);
  font-size: 10px;
  color: rgba(46, 196, 182, 0.55);
  letter-spacing: 0.08em;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 12% 8% auto auto;
  width: 180px;
  height: 180px;
  border: 1px solid rgba(255, 191, 105, 0.35);
  border-radius: 0;
  pointer-events: none;
  background:
    linear-gradient(var(--primary), var(--primary)) center/100% 1px no-repeat,
    linear-gradient(var(--primary), var(--primary)) center/1px 100% no-repeat;
  opacity: 0.45;
}

.hero-inner {
  max-width: var(--max);
  margin: 0 auto;
}

.mono-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 18px;
}

.hero h1 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.05;
  font-weight: 700;
  color: var(--text);
  max-width: 14ch;
  margin-left: -12px;
  padding-left: 0;
}

.hero .subtitle {
  margin: 22px 0 0;
  max-width: 36ch;
  color: var(--muted);
  font-size: 1.05rem;
  margin-left: 48px;
}

.measure-callout {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 28px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--secondary);
  border-left: 2px solid var(--primary);
  padding-left: 10px;
}

@media (max-width: 767px) {
  .hero h1 {
    margin-left: 0;
    text-align: center;
    max-width: none;
  }

  .hero .subtitle {
    margin-left: 0;
    text-align: center;
    max-width: none;
  }

  .measure-callout {
    justify-content: center;
    width: 100%;
  }

  .hero::before {
    left: 50%;
    transform: translateX(-50%);
  }
}

.section-wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 48px 16px;
}

.section-head {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 24px;
}

.section-head .coord {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent);
}

.section-head h2 {
  margin: 0;
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
  color: var(--text);
}

#offers {
  position: relative;
  padding: 56px 16px;
  background-color: var(--surface);
  background-image:
    linear-gradient(rgba(18, 13, 2, 0.72), rgba(18, 13, 2, 0.88)),
    url("/images/offers_bg/offers_bg.webp");
  background-size: cover;
  background-position: center;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

#offers::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(46, 196, 182, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(46, 196, 182, 0.08) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}

#offers .section-wrap {
  position: relative;
  z-index: 1;
  padding-top: 0;
  padding-bottom: 0;
}

.info-section {
  position: relative;
  border-top: 1px solid var(--border);
}

.info-section::after {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  width: 40%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 159, 28, 0.04));
  pointer-events: none;
}

.info-section h2 {
  margin: 0 0 16px;
  font-size: clamp(1.3rem, 2.4vw, 1.75rem);
}

.info-section p {
  color: rgba(255, 250, 240, 0.88);
  margin: 0 0 14px;
}

.info-section ul {
  margin: 0 0 14px;
  padding-left: 1.1rem;
  color: var(--muted);
}

.info-cta {
  display: inline-flex;
  margin-top: 8px;
  padding: 10px 16px;
  border: 1px solid var(--primary);
  color: var(--primary);
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: background 0.2s ease, color 0.2s ease;
}

.info-cta:hover {
  background: var(--primary);
  color: var(--bg);
}

.decor-frame {
  display: flex;
  justify-content: center;
  margin: 18px 0;
  overflow: hidden;
  max-width: 100%;
  width: 100%;
}

.decor-frame img {
  max-width: min(500px, 100%);
  max-height: 320px;
  width: auto;
  height: auto;
  object-fit: contain;
  border: 1px solid var(--border);
}

@media (max-width: 480px) {
  .decor-frame img {
    max-width: 100%;
    max-height: 200px;
  }

  .bg-decor {
    max-width: 100%;
    width: 100%;
    max-height: 200px;
    min-height: 120px;
  }

  .image-rail {
    flex-direction: column;
  }

  .hero::after {
    width: 100px;
    height: 100px;
    inset: 10% 4% auto auto;
  }
}

.layout-split {
  display: grid;
  gap: 24px;
}

@media (min-width: 800px) {
  .layout-split {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: start;
  }
}

.layout-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.layout-cards {
  display: grid;
  gap: 12px;
}

@media (min-width: 700px) {
  .layout-cards {
    grid-template-columns: repeat(3, 1fr);
  }
}

.schematic-card {
  border: 1px solid var(--border);
  background: rgba(31, 23, 4, 0.7);
  padding: 14px;
}

.schematic-card h3 {
  margin: 0 0 8px;
  font-size: 0.95rem;
  font-family: var(--font-mono);
  color: var(--secondary);
}

.schematic-card p {
  margin: 0;
  font-size: 0.9rem;
}

.layout-rail {
  display: grid;
  gap: 20px;
}

@media (min-width: 800px) {
  .layout-rail {
    grid-template-columns: 180px 1fr;
  }
}

.rail-mark {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent);
  border-right: 1px solid var(--border);
  padding-right: 12px;
}

.layout-band {
  background: var(--surface);
  border: 1px dashed rgba(255, 191, 105, 0.35);
  padding: 20px;
}

.layout-quote {
  border-left: 3px solid var(--accent);
  padding: 8px 0 8px 18px;
  font-size: 1.15rem;
  color: var(--secondary);
  margin: 18px 0;
}

.layout-mosaic {
  display: grid;
  gap: 12px;
}

@media (min-width: 700px) {
  .layout-mosaic {
    grid-template-columns: 1fr 1fr;
  }
}

.bg-decor {
  min-height: 160px;
  background-size: cover;
  background-position: center;
  border: 1px solid var(--border);
  max-width: min(500px, 100%);
  max-height: 320px;
  width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 0;
}

.checklist li {
  position: relative;
  padding: 8px 0 8px 28px;
  border-bottom: 1px solid var(--border);
  color: var(--muted);
}

.checklist li::before {
  content: "+";
  position: absolute;
  left: 0;
  top: 8px;
  color: var(--primary);
  font-family: var(--font-mono);
}

.site-footer {
  background: #0a0701;
  border-top: 1px solid var(--border);
  padding: 40px 16px 32px;
  margin-top: auto;
  width: 100%;
  flex-shrink: 0;
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
  margin-bottom: 20px;
}

.footer-brand img {
  width: 28px;
  height: 28px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-bottom: 20px;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--secondary);
}

.footer-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin: 18px 0;
}

.footer-badges a,
.footer-badges span {
  display: inline-flex;
}

.footer-badges img {
  height: 36px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
}

.footer-disclosure {
  font-size: 12px;
  color: rgba(212, 163, 115, 0.85);
  margin: 14px 0;
  max-width: 70ch;
}

.footer-notice {
  font-size: 12px;
  color: rgba(255, 250, 240, 0.65);
  margin: 14px 0;
  max-width: 70ch;
  white-space: pre-line;
}

.footer-risk {
  font-size: 12px;
  color: var(--muted);
  margin: 14px 0;
}

.updated-date {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent);
  margin: 12px 0;
}

.footer-company {
  font-size: 11px;
  color: rgba(212, 163, 115, 0.7);
  margin: 10px 0 0;
}

#age-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(8, 5, 0, 0.92);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

#age-overlay.active {
  display: flex;
}

.age-modal {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 28px 24px;
  max-width: 420px;
  width: 100%;
  text-align: center;
}

.age-modal h2 {
  margin: 0 0 12px;
  font-size: 1.35rem;
}

.age-modal p {
  margin: 0 0 20px;
  color: var(--muted);
}

.age-actions {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

.age-confirm,
.age-decline,
#cookie-accept,
#cookie-reject {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  padding: 10px 16px;
  cursor: pointer;
  border: 1px solid var(--border);
}

.age-confirm,
#cookie-accept {
  background: var(--primary);
  color: var(--bg);
  border-color: var(--primary);
}

.age-decline,
#cookie-reject {
  background: transparent;
  color: var(--text);
}

#age-blocked {
  display: none;
  color: var(--secondary);
  margin-top: 8px;
}

#age-blocked.visible {
  display: block;
}

#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 900;
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 16px;
  display: none;
}

#cookie-banner.active {
  display: block;
}

.cookie-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
}

.cookie-inner p {
  margin: 0;
  flex: 1 1 260px;
  font-size: 0.9rem;
  color: var(--muted);
}

.cookie-actions {
  display: flex;
  gap: 8px;
}

.page-hero {
  padding: 40px 16px 20px;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(31, 23, 4, 0.9), transparent);
}

.page-hero-inner {
  max-width: var(--max);
  margin: 0 auto;
}

.page-hero h1 {
  margin: 0 0 10px;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
}

.page-content {
  max-width: 760px;
  margin: 0 auto;
  padding: 32px 16px 48px;
}

.page-content h2 {
  margin: 28px 0 12px;
  font-size: 1.25rem;
  color: var(--secondary);
}

.page-content h3 {
  margin: 20px 0 10px;
  font-size: 1.05rem;
}

.page-content p,
.page-content li {
  color: rgba(255, 250, 240, 0.88);
}

.contact-form {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 480px;
}

.contact-form label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.contact-form input,
.contact-form textarea {
  font-family: var(--font-sans);
  font-size: 1rem;
  padding: 12px;
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text);
}

.contact-form button {
  align-self: flex-start;
  background: var(--primary);
  color: var(--bg);
  border: none;
  padding: 12px 18px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
}

.form-error {
  display: none;
  color: #ff6b6b;
  font-size: 0.85rem;
  margin: 0;
}

.form-error.visible {
  display: block;
}

#contact-success {
  display: none;
  border: 1px solid var(--accent);
  padding: 16px;
  color: var(--secondary);
}

#contact-success.visible {
  display: block;
}

.error-page {
  max-width: 560px;
  margin: 0 auto;
  padding: 80px 16px;
  text-align: center;
}

.error-page h1 {
  font-size: clamp(2.5rem, 8vw, 4.5rem);
  margin: 0 0 12px;
  color: var(--primary);
}

.error-page a {
  display: inline-flex;
  margin-top: 20px;
  padding: 10px 16px;
  border: 1px solid var(--primary);
  text-decoration: none;
  color: var(--primary);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.go-page {
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 48px 16px;
}

.go-spinner {
  width: 42px;
  height: 42px;
  border: 2px solid var(--border);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin-bottom: 18px;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

#AD {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--accent);
  margin: 0 0 16px;
}

.go-notes {
  margin-top: 24px;
  font-size: 0.85rem;
  color: var(--muted);
  max-width: 42ch;
}

.go-notes a {
  color: var(--secondary);
}

.sub-hero {
  padding: 36px 16px;
  border-bottom: 1px solid var(--border);
}

.sub-hero-inner {
  max-width: var(--max);
  margin: 0 auto;
}

.sub-hero h1 {
  margin: 0 0 10px;
  font-size: clamp(1.7rem, 3.5vw, 2.6rem);
}

.sub-main {
  max-width: var(--max);
  margin: 0 auto;
  padding: 36px 16px 56px;
}

.stat-band {
  display: grid;
  gap: 12px;
  margin: 24px 0;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
}

.stat-band div {
  border: 1px solid var(--border);
  padding: 14px;
  background: rgba(31, 23, 4, 0.65);
}

.stat-band strong {
  display: block;
  font-family: var(--font-mono);
  font-size: 1.2rem;
  color: var(--primary);
}

.stat-band span {
  font-size: 0.8rem;
  color: var(--muted);
}

.sidebar-layout {
  display: grid;
  gap: 28px;
}

@media (min-width: 900px) {
  .sidebar-layout {
    grid-template-columns: 1fr 260px;
  }
}

.side-rail {
  border: 1px solid var(--border);
  padding: 16px;
  background: var(--surface);
  height: fit-content;
}

.side-rail h3 {
  margin: 0 0 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.pull-quote {
  margin: 28px 0;
  padding: 20px;
  border: 1px solid rgba(46, 196, 182, 0.35);
  background: linear-gradient(135deg, rgba(46, 196, 182, 0.08), transparent);
  font-size: 1.15rem;
  color: var(--secondary);
}

.image-rail {
  display: flex;
  gap: 12px;
  overflow: hidden;
  margin: 20px 0;
  max-width: 100%;
}

.image-rail .bg-decor {
  flex: 1;
  min-height: 140px;
}

.mini-table {
  width: 100%;
  border-collapse: collapse;
  margin: 18px 0;
  font-size: 0.9rem;
}

.mini-table th,
.mini-table td {
  border: 1px solid var(--border);
  padding: 10px 12px;
  text-align: left;
}

.mini-table th {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(31, 23, 4, 0.8);
}

.fade-in {
  animation: fadeUp 0.7s ease both;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.line-draw {
  animation: linePulse 2.4s ease-in-out infinite;
}

@keyframes linePulse {
  0%,
  100% {
    opacity: 0.35;
  }
  50% {
    opacity: 0.9;
  }
}

.technical {
  outline-offset: 2px;
}

.draft {
  background-blend-mode: normal;
}

.precise {
  scroll-padding-top: 60px;
}

.architectural {
  text-rendering: geometricPrecision;
}

.minimal {
  -webkit-font-smoothing: antialiased;
}
