:root {
  --bg: #fbfaf7;
  --surface: #ffffff;
  --surface-soft: #f4f2ff;
  --ink: #20233a;
  --muted: #666b7c;
  --line: #e7e4ee;
  --purple: #6757d9;
  --purple-dark: #5142bd;
  --blue: #2e77d0;
  --blue-soft: #eaf3ff;
  --shadow: 0 24px 70px rgba(51, 44, 105, 0.11);
  --radius-lg: 32px;
  --radius-md: 22px;
  --container: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Apple SD Gothic Neo",
    "Noto Sans KR", "Malgun Gothic", sans-serif;
  line-height: 1.7;
  word-break: keep-all;
  -webkit-font-smoothing: antialiased;
}

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

img {
  max-width: 100%;
}

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  color: #fff;
  background: var(--purple-dark);
  border-radius: 8px;
  transform: translateY(-180%);
}

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

:focus-visible {
  outline: 3px solid #236ec2;
  outline-offset: 3px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(231, 228, 238, 0.85);
  background: rgba(251, 250, 247, 0.94);
  backdrop-filter: blur(14px);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-weight: 760;
  letter-spacing: -0.02em;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(140deg, var(--purple), var(--blue));
  border-radius: 11px;
  font-family: Georgia, serif;
  font-size: 20px;
}

nav {
  display: flex;
  align-items: center;
  gap: 28px;
  color: #4d5264;
  font-size: 14px;
  font-weight: 650;
}

nav a,
.footer-meta a {
  transition: color 160ms ease;
}

nav a:hover,
.footer-meta a:hover {
  color: var(--purple-dark);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 100px 0 112px;
}

.hero::before {
  content: "";
  position: absolute;
  width: 540px;
  height: 540px;
  right: -240px;
  top: -240px;
  border-radius: 50%;
  background: rgba(103, 87, 217, 0.08);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(320px, 0.82fr);
  align-items: center;
  gap: clamp(48px, 9vw, 112px);
}

.eyebrow {
  margin: 0 0 20px;
  color: var(--purple-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 28px;
  font-size: clamp(42px, 5.3vw, 70px);
  line-height: 1.15;
  letter-spacing: -0.055em;
}

.hero-description {
  max-width: 600px;
  margin-bottom: 38px;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.8;
}

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

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 13px;
  font-weight: 750;
  line-height: 1.4;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

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

.button-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--purple), var(--blue));
  box-shadow: 0 12px 30px rgba(75, 73, 183, 0.22);
}

.button-secondary {
  color: var(--ink);
  background: var(--surface);
  border-color: var(--line);
}

.hero-visual {
  position: relative;
  min-height: 420px;
  display: grid;
  place-items: center;
}

