:root {
  color-scheme: light;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #182c32;
  background: #f6f8f8;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background: radial-gradient(ellipse at 50% 28%, #eaf3f2 0, transparent 60%);
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 28px 40px;
  font-size: 17px;
  font-weight: 650;
  letter-spacing: -.5px;
}
.brand-mark, .sync-icon {
  color: #fff;
  background: #203f45;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 29px;
  height: 29px;
  border-radius: 8px;
  font-size: 24px;
}
main {
  width: 100%;
  padding: 28px 24px 48px;
  margin: auto;
}
.connect-card {
  max-width: 540px;
  margin: 0 auto;
  padding: 40px 42px 32px;
  background: #fff;
  border: 1px solid #e1e8e8;
  border-radius: 24px;
  box-shadow: 0 18px 55px -28px #24474a35, 0 2px 6px #24474a04;
  text-align: center;
}
.connection { display: flex; align-items: center; justify-content: center; margin-bottom: 32px; }
.app-icon {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  font-size: 34px;
  font-weight: 650;
  box-shadow: 0 4px 10px #18394210;
}
.lark-icon { color: #fff; background: #3370ff; font-style: italic; }
.connection-line { width: 70px; height: 1px; background: #dde7e7; position: relative; }
.connection-line span {
  position: absolute;
  top: -12px;
  left: 23px;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  color: #829596;
  font-size: 18px;
}
.eyebrow { font-size: 10px; font-weight: 700; letter-spacing: 1.8px; color: #557778; margin: 0 0 14px; }
h1 { font-size: 34px; line-height: 1.16; letter-spacing: -1.3px; font-weight: 650; margin: 0; }
.intro { color: #637379; font-size: 14px; line-height: 1.7; margin: 18px 0 28px; }
.organization {
  display: flex;
  gap: 12px;
  align-items: center;
  text-align: left;
  padding: 15px;
  background: #f7f9f9;
  border: 1px solid #e9eeee;
  border-radius: 12px;
  margin-bottom: 18px;
}
.organization-icon { font-size: 20px; color: #728589; }
.organization > div { min-width: 0; }
.field-label { display: block; font-size: 9px; letter-spacing: 1.1px; color: #667b7e; margin-bottom: 5px; font-weight: 650; }
.organization strong { display: block; font-size: 13px; font-weight: 600; overflow-wrap: anywhere; }
.domain-badge { margin-left: auto; flex-shrink: 0; font-size: 10px; color: #596e70; border: 1px solid #dfe7e7; border-radius: 5px; padding: 4px 6px; }
.connect-button {
  text-decoration: none;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  border: none;
  border-radius: 11px;
  padding: 16px 20px;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  color: white;
  background: #2864ed;
  box-shadow: 0 3px 6px #2864ed20;
  cursor: pointer;
  transition: background .15s, box-shadow .15s;
}
.connect-button span { font-size: 20px; line-height: 16px; }
.connect-button:hover { background: #1d52d0; box-shadow: 0 4px 12px #2864ed30; }
.connect-button:focus-visible { outline: 3px solid #182c32; outline-offset: 4px; }
.redirect-note { font-size: 11px; color: #6c7c81; line-height: 1.6; margin: 13px 0 26px; }
.details { border-top: 1px solid #e9eeee; padding-top: 23px; text-align: left; display: grid; gap: 18px; }
.details > div { display: flex; align-items: flex-start; gap: 11px; }
.check { display: grid; place-items: center; border-radius: 50%; background: #eaf3ef; color: #39705a; font-size: 11px; width: 19px; height: 19px; flex-shrink: 0; }
.details p { margin: 0; }
.details strong { display: block; font-size: 12px; font-weight: 600; margin: 1px 0 6px; }
.details p span { display: block; font-size: 11px; line-height: 1.5; color: #6c7c81; }
.help { margin: 21px 0 0; text-align: center; font-size: 11px; color: #6c7c81; line-height: 1.6; }
footer { padding: 0 24px 25px; text-align: center; font-size: 10px; color: #76888b; letter-spacing: .3px; }
footer span { margin: 0 10px; color: #bcc8ca; }
@media (max-width: 560px) {
  .brand { padding: 22px 24px; }
  main { padding: 16px 18px 32px; }
  .connect-card { padding: 30px 24px 28px; border-radius: 20px; }
  h1 { font-size: 29px; }
  .intro { font-size: 13px; }
  .desktop-break { display: none; }
  .domain-badge { display: none; }
  footer { font-size: 9px; }
}
@media (prefers-reduced-motion: reduce) {
  .connect-button { transition: none; }
}
