:root {
  color-scheme: light;
  --ink: #241d35;
  --muted: #655d75;
  --paper: #fbf9ff;
  --surface: rgba(255, 255, 255, 0.86);
  --line: #e7e0f0;
  --purple: #793cff;
  --purple-dark: #5520c7;
  --pink: #f02d89;
  --yellow: #ffc928;
  --cyan: #d9f7f2;
  --lavender: #eee8ff;
  --max-width: 1120px;
  font-family: Inter, "Segoe UI", Roboto, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { background: var(--paper); color: var(--ink); scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 83% 6%, rgba(255, 201, 40, 0.27), transparent 24rem),
    radial-gradient(circle at 0% 35%, rgba(217, 247, 242, 0.8), transparent 31rem),
    var(--paper);
  line-height: 1.6;
}

a { color: var(--purple-dark); text-underline-offset: 0.18em; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(231, 224, 240, 0.88);
  background: rgba(251, 249, 255, 0.86);
  backdrop-filter: blur(18px);
}

.header-inner, .page, .footer-inner {
  width: min(calc(100% - 2rem), var(--max-width));
  margin-inline: auto;
}

.header-inner {
  min-height: 4.6rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.72rem;
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
}

.brand img {
  width: 2.65rem;
  height: 2.65rem;
  object-fit: cover;
  border-radius: 0.78rem;
}

.language-link { font-size: 0.93rem; font-weight: 750; white-space: nowrap; }

.page { padding-block: clamp(2.5rem, 7vw, 6rem); }

.hero {
  min-height: min(700px, calc(100vh - 7rem));
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(20rem, 0.86fr);
  align-items: center;
  gap: clamp(2rem, 7vw, 7rem);
}

.eyebrow {
  color: var(--purple-dark);
  font-size: 0.82rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1, h2 { line-height: 1.08; letter-spacing: -0.045em; }
h1 { font-size: clamp(2.8rem, 7vw, 5.8rem); margin: 0.5rem 0 1.25rem; }
h1 span { color: var(--purple); }
h2 { font-size: 1.35rem; margin: 0.65rem 0 0.55rem; }

.lede {
  max-width: 39rem;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.1rem, 2.3vw, 1.34rem);
}

.actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 2rem; }

.primary-action, .secondary-action {
  min-height: 3.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.75rem 1.35rem;
  font-weight: 800;
  text-decoration: none;
}

.primary-action {
  color: #fff;
  background: linear-gradient(135deg, var(--purple), var(--pink));
  box-shadow: 0 0.8rem 1.8rem rgba(121, 60, 255, 0.22);
}

.primary-action:hover { background: linear-gradient(135deg, var(--purple-dark), #c91d70); }

.secondary-action { color: var(--ink); border: 1px solid var(--line); background: rgba(255, 255, 255, 0.72); }

.hero-visual {
  position: relative;
  padding: 2rem;
  border: 1px solid rgba(231, 224, 240, 0.95);
  border-radius: 2rem;
  background: var(--surface);
  box-shadow: 0 1.5rem 4rem rgba(74, 44, 130, 0.12);
  transform: rotate(1.5deg);
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: -1.2rem auto auto -1.4rem;
  width: 5.1rem;
  height: 5.1rem;
  border-radius: 1.4rem;
  background: url("/assets/icon.png") center / cover no-repeat;
  box-shadow: 0 0.9rem 1.7rem rgba(121, 60, 255, 0.23);
}

.mockup-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.25rem; }
.mockup-title { font-size: 1.25rem; font-weight: 850; }
.mockup-month { color: var(--muted); font-size: 0.9rem; }

.calendar-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 0.42rem; }
.calendar-grid span { text-align: center; font-size: 0.78rem; color: var(--muted); }
.calendar-grid b {
  min-height: 2.4rem;
  display: grid;
  place-items: center;
  border-radius: 0.75rem;
  background: #f7f3fc;
  font-size: 1.1rem;
  font-weight: 500;
}
.calendar-grid b:nth-child(10), .calendar-grid b:nth-child(19), .calendar-grid b:nth-child(27) { background: var(--lavender); }
.calendar-grid b:nth-child(14), .calendar-grid b:nth-child(23) { background: #fff2c2; }
.calendar-grid b:nth-child(31) { background: var(--cyan); }

.mockup-note {
  display: flex;
  gap: 0.7rem;
  align-items: center;
  margin-top: 1.25rem;
  padding: 0.85rem 1rem;
  border-radius: 1rem;
  background: linear-gradient(135deg, #f0eaff, #fff4fb);
  color: var(--muted);
  font-size: 0.92rem;
}
.mockup-note strong { color: var(--ink); }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; padding-top: clamp(2rem, 4vw, 4rem); }
.features article, .document { padding: clamp(1.3rem, 3vw, 2rem); border: 1px solid var(--line); border-radius: 1.45rem; background: rgba(255, 255, 255, 0.8); box-shadow: 0 0.6rem 2rem rgba(74, 44, 130, 0.06); }
.features p, .document p { margin: 0; color: var(--muted); }
.feature-number { color: var(--pink); font-size: 0.8rem; font-weight: 850; letter-spacing: 0.08em; }

.trust-strip { display: flex; flex-wrap: wrap; gap: 0.7rem 1.4rem; margin-top: 2.3rem; color: var(--muted); font-size: 0.92rem; }
.trust-strip span::before { content: "✓"; margin-right: 0.4rem; color: var(--purple); font-weight: 900; }

.narrow { max-width: 800px; }
.document h1 { font-size: clamp(2.4rem, 7vw, 4.6rem); }
.document h2 { margin-top: 2rem; }
.document ul { padding-left: 1.25rem; color: var(--muted); }
.document li + li { margin-top: 0.45rem; }
.document .updated { margin-bottom: 1.5rem; font-size: 0.92rem; }

.site-footer { padding: 1.5rem 0 2.5rem; color: var(--muted); font-size: 0.9rem; }
.footer-inner { display: flex; justify-content: space-between; gap: 1rem; border-top: 1px solid var(--line); padding-top: 1.25rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; }

@media (max-width: 760px) {
  .hero { min-height: auto; grid-template-columns: 1fr; }
  .hero-visual { margin: 2.4rem 0.35rem 0; }
  .features { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; } }
