:root {
  color-scheme: dark;
  --peluxa-navy: #0f1f3d;
  --peluxa-blue: #4a86c8;
  --peluxa-blue-light: #7eb3e8;
  --peluxa-blue-pale: #c5dff5;
  --text-muted: rgba(197, 223, 245, 0.72);
  --border: rgba(126, 179, 232, 0.22);
  font-family: "DM Sans", sans-serif;
  background: #000;
  color: #fff;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button, a, input { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
[hidden] { display: none !important; }
::selection { color: #fff; background: #315c8d; }
:focus-visible { outline: 2px solid var(--peluxa-blue-light); outline-offset: 5px; }

.page {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: radial-gradient(ellipse 65% 70% at 75% 45%, rgba(15, 31, 61, 0.65), transparent 85%);
}
.site-header, .site-footer {
  width: min(1200px, calc(100% - 96px));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.site-header { min-height: 108px; border-bottom: 1px solid var(--border); }
.brand { display: inline-flex; align-items: center; gap: 11px; font-size: 25px; font-weight: 650; letter-spacing: -1px; }
.contact-link { display: flex; align-items: center; gap: 20px; font-size: 14px; color: var(--peluxa-blue-pale); padding: 12px 0; border: 0; background: transparent; }
a:hover, .contact-link:hover { color: var(--peluxa-blue-light); }
main { flex: 1; display: grid; align-items: center; }
.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 32px;
  width: min(1200px, calc(100% - 96px));
  margin-inline: auto;
  text-align: left;
  padding-block: 72px;
  isolation: isolate;
}
.hero-content { position: relative; z-index: 1; min-width: 0; }
.hero-visual { display: grid; place-items: center; min-width: 0; }
.wafer-map { display: block; width: 90%; max-width: 528px; height: auto; }
.hero-grid {
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(126, 179, 232, 0.07) 1px, transparent 1px), linear-gradient(90deg, rgba(126, 179, 232, 0.07) 1px, transparent 1px);
  background-size: 64px 64px;
  background-position: center top;
  mask-image: radial-gradient(ellipse 42% 54% at 80% 50%, rgba(0, 0, 0, 0.6), transparent);
}
h1 { margin: 0; font-size: clamp(24px, 3.4vw, 48px); line-height: 1.08; font-weight: 500; letter-spacing: -0.055em; }
h1 > span { display: block; white-space: nowrap; color: var(--peluxa-blue-light); }
.newsletter-form-container { max-width: 400px; margin: 36px 0 0; border: 1px solid var(--border); border-radius: 14px; padding: 25px; text-align: left; background: rgba(15, 31, 61, 0.35); box-shadow: 0 16px 64px rgba(0, 0, 0, 0.15); }
.mail-icon { display: grid; place-items: center; flex: 0 0 40px; width: 40px; height: 40px; border: 1px solid var(--border); background: rgba(74, 134, 200, 0.08); border-radius: 10px; color: var(--peluxa-blue-light); }
.mail-icon svg { width: 21px; height: 21px; }
.signup-heading { display: flex; gap: 13px; align-items: center; margin-bottom: 22px; }
h2 { margin: 0; font-size: 16px; font-weight: 550; letter-spacing: -0.2px; }
.newsletter-form { display: flex; gap: 8px; }
.newsletter-form-input { min-width: 0; width: 100%; height: 46px; padding: 0 13px; background: rgba(0, 0, 0, 0.4); border: 1px solid var(--border); border-radius: 7px; color: white; font-size: 13px; }
.newsletter-form-input::placeholder { color: #8c9db5; }
.newsletter-form-input:focus { border-color: var(--peluxa-blue-light); }
.newsletter-form-button { flex: 0 0 46px; display: flex; align-items: center; justify-content: center; border: 1px solid transparent; border-radius: 7px; padding: 0 15px; min-height: 46px; background: var(--peluxa-blue-light); color: var(--peluxa-navy); font-size: 13px; font-weight: 650; transition: background 160ms ease; }
.newsletter-form-button:hover { background: var(--peluxa-blue-pale); }
.newsletter-form-button:disabled { cursor: wait; opacity: 0.7; }
.newsletter-form-button span { font-size: 19px; font-weight: 400; }
.newsletter-status { margin: 0; line-height: 1.6; font-size: 14px; color: var(--peluxa-blue-pale); overflow-wrap: anywhere; }
.newsletter-status[data-state="error"] { color: #f3aeae; }
.newsletter-back-button { margin: 12px 0 0; padding: 5px 0; border: 0; background: transparent; color: var(--peluxa-blue-light); font-size: 13px; }
.newsletter-back-button:hover { text-decoration: underline; }
.noscript-note { font-size: 13px; color: var(--text-muted); line-height: 1.6; }
.noscript-note a { text-decoration: underline; }
.site-footer { min-height: 88px; justify-content: center; text-align: center; gap: 20px; border-top: 1px solid var(--border); font-size: 12px; color: #90a3be; }
.site-footer p { margin: 0; line-height: 1.7; }
.contact-toast {
  position: fixed;
  z-index: 10;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 12px;
  width: max-content;
  max-width: min(460px, calc(100% - 32px));
  padding: 14px 20px;
  border: 1px solid rgba(126, 179, 232, 0.4);
  border-radius: 12px;
  background: #0f1f3d;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
  animation: toast-in 180ms ease-out;
}
.toast-message { margin: 0; color: var(--peluxa-blue-pale); font-size: 13px; line-height: 1.5; overflow-wrap: anywhere; }
@keyframes toast-in {
  from { opacity: 0; transform: translate(-50%, 8px); }
  to { opacity: 1; transform: translate(-50%, 0); }
}
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

@media (max-width: 700px) {
  .site-header, .site-footer { width: calc(100% - 40px); }
  .site-header { min-height: 84px; }
  .brand { font-size: 23px; gap: 9px; }
  .contact-link { gap: 10px; font-size: 13px; }
  .hero { width: calc(100% - 40px); grid-template-columns: minmax(0, 1fr); gap: 30px; padding-block: 48px 24px; }
  h1 { width: min(100%, 440px); margin-inline: auto; font-size: clamp(24px, 6.5vw, 38px); }
  .hero-content { display: contents; }
  .hero-visual { width: min(100%, 440px); margin-inline: auto; }
  .wafer-map { width: 80%; }
  .hero-grid { mask-image: radial-gradient(ellipse 70% 35% at 50% 80%, #000, transparent); }
  .newsletter-form-container { order: 1; width: min(100%, 400px); margin: 0 auto; padding: 20px; }
  .newsletter-form-button { justify-content: center; }
  .site-footer { min-height: 88px; gap: 12px; font-size: 11px; flex-wrap: wrap; padding-block: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
