/* ================= Google Meet — home page ================= */
body.home { background: #fff; }

/* ----- Top bar ----- */
.gm-topbar { height: 64px; display: flex; align-items: center; justify-content: space-between; padding: 0 18px 0 22px; position: sticky; top: 0; background: #fff; z-index: 40; }
.gm-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.gm-logo svg { width: 38px; height: 31px; display: block; }
.gm-wordmark { font-size: 22px; font-weight: 400; line-height: 1; color: #5f6368; letter-spacing: .2px; white-space: nowrap; }
.gm-wordmark .w-g, .gm-wordmark .w-g2 { color: #4285F4; }
.gm-wordmark .w-o, .gm-wordmark .w-e { color: #EA4335; }
.gm-wordmark .w-o2 { color: #FBBC05; }
.gm-wordmark .w-l { color: #34A853; }
.gm-topbar-right { display: flex; align-items: center; gap: 4px; }
.gm-iconbtn { width: 40px; height: 40px; border-radius: 50%; border: 0; background: none; color: #444746; display: grid; place-items: center; cursor: pointer; padding: 0; }
.gm-iconbtn:hover { background: var(--soft); }
.gm-iconbtn svg { width: 22px; height: 22px; }
.gm-avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--gm-blue); color: #fff; display: grid; place-items: center; margin-left: 8px; }
.gm-avatar svg { width: 18px; height: 18px; }

/* ----- Hero ----- */
.gm-main { max-width: 1160px; margin: 0 auto; padding: 24px 40px 64px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; min-height: calc(100vh - 64px); }
.gm-hero h1 { font-size: clamp(34px, 4vw, 46px); font-weight: 400; line-height: 1.15; letter-spacing: -.5px; color: var(--ink); margin: 0 0 10px; }
.gm-sub { font-size: 17px; color: var(--muted); margin: 0 0 36px; font-weight: 400; max-width: 480px; }
.gm-actions { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }

/* "New meeting" button */
.gm-btn-new {
  display: inline-flex; align-items: center; gap: 10px; height: 48px; padding: 0 26px 0 22px;
  border-radius: 24px; border: 0; background: var(--gm-blue); color: #fff;
  font-family: inherit; font-size: 15px; font-weight: 500; cursor: pointer;
  box-shadow: 0 1px 2px rgba(60,64,67,.3); transition: background .15s, box-shadow .15s;
}
.gm-btn-new:hover { background: var(--gm-blue-hover); box-shadow: 0 2px 8px rgba(60,64,67,.4); }
.gm-btn-new svg { width: 20px; height: 20px; }

/* "New meeting" dropdown menu */
.menu-wrap { position: relative; }
.menu { position: absolute; top: calc(100% + 8px); left: 0; background: #fff; border-radius: 12px; min-width: 320px; box-shadow: 0 4px 20px rgba(60,64,67,.3); padding: 8px 0; display: none; z-index: 20; }
.menu.open { display: block; }
.menu button { display: flex; gap: 16px; align-items: flex-start; width: 100%; padding: 12px 18px; border: 0; background: none; font-family: inherit; font-size: 15px; font-weight: 500; cursor: pointer; color: var(--ink); text-align: left; }
.menu button:hover { background: var(--soft); }
.menu button svg { width: 20px; height: 20px; color: var(--gm-blue); margin-top: 1px; }
.menu button div { display: flex; flex-direction: column; gap: 2px; }
.menu button small { font-size: 12px; font-weight: 400; color: var(--muted); }

/* "Enter a code or link" box */
.join-now { display: flex; }
.gm-codebox { display: flex; align-items: center; gap: 4px; height: 48px; border: 1px solid var(--line); border-radius: 24px; padding: 0 6px 0 4px; flex: 0 1 340px; background: #fff; transition: border-color .15s, box-shadow .15s; }
.gm-codebox:hover { background: #f8f9fa; }
.gm-codebox:focus-within { border-color: transparent; box-shadow: 0 0 0 2px var(--gm-blue); background: #fff; }
.gm-codebox > svg { width: 22px; height: 22px; color: #5f6368; margin: 0 8px 0 10px; flex: none; }
.gm-codebox input { border: 0; outline: 0; flex: 1; min-width: 0; font-family: inherit; font-size: 15px; color: var(--ink); background: transparent; }
.gm-join-arrow { width: 36px; height: 36px; border-radius: 50%; border: 0; background: #f1f3f4; color: #9aa0a6; display: grid; place-items: center; cursor: default; flex: none; transition: .15s; padding: 0; }
.gm-join-arrow svg { width: 20px; height: 20px; }
.gm-join-arrow:not(:disabled) { background: var(--gm-blue); color: #fff; cursor: pointer; }
.gm-join-arrow:not(:disabled):hover { background: var(--gm-blue-hover); }

/* Meeting PIN card (join with the PIN shown on the page) */
.dial-code { display: flex; align-items: center; gap: 10px; margin-top: 36px; border: 1px solid var(--line); background: #fff; border-radius: 12px; padding: 14px 12px 14px 18px; box-shadow: 0 1px 3px rgba(60,64,67,.15); max-width: 430px; }
.dial-code[hidden] { display: none; }
.dial-info { flex: 1; min-width: 0; }
.dial-label { font-size: 12px; font-weight: 500; color: var(--muted); letter-spacing: .3px; }
.dial-num { font-size: 24px; font-weight: 500; letter-spacing: .04em; margin-top: 2px; color: var(--ink); }
.dial-code .icon-btn { color: #5f6368; }
.gm-btn-mini { display: inline-flex; align-items: center; justify-content: center; height: 38px; padding: 0 22px; border-radius: 19px; background: var(--gm-blue); color: #fff; font-family: inherit; font-size: 14px; font-weight: 500; text-decoration: none; border: 0; cursor: pointer; flex: none; }
.gm-btn-mini:hover { background: var(--gm-blue-hover); box-shadow: 0 1px 3px rgba(60,64,67,.3); }

/* ----- Illustration ----- */
.gm-art { display: grid; place-items: center; }
.gm-illu { position: relative; max-width: 480px; width: 100%; }
.gm-illu > svg { width: 100%; height: auto; display: block; }
.illu-pill { position: absolute; right: -4%; bottom: 16%; background: #fff; border-radius: 999px; padding: 8px 14px; display: flex; gap: 8px; box-shadow: 0 4px 16px rgba(60,64,67,.25); font-size: 20px; }
.illu-people { position: absolute; left: -3%; bottom: 8%; background: #fff; border-radius: 999px; padding: 6px 14px 6px 10px; display: flex; align-items: center; gap: 8px; box-shadow: 0 4px 16px rgba(60,64,67,.25); }
.illu-people .mini-av { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: 11px; font-weight: 500; border: 2px solid #fff; margin-left: -10px; }
.illu-people .mini-av:first-child { margin-left: 0; }
.illu-people b { font-size: 13px; color: var(--muted); font-weight: 500; }

@media (max-width: 980px) {
  .gm-main { grid-template-columns: 1fr; padding: 24px 20px 48px; }
  .gm-art { display: none; }
  .gm-hero h1 { font-size: 34px; }
}
@media (max-width: 560px) {
  .gm-topbar { padding: 0 12px; }
  .gm-codebox { flex: 1 1 100%; }
  .menu-wrap { flex: 1 1 100%; }
  .gm-btn-new { width: 100%; justify-content: center; }
  .dial-code { flex-wrap: wrap; }
}

