/* =========================================
   cyclenoid.com — Stylesheet
   ========================================= */

:root {
  --color-bg: #0a0a0b;
  --color-bg-elevated: #141416;
  --color-bg-card: #1a1a1e;
  --color-border: #2a2a2e;
  --color-text: #e4e4e7;
  --color-text-muted: #71717a;
  --color-text-dim: #52525b;
  --color-accent: #f97316;
  --color-accent-dim: rgba(249, 115, 22, 0.12);
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
}

.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 24px;
}

/* =========================================
   Language Switcher
   ========================================= */

.lang-switch {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 4px;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: 6px;
  padding: 4px 6px;
}

.subpage-brand {
  position: fixed;
  top: 24px;
  left: 24px;
  z-index: 100;
  display: inline-flex;
  align-items: center;
  gap: 0;
  font-family: 'Google Sans', var(--font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-decoration: none;
  color: var(--color-text);
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: 6px;
  padding: 7px 10px;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.subpage-brand span {
  color: var(--color-text-muted);
}

.subpage-brand:hover {
  color: var(--color-accent);
  border-color: var(--color-accent);
}

.lang-btn {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--color-text-dim);
  background: none;
  border: none;
  padding: 4px 8px;
  border-radius: 4px;
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease;
}

.lang-btn:hover {
  color: var(--color-text);
}

.lang-btn.active {
  color: var(--color-accent);
  background: var(--color-accent-dim);
}

.lang-sep {
  font-size: 0.7rem;
  color: var(--color-text-dim);
  user-select: none;
}

a.lang-btn {
  text-decoration: none;
  font-size: 1rem;
  line-height: 1;
}

/* =========================================
   Hero
   ========================================= */

.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 24px;
  position: relative;
  overflow: hidden;
  background: #111113;
}

/* Content — staggered entrance */
.hero-content {
  max-width: 720px;
  width: 100%;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-title {
  font-family: 'Google Sans', var(--font-sans);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 32px;
  animation: revealUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero-title-dot {
  color: #ffffff;
  animation: dotFlicker 3s ease-in-out 1.2s infinite;
}

.hero-definition {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--color-text-muted);
  max-width: 560px;
  text-align: center;
  animation: revealUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both;
}

.hero-syllables {
  font-family: var(--font-mono);
  font-weight: 500;
  color: var(--color-text);
  letter-spacing: 0.04em;
}

.hero-pos {
  font-style: italic;
  color: var(--color-text-dim);
  margin: 0 4px;
}

.hero-meaning {
  color: var(--color-text-muted);
}

.hero-scroll-hint {
  position: absolute;
  bottom: 40px;
  font-size: 1.25rem;
  color: var(--color-text-dim);
  animation: revealUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.6s both, float 2s ease-in-out 1.2s infinite;
  z-index: 1;
}

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

@keyframes dotFlicker {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

@keyframes float {
  0%, 100% { transform: translateY(0); opacity: 0.4; }
  50% { transform: translateY(8px); opacity: 0.8; }
}

/* =========================================
   Project Section
   ========================================= */

.project {
  padding: 120px 24px;
  background: var(--color-bg-elevated);
  border-top: 1px solid var(--color-border);
}

.project-header {
  text-align: center;
  margin-bottom: 64px;
}

.project-label {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-accent);
  background: var(--color-accent-dim);
  padding: 4px 12px;
  border-radius: 4px;
  margin-bottom: 20px;
}

.project-title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.project-title-sub {
  font-weight: 300;
  color: var(--color-text-muted);
}

.project-tagline {
  font-size: 1.1rem;
  color: var(--color-text-muted);
  max-width: 540px;
  margin: 0 auto;
}

.project-description {
  max-width: 680px;
  margin: 0 auto 64px;
  text-align: center;
}

.project-description p {
  font-size: 1rem;
  color: var(--color-text-muted);
  line-height: 1.8;
}

.project-description p + p {
  margin-top: 16px;
}

.project-claim {
  color: var(--color-text) !important;
  font-weight: 500;
}

/* Features Grid */

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 960px;
  margin: 0 auto 64px;
}

.feature {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 28px 24px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.feature:hover {
  border-color: var(--color-accent);
  transform: translateY(-2px);
}

.feature-icon {
  font-size: 1.5rem;
  margin-bottom: 12px;
  color: var(--color-accent);
}

.feature h3 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--color-text);
}

