/* NetMail landing page and standalone example of the client's Claro theme. */
:root {
  --bg-primary: #f8fafc;
  --bg-secondary: #f1f5f9;
  --bg-surface: #ffffff;
  --bg-card: #ffffff;
  --bg-card-hover: #ffffff;
  --bg-input: #f8fafc;
  
  --border-subtle: #e2e8f0;
  --border-medium: #cbd5e1;
  --border-focus: #0d9488;
  
  --teal-primary: #0d9488;
  --teal-dark: #0f766e;
  --teal-light: #14b8a6;
  --teal-soft: #f0fdfa;
  --teal-border: #99f6e4;
  --teal-glow: rgba(13, 148, 136, 0.15);
  --cyan-accent: #0284c7;
  
  --text-main: #0f172a;
  --text-muted: #475569;
  --text-dim: #64748b;
  
  --badge-bg: #ecfdf5;
  --badge-border: #a7f3d0;
  --badge-text: #065f46;
  
  --card-radius: 16px;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Inter", "Helvetica Neue", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.06), 0 2px 4px -2px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.06), 0 4px 6px -4px rgba(0, 0, 0, 0.03);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.02);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  background-color: var(--bg-primary);
  color: var(--text-main);
  font-family: var(--font-sans);
  line-height: 1.6;
}

body {
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
  background: 
    radial-gradient(circle at 50% 0%, rgba(20, 184, 166, 0.08) 0%, transparent 60%),
    radial-gradient(circle at 85% 20%, rgba(2, 132, 199, 0.05) 0%, transparent 40%),
    #f8fafc;
}

/* Subtle background grid */
.bg-grid {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 100vh;
  background-image: 
    linear-gradient(to right, rgba(15, 23, 42, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(15, 23, 42, 0.03) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
  z-index: 0;
}

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* Site Header */
header.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(255, 255, 255, 0.85);
  border-bottom: 1px solid var(--border-subtle);
  transition: all 0.3s ease;
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-main);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.brand-logo {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  transition: transform 0.25s ease;
}

.brand:hover .brand-logo {
  transform: rotate(4deg) scale(1.05);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--teal-primary);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 10px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--teal-dark);
  color: #ffffff;
  font-weight: 600;
  box-shadow: 0 2px 10px rgba(15, 118, 110, 0.25);
}

.btn-primary:hover {
  background: #115e59;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(15, 118, 110, 0.35);
}

.btn-secondary {
  background: #ffffff;
  color: var(--text-main);
  border-color: var(--border-medium);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background: var(--bg-secondary);
  border-color: var(--text-dim);
  transform: translateY(-1px);
}

.btn-sm {
  padding: 7px 15px;
  font-size: 0.85rem;
}

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 9999px;
  font-size: 0.82rem;
  font-weight: 600;
  background: var(--badge-bg);
  border: 1px solid var(--badge-border);
  color: var(--badge-text);
  letter-spacing: 0.01em;
}

.badge-glow {
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.12);
}

/* Hero Section */
.hero {
  padding: 70px 0 40px;
  text-align: center;
}

.hero-pill {
  margin-bottom: 24px;
}

.hero-title {
  font-size: clamp(2.4rem, 5.2vw, 4.2rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.04em;
  margin-bottom: 22px;
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
  color: var(--text-main);
}

.text-gradient {
  background: linear-gradient(135deg, #0f172a 20%, #0d9488 70%, #0284c7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--text-muted);
  max-width: 760px;
  margin: 0 auto 34px;
  line-height: 1.6;
}

.hero-ctas {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.hero-specs {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  color: var(--text-dim);
  font-size: 0.9rem;
}

.hero-spec-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
}

.hero-spec-item svg {
  color: var(--teal-primary);
}

/* Feature Highlights Grid */
.features-section {
  padding: 90px 0 60px;
}

.section-head {
  text-align: center;
  max-width: 740px;
  margin: 0 auto 55px;
}

.section-title {
  font-size: clamp(2rem, 3.8vw, 2.7rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
  color: var(--text-main);
}

.section-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 24px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--card-radius);
  padding: 32px;
  position: relative;
  overflow: hidden;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
}

.feature-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--teal-primary);
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.feature-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--teal-soft);
  border: 1px solid var(--teal-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal-dark);
  margin-bottom: 20px;
}

