:root {
  --ink: #30243d;
  --ink-soft: #675b70;
  --plum: #5b284e;
  --plum-dark: #421b39;
  --pink: #ff5c9a;
  --pink-soft: #ffe0ed;
  --peach: #ffb275;
  --cream: #fffaf5;
  --paper: #ffffff;
  --mint: #dff7eb;
  --mint-ink: #215b48;
  --yellow: #ffe89b;
  --blue: #dceeff;
  --line: #eadfe7;
  --shadow: 0 22px 70px rgba(76, 39, 66, 0.13);
  --shadow-small: 0 10px 30px rgba(76, 39, 66, 0.09);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --content: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: ui-rounded, "SF Pro Rounded", "Segoe UI", system-ui, -apple-system, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

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

a {
  color: var(--plum);
  text-decoration-thickness: 0.1em;
  text-underline-offset: 0.18em;
}

a:hover {
  color: #8f2f68;
}

:focus-visible {
  outline: 4px solid var(--peach);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  background: var(--ink);
  color: white;
  transform: translateY(-180%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  border-bottom: 1px solid rgba(91, 40, 78, 0.08);
  background: rgba(255, 250, 245, 0.92);
  backdrop-filter: blur(16px);
}

.nav-shell {
  display: flex;
  width: min(calc(100% - 32px), var(--content));
  min-height: 76px;
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 850;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.brand img {
  width: 44px;
  height: 44px;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.25rem;
}

.site-nav a {
  padding: 0.55rem 0.8rem;
  border-radius: 999px;
  color: var(--ink-soft);
  font-size: 0.94rem;
  font-weight: 700;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  background: var(--pink-soft);
  color: var(--plum);
}

.site-nav .language-link {
  margin-left: 0.45rem;
  border: 1px solid var(--line);
  background: var(--paper);
}

.button {
  display: inline-flex;
  min-height: 50px;
  padding: 0.75rem 1.2rem;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  border: 2px solid transparent;
  border-radius: 999px;
  background: var(--plum);
  box-shadow: var(--shadow-small);
  color: white;
  font-weight: 850;
  line-height: 1.2;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover {
  background: var(--plum-dark);
  box-shadow: 0 14px 36px rgba(76, 39, 66, 0.18);
  color: white;
  transform: translateY(-2px);
}

.button.secondary {
  border-color: var(--line);
  background: var(--paper);
  box-shadow: none;
  color: var(--plum);
}

.button.secondary:hover {
  border-color: #d6bfce;
  background: #fff5fa;
  color: var(--plum-dark);
}

.button.small {
  min-height: 42px;
  padding: 0.58rem 1rem;
  font-size: 0.9rem;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 5.5rem 0 4.25rem;
}

.hero::before,
.hero::after {
  position: absolute;
  border-radius: 50%;
  content: "";
  filter: blur(1px);
  pointer-events: none;
}

.hero::before {
  top: -150px;
  right: -130px;
  width: 430px;
  height: 430px;
  background: rgba(255, 92, 154, 0.14);
}

.hero::after {
  bottom: 30px;
  left: -130px;
  width: 300px;
  height: 300px;
  background: rgba(109, 201, 149, 0.17);
}

.hero-grid,
.split,
.page-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  width: min(calc(100% - 40px), var(--content));
  margin: 0 auto;
  align-items: center;
  gap: clamp(2.5rem, 6vw, 5.5rem);
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
}

.eyebrow {
  display: inline-flex;
  margin: 0 0 1rem;
  padding: 0.4rem 0.72rem;
  align-items: center;
  gap: 0.45rem;
  border-radius: 999px;
  background: var(--mint);
  color: var(--mint-ink);
  font-size: 0.82rem;
  font-weight: 850;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: #49ac7e;
  content: "";
}

h1,
h2,
h3 {
  color: var(--ink);
  line-height: 1.1;
  text-wrap: balance;
}

h1 {
  max-width: 13ch;
  margin: 0;
  font-size: clamp(3rem, 7vw, 5.25rem);
  font-weight: 900;
  letter-spacing: -0.065em;
}

h2 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 4vw, 3.35rem);
  font-weight: 900;
  letter-spacing: -0.045em;
}

h3 {
  margin: 0 0 0.6rem;
  font-size: 1.28rem;
  font-weight: 850;
  letter-spacing: -0.02em;
}

.hero-lead {
  max-width: 61ch;
  margin: 1.5rem 0 0;
  color: var(--ink-soft);
  font-size: clamp(1.08rem, 2vw, 1.28rem);
}

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

.microcopy {
  margin: 1rem 0 0;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.hero-visual {
  position: relative;
}

.screenshot-frame {
  overflow: hidden;
  border: 10px solid white;
  border-radius: var(--radius-xl);
  background: white;
  box-shadow: var(--shadow);
  transform: rotate(1.2deg);
}

.screenshot-frame img {
  width: 100%;
  height: auto;
  border-radius: 24px;
}

.floating-note {
  position: absolute;
  right: -12px;
  bottom: -25px;
  display: flex;
  max-width: 250px;
  padding: 1rem 1.1rem;
  align-items: center;
  gap: 0.8rem;
  border: 1px solid rgba(91, 40, 78, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-small);
  font-size: 0.92rem;
  font-weight: 750;
}

.floating-note span {
  display: grid;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  place-items: center;
  border-radius: 13px;
  background: var(--yellow);
  font-size: 1.2rem;
}

.trust-strip {
  padding: 0 0 4rem;
}

.trust-grid {
  display: grid;
  width: min(calc(100% - 40px), var(--content));
  margin: 0 auto;
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--paper);
  box-shadow: var(--shadow-small);
  grid-template-columns: repeat(4, 1fr);
}

.trust-item {
  padding: 0.55rem 1rem;
  text-align: center;
}

.trust-item + .trust-item {
  border-left: 1px solid var(--line);
}

.trust-item strong,
.trust-item span {
  display: block;
}

.trust-item strong {
  color: var(--plum);
  font-size: 1.05rem;
}

.trust-item span {
  margin-top: 0.12rem;
  color: var(--ink-soft);
  font-size: 0.84rem;
}

.section {
  padding: clamp(4.5rem, 9vw, 7rem) 0;
}

.section.tint {
  background: #fff1f6;
}

.section.mint {
  background: #eefaf4;
}

.section-inner,
.article-shell,
.cta-shell {
  width: min(calc(100% - 40px), var(--content));
  margin: 0 auto;
}

.section-heading {
  max-width: 750px;
  margin-bottom: 2.5rem;
}

.section-heading p,
.split-copy > p,
.page-hero p,
.article-shell > p {
  color: var(--ink-soft);
  font-size: 1.08rem;
}

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

.feature-card {
  min-height: 240px;
  padding: 1.5rem;
  border: 1px solid rgba(91, 40, 78, 0.08);
  border-radius: var(--radius-lg);
  background: var(--paper);
  box-shadow: var(--shadow-small);
}

.feature-card:nth-child(2) {
  background: #fff9df;
}

.feature-card:nth-child(3) {
  background: #eef8ff;
}

.feature-card:nth-child(4) {
  background: #effbf4;
}

.feature-card:nth-child(5) {
  background: #fff2f8;
}

.feature-card:nth-child(6) {
  background: #f5f0ff;
}

.feature-icon {
  display: grid;
  width: 48px;
  height: 48px;
  margin-bottom: 1.2rem;
  place-items: center;
  border-radius: 16px;
  background: var(--paper);
  box-shadow: 0 6px 18px rgba(76, 39, 66, 0.1);
  font-size: 1.45rem;
}

.feature-card p,
.step p,
.faq-list p,
.article-card p {
  margin: 0;
  color: var(--ink-soft);
}

.showcase-section {
  background: linear-gradient(180deg, var(--cream) 0%, #f8f1ff 48%, var(--cream) 100%);
}

.showcase-grid {
  display: grid;
  gap: 1.4rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.showcase-card {
  overflow: hidden;
  margin: 0;
  border: 1px solid rgba(91, 40, 78, 0.1);
  border-radius: var(--radius-lg);
  background: #eef8ff;
  box-shadow: var(--shadow-small);
}

.showcase-card:nth-child(2),
.showcase-card:nth-child(5) {
  background: #fff2f8;
}

.showcase-card:nth-child(3) {
  background: #effbf4;
}

.showcase-card:nth-child(4) {
  background: #f5f0ff;
}

.showcase-card:nth-child(6) {
  background: #fff9df;
}

.showcase-card-wide {
  grid-column: 1 / -1;
}

.showcase-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 8 / 5;
  border-bottom: 1px solid rgba(91, 40, 78, 0.08);
  background: white;
  object-fit: contain;
}

.showcase-card figcaption {
  display: grid;
  padding: 1.2rem 1.3rem 1.35rem;
  gap: 0.35rem;
}

.showcase-card figcaption strong {
  color: var(--ink);
  font-size: 1.12rem;
}

.showcase-card figcaption span {
  color: var(--ink-soft);
}

.split-visual img {
  width: 100%;
  height: auto;
  border: 8px solid white;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

.check-list {
  display: grid;
  margin: 1.75rem 0 0;
  padding: 0;
  gap: 0.85rem;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 2rem;
  color: var(--ink-soft);
}

.check-list li::before {
  position: absolute;
  top: 0.18rem;
  left: 0;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 50%;
  background: var(--mint) url("../icons/check.svg") center / 16px no-repeat;
  content: "";
}

.steps {
  display: grid;
  gap: 1rem;
  counter-reset: steps;
  grid-template-columns: repeat(3, 1fr);
}

.step {
  padding: 1.7rem;
  border-radius: var(--radius-lg);
  background: var(--paper);
  box-shadow: var(--shadow-small);
  counter-increment: steps;
}

.step::before {
  display: grid;
  width: 42px;
  height: 42px;
  margin-bottom: 1.2rem;
  place-items: center;
  border-radius: 14px;
  background: var(--pink-soft);
  color: var(--plum);
  content: counter(steps);
  font-weight: 900;
}

.code-block {
  display: flex;
  margin: 1.5rem 0;
  padding: 1rem 1.15rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  overflow-x: auto;
  border: 1px solid #6f4965;
  border-radius: 16px;
  background: #2f2232;
  color: #fff8fc;
  font: 600 0.9rem/1.55 ui-monospace, "Cascadia Code", Consolas, monospace;
  white-space: nowrap;
}

.code-label {
  flex: 0 0 auto;
  color: #ffc8de;
  font-family: inherit;
  font-size: 0.76rem;
  text-transform: uppercase;
}

.faq-list {
  display: grid;
  max-width: 850px;
  gap: 0.75rem;
}

.faq-list details {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--paper);
}

.faq-list summary {
  padding: 1.1rem 3rem 1.1rem 1.2rem;
  cursor: pointer;
  font-weight: 850;
}

.faq-list details p {
  padding: 0 1.2rem 1.2rem;
}

.cta-section {
  padding: 2rem 0 6rem;
}

.cta-shell {
  position: relative;
  overflow: hidden;
  padding: clamp(2rem, 6vw, 4rem);
  border-radius: var(--radius-xl);
  background: var(--plum);
  box-shadow: var(--shadow);
  color: white;
}

.cta-shell::after {
  position: absolute;
  right: -70px;
  bottom: -100px;
  width: 300px;
  height: 300px;
  border: 45px solid rgba(255, 178, 117, 0.3);
  border-radius: 50%;
  content: "";
}

.cta-shell h2,
.cta-shell p {
  position: relative;
  z-index: 1;
  max-width: 680px;
  color: white;
}

.cta-shell p {
  color: #f6e8f2;
}

.cta-shell .button {
  background: white;
  color: var(--plum);
}

.cta-shell .button.secondary {
  border-color: rgba(255, 255, 255, 0.45);
  background: transparent;
  color: white;
}

.page-hero {
  padding: 5rem 0 3.5rem;
  background: linear-gradient(180deg, #fff0f6 0%, var(--cream) 100%);
}

.page-hero-grid {
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.55fr);
}

.page-hero h1 {
  max-width: 15ch;
  font-size: clamp(2.8rem, 6vw, 4.8rem);
}

.page-mark {
  display: grid;
  min-height: 260px;
  place-items: center;
  border-radius: var(--radius-xl);
  background: var(--paper);
  box-shadow: var(--shadow);
  font-size: clamp(5rem, 14vw, 9rem);
}

.article-shell {
  max-width: 920px;
}

.article-shell h2 {
  margin-top: 3.5rem;
  font-size: clamp(1.8rem, 4vw, 2.7rem);
}

.article-shell h3 {
  margin-top: 2rem;
}

.article-shell li + li {
  margin-top: 0.45rem;
}

.article-card,
.notice {
  margin: 1.5rem 0;
  padding: 1.4rem;
  border-radius: var(--radius-lg);
  background: var(--paper);
  box-shadow: var(--shadow-small);
}

.notice {
  border-left: 5px solid var(--peach);
  background: #fff8df;
  box-shadow: none;
}

.support-grid {
  display: grid;
  margin: 1.75rem 0;
  gap: 1rem;
  grid-template-columns: repeat(2, 1fr);
}

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

.footer-grid {
  display: grid;
  width: min(calc(100% - 40px), var(--content));
  margin: 0 auto;
  gap: 2rem;
  grid-template-columns: 1.5fr 1fr 1fr;
}

.footer-grid p {
  max-width: 48ch;
  color: var(--ink-soft);
}

.footer-links {
  display: grid;
  align-content: start;
  gap: 0.55rem;
}

.footer-links strong {
  margin-bottom: 0.25rem;
}

.footer-links a {
  color: var(--ink-soft);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--plum);
  text-decoration: underline;
}

.footer-bottom {
  width: min(calc(100% - 40px), var(--content));
  margin: 2.5rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.86rem;
}

@media (max-width: 900px) {
  .nav-shell {
    padding: 0.75rem 0;
    align-items: flex-start;
    flex-direction: column;
    gap: 0.5rem;
  }

  .site-nav {
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 0.2rem;
  }

  .site-nav a {
    flex: 0 0 auto;
  }

  .hero-grid,
  .split,
  .page-hero-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 3.8rem;
  }

  .hero-copy {
    max-width: 730px;
  }

  .hero-visual {
    max-width: 760px;
  }

  .feature-grid,
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .trust-item + .trust-item {
    border-left: 0;
  }

  .trust-item:nth-child(even) {
    border-left: 1px solid var(--line);
  }

  .trust-item:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }
}

