:root {
  --color-bg: #fbf9fc;
  --color-surface: #ffffff;
  --color-ink: #111d4f;
  --color-muted: #62657a;
  --color-primary: #5d3ff3;
  --color-primary-dark: #3824bd;
  --color-primary-soft: #ece8ff;
  --color-blue: #258dff;
  --color-coral: #f740a7;
  --color-orange: #ff812d;
  --color-gold: #ffc83d;
  --color-border: #e8e3ef;
  --color-success: #278263;
  --shadow-soft: 0 24px 70px rgba(54, 40, 108, 0.12);
  --shadow-card: 0 14px 40px rgba(42, 32, 77, 0.08);
  --radius-large: 32px;
  --radius-medium: 22px;
  --radius-small: 14px;
  --container: 1180px;
  --reading-width: 760px;
  --font-sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 8% 8%, rgba(37, 141, 255, 0.09), transparent 28rem),
    radial-gradient(circle at 92% 5%, rgba(247, 64, 167, 0.08), transparent 26rem),
    var(--color-bg);
  color: var(--color-ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--color-primary-dark);
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--color-primary);
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(117, 89, 242, 0.35);
  outline-offset: 4px;
}

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

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  line-height: 1.12;
  letter-spacing: -0.035em;
}

h1 {
  font-size: clamp(2.65rem, 6vw, 4.75rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
  font-size: 1.2rem;
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 16px;
  transform: translateY(-160%);
  border-radius: 999px;
  background: var(--color-ink);
  color: #fff;
  text-decoration: none;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(231, 227, 238, 0.8);
  background: rgba(251, 249, 252, 0.88);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 24px;
}

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

.brand:hover {
  color: var(--color-ink);
}

.brand-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(71, 48, 196, 0.2);
  object-fit: cover;
}

.site-nav,
.footer-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

.site-nav a,
.footer-nav a {
  color: var(--color-muted);
  font-size: 0.93rem;
  font-weight: 650;
  text-decoration: none;
}

.site-nav a:hover,
.footer-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--color-ink);
}

.showcase-hero {
  position: relative;
  overflow: hidden;
  padding-bottom: 42px;
  background:
    radial-gradient(circle at 8% 14%, rgba(37, 141, 255, 0.1), transparent 25rem),
    radial-gradient(circle at 92% 16%, rgba(255, 129, 45, 0.09), transparent 24rem),
    var(--color-bg);
}

.showcase-visual {
  width: 100%;
  overflow: hidden;
  background: #fffaf8;
}

.showcase-image {
  width: 100%;
  height: auto;
  aspect-ratio: 1728 / 910;
  object-fit: contain;
}

.showcase-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  padding-top: 34px;
}

.showcase-actions .eyebrow {
  margin-bottom: 14px;
}

.showcase-copy {
  max-width: 720px;
  margin: 0;
  color: var(--color-muted);
  font-size: 1.04rem;
}

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 77% 32%, rgba(37, 141, 255, 0.14), transparent 21rem),
    radial-gradient(circle at 91% 44%, rgba(247, 64, 167, 0.13), transparent 23rem),
    radial-gradient(circle at 82% 82%, rgba(255, 200, 61, 0.12), transparent 19rem);
  padding: clamp(72px, 10vw, 136px) 0 clamp(84px, 11vw, 150px);
}

.hero::after {
  position: absolute;
  right: -12rem;
  bottom: -18rem;
  width: 42rem;
  height: 42rem;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(247, 64, 167, 0.09), rgba(255, 200, 61, 0.1));
  content: "";
  filter: blur(20px);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  align-items: center;
  gap: clamp(48px, 8vw, 100px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 24px;
  padding: 8px 13px;
  border: 1px solid rgba(117, 89, 242, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  color: var(--color-primary-dark);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-coral);
  box-shadow: 0 0 0 5px rgba(247, 64, 167, 0.12);
  content: "";
}

.hero h1 {
  max-width: 760px;
  margin-bottom: 26px;
}

