:root {
  --ink: #14233a;
  --ink-soft: #536173;
  --paper: #fff8e8;
  --white: #ffffff;
  --yellow: #ffd34e;
  --yellow-dark: #f4b927;
  --orange: #f47c35;
  --orange-text: #9a4516;
  --blue: #397fb4;
  --blue-dark: #183b5c;
  --green: #86b84f;
  --line: rgba(20, 35, 58, 0.14);
  --shadow-sm: 0 12px 30px rgba(20, 35, 58, 0.09);
  --shadow-lg: 0 28px 70px rgba(20, 35, 58, 0.18);
  --radius-sm: 14px;
  --radius-md: 24px;
  --radius-lg: 38px;
  --shell: 1180px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans", "Noto Sans KR", "Noto Sans JP", "Noto Sans SC", "Noto Sans TC", sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

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

button {
  color: inherit;
  font: inherit;
}

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

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

h1 {
  max-width: 760px;
  margin-bottom: 24px;
  font-size: clamp(3.35rem, 7vw, 6.35rem);
  font-weight: 850;
}

h2 {
  margin-bottom: 22px;
  font-size: clamp(2.25rem, 4.4vw, 4.25rem);
  font-weight: 820;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.35rem;
}

:focus-visible {
  outline: 3px solid var(--orange-text);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  border-radius: 10px;
  color: var(--white);
  background: var(--blue-dark);
  transform: translateY(-160%);
}

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

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

.section {
  position: relative;
  padding-block: clamp(84px, 10vw, 144px);
  overflow: clip;
}

.section--white {
  background: var(--white);
}

.section--blue {
  color: var(--white);
  background: var(--blue-dark);
}

.eyebrow {
  margin-bottom: 18px;
  color: var(--orange-text);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.section-heading {
  max-width: 760px;
  margin-bottom: clamp(44px, 7vw, 76px);
}

.section-heading--light .eyebrow {
  color: var(--yellow);
}

.site-header {
  position: absolute;
  z-index: 100;
  top: 0;
  right: 0;
  left: 0;
  padding-block: 20px;
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-size: 1.04rem;
  font-weight: 820;
  letter-spacing: -0.025em;
}

.brand__icon {
  width: 44px;
  height: 44px;
  border: 2px solid rgba(20, 35, 58, 0.08);
  border-radius: 13px;
  object-fit: cover;
  box-shadow: 0 6px 18px rgba(20, 35, 58, 0.1);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-left: auto;
}

.site-nav a,
.site-footer__links a {
  color: var(--ink-soft);
  font-size: 0.92rem;
  font-weight: 700;
}

.site-nav a:hover,
.site-footer__links a:hover {
  color: var(--orange);
}

.language-selector {
  position: relative;
}

.language-selector__button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.68);
  cursor: pointer;
  backdrop-filter: blur(12px);
}

.language-selector__current {
  min-width: 58px;
  font-size: 0.88rem;
  font-weight: 750;
  text-align: left;
}

