:root {
  --landing-accent: #2f6fed;
  --landing-accent-dark: #265ecb;
  --landing-accent-light: #eaf1ff;
  --landing-gold: #d4a017;
  --landing-gold-dark: #b8890f;
  --landing-text: #1a1a1a;
  --landing-sub: #6b7280;
  --landing-border: #e8ecf2;
  --landing-soft: #f8faff;
  --landing-radius: 18px;
  --text-dark: #111827;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #fff;
  color: var(--landing-text);
  font-family: Pretendard, "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

button,
input,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

button {
  color: inherit;
}

.landing-container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.landing-header {
  position: sticky;
  z-index: 200;
  top: 0;
  border-bottom: 1px solid var(--landing-border);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
}

.nav-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  min-height: 68px;
  gap: 20px;
}

.landing-header-balance {
  min-width: 0;
}

.landing-brand {
  grid-column: 2;
  display: inline-flex;
  align-items: center;
  justify-self: center;
  gap: 11px;
  font-size: 18px;
  font-weight: 900;
  white-space: nowrap;
}

.landing-brand img {
  display: block;
  width: auto;
  height: 38px;
}

.brand-word {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  white-space: nowrap;
  will-change: transform, opacity, filter;
}

.brand-part {
  display: inline-block;
  opacity: 0;
  filter: blur(5px);
  transform: translateY(8px) scale(0.96);
  will-change: transform, opacity, filter;
}

.brand-all {
  color: var(--landing-accent);
}

.brand-ui {
  margin: 0 0.04em;
  color: #111;
  font-size: 0.5em;
  transform-origin: center bottom;
}

.brand-school {
  color: #f59e0b;
}

.brand-word.is-playing .brand-all {
  animation: brand-reveal 580ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.brand-word.is-playing .brand-ui {
  animation: brand-reveal 500ms 620ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.brand-word.is-playing .brand-school {
  animation: brand-reveal 560ms 1040ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.brand-word.is-playing {
  animation: brand-spring 1150ms 1620ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.brand-word.is-resetting {
  animation: brand-fade-out 340ms ease forwards;
}

@keyframes brand-reveal {
  0% {
    opacity: 0;
    filter: blur(5px);
    transform: translateY(8px) scale(0.96);
  }
  65% {
    opacity: 1;
    filter: blur(0);
    transform: translateY(-1px) scale(1.015);
  }
  100% {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0) scale(1);
  }
}

@keyframes brand-spring {
  0% { transform: scale(1); }
  42% { transform: scale(1.095); }
  67% { transform: scale(0.985); }
  82% { transform: scale(1.018); }
  100% { transform: scale(1); }
}

@keyframes brand-fade-out {
  to {
    opacity: 0;
    filter: blur(3px);
    transform: scale(0.985);
  }
}

.landing-header-actions {
  grid-column: 3;
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 10px;
}

.landing-contact-action {
  min-height: 40px;
  border: 1px solid transparent;
  border-radius: 10px;
  padding: 0 14px;
  background: #f4f6f9;
  color: var(--landing-sub);
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease, color 160ms ease;
}

.landing-contact-action:hover,
.landing-contact-action:focus-visible {
  border-color: var(--landing-border);
  background: #fff;
  color: var(--landing-text);
}

.landing-account-area {
  min-width: 0;
}

.landing-header [hidden] {
  display: none !important;
}

.landing-header .auth-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.landing-header .auth-action {
  min-height: 40px;
  border-radius: 10px;
  padding: 0 16px;
  font-size: 14px;
  font-weight: 800;
  box-shadow: none;
}

.landing-header .auth-action-login {
  border-color: var(--landing-border);
  color: var(--landing-text);
}

.landing-header .auth-action-login:hover {
  border-color: var(--landing-accent);
  color: var(--landing-accent);
}

.landing-header .auth-action-signup {
  display: none;
}

.landing-header .account-menu {
  margin-left: auto;
}

.hero-paysam {
  position: relative;
  display: flex;
  min-height: 520px;
  overflow: hidden;
  align-items: center;
  padding: 82px 0 70px;
  background: #172033;
  color: #fff;
  text-align: center;
}

.hero-bg-video,
.hero-video-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-bg-video {
  z-index: 0;
  object-fit: cover;
}

.hero-video-overlay {
  z-index: 1;
  background: linear-gradient(180deg, rgba(9, 18, 35, 0.38), rgba(9, 18, 35, 0.64));
  pointer-events: none;
}

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

.hero-inner::before,
.hero-inner::after {
  position: absolute;
  border: 1px solid rgba(47, 111, 237, 0.14);
  border-radius: 999px;
  content: "";
  pointer-events: none;
}

.hero-inner::before {
  top: -20px;
  left: 4%;
  width: 84px;
  height: 84px;
}

.hero-inner::after {
  right: 5%;
  bottom: -38px;
  width: 132px;
  height: 132px;
}

.hero-eyebrow {
  margin: 0 0 14px;
  color: #fff;
  font-size: 15px;
  font-weight: 800;
}

.hero-paysam h1 {
  margin: 0;
  font-size: clamp(34px, 5vw, 54px);
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 1.24;
}

.hero-line {
  display: block;
}

.hero-line-primary {
  font-size: 0.82em;
  font-weight: 800;
}

.hero-line-secondary {
  margin-top: 8px;
}

.hero-role,
#heroRoleParticle {
  display: inline-block;
  transition: opacity 220ms ease, transform 220ms ease;
}

.hero-role {
  color: var(--landing-gold);
}

.hero-role.is-changing,
#heroRoleParticle.is-changing {
  opacity: 0;
  transform: translateY(-5px);
}

.hero-brand {
  margin-left: 0.08em;
  vertical-align: baseline;
}

.hero-brand .brand-ui {
  color: #fff;
}

.hero-description {
  max-width: 620px;
  margin: 22px auto 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 16px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 30px;
}

.landing-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border: 1px solid transparent;
  border-radius: 12px;
  padding: 0 22px;
  font-size: 15px;
  font-weight: 800;
  transition: transform 150ms ease, box-shadow 150ms ease, background 150ms ease;
}

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

