@font-face {
  font-family: "Pretendard";
  src: url("/assets/fonts/PretendardVariable.ttf") format("truetype");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --white: #ffffff;
  --primary-bg: #f7f0ff;
  --primary-tint: #eadbff;
  --primary-light: #d0b3ff;
  --primary: #8d58fd;
  --primary-hover: #7148d9;
  --primary-dark: #5232b3;
  --primary-deep: #251666;
  --teal-bg: #f1fbff;
  --teal: #44ccf9;
  --teal-dark: #0ea2d3;
  --gray-100: #f4f4f5;
  --gray-200: #e4e4e7;
  --gray-300: #d4d4d8;
  --gray-500: #71717a;
  --gray-700: #3f3f46;
  --gray-900: #18181b;
  --midnight-100: #f8f8fa;
  --midnight-200: #e5e6f2;
  --midnight-500: #64658b;
  --success: #47cd89;
  --warning: #ffa319;
  --danger: #f5222d;
  --shadow-soft: 0 18px 50px rgba(82, 50, 179, 0.12);
  --shadow-card: 0 12px 28px rgba(82, 50, 179, 0.08);
  --radius-card: 8px;
  --radius-app: 28px;
  --page-x: clamp(20px, 5vw, 72px);
  --max: 1180px;
  --tracking-common: 0;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--white);
  color: var(--gray-900);
  font-family: "Pretendard", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: var(--tracking-common);
  word-break: keep-all;
  overflow-wrap: break-word;
}

body[data-route="support"],
body[data-route="privacy"],
body[data-route="terms"] {
  background: var(--midnight-100);
}

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

button,
input,
textarea,
select {
  font: inherit;
  letter-spacing: inherit;
}

h1,
h2,
h3 {
  text-wrap: balance;
}

p,
li,
.button,
.store-button,
.meta-chip,
.visual-card span,
.app-screen-tile figcaption span {
  text-wrap: pretty;
}

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding: 14px var(--page-x);
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid rgba(229, 230, 242, 0.75);
  backdrop-filter: blur(18px);
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  color: var(--gray-900);
}

.brand img,
.footer-brand img {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(141, 88, 253, 0.22);
}

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

.site-nav a,
.footer-links a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  border-radius: var(--radius-card);
  padding: 0 12px;
  color: var(--gray-700);
  font-size: 15px;
  font-weight: 650;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a.is-active,
.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--primary);
  background: var(--primary-bg);
  outline: none;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 44px;
  height: 44px;
  border: 1px solid var(--primary-tint);
  border-radius: var(--radius-card);
  background: var(--white);
  color: var(--gray-900);
  box-shadow: var(--shadow-card);
}

.nav-toggle-icon {
  position: absolute;
  width: 24px;
  height: 24px;
  background: currentColor;
  -webkit-mask-position: center;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: 24px 24px;
  mask-position: center;
  mask-repeat: no-repeat;
  mask-size: 24px 24px;
  transition: opacity 160ms ease, transform 160ms ease;
}

.nav-toggle-icon-menu {
  -webkit-mask-image: url("/assets/icons/menu-01.svg");
  mask-image: url("/assets/icons/menu-01.svg");
}

.nav-toggle-icon-close {
  opacity: 0;
  transform: scale(0.82) rotate(-18deg);
  -webkit-mask-image: url("/assets/icons/multiplication-sign.svg");
  mask-image: url("/assets/icons/multiplication-sign.svg");
}

