:root {
  color-scheme: light;
  --brand: #e6004c;
  --brand-pressed: #c90042;
  --accent: #5b35e8;
  --ink: #080d23;
  --danger: #c92a2a;
  --danger-pressed: #a61f1f;
  --danger-container: #fee2e2;
  --danger-content: #991b1b;
  --background: #f7f8fc;
  --surface: #ffffff;
  --surface-muted: #f1f3f7;
  --text: #0b1020;
  --text-secondary: #5d6678;
  --outline: #d8dee8;
  --success: #15803d;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background: var(--background);
}

a {
  color: inherit;
  text-underline-offset: 3px;
}

.site-header,
main,
footer {
  width: min(100% - 32px, 720px);
  margin-inline: auto;
}

.site-header {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--outline);
}

.brand {
  color: var(--text);
  font-size: 1.125rem;
  font-weight: 800;
  text-decoration: none;
}

.brand-with-mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brand-with-mark img {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.site-header-wide,
.home,
.site-footer-wide {
  width: min(100% - 48px, 1120px);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  color: var(--text-secondary);
  font-size: 0.875rem;
  font-weight: 700;
}

.main-nav a {
  text-decoration: none;
}

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

.language-switch {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  background: var(--surface-muted);
  border-radius: 6px;
}

.language-switch button {
  min-width: 48px;
  min-height: 36px;
  padding: 0 10px;
  border: 0;
  border-radius: 4px;
  color: var(--text-secondary);
  background: transparent;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.language-switch button[aria-pressed="true"] {
  color: var(--text);
  background: var(--surface);
  box-shadow: 0 1px 3px rgb(11 16 32 / 12%);
}

main {
  padding-block: 48px 56px;
}

.intro {
  margin-bottom: 32px;
}

.eyebrow,
.step-label p {
  margin: 0;
  color: var(--brand);
  font-size: 0.8125rem;
  font-weight: 800;
  text-transform: uppercase;
}

h1 {
  max-width: 620px;
  margin: 10px 0 16px;
  font-size: clamp(2rem, 7vw, 3.25rem);
  line-height: 1.05;
  letter-spacing: 0;
}

h2 {
  margin: 0 0 12px;
  font-size: 1.25rem;
  line-height: 1.3;
  letter-spacing: 0;
}

p {
  line-height: 1.6;
}

.lead {
  max-width: 640px;
  margin: 0;
  color: var(--text-secondary);
  font-size: 1.0625rem;
}

.home {
  padding-block: 0 72px;
}

.hero {
  min-height: 650px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.9fr);
  align-items: center;
  gap: 72px;
  padding-block: 72px 88px;
}

.hero h1 {
  max-width: 720px;
  margin-block: 16px 24px;
  font-size: clamp(2.75rem, 6.2vw, 5rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.hero .lead {
  max-width: 620px;
  font-size: 1.125rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.primary-link,
.secondary-link {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border: 1px solid var(--text);
  border-radius: 6px;
  font-weight: 800;
  text-decoration: none;
}

.primary-link {
  color: #ffffff;
  background: var(--ink);
}

.primary-link:hover {
  background: #171c33;
}

.secondary-link {
  background: transparent;
}

.secondary-link:hover {
  background: var(--surface);
}

.hero-visual {
  position: relative;
  display: grid;
  gap: 12px;
  padding: 30px;
  background:
    linear-gradient(135deg, rgb(230 0 76 / 7%), rgb(91 53 232 / 8%)),
    var(--surface);
  border: 1px solid var(--outline);
  box-shadow: 0 26px 70px rgb(11 16 32 / 9%);
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 14px -14px -14px 14px;
  z-index: -1;
  border: 1px solid rgb(91 53 232 / 25%);
}

.level-chip {
  width: max-content;
  margin-bottom: 6px;
  padding: 6px 10px;
  color: var(--brand);
  background: rgb(230 0 76 / 8%);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.journey-card {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 16px;
  padding: 18px 0;
  border-top: 1px solid var(--outline);
}

.journey-card strong {
  font-size: 1.0625rem;
}

.journey-card p {
  margin: 4px 0 0;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.journey-index {
  color: var(--brand);
  font-weight: 900;
}

.feature-section {
  padding-block: 72px;
  border-top: 1px solid var(--outline);
}

.feature-section > h2,
.trust-section h2 {
  max-width: 700px;
  margin-top: 12px;
  font-size: clamp(2rem, 4.6vw, 3.5rem);
  line-height: 1.06;
  letter-spacing: -0.035em;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 42px;
  background: var(--outline);
  border: 1px solid var(--outline);
}

.feature-grid article {
  min-height: 250px;
  padding: 28px;
  background: var(--surface);
}

.feature-grid h3 {
  margin: 42px 0 10px;
  font-size: 1.5rem;
}

.feature-grid p {
  margin: 0;
  color: var(--text-secondary);
}

.feature-number {
  color: var(--brand);
  font-size: 0.8125rem;
  font-weight: 900;
}

.trust-section {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 28px 72px;
  padding: 64px;
  color: #ffffff;
  background: var(--ink);
}

.trust-section .eyebrow {
  color: #ff4a86;
}

.trust-section h2 {
  margin-bottom: 0;
}

.trust-section > p {
  align-self: end;
  margin: 0;
  color: #bbc1d3;
}

.text-links {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  padding-top: 22px;
  border-top: 1px solid rgb(255 255 255 / 18%);
}

.text-links a {
  color: #ffffff;
  font-weight: 800;
}

.site-footer-wide {
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  padding-block: 36px 48px;
}

.site-footer-wide p {
  margin: 6px 0 0;
}

.site-footer-wide nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px 22px;
}

.warning {
  margin-bottom: 32px;
  padding: 20px;
  color: var(--danger-content);
  background: var(--danger-container);
  border-left: 4px solid var(--danger);
}

.social-account-note {
  margin-bottom: 32px;
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--outline);
}

.social-account-note p {
  margin-bottom: 0;
  color: var(--text-secondary);
}

.social-account-note a {
  color: var(--brand);
  font-weight: 700;
}

.warning p {
  margin: 0;
}

.store-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  margin-top: 16px;
}

.store-links a,
footer a {
  color: inherit;
  font-weight: 700;
  text-underline-offset: 3px;
}

.deletion-flow {
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--outline);
  border-radius: 8px;
}

.step-label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.step-label span {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  color: #ffffff;
  background: var(--brand);
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 800;
}

form {
  display: grid;
  gap: 10px;
  margin-top: 20px;
}

label {
  margin-top: 4px;
  font-size: 0.875rem;
  font-weight: 700;
}

input {
  width: 100%;
  min-height: 48px;
  padding: 10px 12px;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--outline);
  border-radius: 6px;
  font: inherit;
}

input:focus-visible,
button:focus-visible,
a:focus-visible {
  outline: 3px solid rgb(37 99 235 / 45%);
  outline-offset: 2px;
}

.primary-action,
.danger-action {
  min-height: 48px;
  margin-top: 10px;
  padding: 10px 18px;
  border: 0;
  border-radius: 6px;
  color: #ffffff;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.primary-action {
  background: var(--brand);
}

.primary-action:hover {
  background: var(--brand-pressed);
}

.danger-action {
  background: var(--danger);
}

.danger-action:hover {
  background: var(--danger-pressed);
}

button:disabled,
input:disabled {
  cursor: not-allowed;
  opacity: 0.58;
}

.confirmation {
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--outline);
}