.feature p {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* Screenshots Carousel */

.project-screenshots {
  position: relative;
  max-width: 100%;
  margin: 0 auto 64px;
  overflow: hidden;
}

.project-screenshots:focus {
  outline: none;
}

.screenshots-scroll {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 0 24px;
  scrollbar-width: none;
}

.screenshots-scroll::-webkit-scrollbar {
  display: none;
}

.screenshots-scroll img {
  flex-shrink: 0;
  width: 720px;
  height: auto;
  border-radius: 10px;
  border: 1px solid var(--color-border);
  scroll-snap-align: center;
  transition: border-color 0.2s ease;
}

.screenshots-scroll img:hover {
  border-color: var(--color-accent);
}

.screenshots-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-70%);
  z-index: 2;
  width: 44px;
  height: 44px;
  border: 1px solid var(--color-border);
  border-radius: 50%;
  background: var(--color-bg-card);
  color: var(--color-text);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s ease, background 0.2s ease, opacity 0.2s ease;
  opacity: 0.8;
}

.screenshots-arrow:hover {
  border-color: var(--color-accent);
  background: var(--color-bg-elevated);
  opacity: 1;
}

.screenshots-arrow:disabled {
  opacity: 0.25;
  cursor: default;
  border-color: var(--color-border);
  background: var(--color-bg-card);
}

.screenshots-arrow-left {
  left: 12px;
}

.screenshots-arrow-right {
  right: 12px;
}

.screenshots-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}

.screenshots-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-border);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.screenshots-dot:hover {
  background: var(--color-text-dim);
}

.screenshots-dot.active {
  background: var(--color-accent);
  transform: scale(1.25);
}

/* Setup Guide */

.setup {
  max-width: 640px;
  margin: 0 auto 64px;
}

.setup-header {
  text-align: center;
  margin-bottom: 40px;
}

.setup-title {
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-top: 20px;
  color: var(--color-text);
}

.setup-req {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 20px 24px;
  margin-bottom: 32px;
}

.setup-req h4 {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 10px;
}

.setup-req-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.setup-req-list li {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  padding-left: 16px;
  position: relative;
}

.setup-req-list li::before {
  content: '\2022';
  color: var(--color-accent);
  position: absolute;
  left: 0;
}

.setup-req-link {
  color: var(--color-text-dim);
  text-decoration: none;
  font-size: 0.75rem;
  margin-left: 4px;
  transition: color 0.2s ease;
}

.setup-req-link:hover {
  color: var(--color-accent);
}

.setup-req-platforms {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--color-text-dim);
  margin-top: 12px;
}

.setup-steps {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.setup-step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.setup-num {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--color-accent);
  background: var(--color-accent-dim);
  border-radius: 50%;
  margin-top: 2px;
}

.setup-body h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 4px;
}

.setup-body p {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: 10px;
}

.setup-code {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--color-text-muted);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 6px;
  padding: 10px 14px;
  overflow-x: auto;
  line-height: 1.6;
}

.setup-platform {
  color: var(--color-text-dim);
  font-size: 0.7rem;
  letter-spacing: 0.02em;
}

.setup-docs {
  text-align: center;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--color-border);
}

.setup-docs p {
  font-size: 0.8rem;
  color: var(--color-text-dim);
  margin-bottom: 8px;
}