.language-selector__dropdown {
  position: absolute;
  z-index: 110;
  top: calc(100% + 10px);
  right: 0;
  display: none;
  width: 176px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.language-selector.open .language-selector__dropdown {
  display: grid;
}

.language-selector__option {
  min-height: 42px;
  padding: 8px 10px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
  text-align: left;
}

.language-selector__option:hover,
.language-selector__option.active {
  background: var(--paper);
}

.language-selector__option.active {
  color: #9a4b16;
  font-weight: 780;
}

.hero {
  min-height: min(900px, 100svh);
  padding-top: clamp(150px, 15vw, 190px);
  padding-bottom: clamp(92px, 10vw, 130px);
}

.hero::before {
  position: absolute;
  width: 420px;
  height: 420px;
  border: 78px solid rgba(255, 211, 78, 0.24);
  border-radius: 50%;
  content: "";
  top: -210px;
  left: -170px;
}

.hero__grid {
  display: grid;
  min-height: 620px;
  align-items: center;
  grid-template-columns: minmax(0, 1.05fr) minmax(390px, 0.95fr);
  gap: clamp(40px, 7vw, 100px);
}

.hero__copy {
  position: relative;
  z-index: 2;
}

.hero__description {
  max-width: 610px;
  margin-bottom: 30px;
  color: var(--ink-soft);
  font-size: clamp(1.08rem, 1.8vw, 1.25rem);
}

.store-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.store-link {
  display: inline-flex;
  min-height: 56px;
  align-items: center;
  transition: transform 160ms ease, filter 160ms ease;
}

.store-link:hover {
  filter: brightness(1.07);
  transform: translateY(-3px);
}

.store-link img {
  width: auto;
  height: 52px;
}

.platform-note {
  margin: 15px 0 0;
  color: var(--ink-soft);
  font-size: 0.84rem;
}

.hero__visual {
  position: relative;
  min-height: 620px;
}

.hero__visual::before {
  position: absolute;
  width: 470px;
  height: 470px;
  border-radius: 50%;
  background: var(--yellow);
  content: "";
  top: 54px;
  right: -28px;
}

.sun-orbit {
  position: absolute;
  z-index: 0;
  border-radius: 50%;
  background: var(--orange);
  opacity: 0.78;
}

.sun-orbit--one {
  width: 26px;
  height: 26px;
  top: 24px;
  right: 54px;
}

.sun-orbit--two {
  width: 16px;
  height: 16px;
  right: 10px;
  bottom: 82px;
  background: var(--blue);
}

.hero__mascot-card {
  position: absolute;
  z-index: 3;
  right: -5px;
  bottom: 18px;
  width: 142px;
  height: 142px;
  padding: 8px;
  border: 5px solid var(--white);
  border-radius: 36px;
  background: var(--white);
  box-shadow: var(--shadow-lg);
  transform: rotate(7deg);
}

.hero__mascot-card img {
  width: 100%;
  height: 100%;
  border-radius: 24px;
  object-fit: cover;
}

.phone {
  object-fit: contain;
  filter: drop-shadow(0 24px 30px rgba(20, 35, 58, 0.22));
}

.phone--hero {
  position: absolute;
  z-index: 2;
  top: 0;
  left: 50%;
  width: min(82%, 426px);
  height: auto;
  transform: translateX(-50%) rotate(3deg);
}

.question-note {
  position: absolute;
  z-index: 4;
  max-width: 200px;
  padding: 13px 16px;
  border: 2px solid rgba(20, 35, 58, 0.08);
  border-radius: 14px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  font-size: 0.9rem;
  font-weight: 760;
  line-height: 1.35;
}

.question-note--top {
  top: 116px;
  left: -20px;
  transform: rotate(-5deg);
}

.question-note--bottom {
  right: -20px;
  bottom: 154px;
  transform: rotate(4deg);
}

.steps {
  display: grid;
  border-top: 1px solid var(--line);
  grid-template-columns: repeat(3, 1fr);
}

.step {
  position: relative;
  min-height: 260px;
  padding: 38px clamp(24px, 3vw, 44px) 24px 0;
}

.step:not(:first-child) {
  padding-left: clamp(24px, 3vw, 44px);
  border-left: 1px solid var(--line);
}

.step__number {
  display: block;
  margin-bottom: 52px;
  color: var(--orange-text);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.14em;
}

.step p {
  max-width: 320px;
  margin-bottom: 0;
  color: var(--ink-soft);
}

.feature-layout {
  display: grid;
  align-items: center;
  grid-template-columns: minmax(420px, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(64px, 9vw, 120px);
}

.feature-phones {
  position: relative;
  min-height: 710px;
}

.feature-phones::before {
  position: absolute;
  width: 430px;
  height: 430px;
  border-radius: 50%;
  background: var(--green);
  content: "";
  top: 120px;
  left: -70px;
  opacity: 0.8;
}

.feature-phones .phone {
  position: absolute;
  width: min(66%, 355px);
  height: auto;
}

.phone--back {
  top: 0;
  left: 0;
  transform: rotate(-7deg);
}

.phone--front {
  z-index: 2;
  right: 0;
  bottom: 0;
  transform: rotate(6deg);
}

.feature-copy__lead {
  max-width: 600px;
  margin-bottom: 38px;
  color: var(--ink-soft);
  font-size: 1.12rem;
}

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

.feature-list article {
  display: grid;
  padding-block: 24px;
  border-bottom: 1px solid var(--line);
  grid-template-columns: 42px 1fr;
  gap: 12px;
}

.feature-list h3 {
  margin-bottom: 7px;
  font-size: 1.1rem;
}

.feature-list p {
  margin-bottom: 0;
  color: var(--ink-soft);
}

.feature-list__mark {
  color: var(--orange);
  font-size: 1.35rem;
  font-weight: 800;
}

.screen-gallery {
  display: grid;
  align-items: end;
  gap: clamp(18px, 3vw, 34px);
  grid-template-columns: repeat(4, 1fr);
}

.screen-gallery figure {
  margin: 0;
}

.screen-gallery figure:nth-child(even) {
  transform: translateY(44px);
}

.screen-gallery img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 22px 24px rgba(0, 0, 0, 0.28));
}

