:root {
  color-scheme: light;
  --bg: #f8fafc;
  --surface: #ffffff;
  --surface-soft: #f1f5f9;
  --ink: #14213a;
  --muted: #526079;
  --line: #e4e9f0;
  --blue: #285cbd;
  --blue-strong: #1c4da7;
  --gold: #bc8735;
  --green: #416b50;
  --shadow: 0 28px 70px rgba(25, 44, 77, .11);
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0c1320;
  --surface: #151f2e;
  --surface-soft: #1d2a3a;
  --ink: #f3f6fa;
  --muted: #b0bdd0;
  --line: #344357;
  --blue: #85adff;
  --blue-strong: #adc8ff;
  --gold: #dfb46f;
  --green: #90b99a;
  --shadow: 0 28px 70px rgba(0, 0, 0, .25);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; transition: background-color .24s ease, color .24s ease; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.6; -webkit-font-smoothing: antialiased; transition: background-color .24s ease, color .24s ease; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }
.container { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }
.skip-link { position: absolute; left: 16px; top: -80px; z-index: 100; padding: 10px 14px; background: var(--surface); border-radius: 8px; }
.skip-link:focus { top: 12px; }

.site-header { position: relative; z-index: 10; border-bottom: 1px solid var(--line); background: color-mix(in srgb, var(--surface) 92%, transparent); transition: background-color .24s ease, border-color .24s ease; }
.nav-row { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: Georgia, "Times New Roman", serif; font-size: 24px; font-weight: 700; letter-spacing: -.055em; white-space: nowrap; }
.brand img { width: 42px; height: 42px; object-fit: contain; }
.brand span span { color: var(--blue); }
.main-nav, .nav-actions { display: flex; align-items: center; gap: 30px; }
.main-nav a { font-size: 14px; font-weight: 600; color: var(--muted); transition: color .2s; }
.main-nav a:hover, .site-footer nav a:hover { color: var(--blue); }
.nav-actions { gap: 12px; }
.theme-toggle { display: grid; place-items: center; width: 39px; height: 39px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .2s ease; }
.theme-toggle:hover { transform: translateY(-1px); background: var(--surface-soft); }
.theme-toggle:active { transform: translateY(0) scale(.94); }
.theme-icon { position: relative; display: block; width: 20px; height: 20px; line-height: 1; }
.theme-icon svg { position: absolute; inset: 0; width: 20px; height: 20px; transition: opacity .24s ease, transform .38s cubic-bezier(.22, 1, .36, 1); }
.theme-icon-moon { opacity: 1; transform: rotate(0) scale(1); }
.theme-icon-sun { color: var(--gold); opacity: 0; transform: rotate(-90deg) scale(.55); }
:root[data-theme="dark"] .theme-icon-moon { opacity: 0; transform: rotate(90deg) scale(.55); }
:root[data-theme="dark"] .theme-icon-sun { opacity: 1; transform: rotate(0) scale(1); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 13px; min-height: 48px; border-radius: 12px; padding: 13px 20px; font-size: 14px; font-weight: 700; line-height: 1.2; transition: transform .2s ease, background .2s ease, box-shadow .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: #285cbd; color: #fff; box-shadow: 0 10px 22px rgba(40, 92, 189, .2); }
.button-primary:hover { background: #174ba9; box-shadow: 0 14px 26px rgba(40, 92, 189, .26); }
.button-small { min-height: 40px; padding: 10px 15px; }
.button-large { min-height: 55px; padding: 17px 24px; font-size: 15px; }
.text-link { display: inline-flex; gap: 10px; align-items: center; color: var(--blue); font-weight: 700; font-size: 14px; }
.text-link:hover { color: var(--blue-strong); }

.hero { overflow: hidden; background: radial-gradient(circle at 12% 8%, rgba(235, 198, 130, .18), transparent 27%), radial-gradient(circle at 82% 20%, rgba(63, 104, 177, .08), transparent 29%), var(--bg); }
.hero-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: center; gap: clamp(28px, 5vw, 68px); padding-block: clamp(72px, 8vw, 124px); }
.eyebrow { display: flex; align-items: center; gap: 11px; margin: 0 0 23px; color: var(--blue); font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow-star { color: var(--gold); font-size: 17px; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-family: Georgia, "Times New Roman", serif; font-weight: 700; letter-spacing: -.055em; line-height: 1.13; }
h1 { max-width: 650px; font-size: clamp(44px, 5.3vw, 78px); margin-bottom: 25px; }
h1 em, h2 em { font-weight: 400; color: var(--blue); }
.hero-lead { max-width: 530px; color: var(--muted); font-size: clamp(17px, 1.65vw, 20px); line-height: 1.75; margin-bottom: 29px; }
.hero-actions { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.hero-note { margin: 22px 0 0; color: var(--muted); font-size: 12px; }
.hero-visual { position: relative; min-width: 0; }
.visual-glow { position: absolute; inset: 8% -6%; background: radial-gradient(circle, rgba(198, 145, 62, .25), rgba(35, 71, 130, .09) 45%, transparent 73%); filter: blur(24px); }
.logo-frame { position: relative; border: 1px solid rgba(217, 173, 94, .28); border-radius: 28px; padding: clamp(8px, 1.3vw, 16px); background: #080a0d; box-shadow: 0 35px 80px rgba(18, 27, 45, .24); transform: rotate(1.1deg); }
.logo-frame::after { content: ""; position: absolute; inset: 8px; border: 1px solid rgba(225, 184, 114, .14); border-radius: 21px; pointer-events: none; }
.logo-frame img { width: 100%; height: auto; border-radius: 20px; }
.visual-caption { position: relative; display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 24px; color: var(--muted); font-size: 12px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.caption-line { display: block; width: 24px; height: 1px; background: var(--gold); }

.intro-band { border-block: 1px solid var(--line); background: var(--surface); transition: background-color .24s ease, border-color .24s ease; }
.intro-band-inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding-block: 24px; color: var(--muted); font-size: 13px; font-weight: 700; letter-spacing: .04em; }
.intro-band i { color: var(--gold); font-size: 14px; font-style: normal; }
.section { padding-block: clamp(80px, 9vw, 124px); }
.section-heading { max-width: 720px; margin-bottom: 38px; }
.section-heading h2 { font-size: clamp(38px, 4.5vw, 61px); margin-bottom: 18px; }
.section-heading > p:last-child { max-width: 600px; color: var(--muted); font-size: 17px; }
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.feature-card { display: flex; flex-direction: column; min-height: 315px; padding: 31px 29px 28px; border: 1px solid var(--line); border-radius: 24px; background: var(--surface); box-shadow: 0 12px 32px rgba(20, 39, 72, .035); transition: background-color .24s ease, border-color .24s ease, color .24s ease; }
.feature-symbol { display: grid; place-items: center; width: 47px; height: 47px; margin-bottom: 30px; border-radius: 14px; font-family: Georgia, serif; font-size: 17px; font-weight: 700; }
.symbol-blue { color: #285cbd; background: #eaf0ff; }
.symbol-gold { color: #8a621f; background: #f8edda; }
.symbol-green { color: #38634a; background: #e6f2e8; }
.feature-card h3 { font-family: Georgia, serif; font-size: 25px; letter-spacing: -.03em; line-height: 1.25; margin-bottom: 14px; }
.feature-card p { color: var(--muted); font-size: 15px; line-height: 1.75; }
.feature-foot { margin-top: auto; padding-top: 22px; border-top: 1px solid var(--line); color: var(--blue); font-size: 12px; font-weight: 700; }

.experience { overflow: hidden; background: var(--surface-soft); transition: background-color .24s ease; }
.experience-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: center; gap: clamp(50px, 8vw, 110px); }
.experience-copy h2, .about h2 { font-size: clamp(38px, 4.1vw, 58px); margin-bottom: 23px; }
.experience-copy > p:not(.eyebrow), .about-copy p { color: var(--muted); font-size: 16px; line-height: 1.8; }
.check-list { display: grid; gap: 15px; list-style: none; padding: 13px 0 26px; margin: 0; color: var(--ink); font-size: 14px; }
.check-list li { display: flex; align-items: flex-start; gap: 11px; }
.check-list span { display: grid; place-items: center; flex: 0 0 21px; width: 21px; height: 21px; border-radius: 50%; background: #e8f2ea; color: #2d6b41; font-weight: 800; font-size: 13px; }
.preview-wrap { position: relative; padding: 12px 0 44px; }
.preview-orbit { position: absolute; border-radius: 50%; pointer-events: none; }
.preview-orbit-one { width: 180px; height: 180px; top: -42px; right: -40px; background: rgba(187, 135, 53, .14); }
.preview-orbit-two { width: 130px; height: 130px; bottom: 0; left: -36px; background: rgba(40, 92, 189, .12); }
.app-preview { position: relative; width: min(100%, 510px); margin-inline: auto; overflow: hidden; border-radius: 28px; border: 1px solid var(--line); background: #1d2b3d; box-shadow: var(--shadow); transform: rotate(-1deg); }
.app-preview img { display: block; width: 100%; height: auto; }
.mobile-preview { position: absolute; right: -18px; bottom: 10px; z-index: 2; width: clamp(108px, 25%, 164px); margin: 0; padding: 6px; border: 1px solid rgba(255, 255, 255, .26); border-radius: 24px; background: #10151d; box-shadow: 0 22px 45px rgba(9, 16, 29, .34); transform: rotate(4deg); }
.mobile-preview img { display: block; width: 100%; height: auto; border-radius: 17px; }
.preview-disclaimer { margin: 19px 0 0; color: var(--muted); text-align: center; font-size: 12px; }

.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(45px, 8vw, 130px); }
.about h2 { max-width: 530px; }
.about-copy { padding-top: 26px; }
.about-copy p { margin-bottom: 20px; }
.final-cta { padding-block: 78px; background: radial-gradient(circle at 72% 10%, rgba(117, 157, 236, .17), transparent 33%), #142a50; color: #fff; }
.final-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 36px; }
.final-cta .eyebrow { color: #d8b674; }
.final-cta h2 { font-size: clamp(39px, 4vw, 57px); margin-bottom: 10px; }
.final-cta p:last-child { margin-bottom: 0; color: #d6dfed; }
.button-light { flex-shrink: 0; color: #153262; background: #fff; }
.button-light:hover { background: #f2f5fb; }
.site-footer { padding-top: 60px; background: var(--surface); transition: background-color .24s ease; }
.footer-grid { display: flex; justify-content: space-between; gap: 28px; padding-bottom: 57px; }
.footer-brand { font-size: 22px; }
.footer-grid p { margin: 13px 0 0; color: var(--muted); font-size: 13px; }
.site-footer nav { display: flex; align-items: flex-start; justify-content: flex-end; gap: 22px; flex-wrap: wrap; padding-top: 13px; }
.site-footer nav a { color: var(--muted); font-size: 13px; font-weight: 600; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid var(--line); padding-block: 21px; color: var(--muted); font-size: 11px; }

@media (max-width: 920px) {
  .main-nav { display: none; }
  .hero-grid, .experience-grid { grid-template-columns: 1fr; }
  .hero-copy { max-width: 680px; }
  .hero-visual { width: min(100%, 650px); margin-inline: auto; }
  .experience-copy { max-width: 700px; }
  .feature-card { padding: 25px 22px; }
}

@media (max-width: 680px) {
  .container { width: min(100% - 32px, 560px); }
  .nav-row { min-height: 72px; gap: 8px; }
  .brand { gap: 5px; font-size: 20px; }
  .brand img { width: 34px; height: 34px; }
  .nav-actions { gap: 7px; }
  .nav-actions .button-small { min-height: 38px; padding: 9px 10px; font-size: 11px; }
  .theme-toggle { width: 36px; height: 36px; }
  .hero-grid { padding-block: 66px 72px; gap: 45px; }
  h1 { font-size: clamp(43px, 12vw, 62px); }
  .hero-actions { gap: 20px; }
  .intro-band-inner { justify-content: center; flex-wrap: wrap; gap: 8px 14px; padding-block: 20px; text-align: center; font-size: 11px; }
  .intro-band-inner i:last-of-type { display: none; }
  .section { padding-block: 75px; }
  .section-heading h2, .experience-copy h2, .about h2 { font-size: clamp(37px, 10vw, 50px); }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card { min-height: 0; }
  .feature-symbol { margin-bottom: 22px; }
  .feature-foot { margin-top: 10px; }
  .experience-grid { gap: 45px; }
  .preview-wrap { padding-top: 4px; }
  .mobile-preview { right: 4px; bottom: 8px; width: 104px; }
  .about-grid { grid-template-columns: 1fr; gap: 0; }
  .about-copy { padding-top: 0; }
  .final-cta { padding-block: 65px; }
  .final-cta-inner { align-items: flex-start; flex-direction: column; }
  .footer-grid, .footer-bottom { flex-direction: column; }
  .footer-grid { gap: 22px; padding-bottom: 37px; }
  .site-footer nav { justify-content: flex-start; }
  .footer-bottom { gap: 4px; }
}

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