.nav-toggle[aria-expanded="true"] {
  color: var(--primary-dark);
  background: var(--primary-bg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-icon-menu {
  opacity: 0;
  transform: scale(0.82) rotate(18deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-icon-close {
  opacity: 1;
  transform: scale(1) rotate(0deg);
}

main:focus {
  outline: none;
}

.image-reveal {
  opacity: 0;
  filter: blur(8px);
  transform: translateY(8px);
  transition: opacity 620ms ease, filter 620ms ease, transform 620ms ease;
  will-change: opacity, filter, transform;
}

.image-reveal.is-loaded {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0);
}

.section-inner {
  width: min(var(--max), 100%);
  margin: 0 auto;
  padding: 0 var(--page-x);
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: auto;
  display: flex;
  align-items: center;
  padding: 34px 0 40px;
  background:
    linear-gradient(130deg, rgba(247, 240, 255, 0.82), rgba(255, 255, 255, 0) 45%),
    linear-gradient(180deg, var(--white) 0%, var(--white) 68%, var(--midnight-100) 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(330px, 0.74fr);
  gap: clamp(36px, 5vw, 70px);
  align-items: center;
}

.hero h1,
.page-hero h1 {
  margin: 0;
  max-width: 720px;
  color: var(--gray-900);
  font-size: clamp(42px, 5.5vw, 70px);
  line-height: 1.03;
  font-weight: 880;
  word-break: keep-all;
}

.hero h1.hero-title {
  display: grid;
  gap: 10px;
  max-width: 660px;
  font-size: clamp(42px, 5vw, 64px);
  line-height: 1.1;
  font-weight: 860;
}

.hero-title-main,
.hero-title-accent {
  display: block;
}

.hero-title-main {
  color: #24242c;
}

.hero-title-accent {
  width: fit-content;
  position: relative;
  z-index: 0;
  color: var(--primary-hover);
  background: linear-gradient(90deg, var(--primary-hover) 0%, var(--primary) 58%, var(--teal-dark) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  text-shadow: 0 10px 30px rgba(82, 50, 179, 0.1);
}

.hero-title-accent::after {
  content: "";
  position: absolute;
  left: 2px;
  right: 2px;
  bottom: 4px;
  z-index: -1;
  height: 0.32em;
  border-radius: 999px;
  background: rgba(234, 219, 255, 0.9);
}

.hero-copy {
  display: grid;
  gap: 6px;
  margin: 24px 0 0;
  max-width: 640px;
  color: var(--gray-700);
  font-size: clamp(17px, 1.8vw, 20px);
  font-weight: 580;
  line-height: 1.58;
  word-break: keep-all;
}

.hero-copy span {
  display: block;
}

.hero-copy-highlight {
  display: block;
  width: min(100%, 620px);
  margin-top: 4px;
  padding: 0;
  border-left: 0;
  border-radius: 0;
  background: transparent;
  color: var(--primary-dark);
  font-size: clamp(16px, 1.5vw, 18px);
  font-weight: 800;
  line-height: 1.48;
  box-shadow: none;
}

.hero-cta-stack {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: var(--radius-card);
  padding: 0 18px;
  font-size: 16px;
  font-weight: 760;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease, border-color 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  outline: none;
}

.button.primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 12px 26px rgba(141, 88, 253, 0.24);
}

.button.primary:hover,
.button.primary:focus-visible {
  background: var(--primary-hover);
}

.button.secondary {
  color: var(--primary-dark);
  border-color: var(--primary-tint);
  background: var(--white);
}

.button.secondary:hover,
.button.secondary:focus-visible {
  background: var(--primary-bg);
}

.button img {
  width: 18px;
  height: 18px;
}

.store-downloads {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.store-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 166px;
  min-height: 54px;
  padding: 0 15px 0 12px;
  border: 1px solid var(--midnight-200);
  border-radius: var(--radius-card);
  color: var(--gray-900);
  background: var(--white);
  box-shadow: 0 10px 24px rgba(82, 50, 179, 0.08);
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.store-button:hover,
.store-button:focus-visible {
  transform: translateY(-1px);
  border-color: var(--primary-light);
  box-shadow: 0 14px 30px rgba(82, 50, 179, 0.13);
  outline: none;
}

.store-button img {
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
}

.store-button span {
  display: grid;
  gap: 1px;
}

.store-button small,
.store-button strong {
  display: block;
  line-height: 1.1;
  white-space: nowrap;
}

.store-button small {
  color: var(--gray-500);
  font-size: 11px;
  font-weight: 680;
}

.store-button strong {
  color: inherit;
  font-size: 17px;
  font-weight: 850;
}

.store-button-ios {
  border-color: #18181b;
  background: #18181b;
  color: var(--white);
  box-shadow: 0 14px 28px rgba(24, 24, 27, 0.18);
}

.store-button-ios small {
  color: rgba(255, 255, 255, 0.68);
}

.store-button-android {
  background: rgba(255, 255, 255, 0.9);
}

.hero-secondary-links {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  color: var(--primary-dark);
  font-size: 15px;
  font-weight: 760;
}

.hero-secondary-links a {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  border-radius: var(--radius-card);
  padding: 0 2px;
}

.hero-secondary-links a:hover,
.hero-secondary-links a:focus-visible {
  color: var(--primary-hover);
  outline: none;
}

.hero-secondary-links span {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--primary-light);
}

.hero-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin-top: 28px;
  padding-top: 18px;
  max-width: 680px;
  border-top: 1px solid var(--midnight-200);
}

.point {
  min-height: auto;
  display: flex;
  gap: 12px;
  padding: 0 16px 0 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.point + .point {
  padding-left: 16px;
  border-left: 1px solid var(--midnight-200);
}

.point-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--primary-bg);
  color: var(--primary-dark);
  font-size: 12px;
  font-weight: 880;
}

.point strong {
  display: block;
  color: var(--primary-dark);
  font-size: 15px;
  font-weight: 800;
}

.point div > span {
  display: block;
  margin-top: 8px;
  color: var(--gray-500);
  font-size: 14px;
  line-height: 1.48;
  font-weight: 560;
}

.product-stage {
  position: relative;
  min-height: 560px;
  display: grid;
  place-items: center;
}

.stage-glow {
  position: absolute;
  width: min(82vw, 560px);
  aspect-ratio: 1;
  background: url("/assets/images/ai-glow.png") center / contain no-repeat;
  opacity: 0.88;
  filter: saturate(1.08);
}

.screenshot-showcase {
  position: relative;
  width: min(540px, 100%);
  min-height: 620px;
  display: grid;
  place-items: center;
}

.screen-frame {
  margin: 0;
  position: relative;
  overflow: visible;
  padding: 10px;
  border-radius: 36px;
  background: linear-gradient(150deg, rgba(37, 22, 102, 0.9), rgba(141, 88, 253, 0.82), rgba(68, 204, 249, 0.7));
  box-shadow: 0 26px 64px rgba(82, 50, 179, 0.28);
}

.screen-frame img {
  display: block;
  width: 100%;
  aspect-ratio: 412 / 917;
  object-fit: cover;
  border-radius: 28px;
  background: var(--white);
}

.screen-frame-main {
  z-index: 2;
  width: min(318px, 68vw);
}

.screen-frame-side {
  position: absolute;
  z-index: 1;
  width: 194px;
  padding: 7px;
  border-radius: 28px;
  opacity: 0.94;
  box-shadow: 0 18px 44px rgba(82, 50, 179, 0.2);
}

.screen-frame-side img {
  border-radius: 22px;
}

.screen-frame-top {
  top: 26px;
  right: 2px;
  transform: rotate(5deg);
}

.screen-frame-bottom {
  left: 0;
  bottom: 18px;
  transform: rotate(-5deg);
}

.phone {
  position: relative;
  width: min(318px, 86vw);
  height: 560px;
  border-radius: 38px;
  padding: 12px;
  background: linear-gradient(155deg, rgba(82, 50, 179, 0.86), rgba(68, 204, 249, 0.7));
  box-shadow: 0 30px 70px rgba(82, 50, 179, 0.28);
}

.phone-screen {
  height: 536px;
  border-radius: 30px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.8);
}

.phone-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px 10px;
}

.phone-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 17px;
  font-weight: 820;
}

.phone-title img {
  width: 34px;
  height: 34px;
  border-radius: 11px;
}

.progress-ring {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: conic-gradient(var(--primary) 0 72%, var(--primary-bg) 72% 100%);
  color: var(--primary-dark);
  font-size: 12px;
  font-weight: 800;
}

.progress-ring::before {
  content: "";
  position: absolute;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--white);
}

.progress-ring span {
  position: relative;
}

.lesson-panel {
  margin: 0 18px;
  padding: 18px;
  border-radius: var(--radius-card);
  background: linear-gradient(135deg, var(--primary-bg), var(--teal-bg));
  border: 1px solid var(--primary-tint);
}

.lesson-panel h2 {
  margin: 0;
  color: var(--gray-900);
  font-size: 19px;
  line-height: 1.25;
  font-weight: 840;
  word-break: keep-all;
}

.lesson-panel p {
  margin: 10px 0 0;
  color: var(--gray-700);
  font-size: 14px;
  line-height: 1.52;
  font-weight: 550;
}

.chat-list {
  display: grid;
  gap: 10px;
  padding: 16px 18px 0;
}