.confirmation > p {
  color: var(--text-secondary);
}

.status {
  min-height: 26px;
  margin: 20px 0 0;
  font-weight: 700;
}

.status[data-kind="error"] {
  color: var(--danger);
}

.status[data-kind="success"] {
  color: var(--success);
}

footer {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
  padding-block: 24px 40px;
  color: var(--text-secondary);
  border-top: 1px solid var(--outline);
  font-size: 0.875rem;
}

.legal {
  max-width: 720px;
  margin: 0 auto;
  padding: 48px 16px 64px;
}

.legal h1 {
  font-size: clamp(2.25rem, 7vw, 3.5rem);
  letter-spacing: -0.035em;
}

.legal h2 {
  margin-top: 36px;
}

.legal a {
  color: var(--brand);
}

.legal li {
  margin-block: 10px;
  line-height: 1.55;
}

.legal-summary {
  margin-bottom: 42px;
  color: var(--text-secondary);
  font-size: 1.1rem;
}

.support-email {
  margin-block: 8px 20px;
  color: #ffffff !important;
}

.not-found {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-block: 64px;
}

.not-found img {
  margin-bottom: 24px;
}

@media (max-width: 520px) {
  .site-header,
  main,
  footer {
    width: min(100% - 24px, 720px);
  }

  main {
    padding-block: 32px 44px;
  }

  .deletion-flow {
    padding: 20px 16px;
  }

  .store-links {
    display: grid;
  }

  .site-header-wide,
  .home,
  .site-footer-wide {
    width: min(100% - 24px, 1120px);
  }

  .main-nav a:first-child {
    display: none;
  }

  .main-nav {
    gap: 16px;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 52px;
    padding-block: 52px 68px;
  }

  .hero h1 {
    font-size: clamp(2.65rem, 13vw, 4rem);
  }

  .hero-visual {
    padding: 24px 20px;
  }

  .feature-section {
    padding-block: 56px;
  }

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

  .feature-grid article {
    min-height: auto;
  }

  .feature-grid h3 {
    margin-top: 24px;
  }

  .trust-section {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 36px 24px;
  }

  .text-links {
    grid-column: 1;
  }

  .site-footer-wide nav {
    justify-content: flex-start;
  }
}

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