:root {
  color-scheme: light;
  --ink: #071833;
  --muted: #4d627c;
  --blue: #0b6fe8;
  --cyan: #19b4ff;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  min-height: 100%;
  background:
    radial-gradient(circle at 78% 46%, rgba(25, 180, 255, 0.22), transparent 24rem),
    radial-gradient(circle at 8% 12%, rgba(11, 111, 232, 0.1), transparent 18rem),
    linear-gradient(180deg, #f5f9ff 0%, #ffffff 58%, #d9ecff 84%, #1476f0 100%);
  color: var(--ink);
  font-family: "Avenir Next", "Segoe UI", sans-serif;
}

body { min-height: 100vh; overflow-x: hidden; }

img { max-width: 100%; height: auto; }

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: clamp(0.8rem, 2vw, 1.3rem) clamp(1rem, 3vw, 2.2rem) 0;
}

.logo { display: inline-flex; flex: 0 1 auto; text-decoration: none; }

.logo img {
  height: clamp(4.4rem, 9vw, 6.4rem);
  width: auto;
}

.lang { position: relative; flex: 0 0 auto; }

.lang-button, .lang-menu button {
  font: inherit;
  cursor: pointer;
}

.lang-button {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  min-width: 9.2rem;
  border: 1px solid #d7e6f8;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  border-radius: 14px;
  padding: 0.55rem 0.8rem;
  box-shadow: 0 8px 24px rgba(10, 50, 110, 0.08);
}

.lang-button:focus-visible,
.lang-menu button:focus-visible,
.actions a:focus-visible,
.logo:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

.chevron {
  width: 0.45rem;
  height: 0.45rem;
  margin-left: auto;
  border-right: 2px solid #5d7594;
  border-bottom: 2px solid #5d7594;
  transform: rotate(45deg) translateY(-2px);
}

.lang-menu {
  position: absolute;
  top: calc(100% + 0.4rem);
  right: 0;
  z-index: 5;
  width: min(12.5rem, 70vw);
  margin: 0;
  padding: 0.35rem;
  list-style: none;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 16px 40px rgba(10, 50, 110, 0.14);
}

.lang-menu button {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  width: 100%;
  border: 0;
  border-radius: 10px;
  background: transparent;
  padding: 0.55rem 0.65rem;
  text-align: left;
  color: var(--ink);
}

.lang-menu button[aria-selected="true"] { background: #e7f3ff; }

.stage {
  display: grid;
  grid-template-columns: minmax(0, 36rem) minmax(16rem, 1fr);
  align-items: center;
  gap: clamp(1rem, 3vw, 2.5rem);
  min-height: calc(100vh - 6.5rem);
  padding: clamp(0.5rem, 2vw, 1.2rem) clamp(1rem, 4vw, 3.5rem) clamp(4.5rem, 10vh, 7rem);
}

.copy { position: relative; z-index: 2; min-width: 0; }

.tool { margin-bottom: 1.1rem; }

.tool svg { width: clamp(3.2rem, 6vw, 4rem); height: auto; }

h1 {
  margin: 0;
  font-size: clamp(1.9rem, 4.2vw, 3.3rem);
  letter-spacing: -0.045em;
  line-height: 1.05;
}

#lead {
  max-width: 36rem;
  margin: 0.9rem 0 0;
  color: #24384f;
  font-size: clamp(1rem, 1.5vw, 1.08rem);
  line-height: 1.5;
}

.eta {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  max-width: 100%;
  margin-top: 1.3rem;
  padding: 0.7rem 1rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 10px 28px rgba(10, 50, 110, 0.08);
}

.clock { color: var(--blue); font-size: 1.3rem; }

.eta small, .eta strong { display: block; }
.eta small { color: var(--muted); font-size: 0.78rem; }
.eta strong { margin-top: 0.1rem; font-size: 1.05rem; }

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.5rem;
}

.actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 2.75rem;
  padding: 0 1rem;
  border-radius: 12px;
  background: linear-gradient(180deg, #2ea0ff, #0b63e0);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  box-shadow: 0 10px 22px rgba(11, 99, 224, 0.28);
}

.actions svg { width: 1.05rem; height: 1.05rem; fill: none; stroke: currentColor; stroke-width: 1.8; }

.mark {
  width: min(30rem, 100%);
  justify-self: center;
  pointer-events: none;
  user-select: none;
  filter: drop-shadow(0 18px 30px rgba(11, 111, 232, 0.18));
}

@media (max-width: 980px) {
  .stage { grid-template-columns: 1fr; min-height: 0; }
  .mark { width: min(22rem, 88vw); margin-top: 0.5rem; }
}

@media (max-width: 640px) {
  .lang-button { min-width: 0; padding: 0.5rem 0.7rem; }
  .actions a { flex: 1 1 calc(50% - 0.7rem); }
}

@media (max-width: 420px) {
  .logo img { height: 4rem; }
  .actions a { flex-basis: 100%; }
  h1 { font-size: 1.85rem; }
}