.bubble {
  width: fit-content;
  max-width: 86%;
  padding: 13px 14px;
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.48;
  font-weight: 560;
}

.bubble.ai {
  background: var(--midnight-100);
  color: var(--gray-700);
}

.bubble.user {
  justify-self: end;
  background: var(--primary);
  color: var(--white);
}

.feedback-strip {
  margin: 14px 18px;
  padding: 14px;
  border: 1px solid var(--midnight-200);
  border-radius: var(--radius-card);
  background: var(--white);
  box-shadow: var(--shadow-card);
}

.feedback-strip strong {
  display: block;
  color: var(--primary-dark);
  font-size: 14px;
  font-weight: 820;
}

.feedback-strip span {
  display: block;
  margin-top: 6px;
  color: var(--gray-500);
  font-size: 13px;
  line-height: 1.45;
}

.mic-row {
  display: flex;
  justify-content: center;
  padding: 0 0 14px;
}

.mic {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 18px 36px rgba(141, 88, 253, 0.32);
}

.mic img {
  width: 32px;
  height: 32px;
}

.section {
  padding: clamp(74px, 9vw, 116px) 0;
}

.section.band {
  background: var(--midnight-100);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-heading h2,
.page-section h2 {
  margin: 0;
  color: var(--gray-900);
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.16;
  font-weight: 850;
  word-break: keep-all;
}

.section-heading p,
.page-hero p,
.page-section > p {
  margin: 14px 0 0;
  color: var(--gray-700);
  font-size: 18px;
  line-height: 1.68;
  font-weight: 520;
  word-break: keep-all;
}

.workflow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--midnight-200);
  border-radius: var(--radius-card);
  overflow: hidden;
  background: var(--white);
}

.workflow-step {
  min-height: 250px;
  display: grid;
  grid-template-columns: auto 1fr;
  align-content: start;
  column-gap: 10px;
  padding: 26px;
  border-right: 1px solid var(--midnight-200);
}

.workflow-step:last-child {
  border-right: 0;
}

.workflow-step img,
.feature img,
.support-item img,
.legal-link img {
  width: 28px;
  height: 28px;
  color: var(--primary);
}

.workflow-step > img {
  align-self: center;
  justify-self: start;
}

.workflow-step .step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  margin: 0;
  border-radius: 50%;
  background: var(--primary-bg);
  color: var(--primary-dark);
  font-size: 14px;
  font-weight: 850;
}

.workflow-step h3,
.feature h3,
.support-item h3,
.legal-link h3 {
  margin: 16px 0 0;
  color: var(--gray-900);
  font-size: 20px;
  line-height: 1.28;
  font-weight: 820;
}

.workflow-step h3 {
  grid-column: 1 / -1;
  margin-top: 22px;
}

.workflow-step p,
.feature p,
.support-item p,
.legal-link p {
  margin: 10px 0 0;
  color: var(--gray-500);
  font-size: 15px;
  line-height: 1.65;
  font-weight: 540;
}

.workflow-step p {
  grid-column: 1 / -1;
}

.app-screens-section {
  background:
    linear-gradient(180deg, var(--white) 0%, rgba(247, 240, 255, 0.58) 100%);
}

.app-screen-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
}

.app-screen-tile {
  margin: 0;
  padding: 18px 14px 20px;
  border: 1px solid var(--midnight-200);
  border-radius: var(--radius-card);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow-card);
}

.app-screen-tile .screen-frame {
  width: min(100%, 230px);
  margin: 0 auto;
  padding: 7px;
  border-radius: 30px;
  box-shadow: 0 18px 40px rgba(82, 50, 179, 0.18);
}

.app-screen-tile .screen-frame img {
  border-radius: 23px;
}

.app-screen-tile figcaption {
  display: block;
  margin-top: 18px;
  text-align: center;
}

.app-screen-tile figcaption strong {
  display: block;
  color: var(--gray-900);
  font-size: 18px;
  line-height: 1.28;
  font-weight: 820;
}

.app-screen-tile figcaption span {
  display: block;
  margin-top: 8px;
  color: var(--gray-500);
  font-size: 14px;
  line-height: 1.58;
  font-weight: 540;
  word-break: keep-all;
}

.feature-layout {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 36px;
  align-items: stretch;
}

.visual-panel {
  position: relative;
  min-height: 520px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-card);
  border: 1px solid var(--primary-tint);
  background: linear-gradient(145deg, var(--primary-bg), var(--white) 58%, var(--teal-bg));
  overflow: hidden;
}

.visual-panel img {
  width: min(72%, 360px);
  filter: drop-shadow(0 22px 30px rgba(82, 50, 179, 0.18));
}

.screen-comparison {
  min-height: 640px;
}

.visual-panel.screen-comparison img {
  width: auto;
  filter: none;
}

.feature-screen {
  position: absolute;
  aspect-ratio: 412 / 917;
  object-fit: cover;
  border: 8px solid rgba(255, 255, 255, 0.82);
  border-radius: 32px;
  box-shadow: 0 24px 52px rgba(82, 50, 179, 0.18);
}

.visual-panel.screen-comparison .feature-screen-primary {
  top: 42px;
  left: 6%;
  z-index: 2;
  width: min(52%, 246px);
}

.visual-panel.screen-comparison .feature-screen-secondary {
  right: 6%;
  bottom: 62px;
  z-index: 1;
  width: min(48%, 228px);
}

.screen-comparison .visual-card {
  z-index: 3;
  right: auto;
  left: 28px;
  bottom: 28px;
}

.visual-card {
  position: absolute;
  right: 28px;
  bottom: 28px;
  width: min(72%, 280px);
  padding: 18px;
  border-radius: var(--radius-card);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--midnight-200);
  box-shadow: var(--shadow-card);
}

.visual-card strong {
  display: block;
  color: var(--gray-900);
  font-size: 16px;
  font-weight: 830;
}

.visual-card span {
  display: block;
  margin-top: 8px;
  color: var(--gray-500);
  font-size: 14px;
  line-height: 1.54;
  font-weight: 540;
}

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

.feature,
.support-item,
.legal-link {
  padding: 24px;
  border: 1px solid var(--midnight-200);
  border-radius: var(--radius-card);
  background: var(--white);
}

.service-document-section {
  position: relative;
  overflow: hidden;
  padding-bottom: clamp(24px, 3vw, 36px);
  background: var(--white);
}