.feature-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-main);
  letter-spacing: -0.01em;
}

.feature-text {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 18px;
  flex: 1;
}

.feature-tag-list {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.tag-pill {
  font-size: 0.75rem;
  font-family: var(--font-mono);
  background: #f1f5f9;
  padding: 4px 9px;
  border-radius: 6px;
  color: var(--teal-dark);
  font-weight: 600;
  border: 1px solid var(--border-subtle);
}

/* Comparison Section */
.comparison-section {
  padding: 80px 0;
}

.table-wrapper {
  overflow-x: auto;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--card-radius);
  box-shadow: var(--shadow-lg);
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.92rem;
}

.compare-table th {
  padding: 18px 22px;
  background: #f8fafc;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-main);
  font-weight: 700;
}

.compare-table th.highlight-col {
  background: #f0fdfa;
  color: var(--teal-dark);
  border-left: 1px solid var(--teal-border);
  border-right: 1px solid var(--teal-border);
}

.compare-table td {
  padding: 16px 22px;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-muted);
}

.compare-table td.highlight-col {
  background: #f0fdfa;
  color: var(--text-main);
  font-weight: 600;
  border-left: 1px solid var(--teal-border);
  border-right: 1px solid var(--teal-border);
}

.compare-table tr:last-child td {
  border-bottom: none;
}

.status-check {
  color: #059669;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.status-cross {
  color: #dc2626;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Gallery Section (Real Screenshots) */
.gallery-section {
  padding: 80px 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.gallery-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--card-radius);
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}

.gallery-card:hover {
  transform: translateY(-4px);
  border-color: var(--teal-primary);
  box-shadow: var(--shadow-xl);
}

.gallery-thumb-wrap {
  height: 220px;
  background: #f1f5f9;
  overflow: hidden;
  position: relative;
  border-bottom: 1px solid var(--border-subtle);
}

.gallery-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-card:hover .gallery-thumb-wrap img {
  transform: scale(1.04);
}

.gallery-info {
  padding: 18px 20px;
}

.gallery-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--text-main);
}