.screen-gallery figcaption {
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.88rem;
  font-weight: 700;
  text-align: center;
}

.privacy-callout {
  display: grid;
  align-items: end;
  gap: clamp(40px, 8vw, 110px);
  grid-template-columns: 1.12fr 0.88fr;
}

.privacy-callout h2 {
  max-width: 700px;
  margin-bottom: 0;
}

.privacy-callout > div:last-child p {
  color: var(--ink-soft);
  font-size: 1.08rem;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-bottom: 2px solid var(--orange);
  color: #9a4b16;
  font-weight: 800;
}

.text-link:hover {
  color: var(--orange);
}

.faq-layout {
  display: grid;
  gap: clamp(48px, 8vw, 110px);
  grid-template-columns: 0.78fr 1.22fr;
}

.faq-layout .section-heading {
  margin-bottom: 0;
}

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

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

.faq-list summary {
  position: relative;
  padding: 25px 50px 25px 0;
  cursor: pointer;
  font-size: 1.08rem;
  font-weight: 800;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  position: absolute;
  top: 25px;
  right: 4px;
  color: var(--orange);
  content: "+";
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1;
}

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

.faq-list details p {
  max-width: 650px;
  margin-bottom: 26px;
  color: var(--ink-soft);
}

.final-cta {
  color: var(--white);
  background: var(--blue);
}

.final-cta__inner {
  display: grid;
  align-items: center;
  grid-template-columns: 128px 1fr auto;
  gap: clamp(26px, 4vw, 52px);
}

.final-cta__inner > img {
  width: 112px;
  height: 112px;
  border: 5px solid rgba(255, 255, 255, 0.88);
  border-radius: 30px;
  object-fit: cover;
  transform: rotate(-4deg);
}

.final-cta .eyebrow {
  color: var(--yellow);
}

.final-cta h2 {
  max-width: 720px;
  margin-bottom: 12px;
  font-size: clamp(2rem, 4vw, 3.7rem);
}

.final-cta p:last-child {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.82);
}

.store-links--stacked {
  display: grid;
}

.site-footer {
  padding-block: 50px;
  background: var(--white);
}

.site-footer__inner {
  display: grid;
  align-items: end;
  grid-template-columns: 1fr auto;
  gap: 22px 40px;
}

.brand--footer {
  margin-bottom: 12px;
}

.site-footer__inner > div > p,
.site-footer__copyright {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 0.86rem;
}

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px 24px;
}

.site-footer__copyright {
  grid-column: 2;
  text-align: right;
}

