:root {
  --navy: #071d35;
  --navy-soft: #0c2b4a;
  --blue: #1788c7;
  --green: #42c685;
  --ink: #11283e;
  --muted: #587086;
  --line: #d9e7ef;
  --mist: #f3f8fb;
  --white: #ffffff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
}
a { color: inherit; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 2rem;
  min-height: 82px;
  padding: 0 5vw;
  background: color-mix(in srgb, var(--navy) 94%, transparent);
  color: var(--white);
  border-bottom: 1px solid rgba(255,255,255,.1);
  backdrop-filter: blur(14px);
}
.brand { display: inline-flex; align-items: center; gap: .8rem; width: fit-content; color: white; text-decoration: none; font-weight: 750; letter-spacing: .055em; }
.brand > strong { color: white; font-size: 1.25rem; letter-spacing: .08em; }
.brand i { color: var(--green); font-style: normal; font-weight: 500; }
nav { display: flex; gap: 1.8rem; }
nav a { color: #d9e9f3; text-decoration: none; font-size: .92rem; }
nav a:hover, nav a:focus-visible { color: var(--green); }
.language { min-width: 48px; min-height: 40px; border: 1px solid rgba(255,255,255,.35); border-radius: 999px; background: transparent; color: white; cursor: pointer; font: inherit; font-weight: 700; }
.language:hover, .language:focus-visible { background: white; color: var(--navy); }

.hero {
  position: relative;
  min-height: 560px;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(350px, .92fr);
  align-items: center;
  gap: 3.5rem;
  padding: 4.4rem 7vw 4.8rem;
  overflow: hidden;
  background: var(--navy);
  color: white;
}
.hero::before { content: ""; position: absolute; inset: auto auto -240px -180px; width: 560px; height: 560px; border-radius: 50%; background: rgba(23,136,199,.16); filter: blur(10px); }
.hero-copy { position: relative; z-index: 2; max-width: 780px; }
.eyebrow { margin: 0 0 1rem; color: var(--blue); font-size: .82rem; font-weight: 800; letter-spacing: .15em; }
.hero .eyebrow, .contact .eyebrow { color: var(--green); }
h1, h2, h3 { margin-top: 0; line-height: 1.12; letter-spacing: -.025em; }
h1 { max-width: 760px; margin-bottom: 1.5rem; font-size: clamp(2.35rem, 3.45vw, 3.8rem); font-weight: 760; }
.lead { max-width: 680px; margin: 0 0 2rem; color: #c7dce9; font-size: clamp(1.06rem, 1.5vw, 1.25rem); }
.primary-action { display: inline-flex; align-items: center; min-height: 50px; padding: .65rem 1.3rem; border-radius: 999px; background: linear-gradient(100deg, var(--blue), var(--green)); color: var(--navy); text-decoration: none; font-weight: 800; }
.primary-action::after { content: "→"; margin-left: .8rem; transition: transform .2s ease; }
.primary-action:hover::after { transform: translateX(4px); }

.value-system { position: relative; width: min(34vw, 500px); aspect-ratio: 1; justify-self: center; display: grid; place-items: center; }
.orbit { position: absolute; inset: 0; border: 1px solid rgba(93,184,224,.28); border-radius: 50%; }
.orbit-outer { border-style: dashed; animation: orbit-turn 28s linear infinite; }
.orbit-inner { inset: 9%; }
.value-core { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: center; width: 50%; aspect-ratio: 1; border: 1px solid rgba(66,198,133,.18); border-radius: 50%; background: radial-gradient(circle at 50% 30%, #17446c, var(--navy-soft) 64%, var(--navy)); box-shadow: 0 22px 65px rgba(0,0,0,.24); text-align: center; }
.value-core small { color: #a6c4d7; font-size: clamp(.55rem, .65vw, .72rem); letter-spacing: .14em; }
.value-core strong { margin: .55rem 0; color: white; font-size: clamp(2rem, 3.3vw, 3.35rem); line-height: 1; }
.value-core span { color: var(--green); font-size: clamp(.42rem, .52vw, .62rem); letter-spacing: .08em; }
.orbit-dot { position: absolute; display: block; width: 14px; height: 14px; border-radius: 50%; box-shadow: 0 0 0 10px rgba(66,198,133,.1), 0 0 20px currentColor; }
.dot-blue { top: 18%; right: 11%; color: var(--blue); background: var(--blue); }
.dot-green { right: 5%; bottom: 20%; color: var(--green); background: var(--green); }
.dot-mint { top: 45%; left: -7px; color: var(--green); background: var(--green); }
@keyframes orbit-turn { to { transform: rotate(360deg); } }

.story { display: grid; grid-template-columns: .8fr 1.2fr; align-items: center; gap: 6vw; padding: 3.8rem 7vw 4.2rem; background: linear-gradient(110deg, #eaf5fa, #f4fbf7); border-bottom: 1px solid var(--line); }
.story .section-heading { margin-bottom: 0; }
.story h2 { font-size: clamp(1.9rem, 3vw, 2.85rem); }
.story-mark { display: block; width: min(100%, 440px); height: auto; margin-top: 1.35rem; border: 1px solid rgba(7,29,53,.1); border-radius: 16px; box-shadow: 0 16px 42px rgba(7,29,53,.12); }
.story-copy { max-width: 780px; }
.story-copy p { margin: 0 0 1.15rem; color: var(--muted); font-size: 1.06rem; }
.story-copy .story-conclusion { margin: 1.8rem 0 0; padding-left: 1.25rem; border-left: 4px solid var(--green); color: var(--navy); font-weight: 700; }
.section { padding: 5.75rem 7vw; }
.section-heading { max-width: 780px; margin-bottom: 3rem; }
h2 { margin-bottom: 1.2rem; font-size: clamp(2rem, 4vw, 3.7rem); color: var(--navy); }
.focus-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.focus-grid article { min-height: 280px; padding: 2.2rem; background: white; transition: background .2s ease, transform .2s ease; }
.focus-grid article:hover { position: relative; z-index: 2; background: var(--mist); }
.focus-grid article > span { display: inline-grid; place-items: center; width: 42px; height: 42px; margin-bottom: 2.5rem; border-radius: 50%; background: var(--navy); color: var(--green); font-weight: 800; }
.focus-grid h3 { max-width: 500px; margin-bottom: .9rem; color: var(--navy); font-size: clamp(1.25rem, 2.2vw, 1.7rem); }
.focus-grid p { max-width: 590px; margin: 0; color: var(--muted); }

.approach { display: grid; grid-template-columns: 1fr .85fr; gap: 7vw; align-items: center; background: var(--mist); }
.approach-copy > p:not(.eyebrow) { max-width: 680px; color: var(--muted); font-size: 1.08rem; }
.cpp-visual { display: block; width: min(100%, 320px); height: auto; margin-top: 1.4rem; filter: drop-shadow(0 12px 20px rgba(7,29,53,.16)); }
.approach ol { margin: 0; padding: 0; list-style: none; border-top: 1px solid #bed3df; }
.approach li { display: grid; grid-template-columns: 64px 1fr; align-items: center; padding: 1.15rem 0; border-bottom: 1px solid #bed3df; }
.approach li b { color: var(--blue); font-size: .82rem; letter-spacing: .1em; }
.approach li span { color: var(--navy); font-size: 1.3rem; font-weight: 700; }

.contact { display: grid; grid-template-columns: 1fr auto; gap: 4rem; align-items: end; padding: 5rem 7vw; background: var(--navy); color: white; }
.contact h2 { max-width: 760px; color: white; }
.contact p:last-child { max-width: 680px; margin-bottom: 0; color: #bad1df; }
.domains { display: flex; flex-direction: column; align-items: flex-end; gap: .5rem; }
.cpp-signature { display: flex; align-items: center; gap: .65rem; margin-bottom: 1rem; color: white; }
.cpp-signature span { font-size: 1.45rem; font-weight: 850; letter-spacing: .08em; }
.cpp-signature small { max-width: 120px; color: #9fc2d6; font-size: .58rem; line-height: 1.25; letter-spacing: .12em; }
.domains a, .domains span { color: white; text-decoration: none; font-size: 1.05rem; }
.domains a { color: var(--green); border-bottom: 1px solid currentColor; }
.domains .email { margin-bottom: .65rem; color: white; font-size: 1.15rem; font-weight: 750; }
footer { display: flex; justify-content: space-between; gap: 2rem; padding: 1.5rem 7vw; background: #041425; color: #92abba; font-size: .82rem; }

.install-card { position: fixed; z-index: 1000; right: 1rem; bottom: 1rem; width: min(420px, calc(100vw - 2rem)); display: grid; grid-template-columns: 52px 1fr auto; align-items: center; gap: .85rem; padding: 1rem; color: #fff; background: rgba(7,29,53,.97); border: 1px solid rgba(66,198,133,.45); border-radius: 18px; box-shadow: 0 18px 50px rgba(0,0,0,.28); }
.install-card[hidden] { display: none; }
.install-card img { width: 52px; height: 52px; border-radius: 13px; }
.install-card strong { display: block; font-size: .92rem; line-height: 1.25; }
.install-card p { margin: .25rem 0 0; color: #bed0df; font-size: .78rem; line-height: 1.35; }
.install-action { border: 0; border-radius: 999px; padding: .7rem .9rem; font: inherit; font-weight: 700; color: #071d35; background: #42c685; cursor: pointer; }
.install-close { position: absolute; top: .18rem; right: .45rem; border: 0; color: #bed0df; background: transparent; font-size: 1.25rem; cursor: pointer; }

:focus-visible { outline: 3px solid var(--green); outline-offset: 4px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media (prefers-reduced-motion: reduce) { .orbit-outer { animation: none; } }
@media (max-width: 900px) {
  .site-header { grid-template-columns: 1fr auto; gap: 1rem; }
  nav { display: none; }
  .hero { min-height: auto; grid-template-columns: 1fr; padding-top: 5.5rem; }
  .value-system { width: min(72vw, 470px); }
  .story, .approach, .contact { grid-template-columns: 1fr; }
  .domains { align-items: flex-start; }
}
@media (max-width: 640px) {
  .site-header { min-height: 70px; padding-inline: 1rem; }
  .brand { gap: .5rem; font-size: .72rem; letter-spacing: .03em; }
  .brand > strong { font-size: 1rem; }
  .hero, .section, .contact { padding-left: 1.25rem; padding-right: 1.25rem; }
  .hero { gap: 2.5rem; padding-top: 4.5rem; padding-bottom: 5rem; }
  .value-system { width: min(88vw, 420px); }
  .story { padding: 4.5rem 1.25rem; }
  .focus-grid { grid-template-columns: 1fr; }
  .focus-grid article { min-height: auto; padding: 1.65rem; }
  .focus-grid article > span { margin-bottom: 1.6rem; }
  footer { flex-direction: column; padding-inline: 1.25rem; }
  .install-card { grid-template-columns: 46px 1fr; padding-right: 2rem; }
  .install-card img { width: 46px; height: 46px; }
  .install-action { grid-column: 1 / -1; width: 100%; }
}
