:root {
  color-scheme: dark;
  --color-accent: #c74910;
  --color-bg: #212121;
  --color-surface: #252525;
  --color-text: #c8c8c8;
  --color-muted: #9a9a9a;
  --color-border: #464646;
  --content-width: 960px;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--color-bg);
}

body {
  min-height: 100%;
  margin: 0;
  background-color: var(--color-bg);
  background-image: radial-gradient(120% 560px at 50% -40px, rgba(199, 73, 16, 0.26), transparent 70%);
  background-repeat: no-repeat;
  color: var(--color-text);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 1;
  display: flex;
  justify-content: center;
  min-height: 64px;
  border-bottom: 1px solid var(--color-border);
  background: rgba(33, 33, 33, 0.96);
  backdrop-filter: blur(8px);
}

.topbar__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 16px;
  width: min(100%, var(--content-width));
  padding: 10px 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--color-text);
  text-decoration: none;
}

.brand__icon {
  display: block;
  border-radius: 8px;
}

.brand__name {
  font-size: 20px;
  font-weight: 600;
}

.page {
  width: min(100%, var(--content-width));
  margin: 0 auto;
  padding: 32px 16px 56px;
}

.agreement h1 {
  width: fit-content;
  max-width: 100%;
  margin: 0 auto 24px;
  color: var(--color-text);
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
}

.agreement h1::after {
  display: block;
  width: 50%;
  max-width: 280px;
  height: 3px;
  margin: 16px auto 0;
  background: var(--color-accent);
  content: "";
}

.agreement__text {
  min-height: 240px;
  margin: 0;
  padding: 0;
  overflow: visible;
  border: 0;
  background: transparent;
  color: var(--color-text);
  font: inherit;
  white-space: pre-wrap;
  word-break: break-word;
}

.agreement__text.is-muted {
  color: var(--color-muted);
}

