/* Override: lighter borders and text for landing page */
:root { --color-text: #333333; --color-border: #333333; --shadow-lift: 8px 8px 0 0 rgba(0,0,0,0.18); }

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

body {
  font-family: var(--font-body);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

/* ── HEADER ── */
.header {
  background: var(--color-bg);
  border-bottom: var(--border-thick);
  padding: 32px 24px 28px;
  text-align: center;
}

.header-inner {
  max-width: 640px;
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.logo svg {
  height: 100px;
  width: 100px;
}

.header h1 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.7rem, 5vw, 2.4rem);
  letter-spacing: -0.02em;
  color: var(--color-text);
  margin-bottom: 0;
}

.header h1::after {
  content: "";
  display: block;
  width: 60px;
  height: 5px;
  background: var(--color-accent);
  margin: 14px auto 0;
}

.header p {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--color-text-muted);
  margin-top: 14px;
  line-height: 1.5;
}

/* ── CONTAINER ── */
.container {
  max-width: 620px;
  margin: 28px auto 64px;
  padding: 0 20px;
}

/* ── LINK CARDS ── */
.card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.link-card {
  background: var(--color-bg);
  border: var(--border-base);
  box-shadow: var(--shadow-base);
  padding: 22px 24px;
  margin-bottom: 14px;
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}

.link-card:hover {
  box-shadow: var(--shadow-lift);
  transform: translate(-1px, -1px);
}

.card-link:focus-visible .link-card {
  outline: 3px solid var(--color-primary);
  outline-offset: 2px;
}

/* ── DISABLED CARDS ── */
.card-disabled .link-card {
  opacity: 0.45;
  cursor: default;
}

.card-disabled .link-card:hover {
  box-shadow: var(--shadow-base);
  transform: none;
}

.card-disabled .card-title::after {
  content: " — Coming soon";
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.78rem;
  color: var(--color-text-muted);
  letter-spacing: 0;
}

/* ── CARD ICONS ── */
.card-icon {
  display: inline-block;
  width: 1.4em;
  height: 1.4em;
  vertical-align: -0.125em;
  fill: var(--color-primary);
  margin-bottom: 8px;
}

.card-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: -0.01em;
  color: var(--color-text);
  margin-bottom: 4px;
}

.card-desc {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.88rem;
  color: var(--color-text-muted);
  line-height: 1.4;
}

/* ── FOOTER ── */
.site-footer {
  margin-top: 48px;
  border-top: 4px solid var(--color-border);
  background: #ffffff;
  position: relative;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background-image:
    linear-gradient(var(--color-border) 1px, transparent 1px),
    linear-gradient(90deg, var(--color-border) 1px, transparent 1px);
  background-size: 20px 20px;
  opacity: 0.06;
  pointer-events: none;
  z-index: 0;
}

.footer-inner {
  position: relative;
  z-index: 1;
  max-width: 620px;
  margin: 0 auto;
  padding: 24px 20px;
  text-align: center;
  font-size: 0.76rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

.footer-inner a {
  color: var(--color-primary);
  text-decoration: none;
  font-weight: 600;
}

.footer-inner a:hover { text-decoration: underline; }

/* ── RESPONSIVE ── */
@media (max-width: 520px) {
  .header { padding: 24px 16px 22px; }
  .logo svg { height: 72px; width: 72px; }
  .link-card { padding: 18px 16px; }
  .footer-inner { padding: 20px 16px; }
}
