:root {
  --ink: #f8f6ff;
  --paper: #0d0b16;
  --surface: #171321;
  --surface-strong: #21182c;
  --white: #ffffff;
  --muted: #b9b3c8;
  --line: rgba(255, 60, 172, .28);
  --blue: #35d9ff;
  --pink: #ff3cac;
  --lime: #b9ff43;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #100d19;
  font-family: Inter, "Helvetica Neue", Arial, "Noto Sans JP", sans-serif;
  line-height: 1.7;
  letter-spacing: 0;
}

a {
  color: inherit;
}

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

.site-header {
  min-height: 72px;
  padding: 14px max(24px, calc((100% - var(--max)) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.brand-mark {
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  object-fit: cover;
  border-radius: 6px;
  box-shadow: 0 0 18px rgba(255, 60, 172, .45);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
}

.site-nav a {
  padding: 8px 12px;
  text-decoration: none;
}

.site-nav a:hover,
.site-footer a:hover,
.document a:hover {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.site-nav .nav-cta {
  color: var(--white);
  background: var(--pink);
  border-radius: 6px;
  box-shadow: 0 0 16px rgba(255, 60, 172, .35);
}

.site-nav .language-link {
  color: var(--blue);
  border: 1px solid rgba(53, 217, 255, .45);
  border-radius: 6px;
}

.nav-cta-short {
  display: none;
}

.hero {
  min-height: calc(100vh - 72px);
  position: relative;
  display: grid;
  align-items: end;
  overflow: hidden;
  background: #0b0911;
  border-bottom: 1px solid var(--line);
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-media {
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  background: linear-gradient(90deg, rgba(5, 5, 7, .93) 0%, rgba(5, 5, 7, .72) 46%, rgba(5, 5, 7, .14) 100%);
}

.hero-content {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
  padding: 100px 0 72px;
  position: relative;
  z-index: 1;
  color: var(--white);
}

.hero-cat {
  width: 112px;
  height: 112px;
  margin-bottom: 26px;
  border: 1px solid rgba(53, 217, 255, .48);
  border-radius: 8px;
  box-shadow: 0 0 24px rgba(53, 217, 255, .32), 0 0 46px rgba(255, 60, 172, .24);
}

.eyebrow {
  margin: 0 0 12px;
  color: inherit;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .12em;
}

.hero .eyebrow {
  display: inline-block;
  padding: 5px 8px;
  color: var(--blue);
  background: rgba(8, 7, 14, .82);
  border: 1px solid var(--blue);
  box-shadow: 0 0 16px rgba(53, 217, 255, .26);
}

.hero h1 {
  margin: 14px 0 0;
  font-size: clamp(54px, 8vw, 112px);
  line-height: .95;
  text-shadow: 0 0 18px rgba(53, 217, 255, .35), 0 0 34px rgba(255, 60, 172, .22);
}

.hero-lead {
  max-width: 700px;
  margin: 28px 0 34px;
  font-size: clamp(26px, 4vw, 48px);
  font-weight: 800;
  line-height: 1.35;
}

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

.install-note {
  max-width: 620px;
  margin: 16px 0 0;
  color: rgba(255, 255, 255, .72);
  font-size: 14px;
}

.button {
  min-height: 48px;
  padding: 11px 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 800;
  text-decoration: none;
}

.topgg-link {
  color: var(--white);
  text-underline-offset: 4px;
}

.button-primary {
  color: var(--white);
  background: var(--pink);
  box-shadow: 0 0 20px rgba(255, 60, 172, .35);
}

.button-secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, .6);
  background: rgba(0, 0, 0, .35);
}

.button:hover {
  transform: translateY(-1px);
}

.band,
.features,
.support-page {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
}

.intro,
.setup,
.plans,
.permissions,
.comparison,
.pro-details,
.faq {
  padding: 110px 0;
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: 70px;
  align-items: start;
}

.section-copy h2,
.support-heading h1 {
  margin: 0;
  font-size: clamp(36px, 5vw, 68px);
  line-height: 1.14;
}

.section-lead {
  margin: 25px 0 0;
  color: var(--ink);
  font-size: clamp(19px, 2.2vw, 28px);
  line-height: 1.65;
}

.section-summary {
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.cat-note {
  margin-top: 34px;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid rgba(53, 217, 255, .35);
  border-radius: 8px;
  box-shadow: 0 0 20px rgba(53, 217, 255, .08);
}

.cat-note img {
  flex: 0 0 auto;
  border-radius: 6px;
  box-shadow: 0 0 14px rgba(255, 60, 172, .38);
}

.cat-note p {
  margin: 0;
  font-weight: 800;
}

.features {
  padding: 0 0 110px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}

.feature {
  padding: 36px 30px 10px 0;
  border-right: 1px solid var(--line);
}

.feature:hover {
  background: rgba(255, 60, 172, .035);
}

.feature + .feature {
  padding-left: 30px;
}

.feature:last-child {
  border-right: 0;
}

.feature-number {
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
  text-shadow: 0 0 10px rgba(53, 217, 255, .5);
}

.feature h3,
.support-grid h2 {
  margin: 18px 0 12px;
  font-size: 24px;
  line-height: 1.35;
}

.feature p,
.support-grid p,
.contact-block p,
.permission-copy p {
  margin: 0;
  color: var(--muted);
  overflow-wrap: anywhere;
}

.setup {
  border-top: 1px solid var(--line);
}

.plans,
.permissions,
.comparison,
.pro-details,
.faq {
  border-top: 1px solid var(--line);
}

.plan-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}

.plan {
  padding: 28px 28px 24px 0;
  border-right: 1px solid var(--line);
}

.plan-pro {
  background: rgba(255, 60, 172, .045);
}

.plan + .plan {
  padding-left: 28px;
  border-right: 0;
}

.plan-name {
  margin: 0;
  color: var(--pink);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .12em;
  text-shadow: 0 0 10px rgba(255, 60, 172, .5);
}

.plan h3 {
  margin: 12px 0 18px;
  font-size: 23px;
  line-height: 1.35;
}

.plan-price {
  margin: 0 0 18px;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px;
}

.plan-price strong {
  color: var(--white);
  font-size: 28px;
  line-height: 1.2;
}

.plan-price span {
  color: var(--muted);
  font-size: 13px;
}

.early-price {
  margin: 0 0 18px;
  padding: 12px 14px;
  color: var(--ink);
  background: rgba(53, 217, 255, .08);
  border-left: 3px solid var(--blue);
  font-weight: 800;
}

.plan ul {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
}

.plan-list > .availability-note,
.plan-list > .plan-actions {
  grid-column: 1 / -1;
}

.plan-list > .availability-note {
  grid-column: 1 / -1;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.plan-actions {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
}

.plan-actions > p {
  flex: 1 1 100%;
  margin: 0;
  color: var(--muted);
}

.button-disabled {
  color: rgba(255, 255, 255, .64);
  background: #373241;
  border-color: rgba(255, 255, 255, .12);
  cursor: not-allowed;
}

.plan-actions .text-link {
  margin-top: 0;
}

.comparison {
  grid-template-columns: minmax(240px, .55fr) minmax(0, 1.45fr);
}

.comparison-wrap {
  max-width: 100%;
  overflow-x: auto;
  outline-offset: 5px;
}

.comparison-content {
  min-width: 0;
}

.comparison table {
  width: 100%;
  min-width: 580px;
  border-collapse: collapse;
  background: var(--surface);
}

.comparison th,
.comparison td {
  padding: 15px 18px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.comparison thead th {
  color: var(--white);
  background: var(--surface-strong);
}

.comparison tbody th {
  width: 52%;
  color: var(--ink);
  font-weight: 700;
}

.comparison td {
  color: var(--muted);
}

.comparison td:last-child {
  color: var(--blue);
  font-weight: 800;
}

.comparison-note {
  margin: 18px 0 0;
  padding: 16px 18px;
  color: var(--muted);
  background: rgba(53, 217, 255, .06);
  border-left: 3px solid var(--blue);
  font-size: 14px;
}

.comparison-note strong {
  color: var(--ink);
}

.pro-detail-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.pro-detail-list article {
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}

.pro-detail-list h3 {
  margin: 8px 0;
  font-size: 22px;
}

.pro-detail-list p,
.faq-list p {
  margin: 0;
  color: var(--muted);
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  padding: 22px 40px 22px 0;
  position: relative;
  color: var(--ink);
  font-size: 18px;
  font-weight: 800;
  cursor: pointer;
}

.faq-list summary::after {
  content: "+";
  position: absolute;
  top: 20px;
  right: 8px;
  color: var(--blue);
  font-size: 24px;
}

.faq-list details[open] summary::after {
  content: "-";
}

.faq-list details p {
  padding: 0 40px 24px 0;
}

.permission-copy > p {
  margin: 0;
  color: var(--ink);
  font-size: 18px;
}

.permission-copy > p + p {
  margin-top: 18px;
  color: var(--muted);
  font-size: 16px;
}

.text-link {
  margin-top: 22px;
  display: inline-block;
  color: var(--blue);
  font-weight: 800;
  text-underline-offset: 4px;
  text-shadow: 0 0 12px rgba(53, 217, 255, .28);
}

.steps {
  margin: 0;
  padding: 0;
  list-style: none;
}

.steps li {
  padding: 22px 0;
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 18px;
  border-top: 1px solid var(--line);
}

.steps li:last-child {
  border-bottom: 1px solid var(--line);
}

.steps li > span {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: #08070d;
  background: var(--blue);
  border-radius: 50%;
  font-weight: 900;
  box-shadow: 0 0 16px rgba(53, 217, 255, .36);
}

.steps strong {
  font-size: 19px;
}

.steps p {
  margin: 4px 0 0;
  color: var(--muted);
}

code {
  padding: 2px 6px;
  border-radius: 4px;
  color: var(--blue);
  background: var(--surface-strong);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: .9em;
}

.site-footer {
  padding: 42px max(24px, calc((100% - var(--max)) / 2));
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
  color: rgba(255, 255, 255, .78);
  background: #08070d;
  border-top: 1px solid var(--line);
}

.footer-brand {
  color: var(--white);
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 13px;
}

.site-footer nav a {
  text-decoration: none;
}

.site-footer > p {
  grid-column: 1 / -1;
  margin: 0;
  color: rgba(255, 255, 255, .5);
  font-size: 12px;
}

.document {
  width: min(820px, calc(100% - 48px));
  margin: 0 auto;
  padding: 100px 0 120px;
}

.document > h1 {
  margin: 0;
  font-size: clamp(40px, 6vw, 70px);
  line-height: 1.15;
  overflow-wrap: anywhere;
}

.document-date {
  margin: 18px 0 70px;
  color: var(--muted);
}

.document section {
  padding: 28px 0;
  border-top: 1px solid var(--line);
}

.document .prelaunch-notice {
  margin-bottom: 22px;
  padding: 24px;
  background: rgba(185, 255, 67, .07);
  border: 1px solid rgba(185, 255, 67, .42);
}

.document .prelaunch-notice h2 {
  color: var(--lime);
}

.document h2 {
  margin: 0 0 14px;
  font-size: 23px;
}

.document section p,
.document li {
  color: var(--muted);
  overflow-wrap: anywhere;
}

.document ul {
  padding-left: 22px;
}

.support-page {
  padding: 100px 0 120px;
}

.support-heading {
  max-width: 760px;
}

.support-heading > p:last-child {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 20px;
}

.support-grid {
  margin-top: 70px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}

.support-grid-four {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.support-grid-four section:nth-child(2) {
  border-right: 0;
}

.support-grid section {
  padding: 32px 28px 20px 0;
  border-right: 1px solid var(--line);
}

.support-grid section + section {
  padding-left: 28px;
}

.support-grid section:last-child {
  border-right: 0;
}

.contact-block {
  margin-top: 90px;
  padding: 46px;
  color: var(--white);
  background: var(--surface-strong);
  border: 1px solid var(--line);
  box-shadow: 0 0 24px rgba(255, 60, 172, .1);
}

.contact-block h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 48px);
}

.contact-email {
  margin: 18px 0;
  display: inline-block;
  color: var(--blue);
  font-size: clamp(22px, 4vw, 36px);
  font-weight: 900;
  overflow-wrap: anywhere;
  text-shadow: 0 0 14px rgba(53, 217, 255, .32);
}

.contact-block p {
  color: rgba(255, 255, 255, .68);
}

.billing-page {
  width: min(920px, calc(100% - 48px));
  min-height: calc(100vh - 90px);
  min-height: calc(100svh - 90px);
  margin: 0 auto;
  padding: 100px 0 120px;
  display: grid;
  align-items: center;
}

.billing-panel {
  position: relative;
  min-width: 0;
  padding: 56px;
  overflow: hidden;
  background: var(--surface-strong);
  border: 1px solid var(--line);
  border-top: 3px solid var(--blue);
  box-shadow: 0 0 32px rgba(53, 217, 255, .1);
}

.billing-panel-success {
  border-top-color: var(--lime);
  box-shadow: 0 0 32px rgba(185, 255, 67, .1);
}

.billing-panel-cancel {
  border-top-color: var(--pink);
  box-shadow: 0 0 32px rgba(255, 60, 172, .1);
}

.billing-mark {
  width: 88px;
  height: 88px;
  margin-bottom: 28px;
}

.billing-panel h1 {
  max-width: 760px;
  margin: 10px 0 20px;
  font-size: clamp(36px, 6vw, 62px);
  line-height: 1.14;
  overflow-wrap: anywhere;
}

.billing-lead {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  font-size: 19px;
}

.billing-next {
  margin-top: 38px;
  padding: 26px 28px;
  background: rgba(255, 255, 255, .035);
  border-left: 3px solid var(--blue);
}

.billing-panel-success .billing-next {
  border-left-color: var(--lime);
}

.billing-panel-cancel .billing-next {
  border-left-color: var(--pink);
}

.billing-next-label {
  margin: 0 0 8px;
  color: var(--white);
  font-weight: 900;
}

.billing-next p:last-child {
  margin: 0;
  color: var(--muted);
  overflow-wrap: anywhere;
}

.billing-next code {
  color: var(--white);
}

.billing-actions {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.billing-en {
  margin: 30px 0 0;
  padding-top: 24px;
  color: rgba(255, 255, 255, .52);
  font-size: 14px;
  border-top: 1px solid var(--line);
}

.not-found {
  width: min(720px, calc(100% - 48px));
  min-height: 100vh;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.not-found .eyebrow {
  margin-top: 70px;
  color: var(--blue);
}

.not-found h1 {
  margin: 0;
  font-size: clamp(40px, 7vw, 72px);
  line-height: 1.14;
}

.not-found p:not(.eyebrow) {
  color: var(--muted);
}

.not-found .button {
  margin-top: 20px;
}

@media (max-width: 760px) {
  .site-header {
    min-height: 62px;
    padding: 9px 10px;
    display: grid;
    grid-template-columns: max-content minmax(0, 1fr);
    gap: 8px;
    align-items: center;
  }

  .brand {
    min-width: 0;
    gap: 7px;
    font-size: 16px;
  }

  .brand-mark {
    width: 32px;
    height: 32px;
    font-size: 12px;
  }

  .site-nav {
    display: flex;
    min-width: 0;
    justify-content: flex-end;
    justify-self: stretch;
    gap: 2px;
    font-size: 12px;
    white-space: nowrap;
  }

  .site-nav a {
    padding: 5px 2px;
  }

  .site-nav .nav-section-link {
    display: none;
  }

  .site-nav .language-link {
    padding: 5px 6px;
  }

  .site-nav .nav-cta {
    color: var(--white);
  }

  .nav-cta-long {
    display: none;
  }

  .nav-cta-short {
    display: inline;
  }

  .hero {
    min-height: calc(100svh - 62px);
  }

  .hero-media {
    inset: 0 auto auto 0;
    height: auto;
    aspect-ratio: 16 / 10;
    object-fit: contain;
    object-position: center top;
  }

  .hero-overlay {
    background: linear-gradient(0deg, rgba(5, 5, 7, .96) 8%, rgba(5, 5, 7, .72) 64%, rgba(5, 5, 7, .25) 100%);
  }

  .hero-content {
    width: min(100% - 36px, var(--max));
    padding-top: 205px;
    padding-bottom: 28px;
  }

  .hero-cat {
    width: 64px;
    height: 64px;
    margin-bottom: 14px;
  }

  .hero h1 {
    margin-top: 10px;
    font-size: 48px;
  }

  .hero-lead {
    margin: 18px 0 24px;
    font-size: 24px;
  }

  .intro,
  .setup,
  .plans,
  .permissions,
  .comparison,
  .pro-details,
  .faq {
    padding: 78px 0;
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .features,
  .support-grid {
    grid-template-columns: 1fr;
  }

  .plan-list {
    grid-template-columns: 1fr;
  }

  .plan,
  .plan + .plan {
    padding: 26px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .feature,
  .feature + .feature,
  .support-grid section,
  .support-grid section + section {
    padding: 28px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .site-footer {
    grid-template-columns: 1fr;
  }

  .document,
  .support-page {
    padding: 72px 0 90px;
  }

  .document > h1 {
    font-size: 34px;
    word-break: break-all;
  }

  .document-date {
    margin-bottom: 48px;
  }

  .contact-block {
    margin-top: 60px;
    padding: 30px 24px;
  }

  .billing-page {
    width: min(100% - 28px, 920px);
    min-height: calc(100svh - 62px);
    padding: 44px 0 72px;
  }

  .billing-panel {
    padding: 34px 24px;
  }

  .billing-mark {
    width: 68px;
    height: 68px;
    margin-bottom: 22px;
  }

  .billing-panel h1 {
    font-size: 34px;
  }

  .billing-lead {
    font-size: 17px;
  }

  .billing-next {
    margin-top: 30px;
    padding: 22px 20px;
  }

  .billing-actions {
    display: grid;
  }
}