.setup-docs a {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.setup-docs a:hover {
  color: var(--color-accent);
}

/* Powered by */

.powered-by {
  text-align: center;
  font-size: 0.7rem;
  color: var(--color-text-dim);
  letter-spacing: 0.04em;
  margin-bottom: 32px;
}

.powered-by a {
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.powered-by a:hover {
  color: #fc4c02;
}

/* CTA */

.project-cta {
  text-align: center;
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  padding: 12px 28px;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.btn-github {
  color: var(--color-text);
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
}

.btn-github:hover {
  border-color: var(--color-text-muted);
  transform: translateY(-1px);
}

.btn-discussions {
  color: var(--color-text);
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
}

.btn-discussions:hover {
  border-color: var(--color-text-muted);
  transform: translateY(-1px);
}

.btn-coffee {
  color: var(--color-bg);
  background: var(--color-accent);
}

.btn-coffee:hover {
  background: #ea6c0a;
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(249, 115, 22, 0.3);
}

.btn-coffee svg {
  flex-shrink: 0;
}

/* =========================================
   Calendar Section
   ========================================= */

.calendar {
  padding: 120px 24px;
  background: var(--color-bg);
  border-top: 1px solid var(--color-border);
}

.calendar-header {
  text-align: center;
  margin-bottom: 48px;
}

.calendar-title {
  font-size: clamp(1.7rem, 4.2vw, 2.7rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-top: 20px;
  margin-bottom: 12px;
}

.calendar-intro {
  max-width: 740px;
  margin: 0 auto;
  color: var(--color-text-muted);
  font-size: 0.98rem;
}

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

.calendar-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.calendar-card:hover {
  border-color: var(--color-accent);
  transform: translateY(-2px);
}

.calendar-card h3 {
  font-size: 0.96rem;
  font-weight: 600;
  color: var(--color-text);
}

.calendar-card p {
  font-size: 0.86rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  flex: 1;
}

.calendar-card--combined {
  grid-column: 1 / -1;
  padding: 26px 24px;
}

.calendar-card-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.calendar-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 38px;
  padding: 10px 14px;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.03em;
  color: var(--color-text);
  text-decoration: none;
  background: var(--color-bg-elevated);
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.calendar-download:hover {
  border-color: var(--color-accent);
  color: #ffffff;
  background: rgba(249, 115, 22, 0.14);
}

.calendar-view {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 10px 14px;
  border-radius: 8px;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.03em;
  color: var(--color-text-muted);
  text-decoration: none;
  border: 1px solid var(--color-border);
  background: transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.calendar-view:hover {
  color: var(--color-accent);
  border-color: var(--color-accent);
}

.calendar-meta {
  margin-top: 20px;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--color-text-dim);
}

.calendar-fallback {
  margin-top: 8px;
  text-align: center;
}

.calendar-fallback a {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--color-text-muted);
  text-decoration: none;
  border-bottom: 1px dotted var(--color-border);
  transition: color 0.2s ease, border-color 0.2s ease;
}

.calendar-fallback a:hover {
  color: var(--color-accent);
  border-color: var(--color-accent);
}

.calendar-free {
  margin-top: 18px;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--color-text-dim);
}

.calendar-free a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  color: #f2b387;
  text-decoration: none;
  border: 1px solid rgba(249, 115, 22, 0.35);
  border-radius: 999px;
  background: rgba(249, 115, 22, 0.08);
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.calendar-free a::before {
  content: "\2615";
  font-size: 0.78rem;
  line-height: 1;
  opacity: 0.9;
}

.calendar-free a:hover {
  color: #ffffff;
  border-color: var(--color-accent);
  background: rgba(249, 115, 22, 0.16);
}

.calendar-help {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--color-border);
}

.calendar-help-title {
  font-size: 1.05rem;
  font-weight: 600;
  text-align: center;
  margin-bottom: 8px;
}

.calendar-help-intro {
  text-align: center;
  color: var(--color-text-muted);
  font-size: 0.88rem;
  margin-bottom: 18px;
}

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

.calendar-help-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: 10px;
  padding: 16px 16px 14px;
}

.calendar-help-card h4 {
  font-size: 0.87rem;
  margin-bottom: 10px;
}

.calendar-help-card ol {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 6px;
}

.calendar-help-card li {
  color: var(--color-text-muted);
  font-size: 0.8rem;
  line-height: 1.5;
}

.calendar-help-note {
  margin-top: 14px;
  font-family: var(--font-mono);
  color: var(--color-text-dim);
  font-size: 0.72rem;
  text-align: center;
}

/* =========================================
   Contact
   ========================================= */

.contact {
  padding: 120px 24px;
  background: var(--color-bg);
  border-top: 1px solid var(--color-border);
}

.contact-header {
  text-align: center;
  margin-bottom: 48px;
}

.contact-title {
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-top: 20px;
}

.contact-form {
  max-width: 560px;
  margin: 0 auto;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--color-text-muted);
  margin-bottom: 6px;
  letter-spacing: 0.02em;
}

.form-group input,
.form-group textarea {
  width: 100%;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  color: var(--color-text);
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 12px 16px;
  transition: border-color 0.2s ease;
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--color-accent);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.btn-submit {
  width: 100%;
  justify-content: center;
  cursor: pointer;
  border: none;
  color: var(--color-bg);
  background: var(--color-accent);
  font-size: 0.9rem;
  font-weight: 600;
}

.btn-submit:hover {
  background: #ea6c0a;
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(249, 115, 22, 0.3);
}

/* =========================================
   Footer
   ========================================= */

.footer {
  padding: 40px 24px;
  text-align: center;
  border-top: 1px solid var(--color-border);
}

.footer-links {
  margin-bottom: 12px;
}

.footer-links--primary {
  margin-bottom: 6px;
}

.footer-links--secondary {
  margin-bottom: 12px;
}

.footer-links a {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: color 0.2s ease;
}

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

.footer-sep {
  color: var(--color-text-dim);
  margin: 0 8px;
}

.footer-no-cookie {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--color-text-dim);
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}

.footer p {
  font-size: 0.8rem;
  color: var(--color-text-dim);
}

