:root{
  --bg:#F7F8F5;
  --surface:#FFFFFF;
  --panel:#F2F4F0;
  --ink:#111613;
  --muted:#5E6760;
  --soft:#8D968F;
  --line:rgba(17,22,19,.10);
  --line-strong:rgba(17,22,19,.16);
  --accent:#1FB36B;
  --accent-deep:#168C54;
  --accent-soft:rgba(31,179,107,.13);
  --shadow:0 28px 70px -38px rgba(17,22,19,.38);
}

*{box-sizing:border-box}
html,
body{height:100%}
body{
  margin:0;
  min-height:100dvh;
  overflow:hidden;
  color:var(--ink);
  background:
    radial-gradient(720px 420px at 50% -160px, rgba(31,179,107,.14), transparent 64%),
    linear-gradient(180deg, #FBFCF8 0%, var(--bg) 100%);
  font-family:Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height:1.5;
  -webkit-font-smoothing:antialiased;
  display:flex;
  flex-direction:column;
}
a{color:inherit;text-decoration:none}
img{display:block;max-width:100%}
h1,
p{margin:0}

.topbar{
  flex:none;
  display:flex;
  align-items:center;
  gap:16px;
  width:100%;
  padding:18px clamp(18px,4vw,44px);
}
.brand{
  display:flex;
  align-items:center;
  gap:10px;
  min-width:0;
  font-size:1.05rem;
  font-weight:800;
}
.brand img{
  flex:none;
  border-radius:9px;
  box-shadow:0 8px 18px -12px rgba(17,22,19,.42);
}
.nav{
  display:flex;
  align-items:center;
  gap:24px;
  margin-left:16px;
}
.nav a{
  color:var(--muted);
  font-size:.93rem;
  font-weight:560;
  transition:color .16s ease;
}
.nav a:hover{color:var(--ink)}
.spacer{flex:1}
.ghost{
  flex:none;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:40px;
  padding:0 17px;
  color:var(--ink);
  border:1px solid var(--line-strong);
  border-radius:999px;
  background:rgba(255,255,255,.72);
  box-shadow:0 12px 28px -24px rgba(17,22,19,.35);
  font-size:.92rem;
  font-weight:750;
  transition:transform .14s ease, border-color .14s ease, background .14s ease;
}
.ghost:hover{
  transform:translateY(-1px);
  border-color:rgba(31,179,107,.34);
  background:#fff;
}

.stage{
  flex:1;
  min-height:0;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:30px;
  width:100%;
  padding:8px clamp(18px,4vw,44px) 12px;
  text-align:center;
}
.hero{
  display:flex;
  flex-direction:column;
  align-items:center;
}
h1{
  font-size:clamp(3.05rem,7.2vw,5rem);
  line-height:.98;
  letter-spacing:0;
  font-weight:850;
}
.sub{
  max-width:48ch;
  margin-top:17px;
  color:var(--muted);
  font-size:clamp(1.02rem,1.7vw,1.18rem);
}
.sub strong{
  color:var(--ink);
  font-weight:800;
  box-shadow:inset 0 -.46em 0 var(--accent-soft);
}

.app-card{
  width:100%;
  max-width:570px;
  padding:21px;
  border:1px solid var(--line);
  border-radius:24px;
  background:rgba(255,255,255,.94);
  box-shadow:var(--shadow);
}
.route{
  display:flex;
  align-items:stretch;
  gap:12px;
}
.leg{
  flex:1;
  min-width:0;
  padding:15px 16px;
  border:1px solid var(--line);
  border-radius:16px;
  background:var(--panel);
  text-align:left;
}
.label{
  display:block;
  color:var(--soft);
  font-size:.72rem;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.chip{
  display:flex;
  align-items:center;
  gap:10px;
  min-width:0;
  margin-top:10px;
  color:var(--ink);
  font-size:1.08rem;
  font-weight:850;
}
.icon{
  flex:none;
  width:28px;
  height:28px;
  border-radius:50%;
  box-shadow:0 0 0 1px rgba(17,22,19,.06);
}
.switch{
  flex:none;
  align-self:center;
  display:grid;
  place-items:center;
  width:42px;
  height:42px;
  border:1px solid var(--line-strong);
  border-radius:50%;
  color:var(--muted);
  background:#fff;
  cursor:pointer;
  transition:transform .18s ease, color .16s ease, background .16s ease, border-color .16s ease;
}
.switch span{
  display:block;
  font-size:1.08rem;
  line-height:1;
}
.switch:hover{
  color:var(--accent-deep);
  border-color:rgba(31,179,107,.30);
  background:var(--accent-soft);
}
.switch.is-flipped{transform:rotate(180deg)}
.primary{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  width:100%;
  min-height:56px;
  margin-top:16px;
  border-radius:16px;
  background:var(--accent);
  color:#fff;
  font-size:1.06rem;
  font-weight:850;
  box-shadow:0 18px 38px -24px rgba(31,179,107,.76);
  transition:transform .14s ease, background .16s ease, box-shadow .16s ease;
}
.primary:hover{
  transform:translateY(-1px);
  background:var(--accent-deep);
  box-shadow:0 22px 42px -24px rgba(31,179,107,.92);
}

.foot{
  flex:none;
  padding:16px 24px 22px;
  color:var(--soft);
  text-align:center;
  font-size:.86rem;
  font-weight:650;
}

@media(max-width:680px){
  .topbar{padding:14px 16px}
  .brand span{font-size:1rem}
  .nav{display:none}
  .ghost{min-height:36px;padding:0 12px;font-size:.86rem}
  .stage{gap:22px;padding:8px 16px 10px}
  h1{font-size:3.25rem}
  .sub{max-width:31ch;margin-top:13px;font-size:1rem;line-height:1.45}
  .app-card{padding:16px;border-radius:21px}
  .route{flex-direction:column;gap:10px}
  .leg{padding:13px 14px}
  .switch{width:40px;height:40px}
  .switch span{transform:rotate(90deg)}
  .switch.is-flipped{transform:rotate(180deg)}
  .primary{min-height:52px;margin-top:14px}
  .foot{padding:12px 18px 16px}
}

@media(max-width:390px){
  .stage{gap:18px}
  h1{font-size:3rem}
  .sub{font-size:.96rem}
}
