:root {
  --navy-950: #04152f;
  --navy-900: #071f47;
  --navy-800: #0b2d61;
  --blue-700: #0f5fd2;
  --blue-600: #1874eb;
  --blue-100: #eaf3ff;
  --cyan-500: #26b8e9;
  --green-600: #11945c;
  --slate-900: #152033;
  --slate-700: #3b485d;
  --slate-500: #6b778a;
  --slate-300: #cfd8e6;
  --slate-200: #e4eaf2;
  --slate-100: #f3f6fa;
  --white: #fff;
  --shadow-sm: 0 8px 22px rgba(7, 31, 71, .08);
  --shadow-md: 0 20px 50px rgba(7, 31, 71, .14);
  --radius: 18px;
  --radius-sm: 12px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--slate-900);
  background: #fff;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }

.container { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  color: var(--blue-700); font-size: .82rem; font-weight: 800;
  letter-spacing: .13em; text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--cyan-500); }
.section { padding: 84px 0; }
.section-sm { padding: 56px 0; }
.section-title { margin: 12px 0 14px; color: var(--navy-950); font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1.08; letter-spacing: -.035em; }
.section-copy { max-width: 720px; margin: 0; color: var(--slate-700); font-size: 1.04rem; }
.muted { color: var(--slate-500); }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.95); border-bottom: 1px solid rgba(207,216,230,.75);
  backdrop-filter: blur(14px);
}
.nav-wrap { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 26px; }
.brand img { width: 245px; height: auto; }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav a { position: relative; padding: 30px 0 24px; color: #24324a; font-weight: 680; font-size: .93rem; }
.site-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 17px; height: 2px; transform: scaleX(0); background: var(--blue-600); transition: transform .2s ease; }
.site-nav a:hover::after, .site-nav a.active::after { transform: scaleX(1); }
.site-nav a.active { color: var(--blue-700); }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-toggle { display: none; border: 0; padding: 8px; background: transparent; color: var(--navy-900); cursor: pointer; }
.nav-toggle svg { width: 28px; height: 28px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 48px; padding: .78rem 1.2rem; border: 1px solid transparent; border-radius: 8px;
  font-weight: 780; transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  cursor: pointer;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: linear-gradient(135deg, var(--blue-600), var(--blue-700)); color: #fff; box-shadow: 0 10px 24px rgba(15,95,210,.25); }
.btn-primary:hover { box-shadow: 0 14px 30px rgba(15,95,210,.35); }
.btn-secondary { color: var(--navy-900); background: rgba(255,255,255,.9); border-color: var(--blue-700); }
.btn-dark { background: var(--navy-900); color: #fff; }
.btn-small { min-height: 42px; padding: .65rem 1rem; font-size: .88rem; }
.btn svg { width: 18px; height: 18px; }

.hero {
  position: relative; overflow: hidden; min-height: 630px;
  background: linear-gradient(105deg, #f8fbff 0%, #eef6ff 43%, #dcecff 100%);
}
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.95), transparent 42%); }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: .95fr 1.15fr; align-items: center; min-height: 630px; }
.hero-copy { padding: 78px 0 80px; }
.hero h1 { max-width: 660px; margin: 18px 0; color: var(--navy-950); font-family: Georgia, "Times New Roman", serif; font-size: clamp(3.4rem, 6.8vw, 6.1rem); line-height: .98; letter-spacing: -.045em; }
.hero p { max-width: 570px; color: #33445f; font-size: clamp(1.05rem, 1.8vw, 1.28rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero-visual { align-self: stretch; position: relative; min-height: 630px; }
.hero-visual img { width: 100%; height: 100%; object-fit: cover; object-position: 55% center; }
.hero-visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #edf6ff 0%, rgba(237,246,255,.35) 18%, transparent 48%); }
.hero-badge { position: absolute; z-index: 2; right: 7%; bottom: 9%; width: min(330px, 80%); padding: 18px 20px; border: 1px solid rgba(255,255,255,.8); border-radius: 14px; background: rgba(255,255,255,.9); box-shadow: var(--shadow-md); backdrop-filter: blur(10px); }
.hero-badge strong { display: block; color: var(--navy-900); font-size: 1.03rem; }
.hero-badge span { color: var(--slate-500); font-size: .9rem; }

.trust-strip { background: linear-gradient(135deg, var(--navy-950), var(--navy-800)); color: #fff; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-item { display: flex; gap: 14px; padding: 28px 24px; border-right: 1px solid rgba(255,255,255,.16); }
.trust-item:last-child { border-right: 0; }
.icon-outline { flex: 0 0 auto; width: 42px; height: 42px; display: grid; place-items: center; color: #fff; }
.icon-outline svg { width: 34px; height: 34px; stroke-width: 1.6; }
.trust-item strong { display: block; margin-bottom: 1px; font-size: .95rem; }
.trust-item span { display: block; color: rgba(255,255,255,.72); font-size: .8rem; line-height: 1.4; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.service-card, .value-card, .resource-card, .team-card {
  border: 1px solid var(--slate-200); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm);
}
.service-card { padding: 30px; transition: transform .2s ease, box-shadow .2s ease; }
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.card-icon { width: 52px; height: 52px; display: grid; place-items: center; margin-bottom: 22px; border-radius: 14px; color: var(--blue-700); background: var(--blue-100); }
.card-icon svg { width: 28px; height: 28px; }
.service-card h3, .value-card h3, .resource-card h3 { margin: 0 0 8px; color: var(--navy-950); font-size: 1.12rem; }
.service-card p, .value-card p, .resource-card p { margin: 0; color: var(--slate-700); font-size: .94rem; }
.text-link { display: inline-flex; align-items: center; gap: .45rem; margin-top: 18px; color: var(--blue-700); font-weight: 760; font-size: .92rem; }
.text-link svg { width: 17px; height: 17px; transition: transform .18s ease; }
.text-link:hover svg { transform: translateX(4px); }

.feature-split { display: grid; grid-template-columns: .9fr 1.1fr; gap: 52px; align-items: center; }
.image-frame { position: relative; overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow-md); background: var(--slate-100); }
.image-frame img { width: 100%; height: 100%; object-fit: cover; }
.feature-copy h2 { margin: 0 0 16px; color: var(--navy-950); font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1.1; }
.check-list { margin: 24px 0 30px; padding: 0; list-style: none; }
.check-list li { position: relative; padding: 7px 0 7px 30px; color: var(--slate-700); }
.check-list li::before { content: "✓"; position: absolute; left: 0; top: 8px; width: 20px; height: 20px; display: grid; place-items: center; border-radius: 50%; background: #e7f3ff; color: var(--blue-700); font-size: .76rem; font-weight: 900; }

.api-promo { position: relative; overflow: hidden; border-radius: 24px; background: linear-gradient(135deg, #041a3a 0%, #07306b 52%, #0e62c7 100%); color: #fff; box-shadow: var(--shadow-md); }
.api-promo::after { content: "{}"; position: absolute; right: 6%; top: 50%; transform: translateY(-52%); color: rgba(38,184,233,.28); font: 800 clamp(7rem, 16vw, 13rem)/1 ui-monospace, SFMono-Regular, Menlo, monospace; }
.api-content { position: relative; z-index: 1; width: min(700px, 72%); padding: 54px; }
.api-content .new-pill { display: inline-flex; padding: 5px 10px; border-radius: 999px; background: #1ecf89; color: #052d26; font-size: .74rem; font-weight: 900; letter-spacing: .1em; }
.api-content h2 { margin: 14px 0 8px; font-size: clamp(2rem, 4vw, 3.3rem); line-height: 1.03; }
.api-content p { color: rgba(255,255,255,.82); font-size: 1.04rem; }
.api-content .btn { margin-top: 18px; background: #fff; color: var(--navy-900); }

.stats { display: grid; grid-template-columns: 1.2fr repeat(3, .55fr); align-items: center; gap: 0; padding: 34px 0; }
.stats-intro { padding-right: 40px; }
.stat { padding: 10px 28px; border-left: 1px solid var(--slate-300); }
.stat strong { display: block; color: var(--blue-700); font-size: clamp(2rem, 4vw, 3rem); line-height: 1; }
.stat span { color: var(--slate-500); font-size: .88rem; }

.page-hero { position: relative; overflow: hidden; padding: 76px 0 72px; background: linear-gradient(135deg, var(--navy-950), var(--navy-800)); color: #fff; }
.page-hero::after { content: ""; position: absolute; inset: 0; opacity: .2; background-image: linear-gradient(30deg, transparent 40%, rgba(255,255,255,.13) 40%, rgba(255,255,255,.13) 41%, transparent 41%), linear-gradient(150deg, transparent 54%, rgba(255,255,255,.1) 54%, rgba(255,255,255,.1) 55%, transparent 55%); background-size: 120px 120px; }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { margin: 0; max-width: 15ch; font-family: "Baskerville", "Palatino Linotype", "Book Antiqua", Georgia, serif; font-size: clamp(2.6rem, 4.7vw, 4.45rem); font-weight: 700; line-height: 1.03; letter-spacing: -.035em; text-wrap: balance; text-shadow: 0 10px 30px rgba(0, 0, 0, .14); }
.page-hero p { max-width: 720px; margin: 14px 0 0; color: rgba(255,255,255,.78); font-size: 1.08rem; }

.page-hero-about h1 { max-width: none; font-size: clamp(2.5rem, 4.2vw, 4.1rem); white-space: nowrap; }

.partnership-visual { min-height: 360px; }
.partnership-visual img { width: 100%; height: 100%; object-fit: cover; object-position: center; }

.about-grid { display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 58px; }
.about-grid .image-frame { min-height: 460px; }
.about-grid .image-frame img { position: absolute; inset: 0; }
.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 44px; }
.value-card { padding: 24px; }
.value-card .card-icon { width: 46px; height: 46px; margin-bottom: 16px; }

.team-intro { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 34px; }
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.team-card { overflow: hidden; }
.team-photo { aspect-ratio: 1.12 / 1; overflow: hidden; background: #dfe8f3; }
.team-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.team-body { padding: 22px; }
.team-body h3 { margin: 0; color: var(--navy-950); font-size: 1.12rem; }
.team-role { margin: 2px 0 12px; color: var(--blue-700); font-weight: 750; font-size: .88rem; }
.team-bio { margin: 0; color: var(--slate-700); font-size: .9rem; }
.team-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 16px; }
.team-tag { padding: 4px 8px; border-radius: 999px; background: var(--slate-100); color: var(--slate-700); font-size: .72rem; font-weight: 700; }

.developer-hero { padding: 74px 0; background: #f7fbff; }
.developer-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 52px; align-items: center; }
.code-card { overflow: hidden; border: 1px solid #cfe1fb; border-radius: var(--radius); background: #eaf4ff; box-shadow: var(--shadow-sm); }
.code-head { display: flex; gap: 7px; padding: 14px 18px; border-bottom: 1px solid #cfe1fb; background: rgba(255,255,255,.75); }
.code-dot { width: 10px; height: 10px; border-radius: 50%; background: #97abd0; }
.code-card pre { margin: 0; padding: 28px; color: #154b92; font-size: .9rem; white-space: pre-wrap; }
.capability-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 40px; }
.capability { padding: 22px; border: 1px solid var(--slate-200); border-radius: 14px; background: #fff; }
.capability .card-icon { width: 44px; height: 44px; margin-bottom: 14px; }
.capability h3 { margin: 0 0 5px; color: var(--navy-950); font-size: 1rem; }
.capability p { margin: 0; color: var(--slate-500); font-size: .84rem; }

.install-panel { display: grid; grid-template-columns: 1.1fr .9fr; gap: 32px; padding: 34px; border: 1px solid #cfe1fb; border-radius: 20px; background: linear-gradient(135deg, #f4f9ff, #e8f3ff); }
.download-box { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.download-box h2, .instructions h2 { margin: 0 0 8px; color: var(--navy-950); }
.download-box p, .instructions p { margin: 0 0 22px; color: var(--slate-700); }
.instructions { padding: 24px; border-radius: 14px; background: rgba(255,255,255,.85); box-shadow: var(--shadow-sm); }
.instruction-step { display: grid; grid-template-columns: 28px 1fr; gap: 10px; margin: 14px 0; color: var(--slate-700); }
.step-number { width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; background: var(--blue-700); color: #fff; font-size: .75rem; font-weight: 900; }
.requirements { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--slate-200); color: var(--slate-500); font-size: .84rem; }

.resource-card { padding: 26px; }
.resource-meta { margin-bottom: 10px; color: var(--blue-700); font-size: .76rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 46px; }
.contact-list { display: grid; gap: 18px; margin-top: 30px; }
.contact-item { display: flex; gap: 15px; align-items: flex-start; }
.contact-item .card-icon { width: 44px; height: 44px; margin: 0; }
.contact-item strong { display: block; color: var(--navy-950); }
.contact-item span { color: var(--slate-500); font-size: .92rem; }
.contact-form { padding: 32px; border: 1px solid var(--slate-200); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { display: grid; gap: 7px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { color: var(--navy-950); font-size: .88rem; font-weight: 750; }
.form-field input, .form-field textarea, .form-field select { width: 100%; border: 1px solid var(--slate-300); border-radius: 9px; padding: 12px 13px; color: var(--slate-900); background: #fff; outline: none; }
.form-field input:focus, .form-field textarea:focus, .form-field select:focus { border-color: var(--blue-600); box-shadow: 0 0 0 3px rgba(24,116,235,.12); }
.form-field textarea { min-height: 130px; resize: vertical; }
.form-note { margin: 14px 0 0; color: var(--slate-500); font-size: .78rem; }

.site-footer { margin-top: 72px; background: var(--navy-950); color: #fff; }
.footer-main { display: grid; grid-template-columns: 1.4fr repeat(3, .7fr); gap: 40px; padding: 56px 0 42px; }
.footer-brand img { width: 250px; filter: brightness(0) invert(1); opacity: .95; }
.footer-brand p { max-width: 360px; color: rgba(255,255,255,.68); font-size: .9rem; }
.footer-col h3 { margin: 5px 0 16px; font-size: .9rem; letter-spacing: .08em; text-transform: uppercase; }
.footer-col a { display: block; margin: 8px 0; color: rgba(255,255,255,.68); font-size: .88rem; }
.footer-col a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding: 20px 0; border-top: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.58); font-size: .8rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; }

.modal { position: fixed; inset: 0; z-index: 100; display: none; place-items: center; padding: 20px; background: rgba(4,21,47,.7); }
.modal.open { display: grid; }
.modal-card { width: min(100%, 440px); padding: 30px; border-radius: 16px; background: #fff; box-shadow: var(--shadow-md); }
.modal-card h2 { margin: 0 0 8px; color: var(--navy-950); }
.modal-card p { color: var(--slate-700); }
.modal-actions { display: flex; justify-content: flex-end; margin-top: 22px; }

@media (max-width: 1020px) {
  .site-nav { position: fixed; inset: 82px 0 auto; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 12px 24px 22px; background: #fff; border-bottom: 1px solid var(--slate-200); box-shadow: var(--shadow-md); }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 14px 0; }
  .site-nav a::after { bottom: 6px; }
  .nav-toggle { display: inline-grid; }
  .nav-actions .btn { display: none; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { padding-bottom: 45px; }
  .hero-visual { min-height: 470px; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .trust-item:nth-child(2) { border-right: 0; }
  .trust-item:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.16); }
  .grid-3, .team-grid { grid-template-columns: 1fr 1fr; }
  .grid-4, .values-grid, .capability-grid { grid-template-columns: 1fr 1fr; }
  .feature-split, .about-grid, .developer-grid, .install-panel, .contact-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr 1fr; }
  .stats-intro { grid-column: 1 / -1; padding: 0 0 25px; }
  .stat:first-of-type { border-left: 0; padding-left: 0; }
  .api-content { width: 78%; }
  .footer-main { grid-template-columns: 1.2fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 680px) {
  .container { width: min(calc(100% - 28px), var(--max)); }
  .brand img { width: 205px; }
  .page-hero h1 { max-width: 100%; }
  .page-hero-about h1 { white-space: normal; }
  .nav-wrap { min-height: 72px; }
  .site-nav { inset: 72px 0 auto; }
  .hero, .hero-grid { min-height: auto; }
  .hero-copy { padding: 58px 0 36px; }
  .hero h1 { font-size: clamp(3rem, 17vw, 4.6rem); }
  .hero-visual { min-height: 360px; }
  .hero-badge { right: 5%; bottom: 6%; }
  .trust-grid, .grid-3, .grid-4, .team-grid, .values-grid, .capability-grid { grid-template-columns: 1fr; }
  .trust-item { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.16); }
  .trust-item:last-child { border-bottom: 0; }
  .section { padding: 64px 0; }
  .feature-split { gap: 34px; }
  .api-content { width: 100%; padding: 36px 28px 150px; }
  .api-promo::after { right: 50%; top: auto; bottom: 4px; transform: translateX(50%); font-size: 8rem; }
  .stats { grid-template-columns: 1fr; }
  .stat { border-left: 0; border-top: 1px solid var(--slate-300); padding: 20px 0; }
  .team-intro { align-items: flex-start; flex-direction: column; }
  .install-panel { padding: 22px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-field.full { grid-column: auto; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; }
}