.footer p a {
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer p a:hover {
  color: var(--color-accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* =========================================
   Calendar SEO Pages
   ========================================= */

.calendar-seo-page {
  min-height: calc(100vh - 80px);
  padding: 96px 24px 80px;
  background: var(--color-bg);
}

.calendar-seo-page h1 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}

.calendar-seo-page .lead {
  max-width: 780px;
  color: var(--color-text-muted);
  margin-bottom: 28px;
}

.calendar-seo-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.calendar-seo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 22px;
}

.calendar-seo-card {
  border: 1px solid var(--color-border);
  border-radius: 10px;
  background: var(--color-bg-card);
  padding: 16px 16px 14px;
}

.calendar-seo-card h2 {
  font-size: 1rem;
  margin-bottom: 8px;
}

.calendar-seo-card p {
  color: var(--color-text-muted);
  font-size: 0.86rem;
  margin-bottom: 12px;
}

.calendar-event-list {
  list-style: none;
  display: grid;
  gap: 10px;
}

.calendar-event-list li {
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 10px 12px;
  background: var(--color-bg-card);
}

.calendar-event-list time {
  display: inline-block;
  font-family: var(--font-mono);
  color: var(--color-text-dim);
  font-size: 0.74rem;
  margin-bottom: 4px;
}

.calendar-event-list strong {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 3px;
}

.calendar-event-list span {
  color: var(--color-text-muted);
  font-size: 0.82rem;
}

.calendar-list-title {
  font-size: 1.05rem;
  margin-bottom: 6px;
}

.calendar-list-intro {
  color: var(--color-text-muted);
  font-size: 0.86rem;
  margin-bottom: 14px;
}

.calendar-report {
  margin-top: 22px;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  background: var(--color-bg-card);
  padding: 18px 16px 16px;
}

.calendar-report h2 {
  font-size: 1rem;
  margin-bottom: 6px;
}

.calendar-report p {
  color: var(--color-text-muted);
  font-size: 0.84rem;
  margin-bottom: 12px;
}

.calendar-report-form {
  display: grid;
  gap: 10px;
}

.calendar-report-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.calendar-report .form-group {
  margin-bottom: 0;
}

.calendar-report textarea {
  min-height: 100px;
}

.calendar-report .btn-submit {
  width: auto;
  min-width: 150px;
}

.calendar-seo-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}

.calendar-seo-nav a {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--color-text-muted);
  text-decoration: none;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  padding: 7px 11px;
}

.calendar-seo-nav a:hover {
  color: var(--color-accent);
  border-color: var(--color-accent);
}

/* =========================================
   Legal Pages
   ========================================= */

.legal-page {
  min-height: calc(100vh - 80px);
  padding: 100px 24px 80px;
  background: var(--color-bg);
}

.legal-back {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--color-text-muted);
  text-decoration: none;
  margin-bottom: 40px;
  transition: color 0.2s ease;
}

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

.legal-page h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 40px;
}

.legal-page h2 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-top: 36px;
  margin-bottom: 12px;
  color: var(--color-text);
}

.legal-page p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.8;
  max-width: 680px;
}

.legal-page .placeholder {
  color: var(--color-accent);
  font-family: var(--font-mono);
  font-size: 0.85rem;
}

/* =========================================
   Scroll Reveal
   ========================================= */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-stagger > .reveal:nth-child(2) { transition-delay: 0.08s; }
.reveal-stagger > .reveal:nth-child(3) { transition-delay: 0.16s; }
.reveal-stagger > .reveal:nth-child(4) { transition-delay: 0.24s; }
.reveal-stagger > .reveal:nth-child(5) { transition-delay: 0.32s; }
.reveal-stagger > .reveal:nth-child(6) { transition-delay: 0.40s; }

/* =========================================
   Responsive
   ========================================= */

@media (max-width: 768px) {
  .features {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .calendar {
    padding: 90px 24px;
  }

  .calendar-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .calendar-card--combined {
    grid-column: 1 / -1;
  }

  .calendar-help-grid {
    grid-template-columns: 1fr;
  }

  .calendar-seo-grid {
    grid-template-columns: 1fr;
  }

  .calendar-report-row {
    grid-template-columns: 1fr;
  }

  .project {
    padding: 80px 24px;
  }

  .screenshots-scroll img {
    width: 85vw;
  }

  .screenshots-arrow {
    width: 36px;
    height: 36px;
    font-size: 1.25rem;
  }

  .screenshots-arrow-left {
    left: 6px;
  }

  .screenshots-arrow-right {
    right: 6px;
  }

  .subpage-brand {
    top: 16px;
    left: 16px;
    font-size: 0.72rem;
    padding: 6px 9px;
  }
}

@media (max-width: 480px) {
  .features {
    grid-template-columns: 1fr;
  }

  .calendar-grid {
    grid-template-columns: 1fr;
  }

  .calendar-card--combined {
    grid-column: auto;
  }

  .hero-definition {
    font-size: 0.95rem;
  }

  .feature {
    padding: 24px 20px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .contact {
    padding: 80px 24px;
  }
}
