/* Linkino Cloud: colors of the Linkino IDE (accent: the logo's teal), light and dark */
:root {
  --bg: #f6f7f8;
  --surface: #ffffff;
  --surface-2: #f0f2f4;
  --text: #1c2127;
  --muted: #64707d;
  --line: #dde2e7;
  --accent: #0f8f91;
  --accent-text: #ffffff;
  --soft: color-mix(in srgb, var(--accent) 12%, transparent);
  --danger: #c2413b;
  --ok: #2e8b57;
  --shadow: 0 10px 40px rgba(20, 30, 40, .10);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #12161b;
    --surface: #1a1f26;
    --surface-2: #222831;
    --text: #e3e8ee;
    --muted: #8d99a6;
    --line: #2c333d;
    --accent: #20b8ba;
    --accent-text: #061314;
    --danger: #ec6a63;
    --ok: #4cc38a;
    --shadow: 0 10px 40px rgba(0, 0, 0, .45);
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  font: 14px/1.5 "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
  color: var(--text); background: var(--bg);
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
[hidden] { display: none !important; }

/* the logo */
.mark { width: 44px; height: 44px; flex: none; color: var(--accent); overflow: visible; }
.mark .body { fill: none; stroke: currentColor; stroke-width: 50; }
.mark .bit { fill: currentColor; }
.mark .chip { fill: none; stroke: currentColor; stroke-width: 7; stroke-linecap: round; stroke-linejoin: round; }
.word { font-weight: 700; font-size: 20px; letter-spacing: .01em; }
.word span { color: var(--accent); font-weight: 600; }

/* ---- sign-in and message pages ---- */
body.card-page {
  min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 24px 16px;
  background:
    radial-gradient(700px 360px at 20% 10%, color-mix(in srgb, var(--accent) 16%, transparent), transparent 70%),
    radial-gradient(circle, color-mix(in srgb, var(--text) 10%, transparent) 1px, transparent 1.5px) 0 0 / 22px 22px,
    var(--bg);
}
.card {
  width: 100%; max-width: 440px; padding: 36px 32px; border-radius: 16px;
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow);
}
.brand { display: flex; align-items: center; gap: 14px; margin-bottom: 28px; }
.brand .mark { width: 52px; height: 52px; }
.tag { color: var(--muted); font-size: 13px; }
.card h1 { font-size: 22px; margin: 0 0 6px; }
.lead { color: var(--muted); margin: 0 0 24px; }
.google {
  display: flex; align-items: center; justify-content: center; gap: 12px; width: 100%;
  padding: 12px 16px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface);
  color: var(--text); font-weight: 600; font-size: 15px; transition: border-color .15s, box-shadow .15s;
}
.google:hover { text-decoration: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--soft); }
.points { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 10px; color: var(--muted); font-size: 13px; }
.points b { display: block; color: var(--text); font-weight: 600; }
.points li { padding-left: 16px; border-left: 2px solid var(--soft); }
.error { color: var(--danger); background: color-mix(in srgb, var(--danger) 10%, transparent); border: 1px solid color-mix(in srgb, var(--danger) 35%, transparent); border-radius: 8px; padding: 10px 12px; margin-bottom: 18px; }
.who { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 10px; background: var(--surface-2); margin-bottom: 20px; }
.who img, .who .initial, .avatar img, .avatar .initial { width: 40px; height: 40px; border-radius: 50%; flex: none; }
.who b { display: block; }
.who small { color: var(--muted); }
.initial { display: inline-flex; align-items: center; justify-content: center; background: var(--accent); color: var(--accent-text); font-weight: 700; }
button.primary, .btn.primary {
  width: 100%; padding: 12px 16px; border: 0; border-radius: 10px; cursor: pointer;
  background: var(--accent); color: var(--accent-text); font-weight: 600; font-size: 15px;
}
button.primary:hover { filter: brightness(1.08); }
.small { color: var(--muted); font-size: 13px; margin: 16px 0 0; text-align: center; }
.foot { margin-top: 20px; color: var(--muted); font-size: 12px; }
