:root {
  --black: #070707;
  --black-soft: #10100f;
  --ink: #171716;
  --muted: #696966;
  --line: #dfdfdc;
  --paper: #f5f5f2;
  --white: #ffffff;
  --gold: #dba710;
  --gold-bright: #f0bb17;
  --gold-pale: #fff6d8;
  --radius-lg: 38px;
  --radius-md: 24px;
  --shadow: 0 30px 80px rgba(8, 8, 7, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--paper);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family:
    -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue",
    Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

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

a:hover {
  text-decoration-thickness: 1px;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--gold-bright);
  outline-offset: 4px;
  border-radius: 5px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--white);
  color: var(--black);
  font-weight: 700;
  transform: translateY(-160%);
  transition: transform 160ms ease;
}

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

.site-page {
  min-height: 100vh;
  overflow: hidden;
}

.hero-wrap {
  position: relative;
  overflow: hidden;
  min-height: 760px;
  color: var(--white);
  background:
    radial-gradient(circle at 78% 27%, rgba(219, 167, 16, 0.18), transparent 28%),
    radial-gradient(circle at 20% 110%, rgba(219, 167, 16, 0.08), transparent 34%),
    var(--black);
}

.hero-wrap::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  opacity: 0.2;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, black, transparent 76%);
}

.site-header {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1180px, calc(100% - 48px));
  min-height: 92px;
  margin: 0 auto;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.site-header-light {
  border-bottom-color: var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 1.2rem;
  font-weight: 760;
  letter-spacing: -0.035em;
}

.brand img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

.brand strong {
  color: var(--gold-bright);
}

.site-header nav {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 0.92rem;
  font-weight: 650;
}

.site-header nav > a:not(.header-cta):hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}

.header-cta {
  padding: 10px 18px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  transition:
    background 160ms ease,
    color 160ms ease,
    border-color 160ms ease;
}

.site-header-light .header-cta {
  border-color: var(--ink);
}

.header-cta:hover {
  border-color: var(--white);
  background: var(--white);
  color: var(--black);
}

.site-header-light .header-cta:hover {
  border-color: var(--black);
  background: var(--black);
  color: var(--white);
}

.hero {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(460px, 1.06fr);
  align-items: center;
  gap: 40px;
  width: min(1180px, calc(100% - 48px));
  min-height: 668px;
  margin: 0 auto;
  padding: 56px 0 78px;
}

.hero-copy {
  position: relative;
  z-index: 5;
  max-width: 610px;
}

.eyebrow {
  margin: 0 0 20px;
  color: var(--gold-bright);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  line-height: 1.3;
  text-transform: uppercase;
}

.eyebrow-dark {
  color: #9b7200;
}

.hero h1 {
  max-width: 690px;
  margin: 0;
  font-size: clamp(3.45rem, 6.15vw, 5.75rem);
  font-weight: 820;
  letter-spacing: -0.065em;
  line-height: 0.96;
}

.hero h1 span {
  color: var(--gold-bright);
}

.hero-intro {
  max-width: 590px;
  margin: 30px 0 26px;
  color: #cececa;
  font-size: clamp(1.05rem, 1.55vw, 1.24rem);
  line-height: 1.55;
}

.store-links {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 64px;
}

.store-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition:
    transform 160ms ease,
    filter 160ms ease;
}

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

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

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

.availability-note {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 16px 0 0;
  color: #aaa9a5;
  font-size: 0.86rem;
}

.availability-note span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #50d06a;
  box-shadow: 0 0 0 5px rgba(80, 208, 106, 0.12);
}

.app-preview {
  position: relative;
  min-height: 630px;
  isolation: isolate;
}

.app-preview::after {
  position: absolute;
  right: 5%;
  bottom: -5%;
  left: 5%;
  z-index: -1;
  height: 28%;
  border-radius: 50%;
  background: rgba(219, 167, 16, 0.2);
  filter: blur(70px);
  content: "";
}