.gallery-desc {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* CTA Footer banner */
.cta-banner {
  margin: 80px auto 40px;
  background: linear-gradient(135deg, #f0fdfa 0%, #e0f2fe 100%);
  border: 1px solid var(--teal-border);
  border-radius: 20px;
  padding: 50px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.cta-title {
  font-size: clamp(1.8rem, 3.2vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 16px;
  color: var(--text-main);
}

.cta-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 30px;
}

/* Footer */
footer.site-footer {
  border-top: 1px solid var(--border-subtle);
  background: #ffffff;
  padding: 36px 0;
  color: var(--text-dim);
  font-size: 0.9rem;
}

/* Shared accessibility and page refinements */
:root { color-scheme: light; }
[hidden] { display: none !important; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
button:disabled, input:disabled { cursor: default; opacity: .55; }
button:focus-visible, a:focus-visible, summary:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, .demo-scroll:focus-visible { outline: 2px solid #0f766e; outline-offset: 3px; }
svg:not(.svg-sprite) { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: -100px; left: 16px; background: white; color: #0f766e; padding: 12px; z-index: 200; }
.skip-link:focus { top: 12px; }
section[id] { scroll-margin-top: 95px; }
.hero { padding: 80px 0 52px; }
.eyebrow { color: #0f766e; font-size: 11px; letter-spacing: .1em; font-weight: 700; }
.source-note { margin-top: 20px; font-size: .9rem; color: var(--text-muted); }
.source-note a { color: var(--teal-dark); }
.compare-table { min-width: 650px; }
.compare-table tbody th { font-size: .9rem; }
.governance-section { padding: 80px 0; background: #ecf7f5; border-block: 1px solid #cce6e1; position: relative; }
.governance-layout { display: grid; grid-template-columns: 1fr 1.3fr; gap: 64px; }
.governance-layout h2 { margin-top: 12px; }
.governance-copy p { margin-bottom: 18px; color: #334155; }
.gallery-card { font: inherit; text-align: left; padding: 0; }
.gallery-card span { display: block; }
.gallery-thumb-wrap img { object-fit: contain; }
.gallery-title { line-height: 1.4; }
.cta-banner .hero-ctas { margin-bottom: 0; }

/* Same surface, chrome, accent and avatar colors as src/NetMail.UI/src/themes/claro.css. */
.demo-section { padding: 20px 0 32px; }
.demo-heading { display: flex; justify-content: space-between; gap: 20px; align-items: center; }
.demo-heading h2 { font-size: 1.7rem; letter-spacing: -.035em; }
.demo-description { max-width: 900px; color: #475569; font-size: .92rem; margin: 14px 0 22px; }
.demo-scroll { overflow-x: auto; border-radius: 10px; border: 1px solid #cbd5e1; box-shadow: 0 16px 40px -14px #0f172a30; background: #fff; }
.demo-scroll, .table-wrapper { position: relative; }
.mail-demo { --demo-side: 214px; --demo-list: 340px; --ui-surface: #fff; --ui-chrome: #f8fafc; --ui-text: #0f172a; --ui-divider: #e2e8f0; --ui-accent: #0d9488; --ui-selection: #f0fdfa; display: flex; flex-direction: column; background: var(--ui-surface); color: var(--ui-text); height: 650px; min-width: 1030px; font-size: 12px; text-align: left; line-height: 1.5; }
.mail-demo button { display: inline-flex; align-items: center; justify-content: center; gap: 6px; background: none; border: 0; color: #475569; padding: 6px; border-radius: 5px; }
.mail-demo button:hover { background: #e2e8f0; color: #0f172a; }
.mail-demo button.active, .mail-demo button[aria-pressed="true"] { color: #0f766e; background: #f0fdfa; }
.mail-demo svg { width: 16px; height: 16px; }
.demo-topbar { height: 48px; flex-shrink: 0; display: flex; align-items: center; border-bottom: 1px solid var(--ui-divider); background: var(--ui-chrome); }
.demo-modules { display: flex; height: 100%; width: var(--demo-side); flex-shrink: 0; border-right: 1px solid var(--ui-divider); }
.demo-modules button { flex: 1; position: relative; border-radius: 0; }
.demo-modules button.active::after { content: ''; position: absolute; bottom: 0; left: 8px; right: 8px; height: 2px; background: #0d9488; }
.demo-modules svg { width: 19px; height: 19px; }
.demo-search { display: flex; align-items: center; margin: 0 28px; gap: 8px; background: white; border: 1px solid #cbd5e1; border-radius: 20px; padding: 5px 12px; flex: 1; color: #64748b; max-width: 600px; }
.demo-search:focus-within { border-color: #0d9488; box-shadow: 0 0 0 2px #0d94881a; }
.demo-search input { min-width: 0; width: 100%; border: 0; outline: none; background: transparent; color: #0f172a; font-size: 12px; }
.demo-search input:focus-visible { outline: none; }
.demo-search kbd { white-space: nowrap; font-size: 10px; background: #f1f5f9; border: 1px solid #e2e8f0; border-radius: 4px; padding: 0 4px; }
.demo-top-actions { margin-left: auto; display: flex; align-items: center; gap: 5px; padding-right: 12px; }
.demo-window-controls { color: #64748b; margin-left: 14px; letter-spacing: 3px; }
.demo-body { flex: 1; min-height: 0; display: flex; }
.demo-sidebar { background: var(--ui-chrome); width: var(--demo-side); flex-shrink: 0; border-right: 1px solid var(--ui-divider); padding: 16px 8px 10px; display: flex; flex-direction: column; overflow-y: auto; }
.mail-demo .demo-compose { margin: 0 8px 16px; background: linear-gradient(135deg, #0d9488, #0f766e); color: white; border-radius: 8px; padding: 9px 16px; font-size: 13px; font-weight: 600; box-shadow: 0 2px 8px #0d948830; }
.mail-demo .demo-compose:hover { background: #0f766e; color: white; }
.sidebar-section-title { display: flex; align-items: center; gap: 7px; color: #64748b; font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; padding: 6px 8px; }
.sidebar-section-title svg { color: #b77907; width: 14px; }
.demo-account { display: flex; align-items: center; gap: 6px; color: #334155; font-size: 11px; font-weight: 600; padding: 15px 7px 8px; }
.account-dot { width: 17px; height: 17px; border-radius: 50%; font-size: 9px; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; background: #0d9488; color: white; }
.mail-demo .demo-folder { display: flex; justify-content: flex-start; width: 100%; gap: 7px; padding: 6px 9px; border: 1px solid transparent; font-size: 11px; line-height: 1.5; margin: 1px 0; white-space: nowrap; }
.mail-demo .demo-folder.active { border-color: #99f6e4; color: #0f766e; font-weight: 600; }
.demo-folder svg { width: 14px; height: 14px; }
.demo-folder .unread-badge, .folder-count { margin-left: auto; border-radius: 9px; min-width: 17px; text-align: center; padding: 0 4px; font-size: 10px; }
.unread-badge { background: #0f766e; color: white; }
.folder-count { background: #e2e8f0; color: #475569; }
.category-heading { margin-top: 14px; }
.category-dot { width: 9px; height: 9px; border-radius: 50%; margin-inline: 3px; flex-shrink: 0; }
.category-dot.project { background: #0d9488; }.category-dot.personal { background: #7e22ce; }
.sidebar-demo-note { margin-top: auto; padding: 18px 9px 0; color: #64748b; font-size: 10px; line-height: 1.7; }
.demo-list-pane { width: var(--demo-list); flex-shrink: 0; border-right: 1px solid var(--ui-divider); display: flex; flex-direction: column; min-height: 0; }
.demo-list-toolbar { display: flex; align-items: center; justify-content: center; gap: 5px; height: 42px; flex-shrink: 0; border-bottom: 1px solid #e2e8f0; background: #f8fafc; padding: 0 8px; }
.demo-list-toolbar input { accent-color: #0d9488; width: 13px; height: 13px; }
.demo-list-tabs { display: flex; align-self: stretch; }
.demo-list-tabs button { white-space: nowrap; font-size: 11px; border-radius: 0; padding-inline: 8px; border-bottom: 2px solid transparent; }
.demo-list-tabs button.active { background: transparent; border-bottom-color: #0d9488; }
.sort-control select { font-size: 11px; border: 0; background: transparent; color: #475569; width: 72px; }
.demo-list-context { display: flex; justify-content: space-between; gap: 6px; padding: 7px 10px; font-size: 10px; color: #64748b; border-bottom: 1px solid #e2e8f0; }
.demo-list-context #folderTitle { color: #475569; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
#resultCount { white-space: nowrap; }
.demo-bulk { background: #f0fdfa; display: flex; gap: 10px; align-items: center; padding: 4px 10px; border-bottom: 1px solid #99f6e4; }
.demo-bulk span { flex: 1; color: #0f766e; }
.demo-mail-list { flex: 1; min-height: 0; overflow-y: auto; }
.demo-group { padding: 5px 14px; background: #f8fafc; border-bottom: 1px solid #e2e8f0; color: #64748b; text-transform: uppercase; letter-spacing: .06em; font-size: 10px; font-weight: 600; }
.pinned-group { display: flex; gap: 6px; align-items: center; color: #0369a1; background: #f0f9ff; text-transform: none; }
.pinned-group svg { width: 13px; height: 13px; }
.demo-mail-row { display: flex; align-items: center; gap: 8px; position: relative; min-height: 67px; border-bottom: 1px solid #e2e8f0; border-left: 4px solid transparent; padding: 6px 8px; background: white; }
.demo-mail-row.unread { border-left-color: #0d9488; }.demo-mail-row.active { background: #f0fdfa; border-left-color: #0d9488; }
.demo-mail-row:hover { background: #f8fafc; }
.demo-avatar { width: 30px; height: 30px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 11px; font-weight: 600; }
.demo-avatar.teal { background: #ccfbf1; color: #0f766e; }.demo-avatar.purple { background: #f3e8ff; color: #6b21a8; }.demo-avatar.blue { background: #e0f2fe; color: #0369a1; }.demo-avatar.amber { background: #fef3c7; color: #92400e; }.demo-avatar.green { background: #ecfdf5; color: #065f46; }
.demo-row-select { position: relative; display: inline-flex; align-items: center; cursor: pointer; }
.demo-row-select input { position: absolute; inset: 8px; width: 14px; height: 14px; margin: 0; opacity: 0; accent-color: #0d9488; cursor: pointer; }
.demo-row-select:hover .demo-avatar, .demo-row-select:focus-within .demo-avatar, .demo-row-select:has(input:checked) .demo-avatar { opacity: .12; }
.demo-row-select:hover input, .demo-row-select input:focus-visible, .demo-row-select input:checked { opacity: 1; }
.mail-demo .demo-open-mail { min-width: 0; flex: 1; display: flex; flex-direction: column; gap: 1px; align-items: stretch; text-align: left; padding: 0; border-radius: 0; background: transparent; line-height: 18px; }
.demo-row-top { display: flex; justify-content: space-between; align-items: center; gap: 5px; color: #475569; font-size: 12px; }
.demo-row-top > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.demo-row-top time { flex-shrink: 0; color: #64748b; font-size: 10px; }
.demo-row-subject { color: #64748b; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 12px; }
.unread .demo-row-top > span { color: #0f172a; font-weight: 700; }.unread .demo-row-subject { color: #0f766e; font-weight: 600; }
.demo-row-preview { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 10px; color: #64748b; }
.demo-tag { border-radius: 3px; padding: 1px 4px; margin-right: 5px; font-size: 9px; }.demo-tag.project { color: #0f766e; background: #ccfbf1; }.demo-tag.personal { color: #6b21a8; background: #f3e8ff; }
.demo-row-indicators { display: flex; flex-direction: column; align-items: center; gap: 2px; width: 19px; }
.demo-row-indicators > svg { width: 12px; height: 12px; color: #0f766e; }
.mail-demo .demo-row-indicators button { display: flex; flex-direction: column; gap: 0; padding: 0; font-size: 9px; line-height: 14px; }
.demo-row-indicators button span { border-radius: 10px; background: #e2e8f0; padding: 0 5px; }.demo-row-indicators button[aria-expanded="true"] svg { transform: rotate(90deg); }
.mail-demo .demo-thread-child { display: flex; gap: 6px; justify-content: flex-start; width: 100%; border-radius: 0; border-bottom: 1px solid #e2e8f0; padding: 7px 12px 7px 44px; font-size: 10px; }
.demo-thread-child svg { width: 12px; }.demo-thread-child time { margin-left: auto; color: #64748b; font-size: 9px; }
.demo-reader { flex: 1; min-width: 0; display: flex; flex-direction: column; container-type: inline-size; }
.demo-reader-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 6px; min-height: 42px; padding: 0 8px; border-bottom: 1px solid #e2e8f0; background: #f8fafc; flex-shrink: 0; }
.demo-reader-start, .demo-reader-end { flex: 1 1 0%; display: flex; align-items: center; gap: 2px; min-width: 0; }
.demo-reader-end { justify-content: flex-end; }
.demo-reader-actions { display: flex; align-items: center; justify-content: center; gap: 2px; flex-shrink: 0; }
.demo-reader-actions > button { font-size: 11px; padding: 5px; white-space: nowrap; }.demo-reader-actions > button:nth-of-type(n+3) > span { display: none; }
.demo-reader-toolbar button[aria-pressed="true"] { background: #ccfbf1; }
.demo-more { position: relative; }.demo-more summary { display: flex; align-items: center; padding: 6px; cursor: pointer; border-radius: 4px; list-style: none; }
.demo-more summary::-webkit-details-marker { display: none; }.demo-more[open] summary { background: #e2e8f0; }
.demo-more > div { position: absolute; top: 32px; right: 0; padding: 5px; min-width: 200px; z-index: 5; background: white; border: 1px solid #e2e8f0; border-radius: 6px; box-shadow: 0 8px 25px #0f172a22; }
.demo-more button { width: 100%; justify-content: flex-start; font-size: 11px; }
.demo-reader-content { padding: 22px 24px; overflow-y: auto; min-height: 0; }
.demo-message-heading h3 { font-size: 19px; font-weight: 650; line-height: 1.4; letter-spacing: -.02em; margin: 5px 0 22px; }
.demo-message-heading .eyebrow { font-size: 9px; }
.demo-sender { display: flex; gap: 9px; align-items: center; }.demo-sender .demo-avatar { width: 34px; height: 34px; }
.demo-sender > div { min-width: 0; }.demo-sender strong { display: block; color: #0f172a; font-size: 12px; }.demo-sender span:not(.demo-avatar), .demo-sender small { display: block; font-size: 10px; color: #64748b; }.demo-sender time { margin-left: auto; color: #64748b; white-space: nowrap; font-size: 10px; }
.demo-message-meta { display: flex; justify-content: space-between; margin: 18px 0; padding-bottom: 14px; border-bottom: 1px solid #e2e8f0; color: #64748b; }
.demo-message-meta label, .pin-label { display: inline-flex; align-items: center; gap: 5px; font-size: 10px; }.demo-message-meta svg { width: 13px; height: 13px; }
.demo-message-meta select { border: 1px solid #cbd5e1; border-radius: 12px; padding: 2px 6px; color: #475569; background: white; font-size: 10px; }.pin-label { color: #0369a1; }
.demo-message-body { font-size: 13px; line-height: 1.8; color: #334155; overflow-wrap: anywhere; }.demo-message-body p { margin: 0 0 15px; }
.demo-reply-footer { display: flex; gap: 8px; margin-top: 25px; }.demo-reply-footer button { border: 1px solid #cbd5e1; padding: 6px 12px; font-size: 11px; border-radius: 6px; }
.demo-message-table { width: 100%; border-collapse: collapse; margin: 15px 0; font-size: 12px; }.demo-message-table th, .demo-message-table td { text-align: left; border: 1px solid #cbd5e1; padding: 8px; }.demo-message-table th { background: #f8fafc; }
.mail-demo .demo-attachment { display: flex; gap: 10px; text-align: left; border: 1px solid #e2e8f0; padding: 10px 12px; margin: 15px 0; }.demo-attachment small { display: block; font-size: 10px; color: #64748b; }
.demo-empty { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 55px 22px; text-align: center; color: #64748b; height: 100%; }.demo-empty > svg { width: 30px; height: 30px; color: #0d9488; }.demo-empty h3 { font-size: 14px; color: #334155; }.demo-empty p { font-size: 11px; }.demo-empty button { color: #0f766e; text-decoration: underline; }
.demo-composer-bar { display: flex; justify-content: space-between; align-items: center; height: 42px; flex-shrink: 0; padding: 0 14px; background: #f8fafc; border-bottom: 1px solid #e2e8f0; }
.demo-composer { display: flex; flex-direction: column; flex: 1; overflow-y: auto; min-height: 0; }.demo-composer-notice { color: #0f766e; background: #f0fdfa; padding: 8px 15px; font-size: 10px; }
.demo-composer > label:not(.demo-body-label) { display: flex; gap: 15px; padding: 10px 16px; border-bottom: 1px solid #e2e8f0; align-items: center; color: #64748b; font-size: 11px; }.demo-composer label span { color: #334155; }
.demo-composer input { border: 0; color: #0f172a; min-width: 0; flex: 1; background: transparent; padding: 2px 0; }
.demo-body-label { display: flex; flex: 1; min-height: 150px; }.demo-composer textarea { border: 0; background: white; color: #334155; padding: 20px; width: 100%; min-height: 150px; resize: vertical; font-size: 13px; line-height: 1.7; }
.demo-composer blockquote { margin: 10px 20px; border-left: 3px solid #cbd5e1; padding-left: 12px; color: #64748b; }
.demo-composer-actions { display: flex; gap: 8px; padding: 10px 12px; align-items: center; border-top: 1px solid #e2e8f0; background: #f8fafc; font-size: 11px; }.mail-demo .demo-composer-actions .demo-compose { margin: 0; font-size: 11px; padding: 8px 12px; }
.demo-module-view { flex: 1; overflow-y: auto; background: white; padding: 30px; }.demo-module-header { border-bottom: 1px solid #e2e8f0; padding-bottom: 20px; margin-bottom: 20px; }.demo-module-header h3 { font-size: 24px; margin: 5px 0; }.demo-module-header p { color: #64748b; font-size: 12px; }
.demo-contacts { max-width: 650px; }.demo-contacts article { display: flex; align-items: center; gap: 14px; padding: 15px 0; border-bottom: 1px solid #e2e8f0; }.demo-contacts p { color: #64748b; font-size: 11px; }.demo-contacts button { margin-left: auto; border: 1px solid #e2e8f0; }
.demo-agenda { display: flex; align-items: flex-start; gap: 25px; max-width: 620px; }.agenda-date { display: flex; align-items: center; flex-direction: column; color: #0f766e; }.agenda-date strong { font-size: 32px; }.agenda-date span { font-size: 10px; }.demo-agenda article { flex: 1; background: #f0fdfa; border-left: 3px solid #0d9488; border-radius: 5px; padding: 18px; }.demo-agenda h4 { font-size: 16px; margin: 8px 0; }.demo-agenda p { margin-bottom: 12px; color: #475569; }
.demo-statusbar { display: flex; align-items: center; gap: 10px; min-height: 30px; border-top: 1px solid #e2e8f0; padding: 3px 12px; background: #f8fafc; font-size: 10px; flex-shrink: 0; color: #64748b; }.demo-statusbar > span:first-child { white-space: nowrap; }.demo-statusbar #demoStatus { margin-left: auto; }.mail-demo .demo-statusbar button { padding: 0 5px; text-decoration: underline; color: #0f766e; }
.demo-footnote { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 14px 0 0; color: #64748b; font-size: .78rem; }.demo-footnote button { border: 0; background: none; color: #0f766e; text-decoration: underline; white-space: nowrap; }
dialog { margin: auto; border: 1px solid #cbd5e1; border-radius: 12px; box-shadow: 0 24px 70px #0f172a40; background: white; color: #0f172a; max-width: calc(100vw - 32px); max-height: calc(100vh - 40px); }
dialog::backdrop { background: #0f172a99; backdrop-filter: blur(4px); }.dialog-close { position: absolute; right: 10px; top: 10px; border: 1px solid #cbd5e1; background: white; color: #334155; border-radius: 50%; width: 32px; height: 32px; font-size: 22px; z-index: 1; }
.image-dialog { padding: 0; }.image-dialog img { display: block; max-width: 86vw; max-height: 85vh; object-fit: contain; }
.settings-dialog { padding: 32px; width: 480px; }.settings-dialog h2 { font-size: 26px; margin-top: 8px; }.settings-dialog p { margin: 16px 0; color: #475569; font-size: 14px; }.settings-dialog .btn { margin-top: 8px; }.theme-swatches { display: flex; gap: 10px; margin: 20px 0; }.theme-swatches span { width: 42px; height: 42px; border-radius: 50%; border: 1px solid #cbd5e1; background: #fff; }.theme-swatches span:nth-child(2) { background: #f8fafc; }.theme-swatches span:nth-child(3) { background: #ccfbf1; }.theme-swatches span:nth-child(4) { background: #0d9488; }
.cta-section { padding: 80px 0; }.cta-section .cta-banner { margin: 0 auto; }
@container (min-width: 650px) { .demo-reader-actions > button:nth-of-type(n+3) > span { display: inline; } }
@media (max-width: 1000px) { .nav-links { display: none; }.governance-layout { gap: 30px; grid-template-columns: 1fr 1.2fr; } }
@media (max-width: 600px) { .container { padding-inline: 16px; }.nav-wrap { height: 62px; gap: 12px; }.brand { gap: 8px; font-size: 18px; }.brand-logo { width: 30px; height: 30px; }.nav-wrap .btn { font-size: 11px; padding: 6px 9px; }.hero { padding-top: 50px; }.hero-title { font-size: 2.4rem; }.hero-subtitle { font-size: 1rem; }.hero-specs { gap: 8px 16px; font-size: .75rem; }.demo-heading { align-items: flex-start; }.demo-heading h2 { font-size: 1.35rem; }.demo-heading .badge { font-size: 10px; white-space: nowrap; padding: 4px 8px; }.demo-description { font-size: .82rem; }.demo-footnote { align-items: flex-start; font-size: .7rem; gap: 12px; }.features-grid, .gallery-grid, .governance-layout { grid-template-columns: 1fr; }.feature-card { padding: 24px; }.section-title { font-size: 1.9rem; }.section-desc { font-size: 1rem; }.features-section, .comparison-section, .gallery-section, .governance-section, .cta-section { padding-block: 50px; }.governance-layout { gap: 18px; }.cta-banner { padding: 32px 20px; }.footer-links { flex-wrap: wrap; gap: 12px; }.footer-left { font-size: 12px; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }

.footer-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-left {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  gap: 20px;
  list-style: none;
}

.footer-links a {
  color: var(--text-dim);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--teal-dark);
}