@media (max-width: 620px) {
  .brand span {
    max-width: 160px;
    line-height: 1.1;
  }

  .site-nav a {
    flex: 0 1 auto;
    padding-inline: 0.65rem;
    font-size: 0.86rem;
  }

  .site-nav {
    flex-wrap: wrap;
    overflow-x: visible;
    padding-bottom: 0;
  }

  .site-nav a[href^="https://github.com/"] {
    display: none;
  }

  .site-nav .language-link {
    margin-left: 0;
  }

  h1 {
    font-size: clamp(2.7rem, 15vw, 4rem);
  }

  .hero-grid,
  .split,
  .page-hero-grid,
  .section-inner,
  .article-shell,
  .cta-shell,
  .trust-grid {
    width: min(calc(100% - 28px), var(--content));
  }

  .hero-actions,
  .cta-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .floating-note {
    right: 8px;
    bottom: -30px;
  }

  .feature-grid,
  .steps,
  .support-grid,
  .showcase-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .feature-card {
    min-height: 0;
  }

  .showcase-card-wide {
    grid-column: auto;
  }

  .code-block {
    align-items: flex-start;
    flex-direction: column;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

@media print {
  .site-header,
  .hero-actions,
  .cta-section,
  .site-footer {
    display: none;
  }

  body {
    background: white;
    color: black;
  }

  .section,
  .page-hero {
    padding: 1.5rem 0;
  }
}