.landing-btn-lg {
  min-height: 54px;
  border-radius: 14px;
  padding: 0 32px;
  font-size: 16px;
}

.landing-btn-white {
  border-color: #dfe5ee;
  background: #fff;
  color: var(--landing-text);
  box-shadow: 0 8px 24px rgba(47, 111, 237, 0.08);
}

.landing-btn-white:hover {
  border-color: var(--landing-accent);
}

.landing-manual-action {
  background: var(--landing-accent);
  color: #fff;
  box-shadow: 0 8px 24px rgba(47, 111, 237, 0.24);
}

.landing-manual-action:hover {
  background: #255fd0;
}

.landing-btn-gold {
  background: var(--landing-gold);
  color: #fff;
  box-shadow: 0 10px 26px rgba(184, 137, 15, 0.24);
}

.landing-btn-gold:hover {
  background: var(--landing-gold-dark);
}

.free-strip {
  border-top: 1px solid #d7e3fc;
  border-bottom: 1px solid #d7e3fc;
  padding: 18px 0;
  background: var(--landing-accent-light);
}

.free-strip-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 26px;
}

.free-strip strong {
  color: var(--landing-accent);
  font-size: 14px;
}

.free-strip span {
  font-size: 14px;
  white-space: nowrap;
}

.free-strip span::before {
  margin-right: 6px;
  color: var(--landing-accent);
  content: "✓";
  font-weight: 900;
}

.beta-comment-section {
  border-bottom: 1px solid var(--landing-border);
  padding: 30px 0 !important;
  background: #fff;
}

.beta-comment-box {
  max-width: 920px;
  margin: 0 auto;
  border: 1px solid #dce7ff;
  border-radius: 20px;
  padding: 22px;
  background: #f8faff;
  box-shadow: 0 8px 24px rgba(47, 111, 237, 0.06);
}

.beta-comment-title {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 5px;
  font-size: 17px;
  font-weight: 900;
}