.gradient-text {
  background: linear-gradient(105deg, #2e59ed, #6a32e8 34%, #e63fa9 66%, #ff822d 84%, #e8a916);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.hero-copy {
  max-width: 640px;
  margin-bottom: 34px;
  color: var(--color-muted);
  font-size: clamp(1.08rem, 2vw, 1.22rem);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 750;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

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

.button-primary {
  background: var(--color-ink);
  box-shadow: 0 12px 26px rgba(25, 23, 36, 0.18);
  color: #fff;
}

.button-primary:hover {
  background: #312d41;
  color: #fff;
}

.button-secondary {
  border-color: var(--color-border);
  background: rgba(255, 255, 255, 0.78);
  color: var(--color-ink);
}

.button-secondary:hover {
  border-color: #d9d2e7;
  background: #fff;
  color: var(--color-ink);
}

.app-visual {
  position: relative;
  display: grid;
  min-height: 520px;
  place-items: center;
  isolation: isolate;
}

.app-visual::before,
.app-visual::after {
  position: absolute;
  content: "";
  pointer-events: none;
}

.app-visual::before {
  inset: 5% 0 5% 2%;
  border-radius: 50%;
  background: conic-gradient(from 205deg, rgba(37, 141, 255, 0.24), rgba(93, 63, 243, 0.18), rgba(247, 64, 167, 0.22), rgba(255, 129, 45, 0.2), rgba(255, 200, 61, 0.2), rgba(37, 141, 255, 0.24));
  filter: blur(20px);
  transform: rotate(-8deg) scale(0.92);
}

.app-visual::after {
  inset: 13% 7% 10%;
  z-index: -1;
  border: 1px solid rgba(255, 255, 255, 0.88);
  border-radius: 48% 52% 46% 54%;
  background:
    radial-gradient(circle at 18% 22%, rgba(255, 255, 255, 0.92), transparent 18%),
    linear-gradient(145deg, rgba(37, 141, 255, 0.11), rgba(247, 64, 167, 0.12) 58%, rgba(255, 200, 61, 0.13));
  box-shadow: var(--shadow-soft), inset 0 0 0 1px rgba(93, 63, 243, 0.06);
  transform: rotate(4deg);
}

.hero-app-icon {
  position: relative;
  z-index: 4;
  width: min(88%, 470px);
  height: auto;
  aspect-ratio: 1;
  border-radius: 28%;
  filter: drop-shadow(0 30px 44px rgba(61, 35, 162, 0.18));
  object-fit: contain;
}

.visual-note {
  position: absolute;
  right: 0;
  bottom: 8%;
  z-index: 8;
  padding: 13px 18px;
  border: 1px solid rgba(255, 255, 255, 0.86);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: var(--shadow-card);
  color: var(--color-ink);
  font-size: 0.88rem;
  font-weight: 750;
  backdrop-filter: blur(16px);
}

.section {
  padding: clamp(78px, 10vw, 126px) 0;
}

.section-heading {
  max-width: 700px;
  margin-bottom: 48px;
}

.section-kicker {
  margin-bottom: 14px;
  color: var(--color-primary-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section-heading h2 {
  margin-bottom: 18px;
}

.section-heading p {
  color: var(--color-muted);
  font-size: 1.08rem;
}

.steps-grid,
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.step-card,
.info-card,
.directory-card,
.support-card {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-medium);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-card);
}

.step-card {
  min-height: 288px;
  padding: 32px;
}

.step-number {
  display: block;
  margin-bottom: 50px;
  color: rgba(117, 89, 242, 0.26);
  font-size: 3.4rem;
  font-weight: 820;
  letter-spacing: -0.08em;
  line-height: 1;
}

.step-card h3,
.info-card h3 {
  margin-bottom: 12px;
}

.step-card p,
.info-card p,
.directory-card p,
.support-card p {
  color: var(--color-muted);
}

.privacy-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.48fr);
  align-items: center;
  gap: 64px;
  padding: clamp(38px, 7vw, 74px);
  overflow: hidden;
  border-radius: var(--radius-large);
  background:
    radial-gradient(circle at 95% 5%, rgba(255, 129, 45, 0.35), transparent 16rem),
    radial-gradient(circle at 72% 90%, rgba(247, 64, 167, 0.22), transparent 18rem),
    linear-gradient(135deg, #10285f, #4f35c8 55%, #8c3bc6);
  box-shadow: var(--shadow-soft);
  color: #fff;
}

.privacy-panel h2 {
  margin-bottom: 20px;
}

.privacy-panel p {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.06rem;
}

.privacy-panel .button {
  border-color: rgba(255, 255, 255, 0.38);
  background: #fff;
  color: #30255f;
}

.privacy-fact {
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-medium);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(14px);
}

