/* Zycord Client site: liquid glass, cool near-black, flat #1A76F6 accent */

:root {
  --bg: #07090e;
  --bg-elev: #0b0f16;
  --text: #eef2f8;
  --text-soft: #aeb9c9;
  --text-faint: #8a94a6;
  --accent: #1a76f6;
  --accent-deep: #1657be;
  --accent-soft: rgba(26, 118, 246, 0.16);
  --line: rgba(255, 255, 255, 0.1);
  --line-strong: rgba(255, 255, 255, 0.18);
  --glass: linear-gradient(180deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.022));
  --glass-hi: linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.03));
  --radius: 14px;
  --radius-lg: 20px;
  --radius-btn: 7px;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.09);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100%;
  background:
    radial-gradient(1100px 680px at 78% -12%, rgba(26, 118, 246, 0.16), rgba(26, 118, 246, 0) 62%),
    radial-gradient(760px 520px at 6% 8%, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0) 60%),
    radial-gradient(900px 700px at 50% 108%, rgba(26, 118, 246, 0.09), rgba(26, 118, 246, 0) 65%),
    var(--bg);
  background-attachment: fixed;
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3 {
  margin: 0;
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 620;
}

p {
  margin: 0;
}

a {
  color: var(--text);
  text-decoration: none;
}

a:hover {
  color: #fff;
}

:focus-visible {
  outline: 2px solid #86bdff;
  outline-offset: 3px;
  border-radius: 4px;
}

.wrap {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

.skip {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 50;
  padding: 10px 16px;
  border: 0;
  background: var(--accent-deep);
  color: #fff;
  font-family: var(--font);
  font-size: 1rem;
  border-radius: var(--radius-btn);
  cursor: pointer;
  transition: top 160ms ease;
}

.skip:focus {
  top: 12px;
  color: #fff;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid var(--line);
  background: rgba(7, 9, 14, 0.62);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  backdrop-filter: blur(18px) saturate(150%);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 68px;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.125rem;
  font-weight: 640;
  letter-spacing: -0.015em;
}

.mark {
  width: 30px;
  height: 30px;
  flex: none;
  filter: drop-shadow(0 4px 10px rgba(26, 118, 246, 0.35));
}

.nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
}

.nav a {
  padding: 8px 12px;
  border-radius: var(--radius-btn);
  color: var(--text-soft);
  font-size: 0.9375rem;
  transition: color 160ms ease, background-color 160ms ease;
}

.nav a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.07);
}

/* Hero */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 56px;
  align-items: center;
  padding-top: 88px;
  padding-bottom: 88px;
}

.hero-copy {
  animation: rise 240ms cubic-bezier(0.22, 0.7, 0.3, 1) both;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 18px;
  padding: 6px 10px;
  border: 1px solid rgba(26, 118, 246, 0.4);
  border-radius: 6px;
  background: var(--accent-soft);
  color: #9ec8ff;
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

h1 {
  font-size: clamp(2rem, 1.2rem + 3.4vw, 3.5rem);
  max-width: 15ch;
}

.lead {
  margin-top: 22px;
  max-width: 56ch;
  color: var(--text-soft);
  font-size: 1.0625rem;
}

.cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: var(--radius-btn);
  background: var(--accent-deep);
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  box-shadow: 0 10px 26px rgba(17, 71, 158, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.22);
  transition: background-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.btn:hover {
  background: #1a67d8;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(17, 71, 158, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.26);
}

.btn:active {
  transform: translateY(0);
}

.btn-icon {
  width: 16px;
  height: 16px;
  flex: none;
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--line-strong);
  color: var(--text);
  box-shadow: none;
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  box-shadow: none;
}

.file-meta {
  margin-top: 18px;
  color: var(--text-soft);
  font-family: var(--mono);
  font-size: 0.8125rem;
  overflow-wrap: anywhere;
}

.fine {
  margin-top: 10px;
  max-width: 50ch;
  color: var(--text-faint);
  font-size: 0.875rem;
}

/* Glass stage */

.glass {
  position: relative;
  border: 1px solid var(--line);
  background: var(--glass);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  backdrop-filter: blur(20px) saturate(140%);
  box-shadow: var(--shadow);
}

.stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 26px;
  min-height: 340px;
  padding: 48px 28px 36px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  animation: rise 240ms 60ms cubic-bezier(0.22, 0.7, 0.3, 1) both;
}

.stage::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0) 32%),
    radial-gradient(120% 80% at 50% -20%, rgba(26, 118, 246, 0.24), rgba(26, 118, 246, 0) 70%);
  pointer-events: none;
}

.stage-sheen {
  position: absolute;
  top: -40%;
  left: -30%;
  width: 90%;
  height: 120%;
  background: linear-gradient(115deg, rgba(255, 255, 255, 0) 35%, rgba(255, 255, 255, 0.09) 48%, rgba(255, 255, 255, 0) 62%);
  transform: rotate(8deg);
  pointer-events: none;
}

.app-icon {
  position: relative;
  width: 176px;
  height: auto;
  border-radius: 22%;
  filter: drop-shadow(0 24px 44px rgba(8, 22, 52, 0.65));
}