.beta-comment-title span {
  border-radius: 999px;
  padding: 3px 8px;
  background: var(--landing-accent);
  color: #fff;
  font-size: 11px;
}

.beta-comment-guide {
  margin: 0 0 15px;
  color: var(--landing-sub);
  font-size: 13px;
}

.beta-comment-form {
  display: grid;
  grid-template-columns: 130px 150px 1fr auto;
  align-items: center;
  gap: 9px;
}

.beta-comment-form input,
.beta-comment-form select {
  width: 100%;
  height: 44px;
  border: 1px solid #d9e0ea;
  border-radius: 10px;
  padding: 0 12px;
  background: #fff;
  font-size: 14px;
}

.beta-comment-form input:focus,
.beta-comment-form select:focus {
  border-color: var(--landing-accent);
  outline: none;
  box-shadow: 0 0 0 3px rgba(47, 111, 237, 0.1);
}

.beta-comment-submit {
  min-height: 44px;
  background: var(--landing-accent);
  color: #fff;
  cursor: pointer;
  white-space: nowrap;
}

.beta-comment-submit:disabled {
  cursor: default;
  opacity: 0.6;
}

.beta-comment-bottom .is-error {
  color: #b42318;
}

.beta-comment-bottom {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 9px;
  color: var(--landing-sub);
  font-size: 11.5px;
}

main section:not(.hero-paysam):not(.free-strip) {
  padding: 78px 0;
}

.section-heading {
  max-width: 720px;
  margin: 0 auto 38px;
  text-align: center;
}

.section-kicker {
  margin: 0 0 8px !important;
  color: var(--landing-accent) !important;
  font-size: 12px !important;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.section-heading h2,
.title-with-badge h2 {
  margin: 0;
  font-size: clamp(26px, 4vw, 34px);
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 1.3;
}

.section-heading > p:last-child {
  margin: 10px 0 0;
  color: var(--landing-sub);
  font-size: 15px;
}

.title-with-badge {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.title-with-badge > span {
  border-radius: 999px;
  padding: 5px 11px;
  background: #eef0f4;
  color: var(--landing-sub);
  font-size: 12px;
  font-weight: 800;
}

.example-section {
  padding: 50px 0 !important;
  background: #fff;
}

.example-section .section-heading {
  margin-bottom: 24px;
}

.builder-experience {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1.25fr);
  align-items: start;
  overflow: hidden;
  border: 1px solid #dce5f5;
  border-radius: 26px;
  background: var(--landing-soft);
  box-shadow: 0 22px 60px rgba(47, 111, 237, 0.12);
}

.builder-form-panel {
  padding: 18px 24px;
  background: linear-gradient(155deg, #152655 0%, #1d3c91 58%, #2f6fed 120%);
  color: #fff;
}

.builder-panel-heading {
  margin-bottom: 10px;
}

.builder-panel-heading > span {
  display: inline-flex;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  padding: 4px 10px;
  background: rgba(255, 255, 255, 0.1);
  color: #dce8ff;
  font-size: 11px;
  font-weight: 800;
}

.builder-panel-heading h3 {
  margin: 7px 0 2px;
  font-size: 22px;
  letter-spacing: -0.03em;
}

.builder-panel-heading p {
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 12px;
}

.builder-field {
  margin-bottom: 9px;
}

.builder-subject-field {
  margin-bottom: 10px;
}

.builder-field > label,
.builder-audience-field label {
  display: block;
  margin-bottom: 5px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  font-weight: 800;
}

.builder-field label small,
.builder-audience-field label small {
  margin-left: 4px;
  color: rgba(255, 255, 255, 0.45);
  font-weight: 600;
}

.builder-field > input,
.price-input input,
.builder-form-panel select#regionCity {
  width: 100% !important;
  min-height: 38px;
  border: 1px solid rgba(186, 208, 255, 0.38) !important;
  border-radius: 11px !important;
  padding: 0 13px !important;
  outline: none;
  background: rgba(255, 255, 255, 0.1) !important;
  color: #fff !important;
  font-size: 14px !important;
  transition: border-color 150ms ease, box-shadow 150ms ease, background 150ms ease;
}

.builder-field > input::placeholder {
  color: rgba(255, 255, 255, 0.38);
}

.builder-field > input:focus,
.price-input input:focus,
.builder-form-panel select#regionCity:focus {
  border-color: #a8c6ff !important;
  background: rgba(255, 255, 255, 0.14) !important;
  box-shadow: 0 0 0 3px rgba(168, 198, 255, 0.13);
}