.service-document {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.54fr);
  gap: clamp(26px, 5vw, 64px);
  align-items: center;
  overflow: hidden;
  min-height: 460px;
  padding: clamp(30px, 5vw, 58px);
  border-radius: var(--radius-card);
  background: url("/assets/images/service-document/service-document-card-bg-pc.png") center / cover no-repeat;
  color: var(--white);
  box-shadow: var(--shadow-soft);
}

.service-document::before {
  content: "";
  display: none;
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(120deg, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.08));
  pointer-events: none;
}

.service-document-copy,
.document-preview {
  position: relative;
  z-index: 1;
}

.document-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-card);
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.document-icon img {
  width: 28px;
  height: 28px;
}

.document-title-brand,
.document-title-name {
  display: block;
}

.service-document h2 {
  margin: 24px 0 0;
  max-width: 620px;
  font-size: clamp(32px, 4.6vw, 52px);
  line-height: 1.14;
  font-weight: 870;
  word-break: keep-all;
}

.service-document p {
  margin: 16px 0 0;
  max-width: 620px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 18px;
  line-height: 1.68;
  font-weight: 560;
  word-break: keep-all;
}

.document-points {
  display: grid;
  grid-template-columns: 1fr;
  gap: 9px;
  width: min(100%, 580px);
  margin: 24px 0 0;
  padding: 0;
}

.document-points li {
  list-style: none;
  position: relative;
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: auto;
  padding: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 14px;
  line-height: 1.45;
  font-weight: 650;
}

.document-points li::before {
  content: "";
  flex: 0 0 7px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 5px rgba(68, 204, 249, 0.12);
}

.document-points strong {
  flex: 0 0 auto;
  color: var(--white);
  font-weight: 820;
}

.document-points strong::after {
  content: "";
  display: inline-block;
  width: 1px;
  height: 12px;
  margin: 0 0 0 9px;
  background: rgba(255, 255, 255, 0.28);
  vertical-align: -1px;
}

.document-points span {
  min-width: 0;
}

.document-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.service-document .button.primary {
  background: var(--white);
  color: var(--primary-dark);
  box-shadow: 0 14px 30px rgba(24, 24, 27, 0.16);
}

.service-document .button.primary:hover,
.service-document .button.primary:focus-visible {
  background: var(--primary-bg);
}

.service-document .button.secondary {
  color: var(--white);
  border-color: transparent;
  background: transparent;
  box-shadow: none;
}

.service-document .button.secondary:hover,
.service-document .button.secondary:focus-visible {
  background: rgba(255, 255, 255, 0.12);
}

.document-download-button img {
  width: 19px;
  height: 19px;
}

.document-preview {
  justify-self: end;
  display: block;
  width: min(100%, 330px);
  color: inherit;
}

.document-preview-image {
  display: none;
}

.document-preview-image-mobile {
  display: none;
}

.document-page {
  position: relative;
  min-height: 390px;
  padding: 24px;
  border-radius: var(--radius-card);
  background: rgba(255, 255, 255, 0.96);
  color: var(--gray-900);
  box-shadow: 0 24px 58px rgba(24, 24, 27, 0.22);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.document-preview:hover .document-page,
.document-preview:focus-visible .document-page {
  transform: translateY(-3px);
  box-shadow: 0 30px 68px rgba(24, 24, 27, 0.28);
}

.document-preview:focus-visible {
  outline: none;
}

.document-page-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--midnight-200);
}

.document-page-header img {
  width: 38px;
  height: 38px;
  border-radius: 12px;
}

.document-page-header strong,
.document-page-header span {
  display: block;
}

.document-page-header strong {
  font-size: 15px;
  font-weight: 850;
}

.document-page-header span {
  margin-top: 2px;
  color: var(--primary-dark);
  font-size: 13px;
  font-weight: 700;
}

.document-page-title {
  margin-top: 22px;
  color: var(--primary-dark);
  font-size: 25px;
  line-height: 1.2;
  font-weight: 870;
  word-break: keep-all;
}

.document-page-lines {
  display: grid;
  gap: 9px;
  margin-top: 20px;
}

.document-page-lines span {
  display: block;
  height: 8px;
  border-radius: 999px;
  background: var(--primary-bg);
}

.document-page-lines span:nth-child(1) {
  width: 100%;
}

.document-page-lines span:nth-child(2) {
  width: 82%;
}

.document-page-lines span:nth-child(3) {
  width: 58%;
  background: var(--teal-bg);
}

.document-page-screens {
  display: flex;
  align-items: end;
  gap: 12px;
  margin-top: 24px;
}

.document-page-screens img {
  width: 74px;
  aspect-ratio: 412 / 917;
  object-fit: cover;
  border: 5px solid var(--primary-bg);
  border-radius: 18px;
  box-shadow: 0 12px 26px rgba(82, 50, 179, 0.14);
}

.document-page-screens img:nth-child(2) {
  width: 88px;
  border-color: rgba(68, 204, 249, 0.22);
}

.document-page-cta {
  position: absolute;
  right: 22px;
  bottom: 22px;
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 13px;
  border-radius: var(--radius-card);
  background: var(--primary);
  color: var(--white);
  font-size: 13px;
  font-weight: 800;
}