.stage-meta {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.chip {
  padding: 5px 10px;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-soft);
  font-family: var(--mono);
  font-size: 0.75rem;
}

/* Sections */

.section {
  padding-top: 40px;
  padding-bottom: 56px;
}

.section-head {
  max-width: 640px;
  margin-bottom: 34px;
}

.section-head h2 {
  font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.125rem);
}

.section-head p {
  margin-top: 12px;
  color: var(--text-soft);
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.card {
  padding: 26px 24px;
  border-radius: var(--radius);
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.card::after,
.steps li::after,
.not-panel::after {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0));
  opacity: 0.5;
  pointer-events: none;
}

.card:hover {
  transform: translateY(-2px);
  border-color: var(--line-strong);
  background: var(--glass-hi);
}

.num {
  display: block;
  margin-bottom: 16px;
  color: #8fbfff;
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
}

.card h3 {
  font-size: 1.0625rem;
  letter-spacing: -0.01em;
}

.card p {
  margin-top: 10px;
  color: var(--text-soft);
  font-size: 0.9375rem;
}

.also {
  margin-top: 22px;
  color: var(--text-faint);
  font-size: 0.9375rem;
}

/* What it is not */

.not-panel {
  padding: 36px 34px;
  border-radius: var(--radius-lg);
}

.not-panel h2 {
  font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2rem);
}

.not-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.not-list li {
  display: flex;
  gap: 12px;
}

.tick {
  flex: none;
  width: 10px;
  height: 10px;
  margin-top: 8px;
  border: 1px solid rgba(26, 118, 246, 0.7);
  border-radius: 3px;
  background: var(--accent-soft);
}

.not-list h3 {
  font-size: 0.9375rem;
  letter-spacing: -0.005em;
}

.not-list p {
  margin-top: 8px;
  color: var(--text-soft);
  font-size: 0.9375rem;
}

/* Steps */

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: none;
}

.steps li {
  padding: 26px 24px;
  border-radius: var(--radius);
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  margin-bottom: 16px;
  border: 1px solid rgba(26, 118, 246, 0.45);
  border-radius: 6px;
  background: var(--accent-soft);
  color: #a9d0ff;
  font-family: var(--mono);
  font-size: 0.8125rem;
}

.steps h3 {
  font-size: 1.0625rem;
}

.steps p {
  margin-top: 10px;
  color: var(--text-soft);
  font-size: 0.9375rem;
}

/* Footer */

.site-footer {
  margin-top: 48px;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-top: 34px;
  padding-bottom: 18px;
}

.footer-brand {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
}

.wordmark-small {
  font-size: 1rem;
  font-weight: 640;
}

.copyright {
  color: var(--text-faint);
  font-size: 0.875rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 18px;
}

.footer-links a {
  color: var(--text-soft);
  font-size: 0.875rem;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.22);
  text-underline-offset: 3px;
  transition: color 160ms ease, text-decoration-color 160ms ease;
}

.footer-links a:hover {
  color: var(--text);
  text-decoration-color: var(--accent);
}

.footer-note {
  padding-bottom: 30px;
}

.footer-note p {
  color: var(--text-faint);
  font-size: 0.8125rem;
  max-width: 72ch;
}

/* Legal pages */

.legal {
  max-width: 760px;
  padding-top: 64px;
  padding-bottom: 72px;
}

.legal h1 {
  font-size: clamp(1.75rem, 1.2rem + 2vw, 2.5rem);
  max-width: none;
}

.legal .updated {
  margin-top: 12px;
  color: var(--text-faint);
  font-family: var(--mono);
  font-size: 0.8125rem;
}

.legal-panel {
  margin-top: 30px;
  padding: 32px;
  border-radius: var(--radius-lg);
}

.legal h2 {
  margin-top: 30px;
  font-size: 1.125rem;
}

.legal h2:first-child {
  margin-top: 0;
}

.legal p,
.legal li {
  margin-top: 10px;
  color: var(--text-soft);
  font-size: 0.9688rem;
}

.legal ul {
  margin: 0;
  padding-left: 20px;
}

.legal li::marker {
  color: var(--accent);
}

.legal strong {
  color: var(--text);
  font-weight: 600;
}

.legal a {
  color: #a9d0ff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal a:hover {
  color: #fff;
}

.legal-back {
  display: inline-block;
  margin-top: 28px;
  color: var(--text-soft);
  font-size: 0.9375rem;
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 2px;
}

.legal-back:hover {
  color: var(--text);
  border-bottom-color: var(--accent);
}

/* Features page */

.wrap.wide {
  max-width: 1560px;
}

.features-main h1 {
  margin-bottom: 4px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 30px;
  align-items: stretch;
}

.feature {
  display: flex;
  flex-direction: column;
  padding: 28px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--glass);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  backdrop-filter: blur(20px) saturate(140%);
  box-shadow: var(--shadow);
  transition: border-color 160ms ease, background 160ms ease;
}

.feature:hover {
  border-color: var(--line-strong);
  background: var(--glass-hi);
}

.feature-wide {
  grid-column: span 2;
}

