/* Landing refinements requested 2026-08-07.
   This file is intentionally last in the cascade and remains scoped to the public landing page. */

/* Keep the introduction aligned with the wider sections below. */
.landing-shell.landing-simplified-v77 .landing-hero-copy > * {
  max-width: 760px !important;
}

.landing-shell.landing-simplified-v77 .landing-hero-copy h2 {
  max-width: 730px !important;
}

.landing-shell.landing-simplified-v77 .landing-hero-copy > p {
  max-width: 720px !important;
}

/* Synny now runs continuously without an in-page pause control. */
.landing-shell .synny-motion-toggle {
  display: none !important;
}

.landing-shell .landing-synny-portrait[data-refined-pose="teacher-reference"] .landing-synny-profile {
  width: min(292px, 92%) !important;
  max-height: 258px !important;
  object-fit: contain;
  filter:
    drop-shadow(0 20px 28px rgba(52, 42, 128, 0.17))
    saturate(1.03);
}

/* A richer, consistent set of workflow illustrations. */
.landing-shell .landing-workflow-icon.workflow-icon-refined {
  position: relative;
  isolation: isolate;
  width: 62px;
  height: 62px;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--workflow-accent) 28%, white);
  border-radius: 16px;
  background:
    radial-gradient(circle at 26% 18%, rgba(255, 255, 255, 0.96), transparent 38%),
    linear-gradient(145deg, color-mix(in srgb, var(--workflow-accent) 14%, white), #fff 82%);
  color: var(--workflow-ink);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.78),
    0 12px 26px color-mix(in srgb, var(--workflow-accent) 19%, transparent);
  transition:
    transform 220ms cubic-bezier(0.2, 0.75, 0.25, 1),
    box-shadow 220ms ease,
    border-color 220ms ease;
}

.landing-shell .landing-workflow-icon.workflow-icon-refined.violet {
  --workflow-accent: #6756e8;
  --workflow-ink: #4032ad;
  --workflow-soft: #e5e0ff;
  --workflow-glow: #a99df8;
}

.landing-shell .landing-workflow-icon.workflow-icon-refined.mint {
  --workflow-accent: #0d9488;
  --workflow-ink: #087064;
  --workflow-soft: #d6f2eb;
  --workflow-glow: #72d2c1;
}

.landing-shell .landing-workflow-icon.workflow-icon-refined.amber {
  --workflow-accent: #c47409;
  --workflow-ink: #945506;
  --workflow-soft: #ffebc9;
  --workflow-glow: #eab660;
}

.landing-shell .workflow-icon-illustration {
  position: relative;
  z-index: 1;
  width: 48px;
  height: 48px;
  overflow: visible;
}

.landing-shell .workflow-icon-illustration .workflow-soft {
  fill: var(--workflow-soft);
  stroke: var(--workflow-ink);
  stroke-width: 1.8;
}

.landing-shell .workflow-icon-illustration .workflow-line {
  fill: none;
  stroke: var(--workflow-ink);
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.landing-shell .workflow-icon-illustration .workflow-accent {
  fill: var(--workflow-accent);
  stroke: var(--workflow-ink);
  stroke-width: 1.5;
}

.landing-shell .workflow-icon-illustration .workflow-glow {
  fill: var(--workflow-glow);
  opacity: 0.42;
}

@media (hover: hover) and (pointer: fine) {
  .landing-shell .landing-workflow-list li:hover .workflow-icon-refined {
    transform: translateY(-3px) rotate(1deg);
    border-color: color-mix(in srgb, var(--workflow-accent) 52%, white);
    box-shadow:
      inset 0 0 0 1px rgba(255, 255, 255, 0.86),
      0 17px 32px color-mix(in srgb, var(--workflow-accent) 25%, transparent);
  }

  .landing-shell .landing-workflow-list li:nth-child(2):hover .workflow-icon-refined {
    transform: translateY(-3px);
  }

  .landing-shell .landing-workflow-list li:nth-child(3):hover .workflow-icon-refined {
    transform: translateY(-3px) rotate(-1deg);
  }
}

/* Compact the footer into a calm information bar on wide screens. */
.landing-shell .landing-footer {
  min-height: 0 !important;
  grid-template-columns: auto minmax(280px, 1fr) auto auto !important;
  gap: clamp(18px, 2vw, 32px) !important;
  padding: 16px 0 !important;
}

.landing-shell .landing-footer-copyright {
  grid-column: auto !important;
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  border-top: 0 !important;
  text-align: right !important;
  white-space: nowrap;
}

.landing-shell .landing-footer > div {
  gap: 14px;
}

@media (max-width: 1120px) {
  .landing-shell .landing-footer {
    grid-template-columns: auto minmax(220px, 1fr) auto !important;
    row-gap: 10px !important;
  }

  .landing-shell .landing-footer-copyright {
    grid-column: 1 / -1 !important;
    padding-top: 10px !important;
    border-top: 1px solid #e2e7ef !important;
    text-align: center !important;
  }
}

@media (max-width: 720px) {
  .landing-shell.landing-simplified-v77 .landing-hero-copy > *,
  .landing-shell.landing-simplified-v77 .landing-hero-copy h2,
  .landing-shell.landing-simplified-v77 .landing-hero-copy > p {
    max-width: 100% !important;
  }

  .landing-shell .landing-workflow-icon.workflow-icon-refined {
    width: 58px;
    height: 58px;
    border-radius: 14px;
  }

  .landing-shell .workflow-icon-illustration {
    width: 45px;
    height: 45px;
  }

  .landing-shell .landing-footer {
    grid-template-columns: 1fr auto !important;
    gap: 10px 16px !important;
    padding: 14px 0 !important;
  }

  .landing-shell .landing-footer > span:nth-child(2) {
    display: none;
  }

  .landing-shell .landing-footer-copyright {
    grid-column: 1 / -1 !important;
    padding-top: 9px !important;
    font-size: 12px !important;
    text-align: left !important;
    white-space: normal;
  }
}

@media (prefers-reduced-motion: reduce) {
  .landing-shell .landing-workflow-icon.workflow-icon-refined {
    transition: none;
  }
}