@media (min-width: 981px) {
  .service-document-section {
    padding: 68px 0 44px;
  }

  .service-document {
    display: block;
    width: min(1036px, 100%);
    height: 460px;
    min-height: 460px;
    margin: 0 auto;
    padding: 48px 42px 42px 50px;
    border-radius: 6px;
    box-shadow: 0 24px 70px rgba(37, 22, 102, 0.16);
  }

  .service-document::before {
    display: none;
  }

  .service-document-copy {
    width: 430px;
  }

  .document-icon {
    display: none;
  }

  .service-document h2 {
    margin: 0;
    max-width: 290px;
    font-size: 52px;
    line-height: 1.02;
    font-weight: 650;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  }

  .document-title-brand,
  .document-title-name {
    width: fit-content;
    color: transparent;
    background: linear-gradient(112deg, #f771e6 4%, #16e0ff 118%);
    -webkit-background-clip: text;
    background-clip: text;
  }

  .document-title-brand {
    font-weight: 900;
  }

  .document-title-name {
    margin-top: 4px;
    font-weight: 650;
  }

  .service-document p {
    max-width: 360px;
    margin-top: 24px;
    color: var(--white);
    font-size: 18px;
    line-height: 1.3;
    font-weight: 520;
  }

  .document-points {
    width: 455px;
    margin-top: 30px;
    gap: 10px;
  }

  .document-points li {
    gap: 8px;
    color: var(--white);
    font-size: 15px;
    line-height: 1.3;
    font-weight: 520;
  }

  .document-points li::before {
    flex: 0 0 17px;
    width: 17px;
    height: 17px;
    background: radial-gradient(circle, var(--teal) 0 4px, rgba(68, 204, 249, 0.22) 4px 8.5px);
    box-shadow: none;
  }

  .document-points strong {
    position: relative;
    flex: 0 0 60px;
    font-weight: 780;
  }

  .document-points strong::after {
    position: absolute;
    top: 50%;
    right: -8px;
    transform: translateY(-50%);
    height: 12px;
    margin: 0;
    background: #7f6abd;
  }

  .document-points span {
    flex: 0 0 auto;
    margin-left: 8px;
    white-space: nowrap;
  }

  .document-actions {
    gap: 8px;
    margin-top: 31px;
  }

  .service-document .button {
    min-height: 43px;
    padding: 0 12px;
    font-size: 16px;
    font-weight: 720;
  }

  .service-document .button.primary {
    color: var(--primary-dark);
    background: var(--white);
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.08);
  }

  .service-document .button.secondary {
    gap: 6px;
    padding: 0 10px 0 14px;
    color: var(--white);
    border-color: transparent;
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
  }

  .service-document .button.secondary::after {
    content: "";
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
    background: currentColor;
    -webkit-mask: url("/assets/icons/arrow-right.svg") center / 18px 18px no-repeat;
    mask: url("/assets/icons/arrow-right.svg") center / 18px 18px no-repeat;
  }

  .document-download-button img {
    width: 20px;
    height: 20px;
  }

  .document-preview {
    position: absolute;
    right: 42px;
    bottom: 0;
    width: 489px;
    height: 412px;
  }

  .document-preview-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  .document-preview .document-page {
    display: none;
  }
}

.section.band.support-section {
  padding-top: clamp(18px, 2vw, 28px);
  background: var(--white);
}

.support-strip {
  position: relative;
  display: grid;
  grid-template-columns: minmax(440px, 1.1fr) minmax(320px, 0.9fr);
  gap: 28px;
  align-items: center;
  overflow: hidden;
  border-radius: var(--radius-card);
  padding: clamp(28px, 5vw, 54px);
  border: 1px solid var(--midnight-200);
  background:
    radial-gradient(circle at 92% 16%, rgba(68, 204, 249, 0.18), rgba(68, 204, 249, 0) 34%),
    linear-gradient(135deg, var(--white), var(--primary-bg) 68%, var(--teal-bg));
  color: var(--gray-900);
  box-shadow: var(--shadow-card);
}

.support-strip::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--teal));
}

.support-strip h2 {
  display: grid;
  gap: 7px;
  margin: 0;
  word-break: keep-all;
}

.support-title-context,
.support-title-action {
  display: block;
}

.support-title-context {
  color: var(--primary-hover);
  font-size: clamp(21px, 2.2vw, 28px);
  line-height: 1.18;
  font-weight: 780;
}

.support-title-action {
  color: var(--primary-deep);
  font-size: clamp(34px, 4vw, 50px);
  line-height: 1.08;
  font-weight: 880;
}

.support-strip p {
  margin: 18px 0 0;
  color: var(--gray-700);
  font-size: 17px;
  line-height: 1.68;
  font-weight: 560;
}

.support-steps {
  display: grid;
  gap: 10px;
  width: 100%;
  margin: 0;
  padding: 0;
}

.support-steps li {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 54px;
  width: 100%;
  padding: 14px 16px;
  border-radius: var(--radius-card);
  border: 1px solid rgba(229, 230, 242, 0.9);
  background: rgba(255, 255, 255, 0.82);
  color: var(--gray-900);
  font-size: 16px;
  line-height: 1.45;
  font-weight: 760;
  box-shadow: 0 10px 24px rgba(82, 50, 179, 0.07);
}

.support-steps span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  font-size: 13px;
  font-weight: 880;
}

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

.legal-link {
  display: block;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.legal-link:hover,
.legal-link:focus-visible {
  transform: translateY(-2px);
  border-color: var(--primary-light);
  box-shadow: var(--shadow-card);
  outline: none;
}

.page {
  padding: clamp(48px, 8vw, 90px) 0 clamp(80px, 9vw, 116px);
}

.page-hero {
  padding: clamp(34px, 5vw, 54px);
  border-radius: var(--radius-card);
  background: linear-gradient(135deg, var(--white), var(--primary-bg));
  border: 1px solid var(--midnight-200);
  box-shadow: var(--shadow-card);
}

.page-hero h1 {
  font-size: clamp(36px, 5vw, 60px);
}

.page-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.meta-chip {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: var(--radius-card);
  background: var(--white);
  border: 1px solid var(--primary-tint);
  color: var(--primary-dark);
  font-size: 14px;
  font-weight: 720;
}

.page-section {
  margin-top: 28px;
  padding: clamp(28px, 5vw, 42px);
  border-radius: var(--radius-card);
  background: var(--white);
  border: 1px solid var(--midnight-200);
}

.support-grid,
.legal-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 22px;
}

.support-grid .feature {
  display: grid;
  align-content: start;
  padding: 22px 20px;
}

.support-grid .feature h3 {
  margin-top: 12px;
}

.support-grid .feature p {
  margin-top: 8px;
  line-height: 1.56;
  word-break: keep-all;
}

.legal-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.policy-list {
  display: grid;
  gap: 12px;
  margin-top: 26px;
}

.policy-block {
  padding: 22px;
  border-radius: var(--radius-card);
  border: 1px solid var(--midnight-200);
  background: var(--midnight-100);
}

.policy-block h3 {
  margin: 0;
  color: var(--gray-900);
  font-size: 20px;
  line-height: 1.32;
  font-weight: 830;
}

.policy-block ul {
  display: grid;
  gap: 9px;
  margin: 14px 0 0;
  padding: 0;
}

.policy-block li {
  list-style: none;
  position: relative;
  padding-left: 16px;
  color: var(--gray-700);
  font-size: 15px;
  line-height: 1.65;
  font-weight: 520;
}

.policy-block li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--primary);
}

.faq {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}

.faq details {
  border: 1px solid var(--midnight-200);
  border-radius: var(--radius-card);
  background: var(--white);
}