.fade-in {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 520ms ease-out, transform 520ms ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Legal and support pages */
.page-shell {
  min-height: 100vh;
  padding: 122px 0 90px;
  background: var(--paper);
}

.page-topbar {
  position: absolute;
  top: 24px;
  right: 0;
  left: 0;
}

.page-topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.page-layout {
  display: grid;
  align-items: start;
  grid-template-columns: minmax(230px, 0.34fr) minmax(0, 0.66fr);
  gap: clamp(42px, 8vw, 110px);
}

.page-aside {
  position: sticky;
  top: 36px;
}

.page-aside h1 {
  margin-bottom: 18px;
  font-size: clamp(2.65rem, 5vw, 4.6rem);
}

.page-aside__intro,
.page-aside__updated {
  color: var(--ink-soft);
}

.page-aside__updated {
  margin-bottom: 22px;
  font-size: 0.85rem;
  font-weight: 700;
}

.page-aside__links {
  display: grid;
  gap: 8px;
}

.page-aside__links a {
  color: #8e461a;
  font-size: 0.92rem;
  font-weight: 750;
}

.page-content {
  padding: clamp(30px, 5vw, 58px);
  border: 1px solid rgba(20, 35, 58, 0.08);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.page-section {
  scroll-margin-top: 30px;
}

.page-section + .page-section {
  padding-top: 34px;
  margin-top: 34px;
  border-top: 1px solid var(--line);
}

.page-section h2 {
  margin-bottom: 14px;
  font-size: clamp(1.5rem, 3vw, 2rem);
  letter-spacing: -0.025em;
}

.page-section h3 {
  margin-top: 24px;
  margin-bottom: 8px;
  font-size: 1.05rem;
}

.page-section p,
.page-section li {
  color: var(--ink-soft);
}

.page-section p:last-child {
  margin-bottom: 0;
}

.page-section ul,
.page-section ol {
  padding-left: 1.35rem;
}

.page-section a {
  color: #8e461a;
  font-weight: 750;
  text-decoration: underline;
  text-decoration-color: rgba(142, 70, 26, 0.35);
  text-underline-offset: 3px;
}

.notice {
  padding: 20px 22px;
  border-left: 4px solid var(--orange);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: var(--paper);
}

.support-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
}

.support-card + .support-card {
  margin-top: 16px;
}

.support-card h2 {
  font-size: 1.3rem;
}

.support-card p:last-child,
.support-card ol:last-child {
  margin-bottom: 0;
}

.contact-card {
  color: var(--white);
  background: var(--blue-dark);
}

.contact-card h2,
.contact-card p {
  color: inherit;
}

.contact-card a {
  color: var(--yellow);
}

@media (max-width: 980px) {
  .site-nav {
    display: none;
  }

  .hero {
    min-height: auto;
  }

  .hero__grid,
  .feature-layout {
    grid-template-columns: 1fr;
  }

  .hero__copy {
    max-width: 750px;
  }

  .hero__visual {
    width: min(100%, 590px);
    margin-inline: auto;
  }

  .feature-layout {
    gap: 64px;
  }

  .feature-phones {
    width: min(100%, 580px);
    margin-inline: auto;
    order: 2;
  }

  .feature-copy {
    order: 1;
  }

  .screen-gallery {
    overflow-x: auto;
    padding: 0 4px 38px;
    margin-right: -20px;
    grid-template-columns: repeat(4, minmax(220px, 1fr));
    scrollbar-color: var(--yellow) rgba(255, 255, 255, 0.15);
  }

  .privacy-callout,
  .faq-layout {
    grid-template-columns: 1fr;
  }

  .final-cta__inner {
    grid-template-columns: 110px 1fr;
  }

  .store-links--stacked {
    display: flex;
    grid-column: 1 / -1;
  }

  .page-layout {
    grid-template-columns: 1fr;
  }

  .page-aside {
    position: static;
  }

  .page-aside__links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
  }
}

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

  .section {
    padding-block: 76px;
  }

  .site-header {
    padding-block: 14px;
  }

  .brand > span,
  .language-selector__current {
    display: none;
  }

  .language-selector__button {
    width: 44px;
    justify-content: center;
    padding: 8px;
  }

  .language-selector__button svg:last-child {
    display: none;
  }

  .hero {
    padding-top: 122px;
  }

  h1 {
    font-size: clamp(3rem, 16vw, 4.6rem);
  }

  h2 {
    font-size: clamp(2.1rem, 11vw, 3.1rem);
  }

  .store-links {
    align-items: flex-start;
  }

  .store-link img {
    height: 48px;
  }

  .hero__visual {
    min-height: 520px;
    margin-top: 22px;
  }

  .hero__visual::before {
    width: 350px;
    height: 350px;
    top: 80px;
    right: -70px;
  }

  .phone--hero {
    width: min(82%, 330px);
  }

  .hero__mascot-card {
    right: 4px;
    bottom: 0;
    width: 100px;
    height: 100px;
    border-radius: 26px;
  }

  .question-note {
    max-width: 150px;
    padding: 10px 12px;
    font-size: 0.75rem;
  }

  .question-note--top {
    top: 115px;
    left: 0;
  }

  .question-note--bottom {
    right: 0;
    bottom: 104px;
  }

  .steps {
    display: block;
  }

  .step {
    min-height: auto;
    padding: 28px 0;
    border-bottom: 1px solid var(--line);
  }

  .step:not(:first-child) {
    padding-left: 0;
    border-left: 0;
  }

  .step__number {
    margin-bottom: 22px;
  }

  .feature-phones {
    min-height: 530px;
  }

  .feature-phones::before {
    width: 330px;
    height: 330px;
    left: -80px;
  }

  .screen-gallery {
    grid-template-columns: repeat(4, minmax(190px, 72vw));
  }

  .screen-gallery figure:nth-child(even) {
    transform: none;
  }

  .final-cta__inner {
    grid-template-columns: 1fr;
  }

  .final-cta__inner > img {
    width: 92px;
    height: 92px;
  }

  .store-links--stacked {
    grid-column: auto;
  }

  .site-footer__inner {
    align-items: start;
    grid-template-columns: 1fr;
  }

  .site-footer__links {
    justify-content: flex-start;
  }

  .site-footer__copyright {
    grid-column: auto;
    text-align: left;
  }

  .page-shell {
    padding-top: 108px;
  }

  .page-content {
    padding: 26px 22px;
    border-radius: 24px;
  }

  .page-aside__links {
    display: none;
  }
}

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

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

  .fade-in {
    opacity: 1;
    transform: none;
  }

  .phone--hero,
  .phone--back,
  .phone--front,
  .hero__mascot-card,
  .question-note {
    transform: none;
  }
}
