:root{
  --bg: #070b14;
  --surface: #0e1422;
  
  --text: #f5f7fb;
  --muted: #9ba8bd;
  --line: rgba(255, 255, 255, 0.1);
  --cyan: #20d9e9;
  --purple: #8b5cf6;
  --gradient: linear-gradient(135deg, var(--cyan), var(--purple));
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}

*{
  box-sizing: border-box;
}

html{
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body{
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  line-height: 1.6;
  background:
    radial-gradient(circle at 80% 10%, rgba(139, 92, 246, 0.12), transparent 28%),
    radial-gradient(circle at 10% 25%, rgba(32, 217, 233, 0.08), transparent 25%),
    var(--bg);
}

button,
a{
  -webkit-tap-highlight-color: transparent;
}

a{
  color: inherit;
  text-decoration: none;
}

button,
a,
summary{
  outline-offset: 4px;
}

button:focus-visible,
a:focus-visible,
summary:focus-visible{
  outline: 2px solid var(--cyan);
}

.site-header{
  position: fixed;
  z-index: 100;
  top: 16px;
  left: 50%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(calc(100% - 28px), 1220px);
  height: 66px;
  padding: 0 18px;
  background: rgba(6, 9, 16, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: 18px;
  backdrop-filter: blur(20px) saturate(140%);
  box-shadow: 0 14px 50px rgba(0, 0, 0, 0.18);
  transform: translateX(-50%);
  transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.site-header.is-scrolled{
  background: rgba(5, 8, 14, 0.9);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.3);
}

.brand{
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  font-size: 16px;
  line-height: 1.15;
}

.brand-logo{
  width: 42px;
  height: 42px;
  object-fit: contain;
  filter: drop-shadow(0 0 18px rgba(32, 217, 233, 0.28));
}

.compact .brand-logo{
  width: 34px;
  height: 34px;
}

.brand strong{
  display: block;
  letter-spacing: 0.015em;
}

.brand small{
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-header nav{
  display: flex;
  align-items: center;
  gap: 20px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
}

.site-header nav a{
  position: relative;
  transition: color 0.2s ease;
}

.site-header nav a:not(.nav-cta)::after{
  position: absolute;
  right: 100%;
  bottom: -7px;
  left: 0;
  height: 1px;
  content: "";
  background: var(--gradient);
  transition: right 0.22s ease;
}

.site-header nav a:hover,
.site-header nav a.is-active{
  color: var(--text);
}

.site-header nav a:hover::after,
.site-header nav a.is-active::after{
  right: 0;
}

.nav-cta{
  padding: 9px 14px;
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 10px;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.nav-cta:hover,
.nav-cta.is-active{
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.18);
}

.nav-cta:hover{
  transform: translateY(-1px);
}

.menu-button{
  display: none;
  padding: 6px;
  color: var(--text);
  font-size: 25px;
  line-height: 1;
  background: none;
  border: 0;
  cursor: pointer;
}

.eyebrow{
  display: inline-block;
  margin-bottom: 16px;
  color: var(--cyan);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

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

.button{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 20px;
  border-radius: 11px;
  font-size: 14px;
  font-weight: 700;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.button:hover{
  transform: translateY(-2px);
}

.primary{
  color: #061018;
  background: var(--gradient);
  box-shadow: 0 12px 35px rgba(32, 217, 233, 0.16);
}

.secondary{
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--line);
}

.secondary:hover{
  border-color: rgba(32, 217, 233, 0.35);
}

.section-label{
  color: var(--cyan);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

footer{
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100%, 1220px);
  margin: 0 auto;
  padding: 32px 24px 45px;
  color: var(--muted);
  font-size: 12px;
  border-top: 1px solid var(--line);
}

footer div{
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 20px;
}

.lightbox{
  width: min(96vw, 1280px);
  padding: 0;
  overflow: hidden;
  color: var(--text);
  background: #080d16;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 40px 120px #000;
}

.lightbox::backdrop{
  background: rgba(2, 5, 10, 0.86);
  backdrop-filter: blur(6px);
}

.lightbox img{
  display: block;
  width: 100%;
  max-height: 82vh;
  object-fit: contain;
}

.lightbox p{
  margin: 0;
  padding: 15px 20px;
  color: var(--muted);
  font-size: 13px;
}

.lightbox-close{
  position: absolute;
  z-index: 2;
  top: 12px;
  right: 12px;
  width: 38px;
  height: 38px;
  color: #fff;
  font-size: 24px;
  background: rgba(5, 9, 17, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  cursor: pointer;
}

.lightbox-close:hover{
  background: rgba(255, 255, 255, 0.12);
}

@media (max-width: 1080px) {
  .site-header{
    top: 10px;
    width: calc(100% - 20px);
    padding: 0 14px;
  }

  .site-header nav{
    position: absolute;
    top: 74px;
    right: 0;
    left: 0;
    display: none;
    align-items: stretch;
    gap: 4px;
    padding: 12px;
    background: rgba(8, 13, 23, 0.96);
    border: 1px solid var(--line);
    border-radius: 16px;
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow);
  }

  .site-header nav.open{
    display: flex;
  }

  .site-header nav a{
    width: 100%;
    padding: 11px 12px;
    border-radius: 9px;
  }

  .site-header nav a:not(.nav-cta)::after{
    display: none;
  }

  .site-header nav a:hover,
  .site-header nav a.is-active{
    background: rgba(255, 255, 255, 0.055);
  }

  .nav-cta{
    margin-top: 4px;
  }

  .menu-button{
    display: block;
  }

  footer{
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
}

@media (max-width: 560px) {
  .brand span{
    display: none;
  }

  .brand-logo{
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 620px) {.lightbox{
    width: 100vw;
    border-radius: 0;
  }
}

@media (max-width: 520px) {.hero-actions{
    flex-direction: column;
  }

  .hero-actions .button{
    width: 100%;
  }
}

.page-hero{
  width: min(100%, 960px);
  margin: 0 auto;
  padding: 105px 24px 65px;
  text-align: center;
}

.page-hero h1{
  margin: 0;
  font-size: clamp(42px, 6vw, 70px);
  line-height: 1.04;
  letter-spacing: -0.05em;
}

.page-hero h1 span{
  color: transparent;
  background: var(--gradient);
  background-clip: text;
  -webkit-background-clip: text;
}

.page-hero p{
  max-width: 720px;
  margin: 22px auto 0;
  color: var(--muted);
  font-size: 18px;
}

.compact-page-hero{
  padding-bottom: 50px;
}

.content-shell{
  width: min(calc(100% - 48px), 1100px);
  margin: 0 auto 110px;
}

.contact-layout{
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 28px;
  align-items: start;
}

.contact-info,
.contact-form,
.legal-content{
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.018));
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.contact-info{
  padding: 34px;
}

.contact-info h2{
  margin: 7px 0 12px;
  font-size: 32px;
  letter-spacing: -0.035em;
}

.contact-info > p{
  margin-top: 0;
  color: var(--muted);
}

.contact-card,
.notice-card{
  margin-top: 24px;
  padding: 20px;
  background: rgba(5, 9, 17, 0.52);
  border: 1px solid var(--line);
  border-radius: 14px;
}

.contact-card span,
.contact-card a{
  display: block;
}

.contact-card span{
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.contact-card a{
  color: var(--cyan);
  font-weight: 700;
  overflow-wrap: anywhere;
}

.notice-card strong{
  display: block;
  margin-bottom: 6px;
}

.notice-card p{
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.contact-form{
  display: grid;
  gap: 20px;
  padding: 34px;
}

.form-row{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.contact-form label{
  display: grid;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
}

.contact-form label > span:not(.optional){
  color: var(--cyan);
}

.optional{
  margin-left: 5px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 500;
}

.contact-form input,
.contact-form select,
.contact-form textarea{
  width: 100%;
  padding: 13px 14px;
  color: var(--text);
  font: inherit;
  background: #090f1b;
  border: 1px solid var(--line);
  border-radius: 11px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form textarea{
  min-height: 175px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus{
  outline: none;
  border-color: rgba(32, 217, 233, 0.65);
  box-shadow: 0 0 0 3px rgba(32, 217, 233, 0.09);
}

.contact-form select option{
  color: var(--text);
  background: var(--surface);
}

.form-submit{
  border: 0;
  cursor: pointer;
}

.form-status{
  min-height: 1.5em;
  margin: -7px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.legal-content{
  padding: clamp(26px, 5vw, 58px);
}

.legal-content section + section{
  margin-top: 42px;
  padding-top: 38px;
  border-top: 1px solid var(--line);
}

.legal-content h2{
  margin: 0 0 13px;
  font-size: clamp(21px, 3vw, 28px);
  letter-spacing: -0.025em;
}

.legal-content p,
.legal-content address{
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  font-style: normal;
}

.legal-content p + p{
  margin-top: 13px;
}

.legal-content a{
  color: var(--cyan);
}

.draft-notice{
  margin-bottom: 42px;
  padding: 20px 22px;
  background: linear-gradient(120deg, rgba(32, 217, 233, 0.08), rgba(139, 92, 246, 0.08));
  border: 1px solid rgba(32, 217, 233, 0.28);
  border-radius: 14px;
}

.draft-notice strong{
  display: block;
  margin-bottom: 4px;
}

.draft-notice p{
  color: #bac7d9;
  font-size: 13px;
}

.placeholder{
  color: #d7b9ff !important;
  background: rgba(139, 92, 246, 0.09);
  border-radius: 4px;
}

.legal-date{
  margin-top: 25px !important;
  color: var(--text) !important;
  font-weight: 700;
}

.footer-links{
  flex-wrap: wrap;
  justify-content: center;
}

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

@media (max-width: 850px) {.contact-layout{
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {.page-hero{
    padding-top: 75px;
  }

  .content-shell{
    width: min(calc(100% - 28px), 1100px);
    margin-bottom: 75px;
  }

  .form-row{
    grid-template-columns: 1fr;
  }

  .contact-info,
.contact-form{
    padding: 24px;
  }

  .legal-content{
    padding: 24px 20px;
  }
}
