:root {
  --bg: #0b1220;
  --bg-soft: #111a2b;
  --text: #eef3ff;
  --muted: #b4c0d8;
  --primary: #7c9cff;
  --primary-dark: #5e82f2;
  --card: rgba(255, 255, 255, 0.08);
  --border: rgba(255, 255, 255, 0.18);
  --shadow: 0 20px 45px rgba(2, 8, 22, 0.45);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 18px;
  line-height: 1.6;
  color: var(--text);
  background:
    radial-gradient(circle at 10% 0%, #1a2e55 0%, transparent 38%),
    radial-gradient(circle at 90% 20%, #1f375f 0%, transparent 34%),
    linear-gradient(180deg, #0b1220 0%, #0a1425 100%);
}

.top-nav {
  background: rgba(7, 13, 24, 0.72);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(14px);
  position: sticky;
  top: 0;
  z-index: 30;
}

.nav-wrap {
  min-height: 152px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.nav-links {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  align-items: center;
}

.brand {
  margin: 0;
  font-weight: 700;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  line-height: 1;
  color: var(--text);
  text-decoration: none;
}

.brand-name {
  display: inline-flex;
  align-items: center;
}

.brand-logo {
  height: 62px;
  width: auto;
  display: block;
}

.nav-link {
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.05);
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  transition: all 0.2s ease;
}

.nav-link:hover {
  background: rgba(124, 156, 255, 0.22);
  border-color: rgba(124, 156, 255, 0.45);
}

.nav-link.is-active {
  background: var(--primary);
  border-color: var(--primary);
  color: #0b1220;
}

.container {
  width: min(1100px, 92%);
  margin: 0 auto;
}

.site-header {
  padding: 2.6rem 0 2.6rem;
  background: linear-gradient(180deg, rgba(17, 26, 43, 0.66) 0%, rgba(10, 20, 37, 0.25) 100%);
  border-bottom: 1px solid var(--border);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.3rem;
  align-items: center;
}

.main-banner {
  position: relative;
  width: 100%;
  border-bottom: 1px solid var(--border);
  background: #0d1728;
}

.main-banner img {
  width: 100%;
  height: clamp(210px, 33vw, 420px);
  object-fit: cover;
  object-position: center;
  display: block;
}

.banner-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  background: linear-gradient(180deg, rgba(11, 18, 32, 0.05) 35%, rgba(11, 18, 32, 0.75) 100%);
}

.banner-title {
  margin: 0 0 1.2rem;
  color: #ffffff;
  font-size: clamp(1.7rem, 4vw, 2.8rem);
  letter-spacing: 0.01em;
}

.eyebrow {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  color: #b7c5e6;
}

h1,
h2,
h3 {
  line-height: 1.25;
}

h1 {
  font-size: clamp(2.1rem, 4.6vw, 3.4rem);
  margin: 0.5rem 0 1rem;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.45rem, 2.2vw, 2rem);
  margin-top: 0;
}

h3 {
  font-size: 1.25rem;
}

.lead {
  max-width: 64ch;
  color: var(--muted);
}

.actions {
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
}

.button {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.8rem 1.25rem;
  border-radius: 999px;
  background: var(--primary);
  color: #0b1220;
  text-decoration: none;
  font-weight: 700;
  border: 1px solid var(--primary);
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
  box-shadow: 0 10px 22px rgba(124, 156, 255, 0.35);
}

.button:hover,
.button:focus-visible {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

.button.ghost {
  background: rgba(255, 255, 255, 0.08);
  color: var(--primary);
}

.button.ghost:hover,
.button.ghost:focus-visible {
  background: rgba(124, 156, 255, 0.22);
}

.logo-strip {
  margin-top: 1.1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.logo-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.09);
  font-size: 0.95rem;
  font-weight: 600;
}

.apple-mark {
  font-weight: 700;
}

.hero-image-wrap {
  position: relative;
  border-radius: 1.1rem;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.hero-image {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
}

.image-caption {
  position: absolute;
  left: 0.8rem;
  bottom: 0.8rem;
  margin: 0;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.9);
}

.section {
  padding: 2.8rem 0;
}

.section.light {
  background: var(--bg-soft);
}

.grid {
  display: grid;
  gap: 1rem;
}

.two-col {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.three-col {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 1.1rem;
  padding: 1.15rem 1.2rem;
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
}

ul {
  padding-left: 1.2rem;
}

li + li {
  margin-top: 0.35rem;
}

details {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 0.8rem;
  padding: 0.8rem 0.9rem;
  box-shadow: var(--shadow);
}

details + details {
  margin-top: 0.8rem;
}

summary {
  cursor: pointer;
  font-weight: 700;
}

.auth-form {
  display: grid;
  gap: 0.5rem;
}

.auth-form label {
  font-weight: 600;
}

.auth-form input {
  width: 100%;
  padding: 0.7rem 0.8rem;
  border: 1px solid var(--border);
  border-radius: 0.7rem;
  font: inherit;
  background: rgba(255, 255, 255, 0.92);
}

.auth-form select {
  width: 100%;
  padding: 0.7rem 0.8rem;
  border: 1px solid var(--border);
  border-radius: 0.7rem;
  font: inherit;
  background: rgba(255, 255, 255, 0.92);
}

.auth-form input:focus {
  outline: 2px solid #99c8f8;
  outline-offset: 1px;
}

.auth-form select:focus {
  outline: 2px solid #99c8f8;
  outline-offset: 1px;
}

.auth-status {
  margin: 1rem 0 0;
  font-weight: 600;
  min-height: 1.3rem;
}

.auth-status.success {
  color: #56e3bf;
}

.auth-status.error {
  color: #ff8f8f;
}

.quote {
  font-style: italic;
  margin: 0;
}

.contact-card {
  max-width: 720px;
}

.feature-image {
  margin-top: 1.2rem;
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.feature-image img {
  display: block;
  width: 100%;
  max-height: 350px;
  object-fit: cover;
}

.photo-band {
  margin-bottom: 1rem;
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.photo-band img {
  display: block;
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 1.2rem 0;
  background: rgba(7, 13, 24, 0.68);
}

.site-footer p {
  margin: 0;
  color: var(--muted);
}

.quick-links {
  margin-top: 0.5rem;
}

.quick-links a {
  color: var(--primary);
  text-decoration: none;
}

.quick-links a:hover {
  text-decoration: underline;
}

.page-hero {
  padding: 2.4rem 0 1.3rem;
}

.breadcrumbs a {
  color: var(--primary);
  text-decoration: none;
}

.breadcrumbs a:hover {
  text-decoration: underline;
}

.page-shell {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 1rem;
  align-items: start;
}

.cta-row {
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.center-card {
  margin: 0 auto;
}

.simple-help {
  margin-top: 1.2rem;
  border-top: 1px solid var(--border);
  padding-top: 0.9rem;
}

.profile-block {
  max-width: 760px;
  margin: 0 auto;
}

.profile-visual {
  width: 100%;
  max-width: 220px;
  border-radius: 12px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  background: #fff;
}

.title-with-line {
  display: inline-block;
  padding-bottom: 0.18rem;
  border-bottom: 2px solid rgba(124, 156, 255, 0.65);
}

@media (max-width: 700px) {
  body {
    font-size: 17px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-image {
    height: 280px;
  }

  .site-header {
    padding-top: 2rem;
  }

  .nav-wrap {
    align-items: flex-start;
    flex-direction: column;
    padding: 0.6rem 0;
  }

  .brand-logo {
    height: 50px;
  }

  .page-shell {
    grid-template-columns: 1fr;
  }

  .profile-block {
    grid-template-columns: 1fr;
  }
}