.feature-copy h2 {
  margin-top: 0;
  font-size: 1.1875rem;
  letter-spacing: -0.01em;
}

.feature-copy p {
  margin-top: 10px;
  max-width: 72ch;
  color: var(--text-soft);
  font-size: 0.9688rem;
}

.feature .shot {
  margin: 22px 0 0;
  content-visibility: auto;
}

.feature .shot img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: var(--bg-elev);
}

.feature .shot figcaption {
  margin-top: 10px;
  color: var(--text-faint);
  font-size: 0.8125rem;
}

.feature-block {
  margin-top: 56px;
}

.feature-block > h2 {
  font-size: 1.5rem;
}

.feature-block > p {
  margin-top: 10px;
  color: var(--text-soft);
  font-size: 0.9688rem;
}

.feature-block .table-wrap {
  margin-top: 22px;
}

/* Screenshots page */

.shot-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 30px;
}

.screenshots-main .updated {
  color: var(--text-faint);
  font-family: var(--mono);
  font-size: 0.8125rem;
  margin-top: 12px;
}

.shot-card {
  margin: 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--glass);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  backdrop-filter: blur(20px) saturate(140%);
  box-shadow: var(--shadow);
  transition: border-color 160ms ease, background 160ms ease;
}

.shot-card:hover {
  border-color: var(--line-strong);
  background: var(--glass-hi);
}

.shot-link {
  display: block;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  background: var(--bg-elev);
}

.shot-card img {
  display: block;
  width: 100%;
  height: auto;
}

.shot-card figcaption {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 10px;
  margin-top: 14px;
  padding: 0 2px 2px;
}

.shot-card figcaption strong {
  font-size: 0.9375rem;
  font-weight: 600;
}

.shot-card figcaption span {
  color: var(--text-faint);
  font-size: 0.8125rem;
  line-height: 1.5;
}

.cross-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  margin-top: 40px;
}

.cross-links a {
  color: var(--text-soft);
  font-size: 0.9375rem;
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 2px;
}

.cross-links a:hover {
  color: var(--text);
  border-bottom-color: var(--accent);
}

@media (max-width: 1180px) {
  .feature-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .shot-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .feature-grid,
  .shot-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .feature-wide {
    grid-column: span 1;
  }
  .shot-card {
    padding: 12px;
  }
  .feature {
    padding: 24px 20px;
  }
}

/* Motion */

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-delay: 0ms !important;
    transition-duration: 1ms !important;
  }
}

/* Responsive */

@media (max-width: 900px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
    padding-top: 60px;
    padding-bottom: 64px;
  }
  .stage {
    min-height: 280px;
  }
  .grid,
  .steps,
  .not-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .not-list li {
    gap: 10px;
  }
}

@media (max-width: 620px) {
  .wrap {
    padding: 0 18px;
  }
  .header-inner {
    min-height: 60px;
  }
  .nav a {
    padding: 8px 7px;
    font-size: 0.875rem;
  }
  h1 {
    max-width: none;
    font-size: clamp(1.85rem, 1.2rem + 5vw, 2.35rem);
  }
  .lead {
    font-size: 1rem;
  }
  .btn {
    flex: 1 1 100%;
    justify-content: center;
  }
  .grid,
  .steps,
  .not-list {
    grid-template-columns: minmax(0, 1fr);
  }
  .not-panel,
  .legal-panel {
    padding: 26px 20px;
  }
  .stage {
    padding: 36px 20px 28px;
  }
  .app-icon {
    width: 132px;
  }
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 380px) {
  .wordmark span {
    font-size: 1rem;
  }
  .nav {
    gap: 2px;
  }
  .nav a {
    padding: 8px 7px;
    font-size: 0.8125rem;
  }
  .file-meta {
    font-size: 0.75rem;
  }
}

/* Plugin table */
.table-wrap {
  margin-top: 1.25rem;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.022);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
}

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

.table-wrap caption {
  caption-side: top;
  padding: 0.9rem 1rem 0.4rem;
  color: var(--text-faint);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-align: left;
}

.table-wrap thead th {
  position: sticky;
  top: 0;
  z-index: 1;
  padding: 0.7rem 1rem;
  background: #0b0f16;
  border-bottom: 1px solid var(--line-strong);
  color: var(--text-soft);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
}

.table-wrap tbody th {
  padding: 0.6rem 1rem;
  color: var(--text);
  font-weight: 500;
  white-space: nowrap;
  vertical-align: top;
}

.table-wrap tbody td {
  padding: 0.6rem 1rem;
  color: var(--text-soft);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  vertical-align: top;
}

.table-wrap tbody tr:hover td,
.table-wrap tbody tr:hover th {
  background: rgba(255, 255, 255, 0.03);
}

.table-wrap td.yes {
  color: var(--accent);
  font-weight: 600;
}

.table-wrap td.no {
  color: var(--text-faint);
}

@media (max-width: 640px) {
  .table-wrap table { font-size: 0.84rem; }
  .table-wrap thead th,
  .table-wrap tbody th,
  .table-wrap tbody td { padding: 0.5rem 0.7rem; }
}
