:root {
  --bg: #f0f0f5;
  --surface: rgba(255, 255, 255, 0.92);
  --surface-strong: #ffffff;
  --surface-soft: rgba(255, 255, 255, 0.78);
  --text: #1f1d1a;
  --text-secondary: #5f5a54;
  --primary: #ff6b35;
  --primary-dark: #e55a2b;
  --accent: #5856d6;
  --accent-soft: rgba(88, 86, 214, 0.08);
  --border: rgba(215, 209, 202, 0.95);
  --shadow: 0 12px 32px rgba(43, 35, 24, 0.07);
  --radius-xl: 24px;
  --radius-lg: 18px;
  --radius-md: 14px;
  --content: 1080px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: linear-gradient(135deg, #ffffff 0%, #f0f0f5 100%);
}

a {
  color: inherit;
  text-decoration: none;
}

.bg-orb {
  position: fixed;
  filter: blur(2px);
  opacity: 0.12;
  pointer-events: none;
  z-index: 0;
  --twist-rotate: 0deg;
  animation: twistFloat 10s ease-in-out infinite;
}

.orb-1 {
  width: 220px;
  height: 220px;
  top: -40px;
  left: 55%;
  border-radius: 110px;
  background: #f472b6;
}

.orb-2 {
  width: 160px;
  height: 160px;
  top: 20%;
  left: -50px;
  border-radius: 80px;
  background: #a78bfa;
  animation-delay: -2s;
}

.orb-3 {
  width: 100px;
  height: 100px;
  top: 35%;
  right: 16%;
  border-radius: 24px;
  --twist-rotate: 45deg;
  background: #60a5fa;
  animation-delay: -4s;
}

.site-header,
.site-footer,
.page-shell {
  position: relative;
  z-index: 1;
}

.site-header,
.site-footer {
  width: min(calc(100% - 32px), var(--content));
  margin: 0 auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 0 10px;
  border-bottom: 1px solid rgba(215, 209, 202, 0.75);
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 88px;
  padding: 9px 14px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid rgba(255, 107, 53, 0.25);
  color: var(--text);
  font-weight: 800;
  letter-spacing: 0.04em;
  box-shadow: 0 4px 14px rgba(43, 35, 24, 0.05);
  text-transform: uppercase;
}

.brand-logo {
  width: 28px;
  height: 28px;
  object-fit: contain;
  display: block;
}

.brand-subtitle {
  margin: 8px 0 0;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.top-nav,
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.top-nav a,
.footer-nav a {
  padding: 8px 0;
  border-radius: 0;
  background: transparent;
  border: 0;
  color: var(--text-secondary);
  transition: color 180ms ease, border-color 180ms ease;
  border-bottom: 1px solid transparent;
}

.top-nav a:hover,
.footer-nav a:hover,
.top-nav a.is-active,
.footer-nav a.is-active {
  color: var(--text);
  border-color: rgba(255, 107, 53, 0.4);
  box-shadow: none;
}

.page-shell {
  width: min(calc(100% - 32px), var(--content));
  margin: 0 auto;
  padding: 18px 0 48px;
}

.simple-home {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  width: min(calc(100% - 32px), 760px);
  margin: 0 auto;
  padding: 32px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.simple-card {
  width: 100%;
  max-width: 520px;
  padding: 34px 28px;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.58), rgba(255, 255, 255, 0.34));
  box-shadow: 0 18px 50px rgba(31, 29, 26, 0.1);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.simple-logo {
  width: 112px;
  height: 112px;
  object-fit: contain;
  display: block;
  margin-bottom: 14px;
}

.simple-title {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.5rem, 6vw, 4rem);
  line-height: 1;
  letter-spacing: -0.03em;
}

.simple-copy {
  margin: 14px 0 0;
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.7;
}

.simple-button {
  margin-top: 24px;
  min-width: 220px;
}

.simple-footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.simple-footer-nav a {
  color: var(--text-secondary);
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: color 180ms ease, border-color 180ms ease;
}

.simple-footer-nav a:hover {
  color: var(--text);
  border-color: rgba(255, 107, 53, 0.4);
}

.hero-card,
.content-card,
.doc-card,
.info-strip,
.toc-card,
.feature-card,
.phone-card {
  border: 1px solid rgba(215, 209, 202, 0.78);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(255, 255, 255, 0.92));
  box-shadow: var(--shadow);
}

.hero-card,
.content-card {
  border-radius: var(--radius-xl);
  padding: 32px;
}

.hero-card {
  padding: 36px 34px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.82));
}

.landing-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: 28px;
  align-items: center;
  overflow: hidden;
}

.landing-copy {
  min-width: 0;
}

.hero-note {
  margin: 14px 0 0;
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.6;
}

.eyebrow,
.section-kicker,
.meta-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 10px;
  background: rgba(255, 107, 53, 0.08);
  color: var(--primary);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero-card h1,
.section-heading h2,
.content-card h1,
.info-strip h2 {
  margin: 16px 0 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.9rem, 3.6vw, 2.9rem);
  line-height: 1.12;
  letter-spacing: -0.01em;
}

.hero-copy,
.section-heading p,
.content-lead,
.info-strip p {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.75;
  max-width: 64ch;
}

.hero-actions,
.doc-actions,
.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 12px;
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
}

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

.btn-primary {
  color: #fff;
  background: var(--primary);
  box-shadow: 0 10px 24px rgba(255, 107, 53, 0.18);
}

.btn-secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--border);
}

.cards-section {
  margin-top: 36px;
}

