/* mymeet.ai help site. Brand blue #0138C7, ink #212833, Inter 400/500 only. */
@font-face { font-family: Inter; font-weight: 400; font-style: normal; font-display: swap; src: url(/assets/fonts/Inter-Regular.ttf) format('truetype'); }
@font-face { font-family: Inter; font-weight: 500; font-style: normal; font-display: swap; src: url(/assets/fonts/Inter-Medium.ttf) format('truetype'); }

:root {
  --blue: #0138C7;
  --blue-soft: #E4ECFA;
  --ink: #212833;
  --muted: #818AA3;
  --line: #EFEFEF;
  --line-strong: #DFE2E9;
  --surface: #F7F7F8;
  --radius: 4px;
  --wrap: 1240px;
  --col: 720px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 16px/1.55 Inter, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; color: var(--ink); background: #fff; -webkit-font-smoothing: antialiased; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { font-weight: 500; letter-spacing: -0.02em; line-height: 1.15; margin: 0; }
strong, b, th { font-weight: 500; }
mark { background: var(--blue-soft); color: var(--ink); border-radius: 2px; padding: 0 1px; }
.muted { color: var(--muted); }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

/* Header */
.site-header { border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, 0.92); backdrop-filter: blur(8px); position: sticky; top: 0; z-index: 10; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.logo { display: inline-flex; flex: none; }
.logo img { display: block; height: 28px; width: auto; }
.main-nav { display: flex; align-items: center; gap: 24px; font-size: 15px; }
.main-nav a { color: var(--ink); }
.main-nav a:hover { color: var(--blue); text-decoration: none; }
.main-nav .btn { background: var(--blue); color: #fff; padding: 8px 16px; border-radius: var(--radius); }
.main-nav .btn:hover { color: #fff; opacity: 0.9; }

/* Search */
.search { display: flex; gap: 8px; }
.search input { flex: 1; min-width: 0; font: inherit; color: var(--ink); background: #fff; border: 1px solid var(--line-strong); border-radius: var(--radius); padding: 0 16px; outline: none; }
.search input:focus { border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-soft); }
.search button { font: 500 15px Inter, sans-serif; background: var(--blue); color: #fff; border: 0; border-radius: var(--radius); padding: 0 20px; cursor: pointer; }
.search button:hover { opacity: 0.9; }
.search-hero { max-width: 560px; margin: 32px auto 0; }
.search-hero input { height: 52px; font-size: 17px; }
.search-hero button { height: 52px; }
.search-compact { width: 280px; flex: none; }
.search-compact input { height: 36px; font-size: 14px; padding: 0 12px; }
.search-compact button { display: none; }

/* Hero */
.hero { padding: 72px 0 24px; text-align: center; }
.hero h1 { font-size: clamp(32px, 5vw, 48px); letter-spacing: -0.03em; line-height: 1.08; }
.hero-lead { color: var(--muted); font-size: 18px; margin: 16px 0 0; }
.section { padding-top: 32px; padding-bottom: 24px; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 8px; }
.section-head h2 { font-size: 24px; }

/* Home tiles */
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.tile { display: flex; flex-direction: column; gap: 8px; border: 1px solid var(--line-strong); border-radius: var(--radius); padding: 24px; transition: border-color 0.15s; }
.tile:hover { border-color: var(--blue); }
.tile h2 { font-size: 20px; }
.tile h2 a { color: var(--ink); }
.tile h2 a:hover { color: var(--blue); text-decoration: none; }
.tile p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.45; }
.tile-subs { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-direction: column; gap: 4px; font-size: 15px; }
.tile-count { margin-top: auto; padding-top: 8px; font-size: 14px; color: var(--muted); }

/* Lists: articles, news */
.article-list, .news-list { list-style: none; margin: 0; padding: 0; }
.article-list li, .news-list li { border-bottom: 1px solid var(--line); }
.article-list li:first-child, .news-list li:first-child { border-top: 1px solid var(--line); }
.article-list a, .news-list a { display: block; padding: 16px 0; color: var(--ink); }
.article-list a:hover, .news-list a:hover { text-decoration: none; }
.article-list a:hover .al-title, .news-list a:hover .al-title { color: var(--blue); }
.al-title { display: block; font-weight: 500; font-size: 17px; letter-spacing: -0.01em; }
.al-desc { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-top: 4px; color: var(--muted); font-size: 15px; line-height: 1.45; }
.news-meta { display: flex; align-items: center; gap: 8px; margin: 0 0 4px; font-size: 14px; color: var(--muted); }
.pill { display: inline-block; padding: 1px 8px; border-radius: 999px; background: var(--blue-soft); color: var(--blue); font-size: 12px; font-weight: 500; }

/* Sub-bar: breadcrumbs and compact search */
.subbar { border-bottom: 1px solid var(--line); background: var(--surface); }
.subbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 52px; padding-top: 8px; padding-bottom: 8px; }
.crumbs { min-width: 0; font-size: 14px; }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 0; }
.crumbs li { display: inline-flex; color: var(--muted); }
.crumbs li:not(:last-child)::after { content: '/'; margin: 0 8px; color: var(--line-strong); }
.crumbs li[aria-current] { display: block; color: var(--ink); max-width: 360px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Pages */
.page { padding-top: 40px; padding-bottom: 80px; }
.page > h1 { font-size: clamp(30px, 4vw, 40px); letter-spacing: -0.03em; }
.lead { font-size: 19px; line-height: 1.5; color: var(--muted); margin: 16px 0 0; max-width: var(--col); }
.subcat { margin-top: 40px; max-width: 880px; }
.subcat h2, .own-title { font-size: 24px; margin-bottom: 4px; }
.subcat h2 a { color: var(--ink); }
.subcat .muted { margin: 0 0 12px; }
.own-title { margin-top: 48px; margin-bottom: 8px; }
.own-title + .article-list { margin-top: 0; }
.page > .article-list { max-width: 880px; margin-top: 32px; }
.subcat .article-list { margin-top: 12px; }

/* Article */
.article-layout { display: grid; grid-template-columns: minmax(0, var(--col)) 280px; gap: 80px; align-items: start; }
.prose h1 { font-size: clamp(30px, 4vw, 40px); letter-spacing: -0.03em; }
.prose .lead { margin-bottom: 32px; }
.prose .news-meta { margin-bottom: 12px; }
.body { font-size: 17px; line-height: 1.65; overflow-wrap: break-word; }
.prose > h1 + .body { margin-top: 32px; }
.body h2 { font-size: 26px; margin: 48px 0 16px; }
.body h3 { font-size: 21px; margin: 32px 0 12px; }
.body h4 { font-size: 18px; margin: 24px 0 8px; }
.body p, .body ul, .body ol, .body table, .body pre, .body blockquote, .body figure { margin: 0 0 20px; }
.body ul, .body ol { padding-left: 24px; }
.body li { margin: 6px 0; }
.body li > ul, .body li > ol { margin: 6px 0 0; }
.body a { text-decoration: underline; text-decoration-color: rgba(1, 56, 199, 0.35); text-underline-offset: 3px; }
.body a:hover { text-decoration-color: var(--blue); }
.body img { display: block; max-width: 100%; height: auto; border: 1px solid var(--line-strong); border-radius: 8px; margin: 24px 0; }
.body hr { border: 0; border-top: 1px solid var(--line); margin: 40px 0; }
.body blockquote { padding: 16px 20px; background: var(--surface); border-left: 3px solid var(--blue); border-radius: 0 var(--radius) var(--radius) 0; }
.body blockquote > :last-child { margin-bottom: 0; }
.body code { font: 400 0.9em ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; background: var(--surface); border: 1px solid var(--line); border-radius: 3px; padding: 1px 5px; overflow-wrap: anywhere; }
.body pre { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 20px; overflow-x: auto; font-size: 14px; line-height: 1.5; }
.body pre code { background: none; border: 0; padding: 0; font-size: inherit; overflow-wrap: normal; }
.table-wrap { overflow-x: auto; margin: 0 0 20px; border: 1px solid var(--line-strong); border-radius: var(--radius); }
.table-wrap table { margin: 0; border-collapse: collapse; width: 100%; font-size: 15px; }
.body th, .body td { padding: 10px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.body tr:last-child td { border-bottom: 0; }
.body th { background: var(--surface); font-size: 14px; white-space: nowrap; }
.updated { margin: 48px 0 0; font-size: 14px; color: var(--muted); }

.side { position: sticky; top: 88px; font-size: 15px; }
.side h2 { font-size: 13px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); font-weight: 500; margin-bottom: 12px; }
.side ul { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--line-strong); }
.side li a { display: block; padding: 6px 0 6px 16px; margin-left: -1px; border-left: 1px solid transparent; color: var(--ink); line-height: 1.4; }
.side li a:hover { color: var(--blue); border-left-color: var(--blue); text-decoration: none; }

/* News list */
.news-full { max-width: var(--col); margin-top: 32px; }
.news-full a { padding: 20px 0; }

/* Search results */
.search-results { list-style: none; margin: 24px 0 0; padding: 0; max-width: var(--col); }
.search-results li { padding: 20px 0; border-bottom: 1px solid var(--line); }
.search-results li:first-child { border-top: 1px solid var(--line); }
.sr-title { font-size: 19px; font-weight: 500; letter-spacing: -0.01em; }
.sr-cat { display: block; margin-top: 2px; font-size: 13px; color: var(--muted); }
.sr-snippet { margin: 8px 0 0; font-size: 15px; line-height: 1.5; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 24px 0; font-size: 14px; color: var(--muted); }
.site-footer .wrap { display: flex; gap: 24px; }
.site-footer a { color: var(--muted); }

@media (max-width: 1023px) {
  .article-layout { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .side { position: static; border-top: 1px solid var(--line); padding-top: 24px; }
  .side ul { border-left: 0; }
  .side li a { padding-left: 0; border-left: 0; }
  .side li a:hover { border-left: 0; }
}
@media (max-width: 720px) {
  .wrap { padding-left: 16px; padding-right: 16px; }
  .hero { padding: 40px 0 8px; }
  .page { padding-top: 28px; padding-bottom: 56px; }
  .subbar .wrap { flex-direction: column; align-items: stretch; gap: 8px; }
  .search-compact { width: 100%; }
  .crumbs li[aria-current] { max-width: 200px; }
  .body { font-size: 16px; }
  .body h2 { font-size: 22px; margin-top: 36px; }
  .lead { font-size: 17px; }
  .main-nav { gap: 16px; font-size: 14px; }
  .site-header .wrap { height: 56px; }
}
@media (max-width: 480px) {
  .nav-site { display: none; }
  .search-hero button { padding: 0 16px; }
}