.faq summary {
  cursor: pointer;
  padding: 18px 20px;
  color: var(--gray-900);
  font-size: 17px;
  font-weight: 780;
}

.faq p {
  margin: 0;
  padding: 0 20px 20px;
  color: var(--gray-700);
  font-size: 15px;
  line-height: 1.65;
  font-weight: 520;
}

.notice {
  margin-top: 18px;
  padding: 16px;
  border-radius: var(--radius-card);
  background: var(--primary-bg);
  color: var(--primary-dark);
  font-size: 14px;
  line-height: 1.6;
  font-weight: 620;
}

.site-footer {
  padding: 42px var(--page-x) 34px;
  border-top: 1px solid var(--midnight-200);
  background: var(--white);
}

.footer-main,
.footer-bottom {
  width: 100%;
  margin: 0;
}

.footer-main {
  display: flex;
  justify-content: space-between;
  gap: clamp(48px, 8vw, 112px);
  align-items: start;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(229, 230, 242, 0.88);
}

.footer-identity,
.footer-company-card {
  background: transparent;
}

.footer-identity {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex: 0 0 320px;
}

.footer-identity p,
.footer-company-card p {
  margin: 10px 0 0;
  color: var(--gray-500);
  font-size: 14px;
  line-height: 1.55;
  font-weight: 560;
}

.footer-company-link {
  display: inline-flex;
  align-items: center;
  min-height: auto;
  margin-top: 16px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--primary-dark);
  font-size: 13px;
  font-weight: 760;
}

.footer-company-link::after {
  content: "";
  width: 14px;
  height: 14px;
  margin-left: 4px;
  background: currentColor;
  -webkit-mask: url("/assets/icons/arrow-right.svg") center / 14px 14px no-repeat;
  mask: url("/assets/icons/arrow-right.svg") center / 14px 14px no-repeat;
}

.footer-company-link:hover,
.footer-company-link:focus-visible {
  color: var(--primary);
  outline: none;
}

.footer-company-card {
  padding-top: 2px;
  flex: 0 1 640px;
  text-align: right;
}

.footer-company-card > strong {
  display: block;
  color: var(--gray-900);
  font-size: 17px;
  line-height: 1.35;
  font-weight: 820;
}

.footer-info-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 18px;
  margin: 15px 0 0;
}

.footer-info-list div {
  min-width: 0;
  display: flex;
  align-items: baseline;
  justify-content: flex-end;
  gap: 6px;
}

.footer-info-list .footer-info-wide {
  flex: 1 1 100%;
}

.footer-info-list dt {
  margin: 0;
  color: var(--gray-500);
  font-size: 12px;
  line-height: 1.2;
  font-weight: 760;
}

.footer-info-list dd {
  margin: 0;
  color: var(--gray-700);
  font-size: 13px;
  line-height: 1.42;
  font-weight: 620;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 18px;
  color: var(--gray-500);
  font-size: 13px;
  font-weight: 560;
}

.footer-bottom > span {
  white-space: nowrap;
}

.footer-links a,
.footer-socials a {
  min-height: auto;
  padding: 0;
  font-size: 13px;
}

.footer-socials {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.footer-socials a {
  display: inline-flex;
  align-items: center;
  color: var(--gray-500);
  font-weight: 650;
}

.footer-socials a:hover,
.footer-socials a:focus-visible {
  color: var(--primary);
  outline: none;
}

.noscript {
  padding: 40px var(--page-x);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
  }
}

@media (max-width: 980px) {
  .hero-grid,
  .feature-layout,
  .service-document,
  .support-strip {
    grid-template-columns: 1fr;
  }

  .hero {
    align-items: start;
  }

  .product-stage {
    min-height: auto;
  }

  .workflow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .app-screen-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .workflow-step {
    min-height: 220px;
    border-bottom: 1px solid var(--midnight-200);
  }

  .workflow-step:nth-child(2n) {
    border-right: 0;
  }

  .workflow-step:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

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

  .document-preview {
    justify-self: start;
    width: min(100%, 360px);
  }
}

