:root {
  --ink: #12241c;
  --muted: #5a6a62;
  --paper: #f4f7f4;
  --card: #ffffff;
  --line: #dce6df;
  --green: #2fce86;
  --green-deep: #0f7a52;
  --navy: #0f2e24;
  --shadow: 0 24px 60px rgba(15, 46, 36, 0.12);
  --sans: "Manrope", "Avenir Next", "Segoe UI", sans-serif;
  --serif: "Fraunces", "Iowan Old Style", Georgia, serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: var(--sans);
  font-size: 1.05rem;
  line-height: 1.6;
  overflow-x: clip;
}
a { color: inherit; }
img { max-width: 100%; display: block; }
button, input { font: inherit; }

.emergency {
  background: var(--navy);
  color: #e8f6ee;
  text-align: center;
  padding: 0.48rem 1rem;
  font-size: 0.86rem;
  font-weight: 650;
}
.emergency a { color: #7dffa8; font-weight: 780; }

.top {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding: 0.7rem 1.6rem;
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  font-weight: 780;
  letter-spacing: -0.04em;
  font-size: 1.28rem;
  margin-right: 0.4rem;
}
.mark {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  overflow: hidden;
  flex: 0 0 40px;
  box-shadow: 0 0 0 1px rgba(15, 46, 36, 0.08);
}
.mark img { width: 40px; height: 40px; }
.word { letter-spacing: -0.05em; }
.ico {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #e8f7ef;
  color: var(--green-deep);
  margin-bottom: 0.7rem;
}
.ico svg { width: 22px; height: 22px; }
.nav { display: flex; align-items: center; gap: 0.35rem; }
.nav-links { display: flex; align-items: center; gap: 0.15rem; }
.drop { position: relative; }
.drop-btn, .nav-links > a {
  background: none;
  border: 0;
  color: var(--ink);
  text-decoration: none;
  padding: 0.55rem 0.58rem;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 620;
  font-size: 0.95rem;
}
.drop-btn::after { content: " ▾"; font-size: 0.72rem; color: var(--muted); }
.mega {
  display: none;
  position: absolute;
  top: calc(100% + 0.35rem);
  left: 0;
  width: min(560px, 80vw);
  padding: 0.7rem;
  background: white;
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow);
  grid-template-columns: 1fr 1fr;
  gap: 0.25rem;
}
.drop:hover .mega, .drop:focus-within .mega, .drop.open .mega { display: grid; }
.mega a {
  display: block;
  text-decoration: none;
  padding: 0.75rem 0.8rem;
  border-radius: 14px;
}
.mega a:hover { background: #f4f7f5; }
.mega strong { display: block; font-size: 0.98rem; }
.mega span { display: block; color: var(--muted); font-size: 0.86rem; line-height: 1.4; margin-top: 0.15rem; }

.tools {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-left: auto;
  padding-left: 0.9rem;
  border-left: 1px solid var(--line);
}
.tools .button { white-space: nowrap; padding: 0.65rem 1.05rem; min-height: 44px; }
.langs { display: flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; background: white; }
.langs a {
  padding: 0.38rem 0.62rem;
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--muted);
}
.langs a[aria-current="true"] { background: var(--navy); color: white; }
.login {
  text-decoration: none;
  font-weight: 780;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  text-transform: uppercase;
  padding: 0.45rem 0.2rem;
  white-space: nowrap;
}
.button, button.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.75rem 1.25rem;
  border-radius: 999px;
  border: 0;
  background: linear-gradient(180deg, #5ee8a8, #18c978);
  color: white;
  text-decoration: none;
  font-weight: 760;
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(24, 201, 120, 0.35);
}
.button.secondary {
  background: white;
  color: var(--ink);
  border: 1px solid var(--line);
  box-shadow: none;
}
.button.warn { background: #b85a3d; box-shadow: none; }
.button:disabled { opacity: 0.5; cursor: not-allowed; }
button.menu { display: none; white-space: nowrap; }

.wrap { width: min(1120px, calc(100% - 8vw)); margin: 0 auto; }
.stage {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  display: grid;
  grid-template-columns: minmax(280px, 640px) minmax(320px, 1fr);
  align-items: center;
  min-height: 620px;
  padding: 1.2rem 0 0 max(4vw, calc(50vw - 560px));
  background:
    radial-gradient(900px 420px at 18% 80%, #e9fff4 0%, transparent 60%),
    #fff;
}
.stage-copy { padding: 1.5rem 1.5rem 2.5rem 0; position: relative; z-index: 2; animation: rise 0.7s ease both; }
.stage-visual { animation: rise 0.9s ease 0.12s both; }
.chip { animation: rise 0.8s ease 0.45s both; }
.stage h1 { font-size: clamp(3.1rem, 5.6vw, 4.8rem); max-width: 12ch; margin: 0.5rem 0 1rem; }
.stage-visual { position: relative; min-height: 620px; }
.stage-visual img {
  width: 100%;
  height: 620px;
  object-fit: cover;
  object-position: center 18%;
}
.stage-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #fff 0%, rgba(255,255,255,0.55) 12%, transparent 34%);
  z-index: 1;
}
.chip {
  position: absolute;
  z-index: 2;
  left: 10%;
  bottom: 22%;
  background: #fff;
  border-radius: 18px;
  padding: 0.9rem 1.15rem 0.8rem;
  box-shadow: 0 18px 40px rgba(22, 20, 40, 0.12);
  border: 1px solid #f0eeea;
  min-width: 150px;
}
.chip b { display: block; font-size: 1.25rem; letter-spacing: -0.03em; }
.chip span {
  display: block;
  margin-top: 0.15rem;
  color: #8b909c;
  font-size: 0.72rem;
  font-weight: 760;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.hero { padding: 3.2rem 0 1rem; }
.badge {
  display: inline-flex;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  background: #e7f8ef;
  color: #0d7a4e;
  font-size: 0.78rem;
  font-weight: 760;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
h1, h2 { font-family: var(--serif); letter-spacing: -0.035em; line-height: 1.08; font-weight: 680; }
h3 { letter-spacing: -0.03em; line-height: 1.15; font-weight: 750; }
h1 { font-size: clamp(2.8rem, 6vw, 5.1rem); margin: 0.7rem 0 1rem; max-width: 16ch; }
h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); margin: 0 0 0.6rem; }
.byline {
  margin: 0.7rem 0 0;
  color: var(--green-deep);
  font-weight: 720;
  letter-spacing: 0.02em;
}
.lede { font-size: 1.22rem; max-width: 42rem; color: #2c3544; }
.actions { display: flex; gap: 0.75rem; flex-wrap: wrap; margin-top: 1.5rem; }
.shot {
  margin: 2.2rem 0 0;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #ddd;
}
.shot img { width: 100%; height: min(520px, 58vw); object-fit: cover; }

section { padding: 3.2rem 0; }
.kicker { color: var(--green-deep); font-size: 0.78rem; font-weight: 760; letter-spacing: 0.12em; text-transform: uppercase; }
.sub { color: var(--muted); margin-top: 0; }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-top: 1.6rem; }
.steps article, .card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 1.15rem 1.15rem 1.3rem;
}
.num { color: var(--green-deep); font-weight: 780; font-size: 0.92rem; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 1.4rem; }
.grid.two { grid-template-columns: 1fr 1fr; }
.card h3 { margin: 0.2rem 0 0.4rem; font-size: 1.2rem; }
.card p, .steps p { color: #3c4656; margin: 0; }

.split { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 2rem; align-items: center; }
.split img { width: 100%; height: 420px; object-fit: cover; border-radius: 28px; }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.stat {
  background: white;
  border-radius: 22px;
  padding: 1.3rem;
  border: 1px solid var(--line);
}
.stat b { display: block; font-size: 1.7rem; letter-spacing: -0.04em; }

.band {
  background: white;
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 2rem;
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  align-items: center;
}
.page-hero { padding-top: 3rem; }
.page-hero h1 { font-size: clamp(2.4rem, 5vw, 4rem); }

footer {
  margin-top: 2rem;
  background: var(--navy);
  color: #e7efe9;
  padding: 2.4rem 6vw 2.8rem;
}
footer a { color: #d7f5e8; text-decoration: none; }
.footgrid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 1.5rem; }
.fine { color: #b7c4be; font-size: 0.92rem; }
footer strong { display: block; font-size: 1.15rem; margin: 0.6rem 0 0.4rem; }
footer .mark { margin-bottom: 0.2rem; box-shadow: none; }

.trust {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.7rem;
  padding: 1.2rem 0 0.4rem;
}
@media (min-width: 1180px) {
  .trust { grid-template-columns: repeat(6, 1fr); }
}
.seal {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 0.9rem 0.85rem 1rem;
  min-height: 100%;
}
.seal .ico { width: 34px; height: 34px; margin-bottom: 0.45rem; }
.seal .ico svg { width: 18px; height: 18px; }
.seal b { display: block; font-size: 0.92rem; letter-spacing: -0.02em; }
.seal span { display: block; margin-top: 0.25rem; color: var(--muted); font-size: 0.78rem; line-height: 1.4; }
.lineage { padding-top: 2.2rem; }
.cert-note { color: var(--muted); font-size: 0.95rem; max-width: 46rem; margin: 0 0 1.5rem; }
.rail-n { display: grid; gap: 0.55rem; align-content: start; }
.rail-n .ico { margin: 0; }

.panel {
  background: white;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 1.1rem;
}
.chat { display: flex; flex-direction: column; gap: 0.7rem; min-height: 280px; max-height: 460px; overflow: auto; }
.bubble { max-width: 85%; padding: 0.75rem 0.9rem; border-radius: 18px; animation: rise 0.35s ease both; }
.bubble.ava { background: #e7f8ef; }
.bubble.caller { background: #efe8dc; margin-left: auto; }
.composer { display: flex; gap: 0.5rem; margin-top: 0.8rem; flex-wrap: wrap; }
.field, .composer input {
  flex: 1;
  min-width: 180px;
  border: 1px solid var(--line);
  background: white;
  border-radius: 14px;
  padding: 0.75rem 0.8rem;
}
.desk { display: grid; grid-template-columns: 240px 1fr 280px; gap: 1rem; padding-bottom: 2rem; }
.queue button { width: 100%; text-align: left; margin-bottom: 0.4rem; }
.tag { display: inline-block; border-radius: 999px; padding: 0.1rem 0.55rem; font-size: 0.8rem; background: #e7f8ef; }
.tag.red { background: #f8d6d6; }
.tag.yellow { background: #f8e7c4; }
.tag.green { background: #d9f0e4; }
video { width: 100%; border-radius: 16px; background: #111; }
.meta { color: var(--muted); }
#flags { white-space: pre-line; }
.work .hero { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 1.5rem; align-items: start; }

.reveal { opacity: 0; transform: translateY(22px); animation: rise 0.7s ease var(--d, 0ms) both; animation-play-state: paused; }
.reveal.in { animation-play-state: running; }
@keyframes rise {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal, .stage-copy, .stage-visual, .chip { animation: none; opacity: 1; transform: none; }
}

.walk { padding-top: 1rem; }
.rail { list-style: none; margin: 1.8rem 0 0; padding: 0; }
.rail li {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 1.4rem;
  padding: 1.55rem 0;
  border-top: 1px solid var(--line);
}
.rail li:last-child { border-bottom: 1px solid var(--line); }
.rail-n { font-size: 1.35rem; font-weight: 780; color: var(--green-deep); letter-spacing: -0.04em; }
.rail h3 { margin: 0 0 0.35rem; font-size: 1.45rem; }
.rail p { margin: 0; max-width: 46rem; color: #3c4656; }

.console {
  display: grid;
  grid-template-columns: minmax(320px, 560px) 1fr;
  gap: 3rem;
  align-items: start;
  padding: 1.4rem 0 2.4rem;
}
.phone {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow);
  padding: 1rem 1rem 1.1rem;
  height: calc(100vh - 148px);
  max-height: 760px;
  min-height: 460px;
  display: flex;
  flex-direction: column;
}
.phone-bar { display: flex; align-items: center; gap: 0.6rem; min-height: 1.6rem; }
.live {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 0 rgba(47, 206, 134, 0.7);
  animation: pulse 1.8s ease infinite;
}
@keyframes pulse {
  70% { box-shadow: 0 0 0 8px rgba(47, 206, 134, 0); }
  100% { box-shadow: 0 0 0 0 rgba(47, 206, 134, 0); }
}
.phone .chat { flex: 1; min-height: 0; max-height: none; }
.phone .composer { display: grid; grid-template-columns: 1fr auto auto; }
.phone .composer .field { grid-column: 1 / -1; min-width: 0; }
.console-copy h1 { font-size: clamp(2.4rem, 4vw, 3.6rem); }
.console-copy h2 { margin-top: 1.2rem; font-size: 1.35rem; }
.points { margin: 1rem 0 0; padding: 0; list-style: none; display: grid; gap: 0.55rem; }
.points li {
  padding-left: 1.3rem;
  position: relative;
}
.points li::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  position: absolute;
  left: 0;
  top: 0.55rem;
}

@media (max-width: 980px) {
  .steps, .grid, .grid.two, .stats, .split, .footgrid, .desk, .work .hero, .stage, .console, .rail li, .trust { grid-template-columns: 1fr; }
  .trust { grid-template-columns: 1fr 1fr; }
  .stage { width: auto; margin-left: 0; padding: 1rem 0 0; min-height: 0; }
  .stage-visual, .stage-visual img { min-height: 360px; height: 420px; }
  .stage-visual::before { background: linear-gradient(180deg, #fff 0%, transparent 22%); }
  .band { flex-direction: column; align-items: flex-start; }
  button.menu { display: inline-flex; background: white; color: var(--ink); border: 1px solid var(--line); box-shadow: none; }
  .nav-links {
    display: none;
    position: absolute;
    top: 74px;
    left: 0;
    right: 0;
    background: var(--paper);
    padding: 0.6rem 1rem 1rem;
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
  }
  .nav-links.open { display: flex; }
  .mega { position: static; width: auto; box-shadow: none; display: none; }
  .drop.open .mega { display: grid; }
  .top { flex-wrap: wrap; }
  h1 { max-width: none; }
}