.phone {
  position: absolute;
  top: 8px;
  left: 50%;
  width: 278px;
  height: 604px;
  margin: 0;
  overflow: hidden;
  border: 8px solid #212120;
  border-radius: 45px;
  background: #f5f5f7;
  box-shadow:
    0 38px 80px rgba(0, 0, 0, 0.48),
    inset 0 0 0 1px rgba(255, 255, 255, 0.15);
}

.phone img {
  width: 100%;
  height: auto;
}

.phone-dan {
  z-index: 3;
  transform: translateX(-50%);
}

.phone-kyu {
  z-index: 1;
  transform: translateX(-104%) translateY(28px) rotate(-6deg) scale(0.83);
  opacity: 0.78;
}

.phone-dictionary {
  z-index: 2;
  transform: translateX(4%) translateY(28px) rotate(6deg) scale(0.83);
  opacity: 0.84;
}

.essentials,
.download-panel,
.independence-note {
  width: min(1180px, calc(100% - 48px));
  margin-right: auto;
  margin-left: auto;
}

.essentials {
  padding: 112px 0 72px;
}

.section-heading {
  display: grid;
  grid-template-columns: 0.6fr 1.4fr;
  gap: 28px;
  align-items: end;
  margin-bottom: 44px;
}

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

.section-heading h2 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(2.2rem, 4.7vw, 4.15rem);
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 1.02;
}

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

.highlight-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 420px;
  padding: 32px;
  overflow: hidden;
  border-radius: 30px;
}

.highlight-card-progress {
  grid-column: span 7;
  color: var(--white);
  background:
    radial-gradient(circle at 92% 8%, rgba(219, 167, 16, 0.2), transparent 31%),
    var(--black-soft);
}

.highlight-card-progress::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  opacity: 0.18;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(135deg, black, transparent 72%);
}

.highlight-card-grades {
  grid-column: span 5;
  color: var(--black);
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 255, 255, 0.46), transparent 38%),
    var(--gold-bright);
}

.highlight-card-offline {
  display: grid;
  grid-column: span 12;
  grid-template-columns: minmax(0, 0.82fr) minmax(420px, 1.18fr);
  grid-template-areas:
    "meta visual"
    "copy visual";
  align-items: stretch;
  gap: 24px 52px;
  min-height: 280px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 24px 70px rgba(8, 8, 7, 0.07);
}

.highlight-meta {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: inherit;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1;
  text-transform: uppercase;
}

.highlight-card-progress .highlight-meta {
  color: #aaa9a5;
}

.highlight-card-offline .highlight-meta {
  grid-area: meta;
  color: var(--muted);
}

.highlight-number {
  color: var(--gold-bright);
  font-size: 0.92rem;
  letter-spacing: 0.04em;
}

.highlight-card-grades .highlight-number {
  color: var(--black);
}

.progress-visual,
.grade-visual {
  position: relative;
  z-index: 1;
  margin: 42px 0 34px;
}

.progress-visual {
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 21px;
  background: rgba(255, 255, 255, 0.055);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.progress-visual-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
  color: #aaa9a5;
  font-size: 0.73rem;
}

.progress-visual-heading strong {
  color: var(--white);
  font-size: 1rem;
  letter-spacing: -0.02em;
}

.belt-scale {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 5px;
}

.belt-scale span {
  height: 12px;
  border-radius: 999px;
}

.belt-white {
  background: #f7f6ef;
}

.belt-yellow {
  background: #f6d932;
}

.belt-orange {
  background: #e98c22;
}

.belt-green {
  background: #5c9e52;
}

.belt-blue {
  background: #3975b9;
}

.belt-brown {
  background: #83512f;
}

.belt-black {
  border: 1px solid #454543;
  background: #090909;
}