.builder-form-panel select#regionCity option {
  background: #1d3c91;
  color: #fff;
}

.field-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.42);
  font-size: 10px;
}

.subject-buttons,
#targetBtns {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.builder-audience-field {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(120px, 0.8fr);
  align-items: end;
  gap: 10px;
}

.builder-audience-field label {
  white-space: nowrap;
}

.builder-audience-field label i {
  margin-right: 5px;
  color: #8eb5ff;
}

.builder-audience-targets,
.builder-region-field {
  min-width: 0;
}

.builder-audience-field #targetBtns {
  flex-wrap: nowrap;
  gap: 5px;
}

.builder-audience-field #targetBtns .subj-btn {
  min-width: 0;
  min-height: 30px;
  padding: 0 9px;
  font-size: 11px;
}

.builder-region-field select#regionCity {
  min-height: 30px;
  padding-right: 8px !important;
  padding-left: 10px !important;
  font-size: 12px !important;
}

.subj-btn {
  min-height: 32px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  padding: 0 12px;
  background: rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.68);
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.subj-btn:hover,
.subj-btn.active {
  border-color: #9fc0ff;
  background: #fff;
  color: #1d3c91;
}

.price-input {
  position: relative;
}

.price-input input {
  padding-right: 44px !important;
}

.price-input > span {
  position: absolute;
  top: 50%;
  right: 14px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 12px;
  transform: translateY(-50%);
}

.publish-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 42px;
  gap: 10px;
  border: 0;
  border-radius: 12px;
  background: var(--landing-gold);
  color: #fff;
  font-size: 15px;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 10px 26px rgba(9, 17, 45, 0.22);
  transition: transform 150ms ease, background 150ms ease;
}

.publish-button:hover {
  background: var(--landing-gold-dark);
  transform: translateY(-2px);
}

.publish-note {
  margin: 4px 0 0;
  color: rgba(255, 255, 255, 0.44);
  font-size: 10.5px;
  text-align: center;
}

.builder-preview-panel {
  min-width: 0;
  align-self: start;
  padding: 24px;
  background: var(--landing-soft);
}

.preview-label {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 10px;
  color: #526077;
  font-size: 12px;
  font-weight: 800;
}

.preview-label > span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.12);
}

.browser-preview {
  overflow: hidden;
  border: 1px solid #dbe2ef;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 16px 38px rgba(15, 23, 42, 0.13);
}

.browser-toolbar {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  border-bottom: 1px solid #dbe2ef;
  padding: 0 13px;
  background: #eef1f6;
}

.browser-dots {
  display: flex;
  gap: 5px;
}