.privacy-fact strong {
  display: block;
  margin-bottom: 6px;
  font-size: 2.8rem;
  letter-spacing: -0.06em;
  line-height: 1;
}

.privacy-fact span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
}

.launch-panel {
  padding: clamp(42px, 7vw, 76px);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-large);
  background: #fff;
  box-shadow: var(--shadow-card);
  text-align: center;
}

.launch-panel h2 {
  margin-bottom: 16px;
}

.launch-panel p {
  max-width: 620px;
  margin: 0 auto 28px;
  color: var(--color-muted);
}

.site-footer {
  padding: 34px 0 42px;
  border-top: 1px solid var(--color-border);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-copy {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.92rem;
}

.footer-copy strong {
  color: var(--color-ink);
}

.page-hero {
  padding: clamp(72px, 9vw, 112px) 0 54px;
  text-align: center;
}

.page-hero h1 {
  margin-bottom: 20px;
}

.page-hero > p,
.page-hero .container > p {
  max-width: 680px;
  margin-inline: auto;
  color: var(--color-muted);
  font-size: 1.1rem;
}

.directory-list {
  display: grid;
  gap: 18px;
  max-width: 820px;
  margin: 0 auto clamp(80px, 12vw, 140px);
}

.directory-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 28px 30px;
  color: var(--color-ink);
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.directory-card:hover {
  transform: translateY(-3px);
  border-color: rgba(117, 89, 242, 0.35);
  box-shadow: var(--shadow-soft);
  color: var(--color-ink);
}

.directory-card h2 {
  margin-bottom: 8px;
  font-size: 1.3rem;
}

.directory-card p {
  margin: 0;
}

.directory-arrow {
  color: var(--color-primary);
  font-size: 1.7rem;
}

.app-detail-hero .hero-grid {
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.75fr);
}

.app-detail-hero .app-visual {
  min-height: 430px;
}

.info-card {
  padding: 30px;
}

.info-card a {
  font-weight: 750;
}

.support-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.52fr);
  gap: 22px;
  padding-bottom: clamp(80px, 11vw, 132px);
}

.support-card {
  padding: clamp(28px, 5vw, 44px);
}

.support-card h2 {
  margin-bottom: 18px;
  font-size: 1.7rem;
}

.support-email {
  display: inline-block;
  margin-top: 8px;
  font-size: clamp(1.15rem, 3vw, 1.6rem);
  font-weight: 800;
  word-break: break-word;
}

.plain-list {
  padding-left: 1.2rem;
  color: var(--color-muted);
}

.policy-links {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.policy-links a {
  padding: 14px 16px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-small);
  background: var(--color-bg);
  font-weight: 700;
  text-decoration: none;
}

.legal-main {
  padding: clamp(64px, 9vw, 104px) 0 clamp(86px, 12vw, 150px);
  padding-right: max(24px, env(safe-area-inset-right));
  padding-left: max(24px, env(safe-area-inset-left));
}

.legal-header {
  width: 100%;
  max-width: var(--reading-width);
  margin: 0 auto 48px;
  padding-bottom: 38px;
  border-bottom: 1px solid var(--color-border);
}

.legal-header h1 {
  margin-bottom: 18px;
  font-size: clamp(2.7rem, 6vw, 4.5rem);
}

.updated-label {
  display: inline-block;
  margin-bottom: 24px;
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--color-primary-soft);
  color: var(--color-primary-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.legal-intro {
  color: var(--color-muted);
  font-size: 1.05rem;
  line-height: 1.75;
  text-wrap: pretty;
}

.legal-toc {
  width: 100%;
  max-width: var(--reading-width);
  margin: 0 auto 54px;
  padding: 24px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-medium);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 10px 30px rgba(42, 32, 77, 0.05);
}