.progress-states {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.progress-states span {
  padding: 6px 10px;
  border-radius: 999px;
  color: #c9c8c3;
  background: rgba(255, 255, 255, 0.07);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.grade-visual {
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1;
  padding: 10px 0;
}

.grade-range {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 16px;
  align-items: center;
}

.grade-range span {
  display: flex;
  flex-direction: column;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.grade-range strong {
  font-size: clamp(2.9rem, 5.4vw, 4.8rem);
  font-weight: 850;
  letter-spacing: -0.08em;
  line-height: 0.88;
}

.grade-range sup {
  position: relative;
  top: -0.7em;
  font-size: 0.3em;
  letter-spacing: 0;
}

.grade-range i {
  height: 2px;
  background: rgba(7, 7, 7, 0.48);
}

.grade-steps {
  display: flex;
  justify-content: space-between;
  margin: 22px 2px 0;
}

.grade-steps span {
  width: 8px;
  height: 8px;
  border: 2px solid var(--black);
  border-radius: 50%;
}

.grade-steps span:nth-child(-n + 3) {
  background: var(--black);
}

.highlight-copy {
  position: relative;
  z-index: 1;
  margin-top: auto;
}

.highlight-card-offline .highlight-copy {
  grid-area: copy;
  align-self: end;
}

.highlight-card h3 {
  margin: 0 0 10px;
  font-size: clamp(1.55rem, 2.5vw, 2.05rem);
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.highlight-copy p {
  margin: 0;
  max-width: 540px;
  line-height: 1.65;
}

.highlight-card-progress .highlight-copy p {
  color: #aaa9a5;
}

.highlight-card-grades .highlight-copy p {
  color: rgba(7, 7, 7, 0.66);
}

.highlight-card-offline .highlight-copy p {
  color: var(--muted);
}

.offline-visual {
  grid-area: visual;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-areas:
    "check text"
    "state state";
  gap: 22px 24px;
  align-content: center;
  padding: 30px;
  border-radius: 22px;
  color: var(--white);
  background:
    radial-gradient(circle at 86% 18%, rgba(219, 167, 16, 0.3), transparent 34%),
    var(--black);
}

.offline-check {
  display: grid;
  grid-area: check;
  place-items: center;
  align-self: center;
  width: 64px;
  height: 64px;
  border: 1px solid rgba(240, 187, 23, 0.5);
  border-radius: 50%;
  color: var(--gold-bright);
  font-size: 1.7rem;
  box-shadow: inset 0 0 0 8px rgba(219, 167, 16, 0.08);
}

.offline-visual > div {
  display: flex;
  grid-area: text;
  flex-direction: column;
  align-self: center;
}

.offline-visual small {
  margin-bottom: 3px;
  color: #aaa9a5;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.offline-visual strong {
  font-size: clamp(2rem, 3.6vw, 3.35rem);
  letter-spacing: -0.055em;
  line-height: 1;
}

.offline-state {
  display: flex;
  grid-area: state;
  align-items: center;
  gap: 9px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #c8c7c2;
  font-size: 0.76rem;
  font-weight: 700;
}

.offline-state i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #50d06a;
  box-shadow: 0 0 0 5px rgba(80, 208, 106, 0.11);
}

.privacy-banner {
  display: grid;
  grid-template-columns: 0.58fr 1.42fr;
  gap: 48px;
  align-items: center;
  width: min(1280px, calc(100% - 32px));
  margin: 32px auto 96px;
  padding: 72px clamp(28px, 6vw, 86px);
  overflow: hidden;
  border-radius: var(--radius-lg);
  color: var(--white);
  background:
    radial-gradient(circle at 12% 50%, rgba(219, 167, 16, 0.22), transparent 26%),
    var(--black);
}

.privacy-mark {
  display: grid;
  place-items: center;
  width: min(240px, 70%);
  aspect-ratio: 1;
  margin: 0 auto;
  border: 2px solid rgba(240, 187, 23, 0.38);
  border-radius: 50%;
}

.privacy-mark span {
  width: 44%;
  aspect-ratio: 1;
  border: 13px solid var(--gold-bright);
  border-top-color: transparent;
  border-radius: 50%;
  transform: rotate(-45deg);
}

.privacy-banner .eyebrow {
  margin-bottom: 16px;
}

.privacy-banner h2,
.download-panel h2 {
  margin: 0 0 20px;
  font-size: clamp(2.3rem, 4.6vw, 4.2rem);
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 1.02;
}

.privacy-banner p:last-child {
  max-width: 680px;
  margin: 0;
  color: #bdbdb8;
  font-size: 1.06rem;
}

.download-panel {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: clamp(42px, 7vw, 100px);
  align-items: center;
  padding: 54px clamp(26px, 6vw, 72px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow);
}

.download-icon {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 27%;
  box-shadow: 0 24px 55px rgba(0, 0, 0, 0.18);
}

.download-panel .eyebrow {
  margin-bottom: 14px;
}

.download-panel h2 {
  max-width: 700px;
  font-size: clamp(2.3rem, 4.4vw, 3.8rem);
}

.download-panel > div > p:not(.eyebrow) {
  max-width: 650px;
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 1.05rem;
}

.download-panel .store-links {
  margin-top: 12px;
}

.independence-note {
  display: flex;
  gap: 18px;
  justify-content: center;
  padding: 34px 0 90px;
  color: var(--muted);
  font-size: 0.9rem;
  text-align: center;
}

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

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px 72px;
  align-items: start;
  padding: 64px max(24px, calc((100vw - 1180px) / 2));
  color: #b9b9b4;
  background: var(--black);
}

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

.footer-main p {
  margin: 18px 0 0;
  font-size: 0.92rem;
}

.site-footer nav {
  display: grid;
  grid-template-columns: repeat(2, max-content);
  gap: 10px 26px;
  font-size: 0.9rem;
}

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

.footer-legal {
  grid-column: 1 / -1;
  margin: 0;
  padding-top: 28px;
  border-top: 1px solid #2a2a28;
  color: #858580;
  font-size: 0.78rem;
}

.legal-page {
  background:
    radial-gradient(circle at 85% 0%, rgba(219, 167, 16, 0.1), transparent 22%),
    var(--paper);
}

.legal-main {
  width: min(920px, calc(100% - 48px));
  margin: 0 auto;
  padding: 92px 0 110px;
}

.legal-heading {
  padding-bottom: 54px;
  border-bottom: 1px solid var(--line);
}

.legal-heading .eyebrow {
  margin-bottom: 18px;
}

.legal-heading h1,
.not-found h1 {
  margin: 0;
  font-size: clamp(3rem, 7vw, 5.3rem);
  font-weight: 820;
  letter-spacing: -0.065em;
  line-height: 0.98;
}

.legal-heading > p:last-child {
  max-width: 720px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 1.12rem;
}

.legal-heading .legal-date {
  margin: 18px 0 0;
  color: #898984;
  font-size: 0.86rem;
}

.contact-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin-top: 28px;
  padding: 10px 20px;
  border-radius: 999px;
  color: var(--white);
  background: var(--black);
  font-weight: 700;
  transition:
    background 160ms ease,
    color 160ms ease;
}

.contact-button:hover {
  color: var(--black);
  background: var(--gold-bright);
}

.legal-content {
  padding-top: 22px;
}

.legal-content section {
  display: grid;
  grid-template-columns: minmax(170px, 0.55fr) minmax(0, 1.45fr);
  gap: 32px;
  padding: 44px 0;
  border-bottom: 1px solid var(--line);
}

.legal-content h2 {
  margin: 0;
  font-size: 1.16rem;
  letter-spacing: -0.025em;
}

.legal-content p,
.legal-content ul {
  grid-column: 2;
  margin: 0;
  color: #4d4d49;
}

.legal-content p + p,
.legal-content p + ul,
.legal-content ul + p {
  margin-top: 18px;
}

.legal-content a {
  color: #7c5900;
  font-weight: 680;
  text-decoration: underline;
  text-decoration-color: rgba(124, 89, 0, 0.32);
  text-underline-offset: 3px;
}

.legal-content a:hover {
  text-decoration-color: currentColor;
}

.legal-content ul {
  padding-left: 22px;
}

.legal-content li + li {
  margin-top: 6px;
}

.not-found {
  width: min(920px, calc(100% - 48px));
  min-height: 60vh;
  margin: 0 auto;
  padding: 130px 0;
}

.not-found > p:not(.eyebrow) {
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 1.1rem;
}

@media (max-width: 1040px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-top: 72px;
  }

  .hero-copy {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
  }

  .hero h1 {
    max-width: 860px;
  }

  .hero-intro {
    margin-right: auto;
    margin-left: auto;
  }

  .hero-copy .store-links,
  .availability-note {
    justify-content: center;
  }

  .app-preview {
    width: min(640px, 100%);
    min-height: 610px;
    margin: 0 auto;
  }

  .section-heading {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .site-header {
    width: min(100% - 32px, 1180px);
    min-height: 76px;
  }

  .site-header nav {
    gap: 14px;
  }

  .site-header nav > a:not(.header-cta) {
    display: none;
  }

  .brand {
    font-size: 1.06rem;
  }

  .brand img {
    width: 35px;
    height: 35px;
    border-radius: 9px;
  }

  .hero {
    width: min(100% - 32px, 1180px);
    padding: 58px 0 46px;
  }

  .hero h1 {
    font-size: clamp(3rem, 14.4vw, 4.4rem);
  }

  .hero-intro {
    font-size: 1rem;
  }

  .app-preview {
    min-height: 455px;
  }

  .phone {
    width: 205px;
    height: 445px;
    border-width: 6px;
    border-radius: 34px;
  }

  .phone-kyu {
    transform: translateX(-104%) translateY(22px) rotate(-6deg) scale(0.8);
  }

  .phone-dictionary {
    transform: translateX(4%) translateY(22px) rotate(6deg) scale(0.8);
  }

  .essentials,
  .download-panel,
  .independence-note {
    width: min(100% - 32px, 1180px);
  }

  .essentials {
    padding: 82px 0 56px;
  }

  .section-heading {
    margin-bottom: 30px;
  }

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

  .highlight-card-progress,
  .highlight-card-grades,
  .highlight-card-offline {
    grid-column: auto;
  }

  .highlight-card {
    display: flex;
    flex-direction: column;
    min-height: auto;
    padding: 24px;
    border-radius: 24px;
  }

  .progress-visual,
  .grade-visual {
    width: 100%;
    margin: 30px 0;
  }

  .highlight-card-offline .highlight-copy {
    order: 2;
    margin-top: 30px;
  }

  .offline-visual {
    order: 1;
    width: 100%;
    margin-top: 30px;
    padding: 24px;
  }

  .offline-check {
    width: 54px;
    height: 54px;
  }

  .offline-visual strong {
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .privacy-banner {
    grid-template-columns: 1fr;
    gap: 36px;
    margin-bottom: 64px;
    padding-top: 48px;
    padding-bottom: 48px;
    text-align: center;
  }

  .privacy-mark {
    width: 150px;
  }

  .privacy-banner p:last-child {
    margin-right: auto;
    margin-left: auto;
  }

  .download-panel {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .download-icon {
    width: 158px;
    margin: 0 auto;
  }

  .download-panel .store-links {
    justify-content: center;
  }

  .independence-note {
    flex-direction: column;
    gap: 2px;
    padding-bottom: 64px;
  }

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

  .footer-legal {
    grid-column: 1;
  }

  .legal-main {
    width: min(100% - 32px, 920px);
    padding: 68px 0 82px;
  }

  .legal-heading {
    padding-bottom: 42px;
  }

  .legal-content section {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 34px 0;
  }

  .legal-content p,
  .legal-content ul {
    grid-column: 1;
  }
}

@media (max-width: 470px) {
  .header-cta {
    padding: 8px 13px;
    font-size: 0.82rem;
  }

  .store-links {
    flex-direction: column;
    gap: 0;
  }

  .store-link-google {
    margin-top: -5px;
  }

  .availability-note {
    margin-top: 20px;
  }

  .app-preview {
    min-height: 395px;
  }

  .phone {
    width: 180px;
    height: 391px;
  }

  .phone-kyu {
    transform: translateX(-100%) translateY(20px) rotate(-5deg) scale(0.76);
  }

  .phone-dictionary {
    transform: translateX(0%) translateY(20px) rotate(5deg) scale(0.76);
  }

  .download-panel {
    padding: 38px 20px;
  }

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

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

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