:root {
  color-scheme: light;
  --bg: #f2f5fb;
  --surface: #ffffff;
  --surface-elevated: #f7f9ff;
  --border: #d9e0ef;
  --text: #101828;
  --muted: #4b556b;
  --accent: #2b5be6;
  --accent-strong: #1d3fa8;
  --accent-soft: #dfe8ff;
  --shadow: 0 20px 50px rgba(16, 24, 40, 0.16);
  --shadow-soft: 0 10px 24px rgba(16, 24, 40, 0.08);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --max-width: 1160px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Sora", system-ui, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 15%, rgba(61, 121, 255, 0.22), rgba(61, 121, 255, 0) 45%),
    radial-gradient(circle at 90% 8%, rgba(255, 196, 153, 0.28), rgba(255, 196, 153, 0) 42%),
    linear-gradient(180deg, rgba(245, 247, 255, 0.96) 0%, rgba(242, 245, 251, 1) 55%, rgba(236, 241, 252, 1) 100%),
    linear-gradient(90deg, rgba(23, 64, 160, 0.04) 1px, transparent 1px),
    linear-gradient(180deg, rgba(23, 64, 160, 0.04) 1px, transparent 1px);
  background-size: auto, auto, auto, 48px 48px, 48px 48px;
  line-height: 1.6;
  min-height: 100vh;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.page {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}

.page::before,
.page::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  filter: blur(0px);
  z-index: 0;
}

.page::before {
  width: 520px;
  height: 520px;
  right: -180px;
  top: -220px;
  background: radial-gradient(circle, rgba(43, 91, 230, 0.2), rgba(43, 91, 230, 0));
}

.page::after {
  width: 420px;
  height: 420px;
  left: -160px;
  bottom: 100px;
  background: radial-gradient(circle, rgba(255, 196, 153, 0.25), rgba(255, 196, 153, 0));
}

.header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 26px clamp(20px, 4vw, 48px);
  background: rgba(245, 247, 255, 0.9);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(217, 224, 239, 0.7);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 1.1rem;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  box-shadow: 0 10px 22px rgba(43, 91, 230, 0.25);
}

.nav {
  display: flex;
  gap: 18px;
  font-weight: 600;
  color: var(--muted);
}

.nav a {
  position: relative;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.2s ease;
}

.nav a:hover {
  color: var(--text);
}

.nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 999px;
  border: none;
  background: linear-gradient(135deg, var(--accent), #3f7bff);
  color: #ffffff;
  font-weight: 600;
  box-shadow: 0 14px 32px rgba(43, 91, 230, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 38px rgba(43, 91, 230, 0.35);
}

.button.ghost {
  background: rgba(255, 255, 255, 0.7);
  color: var(--text);
  border: 1px solid var(--border);
  box-shadow: none;
}

main {
  position: relative;
  z-index: 1;
}

.hero {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 50px clamp(20px, 4vw, 48px) 80px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 56px;
  align-items: center;
}

.kicker {
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.72rem;
  color: var(--muted);
  font-weight: 600;
  margin: 0 0 16px;
}

.hero h1 {
  font-family: "Newsreader", "Sora", serif;
  font-size: clamp(2.6rem, 4vw, 3.9rem);
  line-height: 1.05;
  margin: 0 0 18px;
}

.lead {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 520px;
}

.hero-actions {
  margin: 26px 0 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-highlights span {
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.88rem;
}

.hero-media {
  display: grid;
  gap: 20px;
  position: relative;
}

.media-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 14px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transform: rotate(-1.2deg) scale(1.04);
}

.media-card img {
  border-radius: calc(var(--radius-lg) - 10px);
  cursor: zoom-in;
}

.media-caption {
  font-size: 0.9rem;
  color: var(--muted);
  margin-top: 12px;
}

.media-stack {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 12px;
}

.stack-card {
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  box-shadow: var(--shadow-soft);
}

.stack-card h4 {
  margin: 0 0 6px;
  font-size: 0.95rem;
}

.stack-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.85rem;
}

.section {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 70px clamp(20px, 4vw, 48px);
}

.section-head {
  display: grid;
  gap: 10px;
  margin-bottom: 32px;
}

.section-head h2 {
  margin: 0;
  font-family: "Newsreader", "Sora", serif;
  font-size: clamp(2rem, 3vw, 2.8rem);
}

.section-head p {
  margin: 0;
  color: var(--muted);
  max-width: 650px;
}

.strip {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 48px) 30px;
}

.strip-inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 22px;
  padding: 26px;
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.9), rgba(240, 244, 255, 0.92));
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
}

.strip-inner h3 {
  margin: 0 0 8px;
  font-size: 1.1rem;
}

.strip-inner p {
  margin: 0;
  color: var(--muted);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px;
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 22px;
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
}

.feature-card::after {
  content: "";
  position: absolute;
  inset: auto -15% -30% -15%;
  height: 60%;
  background: linear-gradient(120deg, rgba(43, 91, 230, 0.12), rgba(43, 91, 230, 0));
  opacity: 0;
  transition: opacity 0.2s ease;
}

.feature-card:hover::after {
  opacity: 1;
}