@media (max-width: 760px) {
  html {
    scroll-padding-top: 78px;
  }

  .site-header {
    min-height: 64px;
    align-items: center;
    gap: 12px;
    padding-block: 10px;
  }

  .brand img {
    width: 34px;
    height: 34px;
    border-radius: 10px;
  }

  .nav-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 8px);
    left: var(--page-x);
    right: var(--page-x);
    display: grid;
    gap: 4px;
    width: auto;
    padding: 8px;
    border: 1px solid var(--midnight-200);
    border-radius: var(--radius-card);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(18px);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 160ms ease, transform 160ms ease;
  }

  .site-nav a {
    min-height: 46px;
    width: 100%;
    justify-content: space-between;
    padding: 0 12px;
    white-space: nowrap;
  }

  .site-header.is-nav-open .site-nav {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .hero {
    min-height: auto;
    padding-top: 28px;
  }

  .hero-points,
  .feature-grid,
  .document-points,
  .legal-links,
  .legal-grid {
    grid-template-columns: 1fr;
  }

  .hero-points {
    display: none;
  }

  .store-downloads {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }

  .store-button {
    width: 100%;
    min-width: 0;
  }

  .phone {
    width: min(318px, 92vw);
    height: 560px;
  }

  .phone-screen {
    height: 536px;
  }

  .screenshot-showcase {
    min-height: 540px;
  }

  .screen-frame-main {
    width: min(292px, 72vw);
  }

  .screen-frame-side {
    width: 160px;
  }

  .screen-frame-top {
    top: 16px;
    right: 4px;
  }

  .screen-frame-bottom {
    left: 4px;
    bottom: 18px;
  }

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

  .workflow-step,
  .workflow-step:nth-child(2n) {
    border-right: 0;
    border-bottom: 1px solid var(--midnight-200);
  }

  .workflow-step:last-child {
    border-bottom: 0;
  }

  .visual-panel {
    min-height: 420px;
  }

  .screen-comparison {
    min-height: 580px;
  }

  .feature-screen {
    border-width: 6px;
    border-radius: 26px;
    box-shadow: 0 16px 34px rgba(82, 50, 179, 0.16);
  }

  .visual-panel.screen-comparison .feature-screen-primary {
    top: 30px;
    left: 6%;
    width: min(57%, 226px);
  }

  .visual-panel.screen-comparison .feature-screen-secondary {
    top: 82px;
    right: 6%;
    bottom: auto;
    width: min(49%, 204px);
  }

  .screen-comparison .visual-card {
    left: 18px;
    right: 18px;
    bottom: 18px;
    width: auto;
  }

  .site-footer {
    position: relative;
    overflow: hidden;
    padding: 32px var(--page-x) calc(30px + env(safe-area-inset-bottom));
    background: var(--white);
  }

  .site-footer::before {
    display: none;
  }

  .footer-main {
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    padding-bottom: 24px;
  }

  .site-footer .footer-brand {
    gap: 9px;
    font-size: 18px;
  }

  .site-footer .footer-brand img {
    width: 36px;
    height: 36px;
    border-radius: 11px;
  }

  .footer-identity,
  .footer-company-card {
    padding: 0;
    width: auto;
    flex: initial;
  }

  .footer-company-card {
    text-align: left;
  }

  .footer-identity p,
  .footer-company-card p {
    max-width: 100%;
    margin-top: 12px;
    color: var(--gray-700);
    font-size: 14px;
    line-height: 1.55;
    font-weight: 620;
  }

  .footer-company-link {
    margin-top: 12px;
  }

  .footer-info-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    justify-content: stretch;
    gap: 0;
    width: 100%;
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid rgba(197, 201, 221, 0.78);
  }

  .footer-info-list div {
    display: flex;
    align-items: baseline;
    justify-content: flex-start;
    gap: 6px;
    min-width: 0;
    padding-right: 10px;
    text-align: left;
  }

  .footer-info-list .footer-info-wide {
    grid-column: 1 / -1;
    margin-top: 7px;
    padding-right: 0;
  }

  .footer-info-list dt {
    flex: 0 0 auto;
    font-size: 11px;
  }

  .footer-info-list dd {
    min-width: 0;
    font-size: 11px;
    line-height: 1.45;
    overflow-wrap: anywhere;
  }

  .footer-bottom {
    display: grid;
    grid-template-columns: 1fr;
    justify-items: start;
    gap: 10px;
    margin-top: 16px;
  }

  .footer-bottom > span {
    order: 3;
    white-space: normal;
    font-size: 12px;
    text-align: left;
  }

  .footer-links {
    width: 100%;
    display: flex;
    justify-content: flex-start;
    gap: 8px 13px;
    flex-wrap: wrap;
  }

  .footer-links a,
  .footer-socials a {
    min-height: auto;
    justify-content: center;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--gray-700);
    font-size: 13px;
    font-weight: 680;
    box-shadow: none;
    white-space: nowrap;
  }

  .footer-links a:first-child {
    color: var(--gray-700);
  }

  .footer-links a:first-child::after {
    content: none;
  }

  .footer-socials {
    justify-content: flex-start;
    gap: 10px;
  }

  .footer-socials a {
    flex: 0 0 auto;
  }

  .footer-links a:hover,
  .footer-links a:focus-visible,
  .footer-socials a:hover,
  .footer-socials a:focus-visible {
    transform: none;
  }

  .document-actions .button {
    width: 100%;
  }

  .section.band.support-section {
    padding: 26px 0 38px;
    background: var(--white);
  }

  .support-strip {
    gap: 24px;
    padding: 28px 18px;
  }

  .support-strip h2 {
    gap: 7px;
  }

  .support-title-context {
    font-size: 21px;
  }

  .support-title-action {
    font-size: clamp(30px, 8.5vw, 32px);
    line-height: 1.08;
  }

  .support-strip p {
    margin-top: 16px;
    font-size: 16px;
    line-height: 1.62;
  }

  .support-steps {
    gap: 10px;
  }

  .support-steps li {
    min-height: 54px;
    padding: 14px 16px;
    font-size: 15px;
    line-height: 1.45;
    box-shadow: 0 10px 24px rgba(82, 50, 179, 0.07);
  }

  .support-steps span {
    flex-basis: 28px;
    height: 28px;
    font-size: 13px;
  }
}

@media (max-width: 420px) {
  :root {
    --page-x: 16px;
  }

  .service-document {
    min-height: auto;
    padding: 26px 18px;
  }

  .service-document h2 {
    font-size: clamp(28px, 8vw, 34px);
  }

  .service-document p {
    font-size: 16px;
    line-height: 1.62;
  }

  .document-points li {
    min-height: auto;
  }

  .document-page {
    min-height: 360px;
    padding: 20px;
  }

  .document-page-title {
    font-size: 23px;
  }

  .document-page-screens img {
    width: 64px;
  }

  .document-page-screens img:nth-child(2) {
    width: 76px;
  }

  .store-button {
    min-height: 52px;
    padding-inline: 10px;
  }

  .store-button small {
    font-size: 10px;
  }

  .store-button strong {
    font-size: 15px;
  }

  .hero-secondary-links {
    width: 100%;
    justify-content: center;
  }

  .screenshot-showcase {
    min-height: 480px;
  }

  .screen-frame-main {
    width: min(260px, 72vw);
  }

  .screen-frame-side {
    width: 132px;
    padding: 5px;
  }

  .screen-frame-top {
    right: -6px;
  }

  .screen-frame-bottom {
    left: -6px;
  }

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

  .app-screen-tile .screen-frame {
    max-width: 240px;
  }

  .screen-comparison {
    min-height: 540px;
  }

  .feature-screen {
    border-width: 5px;
    border-radius: 22px;
  }

  .visual-panel.screen-comparison .feature-screen-primary {
    top: 24px;
    left: 5%;
    width: 58%;
  }

  .visual-panel.screen-comparison .feature-screen-secondary {
    top: 78px;
    right: 5%;
    width: 50%;
  }

  .page-hero,
  .page-section {
    padding: 24px 18px;
  }

  .page-section {
    padding-inline: 14px;
  }

  .support-grid .feature {
    padding-inline: 12px;
  }
}

body[data-route="privacy"] .page,
body[data-route="terms"] .page {
  padding-top: clamp(36px, 6vw, 70px);
}

body[data-route="privacy"] .page-hero,
body[data-route="terms"] .page-hero {
  padding: clamp(28px, 4vw, 42px);
  background: linear-gradient(135deg, var(--white), rgba(247, 240, 255, 0.72));
  box-shadow: 0 10px 24px rgba(82, 50, 179, 0.06);
}

body[data-route="privacy"] .page-hero h1,
body[data-route="terms"] .page-hero h1 {
  font-size: clamp(32px, 4vw, 46px);
  line-height: 1.12;
}

