@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("fonts/PlusJakartaSans_500Medium.ttf") format("truetype");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("fonts/PlusJakartaSans_700Bold.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("fonts/PlusJakartaSans_800ExtraBold.ttf") format("truetype");
  font-weight: 800;
  font-display: swap;
}

:root {
  --primary: #9277ce;
  --primary-strong: #6f52b5;
  --primary-light: #b8a8e6;
  --primary-soft: rgba(146, 119, 206, 0.12);
  --secondary: #a8e6cf;
  --secondary-strong: #2fa06f;
  --accent: #ffe5b4;
  --background: #f4f3f9;
  --surface: #ffffff;
  --foreground: #21242e;
  --muted: #5f5e6e;
  --border: #e8e8f0;
  --warning-soft: rgba(233, 185, 73, 0.18);
  --warning-strong: #8a5a0c;
  --shadow: 0 2px 14px rgba(40, 30, 70, 0.07);
  --radius: 22px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --primary: #b8a8e6;
    --primary-strong: #cdbff2;
    --primary-soft: rgba(184, 168, 230, 0.14);
    --background: #14131a;
    --surface: #1f1d28;
    --foreground: #f1f0f6;
    --muted: #b3b1c2;
    --border: #2f2c3b;
    --warning-soft: rgba(233, 185, 73, 0.14);
    --warning-strong: #f2c46b;
    --shadow: 0 2px 14px rgba(0, 0, 0, 0.35);
    color-scheme: dark;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--foreground);
  background: var(--background);
}

a {
  color: var(--primary-strong);
  text-underline-offset: 3px;
}
@media (prefers-color-scheme: dark) {
  a {
    color: var(--primary);
  }
}

:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 8px;
  background: var(--surface);
  padding: 8px 14px;
  border-radius: 10px;
  z-index: 10;
}
.skip-link:focus {
  left: 16px;
}

.container {
  width: 100%;
  max-width: 880px;
  margin: 0 auto;
  padding: 0 16px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  background: color-mix(in srgb, var(--background) 88%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 64px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--foreground);
  text-decoration: none;
  letter-spacing: -0.02em;
}
.brand img {
  width: 34px;
  height: 34px;
}
.site-nav {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.site-nav a {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--muted);
  text-decoration: none;
  padding: 8px 10px;
  border-radius: 10px;
}
.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--foreground);
  background: var(--primary-soft);
}

main.container {
  padding-top: 32px;
  padding-bottom: 56px;
}

.hero {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  padding: 44px 28px;
  color: #fff;
  background: linear-gradient(135deg, #9277ce, #b8a8e6);
  box-shadow: 0 16px 40px rgba(146, 119, 206, 0.35);
}
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  z-index: 0;
  pointer-events: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
}
.hero::before {
  width: 220px;
  height: 220px;
  top: -80px;
  right: -60px;
}
.hero::after {
  width: 160px;
  height: 160px;
  bottom: -70px;
  left: -40px;
  background: rgba(168, 230, 207, 0.25);
}
.hero > * {
  position: relative;
  z-index: 1;
}
.hero h1 {
  margin: 0 0 12px;
  font-size: clamp(1.9rem, 5vw, 2.7rem);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.hero p {
  margin: 0;
  max-width: 34em;
  font-size: 1.08rem;
  color: rgba(255, 255, 255, 0.92);
}
.store-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}
.store-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 14px;
  font-weight: 700;
  text-decoration: none;
  color: #21242e;
  background: #fff;
}
.store-button[aria-disabled="true"] {
  cursor: default;
  opacity: 0.85;
}
.store-button small {
  font-weight: 600;
  color: #6f52b5;
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: 14px;
  margin-top: 28px;
}

.card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
}
.card h2,
.card h3 {
  margin: 0 0 6px;
  font-size: 1.05rem;
  font-weight: 800;
}
.card p {
  margin: 0;
  color: var(--muted);
}
.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  margin-bottom: 12px;
  font-size: 1.3rem;
  background: var(--primary-soft);
}

.section-title {
  margin: 44px 0 14px;
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.about {
  margin-top: 14px;
}
.about p + p {
  margin-top: 10px;
}
.about .signature {
  font-weight: 700;
  color: var(--primary-strong);
  text-align: right;
}
@media (prefers-color-scheme: dark) {
  .about .signature {
    color: var(--primary);
  }
}

.page-title {
  margin: 0 0 6px;
  font-size: clamp(1.7rem, 4.5vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
}
.page-intro {
  margin: 0 0 24px;
  color: var(--muted);
}

.prose {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 26px 24px;
  box-shadow: var(--shadow);
  overflow-wrap: anywhere;
}
.prose h2 {
  margin: 30px 0 8px;
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.prose h2:first-child {
  margin-top: 0;
}
.prose h3 {
  margin: 20px 0 6px;
  font-size: 1.02rem;
  font-weight: 800;
}
.prose p,
.prose ul,
.prose ol {
  margin: 0 0 12px;
}
.prose ul,
.prose ol {
  padding-left: 1.3em;
}
.prose li + li {
  margin-top: 4px;
}

.table-wrap {
  overflow-x: auto;
  margin: 0 0 14px;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.93rem;
}
th,
td {
  text-align: left;
  vertical-align: top;
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
}
th {
  font-weight: 800;
}

.notice {
  border-radius: 16px;
  padding: 14px 16px;
  margin: 0 0 16px;
  background: var(--warning-soft);
  color: var(--warning-strong);
  font-weight: 600;
}
.notice.info {
  background: var(--primary-soft);
  color: var(--foreground);
}

.steps {
  counter-reset: step;
  list-style: none;
  padding: 0 !important;
}
.steps li {
  counter-increment: step;
  position: relative;
  padding-left: 46px;
  min-height: 34px;
  margin-bottom: 12px;
}
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: -2px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: #fff;
  background: var(--primary);
}

.helplines {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr));
  gap: 12px;
  margin: 0 0 14px;
}
.helpline {
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 14px 16px;
}
.helpline strong {
  display: block;
}
.helpline a {
  font-weight: 800;
  font-size: 1.1rem;
}

.button {
  display: inline-block;
  padding: 12px 20px;
  border-radius: 14px;
  font-weight: 800;
  text-decoration: none;
  color: #fff;
  background: #6f52b5;
}

.updated {
  font-size: 0.88rem;
  color: var(--muted);
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 28px 0 40px;
  font-size: 0.9rem;
  color: var(--muted);
}
.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  margin-bottom: 10px;
}
.site-footer a {
  color: var(--muted);
  font-weight: 700;
}

@media (max-width: 600px) {
  .site-header .container {
    flex-direction: column;
    align-items: flex-start;
    padding-top: 10px;
    padding-bottom: 8px;
  }
  .site-nav {
    justify-content: flex-start;
    margin-left: -10px;
  }
  .hero {
    padding: 34px 22px;
    border-radius: 24px;
  }
  .prose {
    padding: 22px 18px;
  }
}