.visual-card {
  position: relative;
  z-index: 2;
  width: min(310px, 80vw);
  min-height: 360px;
  padding: 42px 38px;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(155deg, #292052 0%, #5a52c5 54%, #2f84c9 100%);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 42px 42px 42px 10px;
  box-shadow: var(--shadow);
  transform: rotate(3deg);
}

.visual-card::after {
  content: "";
  position: absolute;
  width: 170px;
  height: 170px;
  right: -70px;
  bottom: -70px;
  border: 35px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
}

.visual-spark {
  display: block;
  margin-bottom: 76px;
  color: #dae5ff;
  font-size: 30px;
}

.visual-label {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 36px;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.visual-lines {
  width: 132px;
  margin-top: 50px;
}

.visual-lines span {
  height: 2px;
  display: block;
  margin-top: 10px;
  background: rgba(255, 255, 255, 0.5);
}

.visual-lines span:nth-child(2) {
  width: 76%;
}

.visual-lines span:nth-child(3) {
  width: 48%;
}

.orbit {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(103, 87, 217, 0.24);
}

.orbit-one {
  width: 390px;
  height: 390px;
}

.orbit-two {
  width: 470px;
  height: 470px;
  border-color: rgba(46, 119, 208, 0.14);
}

.apps-section {
  padding: 112px 0;
  background: var(--surface);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 42px;
}

.section-heading .eyebrow {
  margin-bottom: 8px;
}

.section-heading h2,
.principles-section h2,
.support-section h2 {
  margin-bottom: 0;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.25;
  letter-spacing: -0.045em;
}

.section-heading > p {
  max-width: 340px;
  margin-bottom: 5px;
  color: var(--muted);
}

.app-card {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(370px, 0.95fr);
  gap: 38px;
  padding: clamp(28px, 5vw, 56px);
  background: linear-gradient(135deg, #fbfaff, #f4f8ff);
  border: 1px solid #e7e5f5;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 55px rgba(56, 52, 113, 0.07);
}

.app-summary {
  display: grid;
  align-content: start;
  grid-template-columns: 132px 1fr;
  gap: 28px;
}

.app-icon {
  border-radius: 29px;
  box-shadow: 0 16px 35px rgba(21, 101, 192, 0.2);
}

.app-category {
  margin-bottom: 7px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
}

.app-summary h3 {
  margin-bottom: 16px;
  font-size: clamp(25px, 3.1vw, 34px);
  line-height: 1.3;
  letter-spacing: -0.04em;
}

.app-description {
  margin-bottom: 0;
  color: var(--muted);
}

.feature-panel {
  padding: 30px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.feature-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13px 16px;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
  font-size: 14px;
  font-weight: 700;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.feature-list span {
  flex: 0 0 22px;
  height: 22px;
  display: grid;
  place-items: center;
  color: var(--purple-dark);
  background: var(--surface-soft);
  border-radius: 50%;
  font-size: 12px;
}

.premium-note {
  margin-bottom: 24px;
  padding-top: 20px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 14px;
}

.play-button {
  width: 100%;
  color: #fff;
  background: #252638;
}

.play-button:hover {
  background: #151624;
}

.play-symbol {
  color: #8fc7ff;
  font-size: 14px;
}

.principles-section {
  padding: 112px 0;
}

.principles-section .eyebrow {
  margin-bottom: 8px;
}

.principle-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 42px;
}

.principle-grid article {
  min-height: 238px;
  padding: 30px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.principle-grid .number {
  color: var(--purple);
  font-family: Georgia, serif;
  font-size: 16px;
  font-style: italic;
}

.principle-grid h3 {
  margin: 38px 0 12px;
  font-size: 21px;
  letter-spacing: -0.03em;
}

.principle-grid p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 15px;
}

.support-section {
  padding: 0 0 112px;
}

.support-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  padding: clamp(32px, 6vw, 64px);
  color: #fff;
  background: linear-gradient(125deg, #332d6d, #5d55c8 58%, #377fc3);
  border-radius: var(--radius-lg);
}

.support-card .eyebrow {
  margin-bottom: 8px;
  color: #c8d8ff;
}

.support-card p {
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.8);
}

.support-actions {
  min-width: 300px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.support-email {
  padding: 12px 18px;
  color: var(--ink);
  background: #fff;
  border-radius: 12px;
  font-weight: 800;
}

.text-link {
  color: #fff;
  font-size: 14px;
  font-weight: 750;
}

.site-footer {
  padding: 52px 0;
  color: #d7d7df;
  background: #20212e;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 40px;
}

.footer-inner strong {
  color: #fff;
}

.footer-inner p {
  margin: 7px 0 0;
  color: #a9abb6;
  font-size: 14px;
}

.footer-meta {
  display: grid;
  justify-items: end;
  gap: 5px;
  font-size: 13px;
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    position: relative;
    z-index: 2;
  }

  .hero-visual {
    min-height: 360px;
  }

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

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

  .principle-grid article {
    min-height: 0;
  }

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

  .support-card {
    align-items: flex-start;
    flex-direction: column;
  }
}

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

  .header-inner {
    min-height: 66px;
  }

  nav a:not(:last-child) {
    display: none;
  }

  nav {
    gap: 0;
    font-size: 13px;
  }

  .hero {
    padding: 70px 0 76px;
  }

  h1 {
    font-size: clamp(38px, 12vw, 54px);
  }

  .hero-visual {
    min-height: 330px;
  }

  .visual-card {
    width: 255px;
    min-height: 305px;
    padding: 34px 30px;
  }

  .visual-spark {
    margin-bottom: 60px;
  }

  .visual-label {
    font-size: 31px;
  }

  .orbit-one {
    width: 310px;
    height: 310px;
  }

  .orbit-two {
    width: 360px;
    height: 360px;
  }

  .apps-section,
  .principles-section {
    padding: 78px 0;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .app-summary {
    grid-template-columns: 86px 1fr;
    gap: 18px;
  }

  .app-icon {
    width: 86px;
    height: 86px;
    border-radius: 21px;
  }

  .app-summary h3 {
    font-size: 24px;
  }

  .app-description {
    grid-column: 1 / -1;
  }

  .feature-panel {
    padding: 22px;
  }

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

  .support-section {
    padding-bottom: 78px;
  }

  .support-actions {
    min-width: 0;
    width: 100%;
  }

  .support-email {
    width: 100%;
    text-align: center;
  }

  .footer-inner {
    flex-direction: column;
  }

  .footer-meta {
    justify-items: start;
  }
}

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

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