:root {
  color-scheme: light;
  --bg: #edf4fb;
  --bg-deep: #dce8f8;
  --surface: rgba(255, 255, 255, 0.84);
  --surface-strong: #ffffff;
  --line: rgba(12, 28, 48, 0.1);
  --text: #102033;
  --muted: #556274;
  --accent: #1f9fd9;
  --accent-strong: #0f7fb4;
  --accent-soft: #ddf4ff;
  --shadow: 0 24px 60px rgba(15, 44, 76, 0.14);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --max-width: 1080px;
  --font-base: "Aptos", "Segoe UI Variable Text", "Trebuchet MS", "Segoe UI", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-base);
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(31, 159, 217, 0.18), transparent 34%),
    radial-gradient(circle at 85% 12%, rgba(251, 191, 36, 0.12), transparent 24%),
    linear-gradient(180deg, var(--bg) 0%, #f8fbff 48%, #eef5ff 100%);
  min-height: 100vh;
}

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

p,
h1,
h2 {
  margin: 0;
}

.page-shell {
  width: min(calc(100% - 32px), var(--max-width));
  margin: 0 auto;
  padding: 24px 0 40px;
}

.topbar,
.hero,
.copy-card,
.faq-card,
.footer {
  animation: rise 0.7s ease both;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0 24px;
}

.topbar-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: linear-gradient(135deg, #0b1320 0%, #144568 100%);
  color: #ffffff;
  font-size: 1rem;
  box-shadow: 0 12px 24px rgba(13, 34, 58, 0.24);
}

.brand-text {
  font-size: 1rem;
}

.topbar-link {
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
  color: var(--muted);
  transition: transform 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.topbar-link:hover,
.topbar-link:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(31, 159, 217, 0.35);
  color: var(--text);
}

.hero {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 24px;
  align-items: center;
  padding: clamp(28px, 6vw, 58px);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.72)),
    linear-gradient(135deg, rgba(31, 159, 217, 0.06), rgba(251, 191, 36, 0.08));
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto -80px -90px auto;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(31, 159, 217, 0.18), transparent 68%);
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 1;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  color: var(--accent-strong);
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero h1 {
  max-width: 11ch;
  font-size: clamp(2.4rem, 7vw, 4.8rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
}

.lead {
  max-width: 720px;
  margin-top: 18px;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.18rem);
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

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

.button-primary {
  background: linear-gradient(135deg, var(--accent) 0%, #36b6f0 100%);
  color: #ffffff;
  box-shadow: 0 16px 30px rgba(31, 159, 217, 0.28);
}

.button-primary:hover,
.button-primary:focus-visible {
  box-shadow: 0 20px 34px rgba(31, 159, 217, 0.36);
}

.button-secondary {
  border: 1px solid rgba(31, 159, 217, 0.24);
  background: var(--accent-soft);
  color: #0c577a;
}

.highlight-card {
  max-width: 540px;
  margin-top: 28px;
  padding: 18px 20px;
  border: 1px solid rgba(16, 32, 51, 0.08);
  border-radius: var(--radius-md);
  background: rgba(248, 252, 255, 0.9);
}

.hero-visual {
  position: relative;
  z-index: 1;
  margin: 0;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.56);
  box-shadow: 0 18px 46px rgba(15, 44, 76, 0.12);
  backdrop-filter: blur(10px);
}

.hero-visual img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 18px;
  box-shadow: 0 20px 38px rgba(15, 44, 76, 0.18);
}

.hero-visual figcaption {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.highlight-title {
  margin-bottom: 8px;
  font-weight: 700;
  font-size: 1rem;
}

.highlight-card p:last-child {
  color: var(--muted);
  line-height: 1.65;
}

.language-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 20px;
}

.copy-card,
.faq-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: 0 14px 40px rgba(15, 44, 76, 0.08);
  backdrop-filter: blur(10px);
}

.card-label {
  margin-bottom: 14px;
  color: var(--accent-strong);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.82rem;
}

.copy-card h2 {
  font-size: clamp(1.32rem, 2vw, 1.65rem);
  line-height: 1.22;
}

.copy-card h3,
.section-card h3 {
  margin: 0;
  font-size: 1.1rem;
  line-height: 1.3;
}

.copy-card p + p,
.copy-card h2 + p {
  margin-top: 14px;
}

.copy-card p {
  color: var(--muted);
  line-height: 1.75;
}

.info-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 20px;
}

.query-section {
  margin-top: 20px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: 0 14px 40px rgba(15, 44, 76, 0.08);
  backdrop-filter: blur(10px);
}

.section-heading {
  margin-bottom: 18px;
}

.section-heading h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  line-height: 1.15;
}

.section-heading p + h2 {
  margin-top: 6px;
}

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

.section-card {
  padding: 20px;
  border: 1px solid rgba(16, 32, 51, 0.08);
  border-radius: 18px;
  background: rgba(248, 252, 255, 0.92);
}

.section-card-wide {
  grid-column: 1 / -1;
}

.section-card p {
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.7;
}

.video-card a,
.video-link-line a {
  color: var(--accent-strong);
  font-weight: 700;
}

.seo-note p + p {
  margin-top: 12px;
}

.compact-note {
  margin-top: 18px;
  color: var(--muted);
  line-height: 1.7;
}

.compact-note a {
  color: var(--accent-strong);
  font-weight: 700;
}

.info-chip {
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(11, 19, 32, 0.9);
  color: #eef7ff;
  font-weight: 600;
  line-height: 1.5;
  box-shadow: 0 16px 28px rgba(11, 19, 32, 0.16);
}

.faq-card {
  margin-top: 20px;
}

.faq-header {
  margin-bottom: 18px;
}

.faq-header h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  line-height: 1.15;
}

details {
  border-top: 1px solid rgba(16, 32, 51, 0.08);
  padding: 18px 0;
}

details:first-of-type {
  border-top: 0;
  padding-top: 0;
}

summary {
  cursor: pointer;
  font-weight: 700;
  list-style: none;
  line-height: 1.5;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "+";
  float: right;
  color: var(--accent-strong);
  font-size: 1.25rem;
  line-height: 1;
}

details[open] summary::after {
  content: "-";
}

details p {
  margin-top: 12px;
  color: var(--muted);
  line-height: 1.7;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 22px;
  padding: 18px 0 0;
  color: var(--muted);
  font-size: 0.96rem;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.footer a {
  color: var(--accent-strong);
  font-weight: 700;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 860px) {
  .hero,
  .language-grid,
  .query-grid,
  .info-strip,
  .footer {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: flex-start;
  }

  .hero h1 {
    max-width: 100%;
  }
}

@media (max-width: 640px) {
  .page-shell {
    width: min(calc(100% - 20px), var(--max-width));
    padding-top: 14px;
  }

  .topbar {
    padding-bottom: 18px;
  }

  .topbar,
  .hero-actions {
    align-items: stretch;
  }

  .topbar,
  .hero-actions,
  .footer {
    flex-direction: column;
  }

  .topbar-nav {
    width: 100%;
  }

  .button,
  .topbar-link {
    width: 100%;
  }

  .copy-card,
  .faq-card {
    padding: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
