:root {
  --bg: #f7f6f2;
  --paper: #fffdf8;
  --ink: #111216;
  --muted: #5d6470;
  --accent: #ff6b3d;
  --accent-soft: #ffe8df;
  --line: #e6e3da;
  --card-shadow: 0 22px 60px rgba(17, 18, 22, 0.12);
  --radius: 1.2rem;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 10% 0%, rgba(255, 107, 61, 0.2), transparent 30%),
    radial-gradient(circle at 90% 10%, rgba(62, 128, 255, 0.15), transparent 34%),
    var(--bg);
  line-height: 1.55;
}

.container {
  width: min(1120px, calc(100% - 2.2rem));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(247, 246, 242, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(230, 227, 218, 0.7);
}

.nav-wrap {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  text-decoration: none;
  color: var(--ink);
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
}

.brand-logo {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.72rem;
  object-fit: cover;
  box-shadow: 0 8px 18px rgba(17, 18, 22, 0.16);
}

.nav {
  display: flex;
  gap: 1.4rem;
}

.nav a,
.site-footer a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
}

.nav a:hover,
.site-footer a:hover {
  text-decoration: underline;
  text-underline-offset: 0.2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.75rem 1.1rem;
  background: var(--accent);
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(255, 107, 61, 0.28);
}

.btn-small {
  font-size: 0.95rem;
  padding: 0.56rem 1rem;
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}

.hero {
  position: relative;
  overflow: clip;
  padding: 4.6rem 0 3.2rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  align-items: center;
  gap: 2rem;
}

.hero-copy h1 {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2rem, 5vw, 3.8rem);
  line-height: 1.08;
  margin: 0.35rem 0 0.85rem;
}

.hero-copy p {
  color: var(--muted);
  margin: 0;
  max-width: 62ch;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #ac3f1e;
  font-weight: 800;
  font-size: 0.73rem;
  margin: 0;
}

.hero-actions {
  margin-top: 1.3rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.hero-points {
  margin: 1.2rem 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.hero-points li {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.4rem 0.75rem;
  font-weight: 700;
  font-size: 0.84rem;
}

.hero-card {
  display: flex;
  justify-content: flex-end;
}

.note-card {
  width: min(440px, 100%);
  border-radius: calc(var(--radius) + 0.35rem);
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--card-shadow);
  padding: 1.3rem;
  transform: rotate(-2deg);
}

.note-label {
  margin: 0;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #2170ff;
  font-weight: 800;
}

.note-card h2 {
  margin: 0.45rem 0 0.5rem;
  font-family: "Space Grotesk", sans-serif;
}

.note-text {
  color: var(--muted);
  margin: 0;
}

.tags {
  display: flex;
  gap: 0.45rem;
  flex-wrap: wrap;
  margin-top: 0.9rem;
}

.tags span {
  font-size: 0.77rem;
  background: #ebf2ff;
  color: #2555aa;
  border-radius: 999px;
  padding: 0.2rem 0.58rem;
}

.note-footer {
  display: flex;
  gap: 0.7rem;
  margin-top: 1rem;
  color: #1f2937;
  font-size: 0.88rem;
  font-weight: 700;
}

.hero-glow {
  position: absolute;
  border-radius: 999px;
  filter: blur(60px);
  opacity: 0.35;
  pointer-events: none;
}

.hero-glow-1 {
  width: 280px;
  height: 280px;
  background: #ff6b3d;
  left: -80px;
  top: 120px;
}

.hero-glow-2 {
  width: 240px;
  height: 240px;
  background: #3e80ff;
  right: -90px;
  top: 100px;
}

.features,
.languages,
.pricing,
.faq {
  padding: 3.5rem 0;
}

.section-title {
  margin: 0.4rem 0 1.4rem;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.5rem, 3vw, 2.4rem);
}

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

.feature-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem;
}

.feature-card h3 {
  margin: 0;
  font-size: 1.02rem;
}

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

.language-wrap {
  text-align: center;
  background: linear-gradient(125deg, #151616, #292f3b);
  color: #f4f7ff;
  border-radius: calc(var(--radius) + 0.25rem);
  padding: 2rem;
}

.language-wrap h2 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
}

.language-wrap p {
  margin: 0.6rem 0 0;
  color: #d6ddf5;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
}

.price-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem;
}

.price-card.featured {
  border-color: #ff9f7f;
  box-shadow: 0 12px 34px rgba(255, 107, 61, 0.18);
  transform: translateY(-2px);
}

.plan {
  margin: 0;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.74rem;
  color: #a94625;
}

.price {
  margin: 0.5rem 0 0;
  font-size: 1.7rem;
  font-family: "Space Grotesk", sans-serif;
}

.price span {
  font-size: 0.82rem;
  font-family: "Manrope", sans-serif;
}

.small {
  margin: 0.4rem 0 0;
  color: var(--muted);
}

.faq-wrap details {
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 0.9rem 1rem;
  background: var(--paper);
}

.faq-wrap details + details {
  margin-top: 0.7rem;
}

.faq-wrap summary {
  cursor: pointer;
  font-weight: 700;
}

.faq-wrap p {
  color: var(--muted);
  margin: 0.5rem 0 0;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.7rem 0 2.5rem;
}

.footer-wrap {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  color: var(--muted);
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0;
}

.footer-logo {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 0.5rem;
  object-fit: cover;
}

.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 600ms ease, transform 600ms ease;
}

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

@media (max-width: 980px) {
  .hero-grid,
  .feature-grid,
  .pricing-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero-card {
    justify-content: flex-start;
  }

  .note-card {
    transform: none;
  }
}

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

  .hero-grid,
  .feature-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 3.4rem;
  }

  .footer-wrap {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .btn {
    transition: none;
  }
}
