/* Welcome and privacy pages. Tokens, fonts and buttons come from styles.css. 8px grid. */
.welcome { min-height: 100vh; min-height: 100dvh; }
.w-shell { max-width: 1200px; margin: 0 auto; padding: 24px 40px 40px; }
.w-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 48px; }
.w-top-link { font-size: 15px; font-weight: 500; color: var(--text); text-decoration: none; padding: 8px 16px; border-radius: 24px; border: 1px solid var(--line-strong); }
.w-top-link:hover { background: var(--surface); }

.w-main { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 48px; align-items: center; padding: 64px 0 56px; }
.w-title { font-size: clamp(44px, 6.4vw, 80px); line-height: 1; margin: 0; letter-spacing: -0.02em; }
.w-sub { font-size: 18px; line-height: 1.55; color: var(--muted); max-width: 520px; margin: 24px 0 0; }

.w-signin { margin-top: 40px; display: flex; flex-direction: column; align-items: flex-start; gap: 16px; max-width: 440px; }
.w-google {
  display: inline-flex; align-items: center; justify-content: center; gap: 16px;
  height: 56px; padding: 0 32px; border-radius: 28px;
  background: var(--surface); color: var(--text); text-decoration: none;
  font-size: 16px; font-weight: 600;
  border: 1px solid var(--line-strong); box-shadow: var(--shadow-sm);
  transition: transform 120ms ease-out, box-shadow 200ms, background-color 200ms;
}
.w-google:hover { box-shadow: 0 0 0 4px color-mix(in srgb, var(--teal) 16%, transparent), var(--shadow-sm); }
.w-google:active { transform: scale(0.98); }
.w-google:focus-visible, .w-top-link:focus-visible, .w-dev:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }
.w-dev { height: 40px; font-size: 14px; }
.w-dev[hidden] { display: none; }
.w-fine { margin: 0; font-size: 14px; color: var(--muted); line-height: 1.5; }
.w-fine a, .w-foot a { color: inherit; }
.w-msg { margin: 0; padding: 8px 16px; border-radius: var(--radius-sm); font-size: 15px; background: var(--lime-soft); color: var(--text); }
.w-msg.is-bad { background: color-mix(in srgb, var(--clay) 14%, var(--surface)); }
.w-msg[hidden] { display: none; }

/* the made-up board */
.w-preview { position: relative; padding: 40px 0 0; }
.w-buddy { position: absolute; top: -96px; right: -24px; width: 120px; height: 132px; z-index: 2; color: var(--text); }
.w-buddy svg { width: 100%; height: 100%; }
.w-board { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; transform: rotate(-1.5deg); }
.w-col { border-radius: var(--radius); padding: 8px; background: color-mix(in srgb, var(--col) 70%, transparent); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; min-height: 240px; }
.w-col-h { margin: 0; padding: 8px 8px 0; display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; }
.w-col-h .dot { background: var(--col-dot); }
.w-card { background: var(--surface); border-radius: 12px; padding: 16px; border: 1px solid var(--line); box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.w-card b { font-size: 15px; }
.w-card span { font-size: 14px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.w-card i { font-style: normal; font: 500 14px var(--mono); color: var(--muted); margin-top: 4px; }
.w-card em { font-style: normal; font-size: 14px; font-weight: 600; color: var(--teal); }
.w-card.is-meet { box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--teal) 40%, transparent), var(--shadow-sm); }

.w-points { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; padding: 40px 0; border-top: 1px solid var(--line); }
.w-points h2 { margin: 0 0 8px; font-size: 16px; font-weight: 600; }
.w-points p { margin: 0; font-size: 15px; color: var(--muted); line-height: 1.5; }
.w-foot { display: flex; justify-content: space-between; gap: 16px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }

/* privacy */
.w-doc { max-width: 680px; padding: 48px 0 56px; }
.w-doc h1 { font-size: clamp(40px, 6vw, 56px); margin: 0 0 24px; }
.w-doc h2 { font-size: 18px; margin: 40px 0 8px; }
.w-doc p, .w-doc li { font-size: 16px; line-height: 1.6; color: var(--muted); }
.w-doc a { color: var(--text); }

@media (max-width: 960px) {
  .w-main { grid-template-columns: 1fr; gap: 56px; padding: 40px 0; }
  .w-points { grid-template-columns: 1fr 1fr; gap: 24px; }
}
@media (max-width: 720px) {
  .w-shell { padding: 16px 16px 32px; }
  .w-sub { font-size: 16px; }
  .w-signin { max-width: none; align-items: stretch; margin-top: 32px; }
  .w-google { width: 100%; }
  .w-board { grid-template-columns: 1fr 1fr; transform: none; }
  .w-col:last-child { display: none; }
  .w-col { min-height: 0; }
  .w-buddy { width: 88px; height: 97px; top: -72px; right: 0; }
  .w-points { grid-template-columns: 1fr; gap: 24px; }
  .w-foot { flex-direction: column; gap: 8px; }
}