.browser-dots i {
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.browser-dots i:nth-child(1) { background: #ff5f57; }
.browser-dots i:nth-child(2) { background: #febc2e; }
.browser-dots i:nth-child(3) { background: #28c840; }

.browser-address {
  min-width: 0;
  flex: 1;
  overflow: hidden;
  border: 1px solid #dce2ec;
  border-radius: 7px;
  padding: 4px 10px;
  background: #fff;
  color: #718096;
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.live-badge {
  color: #16803c;
  font-size: 9px;
  font-weight: 900;
}

.academy-preview-page {
  background: #fff;
}

.preview-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 52px;
  border-bottom: 1px solid #eef1f5;
  padding: 0 22px;
}

.preview-brand {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 8px;
  color: #163a91;
  font-size: 12px;
}

.preview-brand > span {
  display: grid;
  width: 23px;
  height: 23px;
  place-items: center;
  border-radius: 7px;
  background: var(--landing-accent);
  color: #fff;
  font-size: 10px;
  font-weight: 900;
}

.preview-brand b {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.preview-links {
  display: flex;
  gap: 14px;
  color: #6e7a90;
  font-size: 9px;
  font-weight: 700;
}

.preview-hero {
  padding: 28px 30px 24px;
  background: linear-gradient(135deg, #f6f8ff, #edf2ff 62%, #e2ebff);
}

.preview-hero > p {
  display: inline-flex;
  margin: 0 0 10px;
  border: 1px solid #cad9fa;
  border-radius: 999px;
  padding: 4px 9px;
  background: #fff;
  color: #3158a9;
  font-size: 9px;
  font-weight: 800;
}

.preview-hero h3 {
  margin: 0;
  color: #14213f;
  font-size: clamp(21px, 3.5vw, 31px);
  letter-spacing: -0.045em;
  line-height: 1.23;
}

.preview-hero h3 em {
  color: var(--landing-accent);
  font-style: normal;
}

.preview-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin: 10px 0;
}

.preview-chip-row span {
  border-radius: 999px;
  padding: 3px 8px;
  background: rgba(47, 111, 237, 0.09);
  color: #3158a9;
  font-size: 8px;
  font-weight: 800;
}

.preview-hero button {
  min-height: 32px;
  border: 0;
  border-radius: 8px;
  padding: 0 14px;
  background: var(--landing-accent);
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  pointer-events: none;
}

.preview-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid #eef1f5;
}

.preview-stats > div {
  padding: 14px 8px;
  text-align: center;
}

.preview-stats > div + div {
  border-left: 1px solid #eef1f5;
}

.preview-stats strong,
.preview-stats span {
  display: block;
}

.preview-stats strong {
  color: #173f9a;
  font-size: 13px;
}

.preview-stats span {
  margin-top: 2px;
  color: #8a94a7;
  font-size: 8px;
}

.preview-content-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 16px;
}

.preview-content-grid article {
  min-width: 0;
  border: 1px solid #e7ebf2;
  border-radius: 10px;
  padding: 11px;
}

.preview-content-grid span,
.preview-content-grid b {
  display: block;
}

.preview-content-grid span {
  color: var(--landing-accent);
  font-size: 8px;
  font-weight: 800;
}

.preview-content-grid b {
  margin-top: 5px;
  color: #38445b;
  font-size: 9px;
  line-height: 1.45;
}

.service-section {
  background: var(--landing-soft);
}

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

.feature-card {
  position: relative;
  min-height: 230px;
  border: 1px solid var(--landing-border);
  border-radius: var(--landing-radius);
  padding: 28px 22px;
  background: #fff;
  transition: border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.feature-card:hover {
  border-color: #a9c0f5;
  box-shadow: 0 14px 32px rgba(47, 111, 237, 0.09);
  transform: translateY(-4px);
}

.feature-card.is-live {
  border-color: #a8c2fa;
  background: var(--landing-accent-light);
}

.status-badge {
  position: absolute;
  top: 20px;
  right: 18px;
  border-radius: 999px;
  padding: 4px 9px;
  background: #eef0f4;
  color: var(--landing-sub);
  font-size: 10px;
  font-weight: 800;
}

.status-badge.live {
  background: var(--landing-accent);
  color: #fff;
}

.feature-icon {
  display: grid;
  width: 46px;
  height: 46px;
  margin-bottom: 16px;
  place-items: center;
  border-radius: 13px;
  background: var(--landing-accent-light);
  font-size: 21px;
}

.feature-card h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

.feature-card p {
  margin: 0;
  color: var(--landing-sub);
  font-size: 13px;
}

.two-column-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  align-items: center;
  gap: 52px;
}

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

.shorts-grid article {
  border: 1px solid var(--landing-border);
  border-radius: 14px;
  padding: 18px;
  background: #fff;
  text-align: center;
}

.shorts-grid article > span {
  font-size: 22px;
}

.shorts-grid h3 {
  margin: 9px 0 4px;
  font-size: 14px;
}

.shorts-grid p {
  margin: 0;
  color: var(--landing-sub);
  font-size: 12px;
}

.shorts-grid .shorts-wide-card {
  grid-column: 1 / -1;
  padding-right: 28px;
  padding-left: 28px;
}

.shorts-section blockquote {
  margin: 16px 0 0;
  border-radius: 16px;
  padding: 20px;
  background: var(--landing-accent-light);
  font-size: 14px;
  font-weight: 800;
  text-align: center;
}

.phone-demo {
  width: min(290px, 100%);
  margin: 0 auto;
  border: 9px solid #161c2a;
  border-radius: 34px;
  padding: 15px 12px 12px;
  background: #161c2a;
  box-shadow: 0 20px 46px rgba(15, 23, 42, 0.22);
}

.phone-speaker {
  width: 48px;
  height: 5px;
  margin: 0 auto 12px;
  border-radius: 999px;
  background: #3a4252;
}

.short-video-card {
  overflow: hidden;
  border-radius: 23px;
  background: #0f1115;
  aspect-ratio: 9 / 16;
}

.short-video-card video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.landing-video-placeholder {
  display: flex;
  width: 100%;
  height: 100%;
  min-height: 240px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 10px;
  padding: 24px;
  background: linear-gradient(145deg, #1c2433, #0f1115);
  color: #dce5f5;
  text-align: center;
}

.landing-video-placeholder span {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 50%;
  font-size: 18px;
}

.landing-video-placeholder p {
  margin: 0;
  color: inherit;
  font-size: 13px;
}

.report-section {
  background: var(--landing-accent-light);
}

.report-layout {
  grid-template-columns: minmax(0, 1.3fr) minmax(320px, 0.7fr);
  align-items: stretch;
  gap: 28px;
}

.report-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: 1fr;
  gap: 13px;
}

.report-cards article {
  display: flex;
  min-height: 0;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  border-radius: 14px;
  padding: 22px 18px;
  background: #fff;
  text-align: center;
}

.report-cards strong,
.report-cards span {
  display: block;
}

.report-cards strong {
  font-size: 14px;
}

.report-cards span {
  margin-top: 5px;
  color: var(--landing-sub);
  font-size: 12px;
}

.report-cards .report-card-icon {
  margin: 0 0 13px;
  color: inherit;
  font-size: 28px;
  line-height: 1;
}

.report-video-card {
  overflow: hidden;
  align-self: center;
  justify-self: center;
  width: min(320px, 100%);
  border: 1px solid #d5dff1;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 18px 40px rgba(47, 111, 237, 0.14);
}

.report-video-card video {
  display: block;
  width: 100%;
  aspect-ratio: 406 / 720;
  background: #0f1115;
  object-fit: cover;
}

.report-video-card .landing-video-placeholder {
  aspect-ratio: 406 / 720;
}

.report-video-card p {
  margin: 0;
  padding: 12px 16px;
  color: var(--landing-sub);
  font-size: 12px;
  text-align: center;
}

.feedback-section {
  overflow: hidden;
  background: var(--landing-soft);
}

.feedback-window {
  position: relative;
  overflow: hidden;
  border: 1px solid #dce5f5;
  border-radius: 22px;
  padding: 22px 0;
  background: #fff;
  box-shadow: 0 12px 34px rgba(47, 111, 237, 0.08);
}

.feedback-window::before,
.feedback-window::after {
  position: absolute;
  z-index: 2;
  top: 0;
  bottom: 0;
  width: 64px;
  content: "";
  pointer-events: none;
}

.feedback-window::before {
  left: 0;
  background: linear-gradient(90deg, #fff, rgba(255, 255, 255, 0));
}

.feedback-window::after {
  right: 0;
  background: linear-gradient(270deg, #fff, rgba(255, 255, 255, 0));
}

.feedback-track {
  display: flex;
  width: max-content;
  gap: 16px;
  animation: feedback-scroll 34s linear infinite;
}

.feedback-window:hover .feedback-track {
  animation-play-state: paused;
}

/*
 * -50%는 트랙이 정확히 동일한 두 절반임을 전제하고 -8px는 gap(16px)의 절반 보정이다.
 * 복제본 수를 원본과 다르게 만들면 이음매가 튄다 — 복제는 BetaCommentCarousel.of()가 담당한다.
 */
@keyframes feedback-scroll {
  to { transform: translateX(calc(-50% - 8px)); }
}

/*
 * 승인 의견이 애니메이션 하한(5장) 미달일 때. 카드가 고정 310px이라 트랙이 window보다 좁아져
 * 자동 스크롤이 빈 구간을 지나가므로, 복제 없이 실제 장수만 가운데 정렬로 세운다.
 * 좌우 페이드는 잘라낼 넘침이 없어 오히려 카드 끝을 가리므로 함께 끈다.
 */
.feedback-window.is-static::before,
.feedback-window.is-static::after {
  display: none;
}

.feedback-window.is-static .feedback-track {
  width: auto;
  flex-wrap: wrap;
  justify-content: center;
  padding: 0 22px;
  animation: none;
}

.feedback-card {
  width: 310px;
  flex: 0 0 auto;
  border: 1px solid var(--landing-border);
  border-radius: 16px;
  padding: 18px;
  background: #fff;
}

.feedback-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 11px;
}

.feedback-avatar {
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: var(--landing-accent-light);
  color: var(--landing-accent);
  font-size: 11px;
  font-weight: 900;
}

.feedback-name {
  font-size: 13.5px;
  font-weight: 800;
}

.feedback-role {
  color: var(--landing-sub);
  font-size: 11.5px;
}

.feedback-live {
  margin-left: auto;
  border-radius: 999px;
  padding: 3px 8px;
  background: var(--landing-accent-light);
  color: var(--landing-accent);
  font-size: 10.5px;
  font-weight: 800;
}

.feedback-text {
  margin: 0;
  color: #374151;
  font-size: 13.5px;
  line-height: 1.65;
}

.feedback-note {
  margin: 16px 0 0;
  color: var(--landing-sub);
  font-size: 12px;
  text-align: center;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 900px;
  margin: 0 auto;
  gap: 28px;
}

.steps-grid article {
  position: relative;
  text-align: center;
}

.steps-grid article + article::before {
  position: absolute;
  top: 26px;
  right: calc(50% + 42px);
  width: calc(100% - 84px);
  border-top: 1px dashed #c3d2ef;
  content: "";
}

.steps-grid article > span {
  position: relative;
  z-index: 1;
  display: grid;
  width: 54px;
  height: 54px;
  margin: 0 auto 15px;
  place-items: center;
  border-radius: 50%;
  background: var(--landing-accent);
  color: #fff;
  font-size: 17px;
  font-weight: 900;
}

.steps-grid h3 {
  margin: 0 0 5px;
  font-size: 16px;
}

.steps-grid p {
  margin: 0;
  color: var(--landing-sub);
  font-size: 12px;
}

.beta-cta-section {
  padding-top: 0 !important;
}

.beta-cta {
  border-radius: 24px;
  padding: 54px 24px;
  background: linear-gradient(135deg, #245cca, var(--landing-accent) 56%, #5184ef);
  color: #fff;
  text-align: center;
}

.beta-cta > span {
  display: inline-flex;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  padding: 4px 10px;
  background: rgba(255, 255, 255, 0.1);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.beta-cta h2 {
  margin: 12px 0 8px;
  font-size: clamp(25px, 4vw, 34px);
  letter-spacing: -0.035em;
}

.beta-cta p {
  margin: 0 0 20px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
}

.beta-cta .landing-btn-white {
  color: var(--landing-accent);
}

.vision-copy {
  max-width: 700px;
  margin: 32px auto 0;
  color: var(--landing-sub);
  font-size: 13px;
  text-align: center;
}

footer.public-footer {
  background: #111827;
}

:focus-visible {
  outline: 3px solid rgba(47, 111, 237, 0.3);
  outline-offset: 3px;
}

@media (max-width: 940px) {
  .nav-wrap {
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    gap: 14px;
  }

  .landing-account-area {
    min-width: 0;
  }

  .builder-experience,
  .two-column-feature,
  .report-layout {
    grid-template-columns: 1fr;
  }

  .builder-preview-panel {
    align-self: stretch;
    padding: 30px;
  }

  .phone-demo {
    margin-top: 4px;
  }

  .two-column-feature {
    gap: 34px;
  }

  .report-video-card {
    margin: 0 auto;
  }
}

@media (max-width: 760px) {
  .landing-container {
    width: min(100% - 30px, 1120px);
  }

  .landing-brand {
    gap: 7px;
    font-size: 16px;
  }

  .landing-brand img {
    height: 34px;
  }

  .landing-header .auth-action {
    min-height: 38px;
    padding: 0 12px;
    font-size: 12px;
  }

  .landing-contact-action {
    min-height: 38px;
    padding: 0 12px;
    font-size: 12px;
  }

  .hero-paysam {
    min-height: 500px;
    padding: 56px 0 48px;
  }

  .hero-paysam h1 {
    font-size: clamp(30px, 9.4vw, 42px);
  }

  .hero-line-primary {
    font-size: 0.76em;
  }

  .hero-description {
    font-size: 14px;
  }

  .free-strip-inner {
    gap: 7px 13px;
  }

  .free-strip strong,
  .free-strip span {
    font-size: 12px;
  }

  .beta-comment-form {
    grid-template-columns: 1fr 1fr;
  }

  .beta-comment-form .comment-input,
  .beta-comment-form button {
    grid-column: 1 / -1;
  }

  .beta-comment-bottom {
    display: grid;
  }

  main section:not(.hero-paysam):not(.free-strip) {
    padding: 58px 0;
  }

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

  .builder-form-panel,
  .builder-preview-panel {
    padding: 24px 18px;
  }

  .preview-header,
  .preview-content-grid {
    padding-right: 14px;
    padding-left: 14px;
  }

  .preview-hero {
    padding: 30px 20px 26px;
  }

  .preview-links {
    display: none;
  }

  .preview-content-grid {
    grid-template-columns: 1fr;
  }

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

  .feature-card {
    min-height: 0;
  }

  .steps-grid {
    max-width: 340px;
  }

  .steps-grid article + article::before {
    display: none;
  }

  .feedback-window::before,
  .feedback-window::after {
    width: 30px;
  }

  .feedback-card {
    width: 275px;
  }
}

@media (max-width: 520px) {
  .builder-audience-field {
    grid-template-columns: 1fr;
  }

  .builder-audience-field #targetBtns {
    flex-wrap: wrap;
  }

  .nav-wrap {
    min-height: 62px;
    gap: 5px;
  }

  .landing-header-actions {
    gap: 4px;
  }

  .landing-contact-action,
  .landing-header .auth-action {
    min-height: 34px;
    padding: 0 8px;
    border-radius: 8px;
    font-size: 11px;
  }

  .landing-brand img {
    height: 30px;
  }

  .hero-inner::before,
  .hero-inner::after {
    display: none;
  }

  .hero-eyebrow {
    font-size: 13px;
  }

  .landing-brand-word {
    font-size: 14px;
  }

  .hero-actions {
    display: grid;
  }

  .landing-btn-lg {
    width: 100%;
  }

  .shorts-grid,
  .report-cards {
    grid-template-columns: 1fr;
  }

  .shorts-grid .shorts-wide-card {
    grid-column: auto;
  }

  .browser-toolbar {
    gap: 6px;
    padding: 0 9px;
  }

  .browser-dots {
    display: none;
  }

  .preview-stats strong {
    font-size: 11px;
  }

  .preview-stats span {
    font-size: 7px;
  }

}

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

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

  .brand-part {
    opacity: 1;
    filter: none;
    transform: none;
  }

  .brand-word,
  .brand-word.is-playing,
  .brand-word.is-resetting {
    opacity: 1;
    filter: none;
    animation: none !important;
    transform: none;
  }
}