.section-heading {
  margin-bottom: 20px;
  max-width: 58ch;
}

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

.doc-card,
.toc-card {
  display: block;
  border-radius: var(--radius-lg);
  padding: 24px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.feature-card {
  border-radius: var(--radius-lg);
  padding: 22px;
}

.feature-card h3 {
  margin: 14px 0 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.28rem;
  line-height: 1.25;
}

.feature-card p {
  margin: 0;
  color: var(--text-secondary);
  line-height: 1.72;
}

.feature-image {
  width: 100%;
  height: 184px;
  object-fit: cover;
  display: block;
  border-radius: 14px;
  border: 1px solid rgba(215, 209, 202, 0.7);
  margin-bottom: 14px;
}

.doc-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 32px;
  padding: 0 10px;
  border-radius: 10px;
  background: rgba(255, 107, 53, 0.08);
  color: var(--primary);
  font-weight: 700;
  font-size: 0.9rem;
}

.doc-card h3 {
  margin: 16px 0 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.32rem;
  line-height: 1.25;
}

.doc-card p,
.toc-card p,
.content-card p,
.content-card li {
  color: var(--text-secondary);
  line-height: 1.72;
}

.doc-link {
  display: inline-block;
  margin-top: 18px;
  color: var(--text);
  font-weight: 700;
}

.info-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 32px;
  border-radius: var(--radius-xl);
  padding: 28px 30px;
}

.strip-list {
  margin: 0;
  padding-left: 20px;
  min-width: 240px;
}

.strip-list li {
  margin: 8px 0;
  color: var(--text-secondary);
  line-height: 1.6;
}

.legal-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}

.toc-card {
  position: sticky;
  top: 16px;
  background: rgba(255, 255, 255, 0.86);
}

.toc-card h2 {
  margin: 14px 0 10px;
  font-size: 1.2rem;
}

.toc-list,
.link-list,
.checklist,
.content-card ul,
.content-card ol {
  padding-left: 20px;
}

.toc-list li,
.link-list li,
.checklist li,
.content-card li {
  margin: 10px 0;
}

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

.meta-row {
  margin: 6px 0 22px;
}

.meta-pill.is-muted {
  background: var(--accent-soft);
  color: var(--accent);
}

.content-card h2 {
  margin-top: 32px;
  margin-bottom: 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.48rem;
  line-height: 1.2;
}

.content-card h3 {
  margin-top: 22px;
  margin-bottom: 10px;
  font-size: 1.08rem;
}

.callout {
  margin-top: 24px;
  padding: 18px 20px;
  border-radius: var(--radius-md);
  background: #fcf7f3;
  border: 1px solid rgba(255, 107, 53, 0.16);
}

.site-footer {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 0 34px;
  color: var(--text-secondary);
}

.site-footer p {
  margin: 8px 0 0;
  line-height: 1.6;
}

.phone-card {
  border-radius: 22px;
  padding: 18px;
  align-self: stretch;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.88));
}

.phone-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.phone-badge,
.phone-status {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 10px;
  font-size: 0.86rem;
  font-weight: 700;
}

.phone-badge {
  background: rgba(255, 107, 53, 0.1);
  color: var(--primary);
}

.phone-status {
  background: rgba(88, 86, 214, 0.08);
  color: var(--accent);
}

.phone-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.mini-game {
  position: relative;
  min-height: 160px;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(215, 209, 202, 0.7);
  background: #fff;
}

.mini-game-image {
  width: 100%;
  height: 100%;
  min-height: 160px;
  object-fit: cover;
  display: block;
}

.mini-game-copy {
  position: absolute;
  inset: auto 12px 12px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 13px;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(28, 28, 30, 0.18), rgba(28, 28, 30, 0.76));
  color: #fff;
}

.mini-game strong {
  font-size: 1rem;
  line-height: 1.3;
}

.mini-game span {
  font-size: 0.88rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.88);
}

.compact-actions {
  margin-top: 0;
}

@keyframes twistFloat {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1) rotate(var(--twist-rotate));
  }
  50% {
    transform: translate3d(10px, -14px, 0) scale(1.04) rotate(var(--twist-rotate));
  }
}

code {
  padding: 2px 6px;
  border-radius: 6px;
  background: rgba(88, 86, 214, 0.06);
  color: #4f4cbf;
  font-family: Consolas, "Courier New", monospace;
  font-size: 0.95em;
}

@media (max-width: 980px) {
  .legal-layout,
  .card-grid,
  .feature-grid,
  .landing-hero {
    grid-template-columns: 1fr;
  }

  .toc-card {
    position: static;
  }

  .info-strip,
  .site-header,
  .site-footer {
    flex-direction: column;
    align-items: stretch;
  }
}

@media (max-width: 640px) {
  .site-header,
  .site-footer,
  .page-shell {
    width: min(calc(100% - 20px), var(--content));
  }

  .hero-card,
  .content-card,
  .doc-card,
  .toc-card,
  .info-strip,
  .feature-card,
  .phone-card {
    padding: 20px;
    border-radius: 18px;
  }

  .hero-card h1,
  .content-card h1 {
    font-size: 1.9rem;
  }

  .top-nav,
  .footer-nav,
  .hero-actions,
  .doc-actions,
  .meta-row {
    gap: 8px;
  }

  .btn {
    width: 100%;
  }

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

  .simple-home {
    width: min(calc(100% - 20px), 760px);
    padding: 20px 0;
  }

  .simple-card {
    padding: 28px 20px;
    border-radius: 22px;
  }

  .simple-logo {
    width: 92px;
    height: 92px;
  }
}
