:root {
  color-scheme: light;
  --background: #edf2f5;
  --ink: #19344b;
  --muted: #536d80;
  --blue: #28649b;
  --deep-blue: #1c507d;
  --line: #dce6ee;
  --orange: #ed963e;
  font: 16px/1.5 "Segoe UI", system-ui, sans-serif;
  color: var(--ink);
  background: var(--background);
}

* { box-sizing: border-box; }
:where(html, body, body *) { touch-action: manipulation; }
[hidden] { display: none !important; }
body { margin: 0; min-height: 100vh; padding: 0 28px max(16px, env(safe-area-inset-bottom)); }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
button:disabled { opacity: .55; cursor: default; }
button:focus-visible, input:focus-visible, textarea:focus-visible, h1:focus-visible {
  outline: 3px solid #65a0d0;
  outline-offset: 3px;
}
img { max-width: 100%; display: block; }
h1, h2, p { margin: 0; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.masthead {
  max-width: 1072px;
  margin: 0 auto;
  padding: 26px 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.brand { display: flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 750; letter-spacing: -.6px; }
.brand-logo { display: block; width: 43px; height: 43px; overflow: hidden; border-radius: 50%; }
.brand-logo img { width: 100%; transform: scale(1.75); }
.masthead-label { color: var(--muted); font-size: 13px; }
.client-shell {
  max-width: 1072px;
  min-height: 535px;
  margin: clamp(16px, 6vh, 74px) auto 0;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  overflow: hidden;
  background: #fff;
  border-radius: 29px;
  border: 1px solid #e1eaf0;
  box-shadow: 0 18px 70px #234c6810;
}
.illustration {
  isolation: isolate;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 43px 42px 0;
  overflow: hidden;
  background: #d9e8f3;
}
.illustration::after {
  position: absolute;
  z-index: -1;
  right: -80px;
  bottom: -110px;
  width: 390px;
  aspect-ratio: 1;
  border: 1px solid #f9fdff99;
  border-radius: 50%;
  box-shadow: 0 0 0 40px #f9fdff28, 0 0 0 80px #f9fdff20;
  content: "";
}
.illustration-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 11px;
  border-radius: 999px;
  background: #f8fcffb8;
  font-size: 12px;
  font-weight: 650;
}
.illustration-tag span { width: 7px; height: 7px; background: var(--orange); border-radius: 50%; }
.illustration-copy > p { margin: 18px 0 11px; font-size: clamp(31px, 4vw, 54px); font-weight: 750; line-height: 1.04; letter-spacing: -.052em; }
.illustration-copy > span { color: var(--muted); font-size: 15px; }
.illustration > img { align-self: center; width: 118%; max-width: none; height: auto; margin: 16px 0 7px; }
.client-content { display: grid; align-content: center; padding: 47px clamp(25px, 4.9vw, 65px); min-width: 0; }
.app-icon { width: 72px; height: 72px; border-radius: 19px; border: 1px solid var(--line); box-shadow: 0 4px 14px #264b6212; margin-bottom: 20px; }
h1 { font-size: clamp(28px, 3vw, 36px); line-height: 1.12; letter-spacing: -.045em; font-weight: 750; }
.intro { margin-top: 12px; max-width: 39ch; color: var(--muted); font-size: 15px; line-height: 1.6; }
.stack { display: grid; gap: 9px; }
.actions { margin-top: 25px; }
.button {
  display: inline-flex;
  min-height: 48px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding: 11px 16px;
  border: 1px solid transparent;
  border-radius: 12px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 650;
  background: #fff;
}
.button-icon { flex: 0 0 auto; }
.button.primary { color: #fff; background: var(--blue); box-shadow: 0 3px 8px #234e7c1f; }
.button.primary:hover:not(:disabled) { background: var(--deep-blue); }
.button.provider { border-color: var(--line); }
.button.provider:hover:not(:disabled), .button.plain:hover { background: #f0f6fa; }
.button.plain { color: var(--blue); }
.hint {
  margin-top: 13px;
  border: 1px solid #dde9f0;
  border-radius: 13px;
  padding: 13px 14px;
  background: #f2f7fa;
  color: var(--ink);
  font-size: 14px;
}
.hint p { margin-top: 4px; color: var(--muted); }
.status { color: var(--muted); margin-top: 12px; font-size: 14px; }
.status:empty { display: none; }
.install-footer { display: flex; justify-content: center; margin-top: 15px; }
.link { border: 0; background: transparent; color: var(--blue); font-size: 14px; font-weight: 650; padding: 7px 0; }
.link:hover { text-decoration: underline; }
.account { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: -7px 0 14px; color: var(--muted); font-size: 13px; }
.account span { min-width: 0; overflow-wrap: anywhere; }
.account button { flex: 0 0 auto; }
.request-form { display: grid; gap: 14px; margin-top: 22px; }
.field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 12px; }
label { min-width: 0; color: var(--ink); font-size: 14px; font-weight: 650; }
label .optional { font-weight: 400; color: var(--muted); font-size: 12px; }
input, textarea {
  display: block;
  width: 100%;
  min-width: 0;
  margin-top: 5px;
  border: 1px solid var(--line);
  border-radius: 9px;
  color: var(--ink);
  background: #fff;
  padding: 9px;
  font-size: 16px;
  font-weight: 400;
}
input { min-height: 44px; }
.request-preview { margin-top: 20px; padding: 16px; border: 1px solid var(--line); border-radius: 14px; background: #f7fafc; }
.request-preview h2 { font-size: 18px; letter-spacing: -.02em; }
.request-preview > p { margin-top: 6px; color: var(--muted); font-size: 14px; }
.request-preview textarea { resize: vertical; margin: 12px 0; font-size: 14px; }
.request-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.page-footer { padding: 23px 0; text-align: center; color: var(--muted); font-size: 12px; }

@media (pointer: coarse) {
  :where(body, body *) {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    user-select: none;
  }

  :where(input, textarea, [data-copyable], [data-copyable] *) {
    -webkit-touch-callout: default;
    -webkit-user-select: text;
    user-select: text;
  }

  .request-preview textarea { font-size: 16px; }
}

@media (max-width: 700px) {
  body { padding-right: 15px; padding-left: 15px; }
  .masthead { padding: 17px 4px 15px; }
  .brand { font-size: 17px; gap: 8px; }
  .brand-logo { width: 35px; height: 35px; }
  .masthead-label { font-size: 11px; }
  .client-shell { min-height: auto; grid-template-columns: 1fr; margin-top: 0; border-radius: 21px; }
  .illustration { min-height: 159px; justify-content: center; padding: 22px 18px; }
  .illustration-copy { z-index: 1; }
  .illustration-copy > p { margin: 10px 0 0; font-size: clamp(24px, 6.6vw, 34px); }
  .illustration-copy > span { display: none; }
  .illustration-tag { padding: 4px 7px; font-size: 10px; }
  .illustration-tag span { width: 5px; height: 5px; }
  .illustration > img { position: absolute; right: -31px; bottom: 4px; width: 58%; max-width: 310px; margin: 0; }
  .illustration::after { width: 230px; right: -70px; bottom: -110px; }
  .client-content { padding: 26px clamp(18px, 6vw, 38px) 27px; }
  .app-icon { width: 56px; height: 56px; border-radius: 15px; margin-bottom: 15px; }
  .intro { margin-top: 8px; font-size: 14px; }
  .actions { margin-top: 18px; }
  .page-footer { padding: 15px 0; }
}

@media (max-width: 355px) {
  .masthead-label { display: none; }
  .field-grid { grid-template-columns: 1fr; }
}