.feature-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  background: linear-gradient(135deg, rgba(43, 91, 230, 0.16), rgba(43, 91, 230, 0.03));
  color: var(--accent-strong);
  margin-bottom: 14px;
  border: 1px solid rgba(43, 91, 230, 0.2);
}

.feature-card h3 {
  margin: 0 0 10px;
  font-size: 1.1rem;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
}

.workflow {
  background: rgba(238, 242, 252, 0.85);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.workflow-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 22px;
}

.workflow-card {
  background: var(--surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  padding: 20px;
  box-shadow: var(--shadow-soft);
}

.workflow-card span {
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.08em;
  font-size: 0.8rem;
}

.workflow-card h3 {
  margin: 12px 0 8px;
}

.workflow-card p {
  margin: 0;
  color: var(--muted);
}

.screenshots {
  padding-top: 80px;
}

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

.shot {
  margin: 0;
  background: var(--surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  padding: 12px;
  overflow: hidden;
  cursor: zoom-in;
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.shot img {
  border-radius: 14px;
}

.shot:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.shot figcaption {
  padding: 14px 4px 4px;
  color: var(--muted);
  font-size: 0.95rem;
}

.privacy-callout {
  background: linear-gradient(140deg, #ffffff 0%, #edf2ff 100%);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
}

.privacy-callout p {
  margin: 0;
  color: var(--muted);
  max-width: 520px;
}

.footer {
  margin-top: auto;
  padding: 40px clamp(20px, 4vw, 48px) 60px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--border);
  background: var(--surface);
  position: relative;
  z-index: 1;
}

.footer p {
  margin: 6px 0 0;
  color: var(--muted);
}

.footer-links {
  display: flex;
  gap: 18px;
  color: var(--muted);
  font-weight: 600;
}

.lightbox {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 50;
}

.lightbox.open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(12, 16, 32, 0.55);
}

.lightbox-content {
  position: relative;
  max-width: min(94vw, 1200px);
  max-height: 86vh;
  background: var(--surface);
  border-radius: var(--radius-md);
  padding: 14px;
  box-shadow: 0 26px 50px rgba(12, 16, 32, 0.3);
  display: grid;
  gap: 12px;
}

.lightbox-image {
  max-width: 100%;
  max-height: 70vh;
  border-radius: 14px;
  object-fit: contain;
}

.lightbox-close {
  justify-self: end;
  border: none;
  background: var(--accent-soft);
  color: var(--accent-strong);
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 600;
  cursor: pointer;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  transition-delay: var(--reveal-delay, 0ms);
}

[data-reveal="left"] {
  transform: translateX(-28px);
}

[data-reveal="right"] {
  transform: translateX(28px);
}

[data-reveal="up"] {
  transform: translateY(28px);
}

[data-reveal="down"] {
  transform: translateY(-28px);
}

[data-reveal].visible {
  opacity: 1;
  transform: translate(0, 0);
}

.privacy-page {
  max-width: 900px;
  margin: 0 auto;
  padding: 48px clamp(20px, 4vw, 48px) 80px;
}

.privacy-page h1 {
  font-family: "Newsreader", "Sora", serif;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  margin-bottom: 10px;
}

.privacy-page h2 {
  margin-top: 28px;
}

.privacy-page p,
.privacy-page li {
  color: var(--muted);
}

.privacy-page ul {
  padding-left: 20px;
}

.policy-card {
  background: var(--surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  padding: 18px 20px;
  box-shadow: var(--shadow-soft);
  margin: 18px 0 24px;
}

.policy-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-soft);
  color: var(--accent-strong);
  padding: 6px 14px;
  border-radius: 999px;
  font-weight: 600;
  margin-bottom: 14px;
}

@media (max-width: 900px) {
  .nav {
    display: none;
  }

  .header {
    flex-wrap: wrap;
  }

  .media-stack {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .header {
    position: static;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

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

@media (prefers-reduced-motion: reduce) {
  [data-reveal] {
    opacity: 1;
    transform: none;
  }

  .button {
    transition: none;
  }
}

.screenshot-sequence {
  display: grid;
  gap: 28px;
}

.screenshot-step {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 22px;
  align-items: center;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-soft);
}

.screenshot-step:nth-child(even) {
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
}

.screenshot-step:nth-child(even) .screenshot-box {
  order: 2;
}

.screenshot-box {
  background: var(--surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  padding: 14px;
  box-shadow: var(--shadow-soft);
}

.screenshot-box img {
  border-radius: 14px;
  width: 100%;
  cursor: zoom-in;
}

.media-card {
  transform: rotate(-1.2deg);
}

.screenshot-step:nth-child(odd) .screenshot-box {
  transform: rotate(-1deg);
}

.screenshot-step:nth-child(even) .screenshot-box {
  transform: rotate(1deg);
}

.screenshot-copy h3 {
  margin: 0 0 8px;
  font-size: 1.35rem;
}

.screenshot-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
}

@media (max-width: 900px) {
  .screenshot-step,
  .screenshot-step:nth-child(even) {
    grid-template-columns: 1fr;
  }

  .screenshot-step:nth-child(even) .screenshot-box {
    order: 0;
  }
}