.nav__list {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav__link {
  display: inline-block;
  padding: 8px 12px;
  border-radius: 8px;
  color: var(--color-muted);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.15s ease, background-color 0.15s ease;
}

.nav__link:hover,
.nav__link:focus-visible {
  color: var(--color-text);
  background: var(--color-surface);
}

.nav__link[aria-current="page"] {
  color: var(--color-accent);
}

.hero {
  display: flex;
  justify-content: center;
  padding: 72px 16px;
}

.hero__inner {
  width: min(100%, 760px);
  text-align: center;
}

.hero__title {
  width: fit-content;
  max-width: 100%;
  margin: 0 auto 24px;
  color: var(--color-text);
  font-size: clamp(30px, 6vw, 52px);
  font-weight: 700;
  line-height: 1.15;
}

.hero__title::after,
.support h1::after {
  display: block;
  width: 50%;
  max-width: 280px;
  height: 3px;
  margin: 16px auto 0;
  background: var(--color-accent);
  content: "";
}

.support h1 {
  width: fit-content;
  max-width: 100%;
  margin: 0 auto 24px;
  color: var(--color-text);
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
}

.hero__subtitle {
  margin: 0 auto 32px;
  max-width: 620px;
  color: var(--color-muted);
  font-size: clamp(16px, 2.4vw, 19px);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 28px;
  border: 1px solid var(--color-accent);
  border-radius: 12px;
  background: transparent;
  color: var(--color-accent);
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.btn:hover,
.btn:focus-visible {
  background: var(--color-accent);
  color: #0b0b0b;
}

.section {
  display: flex;
  justify-content: center;
  padding: 56px 16px;
}

.section--alt {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.section__inner {
  width: min(100%, var(--content-width));
}

.section__title {
  margin: 0 0 32px;
  color: var(--color-text);
  font-size: clamp(24px, 4vw, 32px);
  font-weight: 700;
  text-align: center;
}

.section__lead {
  max-width: 640px;
  margin: -12px auto 32px;
  color: var(--color-muted);
  text-align: center;
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.feature {
  padding: 24px;
  border: 1px solid var(--color-border);
  border-radius: 16px;
  background: var(--color-bg);
}

.feature__title {
  margin: 0 0 10px;
  color: var(--color-accent);
  font-size: 19px;
  font-weight: 600;
  text-align: center;
}

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

.shots {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 12px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.shot {
  flex: 0 0 auto;
  width: 240px;
  margin: 0;
  scroll-snap-align: center;
}

.shot img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--color-border);
  border-radius: 18px;
}

.support__lead {
  max-width: 640px;
  margin: 0 auto 28px;
  color: var(--color-muted);
  text-align: center;
}

.support__card {
  max-width: 520px;
  margin: 0 auto;
  padding: 28px;
  border: 1px solid var(--color-border);
  border-radius: 16px;
  background: var(--color-surface);
  text-align: center;
}

.support__label {
  display: block;
  margin-bottom: 8px;
  color: var(--color-muted);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.support__email {
  display: inline-block;
  color: var(--color-accent);
  font-size: clamp(18px, 3vw, 22px);
  font-weight: 600;
  text-decoration: none;
}

.support__email:hover,
.support__email:focus-visible {
  text-decoration: underline;
}

.support__note {
  margin: 20px 0 0;
  color: var(--color-muted);
  font-size: 15px;
}

.deletion h1 {
  width: fit-content;
  max-width: 100%;
  margin: 0 auto 24px;
  color: var(--color-text);
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
}

.deletion h1::after {
  display: block;
  width: 50%;
  max-width: 280px;
  height: 3px;
  margin: 16px auto 0;
  background: var(--color-accent);
  content: "";
}

.deletion__lead {
  max-width: 640px;
  margin: 0 auto 28px;
  color: var(--color-muted);
  text-align: center;
}

.deletion__card {
  max-width: 640px;
  margin: 0 auto 20px;
  padding: 24px 28px;
  border: 1px solid var(--color-border);
  border-radius: 16px;
  background: var(--color-surface);
}

.deletion__heading {
  margin: 0 0 12px;
  color: var(--color-text);
  font-size: clamp(18px, 3vw, 22px);
  font-weight: 600;
}

.deletion__card .deletion__heading:not(:first-child) {
  margin-top: 24px;
}

.deletion__steps,
.deletion__list {
  margin: 0;
  padding-left: 22px;
  color: var(--color-text);
}

.deletion__steps li,
.deletion__list li {
  margin-bottom: 8px;
}

.deletion__text {
  margin: 12px 0 0;
  color: var(--color-muted);
}

.deletion__email {
  display: inline-block;
  margin: 12px 0;
  color: var(--color-accent);
  font-size: clamp(18px, 3vw, 22px);
  font-weight: 600;
  text-decoration: none;
}

.deletion__email:hover,
.deletion__email:focus-visible {
  text-decoration: underline;
}

.deletion__note {
  margin: 16px 0 0;
  color: var(--color-muted);
  font-size: 15px;
}

.deletion__form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 16px;
}

.deletion__input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  background: var(--color-bg);
  color: var(--color-text);
  font: inherit;
}

.deletion__input:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 1px;
}

.deletion__submit {
  padding: 12px 16px;
  border: 0;
  border-radius: 10px;
  background: var(--color-accent);
  color: #fff;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.15s ease;
}

.deletion__submit:hover {
  opacity: 0.92;
}

.deletion__submit:disabled {
  opacity: 0.6;
  cursor: default;
}

.deletion__result {
  margin: 14px 0 0;
  min-height: 1.2em;
  font-size: 15px;
}

.deletion__result.is-error {
  color: #ff6b6b;
}

.deletion__result.is-ok {
  color: #6bbf59;
}

.footer {
  display: flex;
  justify-content: center;
  padding: 28px 16px;
  border-top: 1px solid var(--color-border);
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(100%, var(--content-width));
}

.footer__brand {
  color: var(--color-muted);
  font-weight: 600;
}

::selection {
  background: var(--color-accent);
  color: #0b0b0b;
}

@media (max-width: 640px) {
  .topbar {
    min-height: 56px;
  }

  .topbar__inner {
    padding: 8px 14px;
  }

  .brand__icon {
    width: 36px;
    height: 36px;
  }

  .hero {
    padding: 56px 16px;
  }

  .section {
    padding: 44px 16px;
  }

  .page {
    padding: 24px 14px 44px;
  }
}
