:root {
  color-scheme: light;
  --ink: #14243b;
  --muted: #68788f;
  --blue: #316cf4;
  --line: #e4eaf2;
  --surface: #ffffff;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(ellipse at 52% 35%, rgba(227, 238, 255, .78), transparent 50%),
    #f4f7fb;
}

button { font: inherit; }

.page-shell {
  width: min(100% - 48px, 1040px);
  min-height: 100vh;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

.topbar {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(207, 218, 232, .7);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -.02em;
}

.brand-mark {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: #fff;
  background: var(--blue);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .04em;
  box-shadow: 0 5px 12px rgba(49, 108, 244, .2);
}

.live-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 11px;
  border: 1px solid #e5ebf3;
  border-radius: 99px;
  color: #60718a;
  background: rgba(255, 255, 255, .65);
  font-size: 11px;
  font-weight: 650;
}

.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #35b78a;
  box-shadow: 0 0 0 3px rgba(53, 183, 138, .12);
}

.hero {
  width: min(100%, 610px);
  margin: auto;
  padding: 72px 0 82px;
}

.eyebrow {
  margin: 0 0 15px;
  color: var(--blue);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .16em;
}

h1 {
  margin: 0;
  font-size: clamp(38px, 7vw, 58px);
  line-height: 1.04;
  letter-spacing: -.065em;
}

h1 span { color: #7e91ad; font-weight: 540; }

.intro {
  margin: 17px 0 34px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

.agent-card, .share-card {
  border: 1px solid rgba(220, 228, 239, .95);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: 0 18px 48px rgba(36, 61, 101, .055);
}

.agent-card { padding: 23px 24px 25px; }

.card-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.field-label {
  margin: 0 0 5px;
  color: #50627c;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
}

.field-hint { margin: 0; color: #99a6b8; font-size: 11px; }

.field-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: #6682aa;
  background: #f1f5fb;
  font-size: 15px;
}

.agent-value {
  display: block;
  min-height: 62px;
  padding: 15px 16px;
  overflow-wrap: anywhere;
  border: 1px solid #edf1f6;
  border-radius: 11px;
  color: #34445d;
  background: #f8fafd;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
  line-height: 1.7;
}

.share-card {
  margin-top: 16px;
  padding: 20px 21px 17px;
}

.share-copy { display: flex; align-items: flex-start; gap: 12px; }

.telegram-icon {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: #2876ca;
  background: #edf6ff;
  font-size: 18px;
  font-weight: 700;
}

.share-copy h2 { margin: 1px 0 5px; font-size: 14px; letter-spacing: -.02em; }
.share-copy p { max-width: 460px; margin: 0; color: var(--muted); font-size: 12px; line-height: 1.6; }

.send-button {
  width: 100%;
  margin-top: 19px;
  padding: 13px 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 0;
  border-radius: 10px;
  color: #fff;
  background: var(--blue);
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
  box-shadow: 0 7px 15px rgba(49, 108, 244, .18);
}

.send-button:hover:not(:disabled) { transform: translateY(-1px); background: #245de0; box-shadow: 0 9px 19px rgba(49, 108, 244, .24); }
.send-button:focus-visible { outline: 3px solid rgba(49, 108, 244, .3); outline-offset: 3px; }
.send-button:disabled { cursor: wait; opacity: .75; }
.button-arrow { font-size: 17px; font-weight: 500; }

.send-status { min-height: 17px; margin: 10px 2px 0; color: #51708f; font-size: 11px; line-height: 1.5; }
.send-status[data-state="success"] { color: #16805f; }
.send-status[data-state="error"] { color: #b44b4b; }

.privacy-note {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 16px 2px 0;
  color: #77879c;
  font-size: 11px;
}

.privacy-note span { color: #7c9bca; font-size: 14px; }

.footer {
  min-height: 66px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-top: 1px solid rgba(207, 218, 232, .7);
  color: #8a98aa;
  font-size: 10px;
  text-align: center;
}

.footer-dot { color: #aeb8c6; }

@media (max-width: 560px) {
  .page-shell { width: min(100% - 32px, 1040px); }
  .topbar { height: 68px; }
  .hero { padding: 58px 0 60px; }
  .agent-card { padding: 19px 17px 18px; }
  .share-card { padding: 18px 16px 14px; }
  .footer { min-height: 70px; flex-wrap: wrap; gap: 4px 8px; padding: 14px 0; line-height: 1.6; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