.legal-toc summary {
  cursor: pointer;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.legal-toc summary::marker {
  color: var(--color-primary);
}

.legal-toc[open] summary {
  margin-bottom: 16px;
}

.legal-toc ol {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.legal-toc a {
  display: block;
  padding: 8px 10px;
  border-radius: 10px;
  color: var(--color-muted);
  font-size: 0.92rem;
  font-weight: 650;
  line-height: 1.4;
  text-decoration: none;
}

.legal-toc a:hover {
  background: var(--color-primary-soft);
  color: var(--color-primary-dark);
}

.legal-article {
  width: 100%;
  max-width: var(--reading-width);
  margin-inline: auto;
}

.legal-article section {
  margin-top: 46px;
  scroll-margin-top: 130px;
}

.legal-article h2 {
  margin-bottom: 18px;
  font-size: clamp(1.45rem, 3vw, 1.85rem);
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.legal-article h3 {
  margin-top: 28px;
  margin-bottom: 8px;
  letter-spacing: -0.015em;
}

.legal-article p,
.legal-article li {
  color: #4f4b5c;
  font-size: 1.02rem;
  line-height: 1.78;
  text-wrap: pretty;
}

.legal-article ul {
  padding-left: 1.3rem;
}

.legal-article li + li {
  margin-top: 0.42rem;
}

.legal-article a {
  overflow-wrap: anywhere;
}

.legal-contact {
  padding: 26px;
  border: 1px solid rgba(117, 89, 242, 0.2);
  border-radius: var(--radius-medium);
  background: linear-gradient(145deg, #fff, #f3efff);
}

@media (max-width: 900px) {
  .showcase-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero-grid,
  .app-detail-hero .hero-grid,
  .privacy-panel,
  .support-layout {
    grid-template-columns: 1fr;
  }

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

  .app-visual {
    width: min(100%, 560px);
    min-height: 500px;
    margin-inline: auto;
  }

  .steps-grid,
  .card-grid {
    grid-template-columns: 1fr;
  }

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

  .step-number {
    margin-bottom: 34px;
  }

  .privacy-panel {
    gap: 34px;
  }
}

@media (max-width: 680px) {
  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .header-inner {
    align-items: flex-start;
    flex-direction: column;
    min-height: auto;
    padding: 16px 0 13px;
    gap: 12px;
  }

  .site-nav {
    width: 100%;
    justify-content: space-between;
    gap: 12px;
  }

  .site-nav a {
    font-size: 0.82rem;
  }

  .hero {
    padding-top: 60px;
  }

  .showcase-hero {
    padding-bottom: 32px;
  }

  .showcase-visual {
    width: 100%;
  }

  .showcase-actions {
    padding-top: 26px;
  }

  .showcase-actions .button-row,
  .showcase-actions .button {
    width: 100%;
  }

  .app-visual,
  .app-detail-hero .app-visual {
    min-height: 390px;
  }

  .visual-note {
    right: 4px;
  }

  .privacy-panel,
  .launch-panel {
    border-radius: 26px;
  }

  .footer-inner,
  .footer-nav {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-nav {
    gap: 12px;
  }

  .directory-card {
    padding: 23px;
  }

  .legal-main {
    padding-top: 48px;
    padding-right: max(20px, env(safe-area-inset-right));
    padding-bottom: 92px;
    padding-left: max(20px, env(safe-area-inset-left));
  }

  .legal-header {
    margin-bottom: 30px;
    padding-bottom: 28px;
  }

  .legal-header h1 {
    font-size: clamp(2.35rem, 12vw, 3.1rem);
  }

  .updated-label {
    margin-bottom: 18px;
  }

  .legal-toc {
    margin-bottom: 40px;
    padding: 18px;
  }

  .legal-toc ol {
    grid-template-columns: 1fr;
    gap: 3px;
  }

  .legal-toc a {
    padding: 9px 8px;
  }

  .legal-article section {
    margin-top: 38px;
  }

  .legal-contact {
    padding: 22px;
  }
}

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

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