body[data-route="privacy"] .page-hero p,
body[data-route="terms"] .page-hero p {
  max-width: 720px;
  font-size: clamp(16px, 1.5vw, 18px);
  line-height: 1.62;
}

body[data-route="privacy"] .page-meta,
body[data-route="terms"] .page-meta {
  margin-top: 20px;
}

body[data-route="privacy"] .meta-chip,
body[data-route="terms"] .meta-chip {
  min-height: 32px;
  font-size: 13px;
  font-weight: 700;
}

body[data-route="privacy"] .page-section,
body[data-route="terms"] .page-section {
  margin-top: 20px;
  padding: clamp(24px, 4vw, 34px);
}

body[data-route="privacy"] .page-section h2,
body[data-route="terms"] .page-section h2 {
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.24;
  font-weight: 820;
}

body[data-route="privacy"] .policy-list,
body[data-route="terms"] .policy-list {
  gap: 10px;
  margin-top: 20px;
}

body[data-route="privacy"] .policy-block,
body[data-route="terms"] .policy-block {
  padding: 20px;
}

body[data-route="privacy"] .policy-block h3,
body[data-route="terms"] .policy-block h3 {
  color: var(--primary-deep);
  font-size: 18px;
  line-height: 1.3;
}

body[data-route="privacy"] .policy-block li,
body[data-route="terms"] .policy-block li {
  font-size: 14.5px;
  line-height: 1.68;
}

body[data-route="privacy"] .legal-grid,
body[data-route="terms"] .legal-grid {
  margin-top: 18px;
}

body[data-route="privacy"] .legal-link,
body[data-route="terms"] .legal-link {
  padding: 22px;
}

body[data-route="privacy"] .legal-link h3,
body[data-route="terms"] .legal-link h3 {
  font-size: 18px;
}

body[data-route="privacy"] .legal-link p,
body[data-route="terms"] .legal-link p {
  font-size: 14px;
  line-height: 1.56;
}

body[data-route="privacy"] .notice,
body[data-route="terms"] .notice {
  margin-top: 14px;
  font-size: 14px;
}

@media (max-width: 420px) {
  body[data-route="privacy"] .page-hero,
  body[data-route="terms"] .page-hero,
  body[data-route="privacy"] .page-section,
  body[data-route="terms"] .page-section {
    padding: 22px 16px;
  }

  body[data-route="privacy"] .page-section h2,
  body[data-route="terms"] .page-section h2 {
    font-size: 22px;
  }

  body[data-route="privacy"] .legal-grid,
  body[data-route="terms"] .legal-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .service-document-section {
    padding: 16px 0;
    background: var(--white);
  }

  .service-document {
    display: block;
    width: min(343px, calc(100vw - 32px));
    height: 887px;
    min-height: 887px;
    margin: 0 auto;
    padding: 26px 18px 0;
    border-radius: 8px;
    background-image: url("/assets/images/service-document/service-document-card-bg-mobile.png");
    background-size: 194.57% 110.51%;
    background-position: center top;
    background-repeat: no-repeat;
    box-shadow: none;
  }

  .service-document-copy {
    width: 100%;
  }

  .document-icon {
    display: none;
  }

  .service-document h2 {
    margin: 0;
    max-width: min(282px, 100%);
    font-size: 36px;
    line-height: 1.16;
    font-weight: 650;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  }

  .document-title-brand,
  .document-title-name {
    width: fit-content;
    color: transparent;
    background: linear-gradient(116deg, #f771e6 4%, #16e0ff 92%);
    -webkit-background-clip: text;
    background-clip: text;
  }

  .document-title-brand {
    font-weight: 900;
  }

  .document-title-name {
    font-weight: 650;
  }

  .service-document p {
    max-width: min(307px, 100%);
    margin-top: 11px;
    color: var(--white);
    font-size: 16px;
    line-height: 1.3;
    font-weight: 520;
  }

  .document-points {
    width: min(307px, 100%);
    margin-top: 30px;
    gap: 10px;
  }

  .document-points li {
    align-items: flex-start;
    gap: 8px;
    min-height: 17px;
    color: var(--white);
    font-size: 14px;
    line-height: 1.3;
    font-weight: 520;
  }

  .document-points li::before {
    flex: 0 0 17px;
    width: 17px;
    height: 17px;
    background: radial-gradient(circle, var(--teal) 0 4px, rgba(68, 204, 249, 0.22) 4px 8.5px);
    box-shadow: none;
  }

  .document-points strong {
    position: relative;
    flex: 0 0 54px;
    font-weight: 780;
    white-space: nowrap;
  }

  .document-points strong::after {
    position: absolute;
    top: 50%;
    right: -8px;
    height: 12px;
    margin: 0;
    transform: translateY(-50%);
    background: #7f6abd;
  }

  .document-points span {
    flex: 1 1 auto;
    min-width: 0;
    margin-left: 8px;
    white-space: normal;
  }

  .document-points li:not(:last-child) span {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .document-actions {
    display: grid;
    grid-template-columns: 1fr;
    width: min(307px, 100%);
    gap: 8px;
    margin-top: 30px;
  }

  .service-document .button {
    width: 100%;
    min-height: 43px;
    padding: 0 12px;
    border-radius: 8px;
    font-size: 15px;
    line-height: 1.3;
    font-weight: 650;
  }

  .service-document .button.primary {
    color: var(--primary-dark);
    background: var(--white);
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.08);
  }

  .service-document .button.secondary {
    gap: 6px;
    padding: 0 10px 0 14px;
    color: var(--white);
    border-color: transparent;
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
  }

  .service-document .button.secondary::after {
    content: "";
    flex: 0 0 16px;
    width: 16px;
    height: 16px;
    background: currentColor;
    -webkit-mask: url("/assets/icons/arrow-right.svg") center / 16px 16px no-repeat;
    mask: url("/assets/icons/arrow-right.svg") center / 16px 16px no-repeat;
  }

  .document-download-button img {
    width: 18px;
    height: 18px;
  }

  .document-preview {
    position: absolute;
    left: 18px;
    top: 436px;
    width: calc(100% - 36px);
    max-width: 307px;
    height: auto;
    aspect-ratio: 307 / 451;
  }

  .document-preview-image {
    display: none;
  }

  .document-preview-image-mobile {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  .document-preview .document-page {
    display: none;
  }
}
