@font-face {
  font-family: "GmarketSans";
  src: url("../assets/fonts/GmarketSansTTFLight.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "GmarketSans";
  src: url("../assets/fonts/GmarketSansTTFMedium.ttf") format("truetype");
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "GmarketSans";
  src: url("../assets/fonts/GmarketSansTTFBold.ttf") format("truetype");
  font-weight: 700 950;
  font-style: normal;
  font-display: swap;
}

:root {
  --orange: #ff5500;
  --orange-dark: #e54800;
  --action-orange: #cc3d00;
  --action-orange-dark: #a93200;
  --orange-soft: #fff0e8;
  --navy: #000435;
  --navy-soft: #0a104b;
  --cream: #fff9f5;
  --paper: #ffffff;
  --ink: #171a25;
  --muted: #686d79;
  --line: #e5e7ec;
  --line-warm: #f0d9cc;
  --success: #087a4b;
  --danger: #c42f25;
  --shadow: 0 22px 70px rgba(0, 4, 53, 0.12);
  --font: "GmarketSans", "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background: #f6f7fa;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  word-break: keep-all;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}

body.dialog-open {
  overflow: hidden;
}

button,
input {
  font: inherit;
}

button,
a,
summary,
input,
[tabindex] {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
  cursor: pointer;
}

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

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

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

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 9999;
  padding: 12px 18px;
  color: #fff;
  background: var(--navy);
  border-radius: 10px;
  transform: translateY(-150%);
  transition: transform 0.2s ease;
}

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

:focus-visible {
  outline: 3px solid rgba(255, 85, 0, 0.42);
  outline-offset: 3px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  min-height: 74px;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(0, 4, 53, 0.08);
  backdrop-filter: blur(18px);
}

.header-inner {
  width: min(1180px, calc(100% - 40px));
  min-height: 74px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-height: 44px;
}

.brand img {
  width: auto;
  height: 50px;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  color: var(--navy);
  line-height: 1.1;
}

.brand-copy strong {
  font-size: 17px;
  letter-spacing: -0.04em;
}

.brand-copy small {
  margin-top: 4px;
  color: #7b7f89;
  font-size: 9px;
  font-weight: 700;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  color: var(--navy);
  font-size: 14px;
  font-weight: 700;
}

.header-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.header-pay-button {
  min-height: 44px;
  padding: 0 20px;
  color: #fff;
  background: var(--action-orange);
  border: 0;
  border-radius: 999px;
  font-weight: 800;
  transition: background 0.2s ease, transform 0.2s ease;
}

.header-pay-button:hover {
  background: var(--action-orange-dark);
  transform: translateY(-1px);
}

.title-band {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 78% 10%, rgba(255, 85, 0, 0.32), transparent 30%),
    linear-gradient(125deg, #00021d 0%, var(--navy) 52%, #07105a 100%);
}

.title-band::after {
  content: "";
  position: absolute;
  right: -5vw;
  bottom: -130px;
  width: 430px;
  height: 250px;
  border: 1px solid rgba(255, 85, 0, 0.28);
  border-radius: 50%;
  box-shadow:
    0 0 0 42px rgba(255, 85, 0, 0.06),
    0 0 0 84px rgba(255, 85, 0, 0.035);
  transform: rotate(-10deg);
}

.title-band-inner {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 62px 0 68px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 12px;
  color: #ffb28b;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.eyebrow span {
  width: 25px;
  height: 2px;
  background: var(--orange);
}

.title-band h1 {
  margin: 0;
  font-size: clamp(34px, 5.3vw, 62px);
  line-height: 1.16;
  letter-spacing: -0.045em;
}

.title-lead {
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(15px, 2vw, 19px);
}

.product-section {
  padding: 62px 0 100px;
}

.product-layout {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: clamp(38px, 5vw, 70px);
  align-items: start;
}

.product-content {
  min-width: 0;
}

.poster-card {
  margin: 0;
  overflow: hidden;
  background: var(--paper);
  border: 1px solid rgba(0, 4, 53, 0.08);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.poster-frame {
  padding: clamp(10px, 2vw, 18px);
  background:
    linear-gradient(140deg, rgba(255, 85, 0, 0.2), transparent 25%),
    var(--navy);
}

.poster-frame img {
  width: 100%;
  height: auto;
  border-radius: 14px;
}

.poster-card figcaption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 24px;
  color: var(--navy);
}

.poster-card figcaption span {
  color: var(--orange);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.poster-card figcaption strong {
  font-size: 15px;
  text-align: right;
}

.details-block {
  margin-top: 52px;
  overflow: clip;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 24px;
}

.detail-tabs {
  position: sticky;
  top: 74px;
  z-index: 20;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.detail-tab {
  position: relative;
  min-height: 68px;
  padding: 8px 5px;
  color: #7b7f89;
  background: transparent;
  border: 0;
  font-size: 15px;
  font-weight: 800;
}

.detail-tab::after {
  content: "";
  position: absolute;
  right: 16px;
  bottom: -1px;
  left: 16px;
  height: 3px;
  background: var(--orange);
  border-radius: 3px 3px 0 0;
  transform: scaleX(0);
  transition: transform 0.22s ease;
}

.detail-tab:hover {
  color: var(--navy);
}

.detail-tab.is-active {
  color: var(--navy);
}

.detail-tab.is-active::after {
  transform: scaleX(1);
}

.tab-panel {
  padding: clamp(34px, 6vw, 64px);
}

.tab-panel[hidden] {
  display: none;
}

.section-kicker {
  margin: 0 0 10px;
  color: var(--orange);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.tab-panel h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(27px, 4vw, 40px);
  line-height: 1.25;
  letter-spacing: -0.035em;
}

.panel-lead {
  margin: 20px 0 0;
  color: #555b68;
  font-size: 17px;
  line-height: 1.9;
}

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

.info-grid div {
  min-height: 120px;
  padding: 24px;
  background: #f8f8fb;
  border-radius: 16px;
}

.info-grid dt {
  margin-bottom: 9px;
  color: #858995;
  font-size: 12px;
  font-weight: 700;
}

.info-grid dd {
  margin: 0;
  color: var(--navy);
  font-size: 15px;
  font-weight: 800;
}

.risk-note {
  margin-top: 28px;
  padding: 24px 26px;
  background: var(--orange-soft);
  border-left: 4px solid var(--orange);
  border-radius: 0 14px 14px 0;
}

.risk-note strong {
  color: var(--orange-dark);
  font-size: 14px;
}

.risk-note p {
  margin: 7px 0 0;
  color: #5f514b;
  font-size: 13px;
  line-height: 1.8;
}

.process-list {
  display: grid;
  gap: 0;
  margin: 38px 0 0;
  padding: 0;
  list-style: none;
}

.process-list li {
  position: relative;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 18px;
  padding: 0 0 30px;
}

.process-list li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 47px;
  bottom: 7px;
  left: 25px;
  width: 1px;
  background: #e1e3e9;
}

.process-list li > span {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  color: #fff;
  background: var(--navy);
  border-radius: 50%;
  font-size: 12px;
  font-weight: 900;
}

.process-list strong {
  display: block;
  margin: 2px 0 5px;
  color: var(--navy);
  font-size: 17px;
}

.process-list p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.simple-notice {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 8px;
  padding: 20px 22px;
  color: var(--navy);
  background: var(--cream);
  border: 1px solid var(--line-warm);
  border-radius: 14px;
}

.simple-notice p {
  margin: 0;
  color: var(--orange-dark);
  font-size: 14px;
  font-weight: 800;
}

.guide-list {
  display: grid;
  gap: 14px;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
}

.guide-list li {
  position: relative;
  padding: 23px 24px 23px 56px;
  background: #f8f8fb;
  border-radius: 16px;
}

.guide-list li::before {
  content: "✓";
  position: absolute;
  top: 23px;
  left: 24px;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  color: #fff;
  background: var(--orange);
  border-radius: 50%;
  font-size: 12px;
  font-weight: 900;
}

.guide-list strong {
  color: var(--navy);
  font-size: 15px;
}

.guide-list p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.refund-copy {
  margin-top: 32px;
  padding: 28px;
  color: #505662;
  background: #f8f8fb;
  border-radius: 16px;
}

.refund-copy p {
  margin: 0;
  line-height: 1.85;
}

.refund-copy p + p {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.contact-box {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
  margin-top: 22px;
  padding: 20px 22px;
  color: var(--navy);
  background: var(--orange-soft);
  border-radius: 14px;
  font-size: 13px;
}

.contact-box span {
  margin-right: auto;
  font-weight: 800;
}

.contact-box a {
  color: var(--orange-dark);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.checkout-column {
  position: relative;
}

.checkout-card {
  position: sticky;
  top: 104px;
  padding: 32px;
  overflow: hidden;
  background: var(--paper);
  border: 1px solid rgba(0, 4, 53, 0.1);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.checkout-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--orange), #ff9b49);
}

.checkout-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 22px;
}

.checkout-badges span {
  display: inline-flex;
  align-items: center;
  min-height: 29px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.06em;
}

.one-time-badge {
  color: #fff;
  background: var(--navy);
}

.no-renewal-badge {
  color: var(--orange-dark);
  background: var(--orange-soft);
}

.checkout-label {
  margin: 0 0 6px;
  color: var(--orange);
  font-size: 12px;
  font-weight: 800;
}

.checkout-card h2 {
  margin: 0;
  color: var(--navy);
  font-size: 24px;
  line-height: 1.35;
  letter-spacing: -0.035em;
}

.price-row {
  display: flex;
  align-items: baseline;
  gap: 5px;
  margin-top: 24px;
  color: var(--navy);
}

.price-row strong {
  font-size: 38px;
  line-height: 1;
  letter-spacing: -0.045em;
}

.price-row span {
  font-size: 18px;
  font-weight: 800;
}

.price-description {
  margin: 10px 0 24px;
  color: var(--orange-dark);
  font-size: 13px;
  font-weight: 800;
}

.checkout-info {
  margin: 0;
  padding: 5px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.checkout-info div {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
  gap: 14px;
  padding: 13px 0;
  font-size: 12px;
}

.checkout-info dt {
  color: #8a8e98;
}

.checkout-info dd {
  margin: 0;
  color: var(--navy);
  font-weight: 800;
  text-align: right;
}

.primary-pay-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 60px;
  margin-top: 24px;
  padding: 0 23px;
  color: #fff;
  background: var(--action-orange);
  border: 0;
  border-radius: 15px;
  box-shadow: 0 13px 28px rgba(255, 85, 0, 0.24);
  font-size: 16px;
  font-weight: 900;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.primary-pay-button:hover {
  background: var(--action-orange-dark);
  box-shadow: 0 16px 32px rgba(255, 85, 0, 0.3);
  transform: translateY(-2px);
}

.primary-pay-button span:last-child {
  font-size: 24px;
  font-weight: 300;
}

.secure-note {
  margin: 15px 0 0;
  color: #7b7f89;
  font-size: 11px;
  text-align: center;
}

.secure-note span {
  margin-right: 5px;
  color: var(--success);
  font-size: 7px;
}

.checkout-risk {
  margin: 20px 0 0;
  padding-top: 18px;
  color: #8a8e98;
  border-top: 1px dashed #dcdfe5;
  font-size: 10px;
  line-height: 1.7;
  text-align: center;
}

.site-footer {
  padding: 55px 0 62px;
  color: rgba(255, 255, 255, 0.64);
  background: #00021f;
}

.footer-inner {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 48px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 22px;
  color: #fff;
}

.footer-brand img {
  width: auto;
  height: 66px;
}

.footer-brand span {
  display: flex;
  flex-direction: column;
  line-height: 1.12;
}

.footer-brand strong {
  font-size: 20px;
  letter-spacing: -0.04em;
}

.footer-brand small {
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 9px;
  font-weight: 700;
}

.footer-company p {
  margin: 0;
  font-size: 11px;
  line-height: 1.9;
}

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

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
}

.footer-links button {
  padding: 4px 0;
  color: rgba(255, 255, 255, 0.74);
  background: transparent;
  border: 0;
  font-size: 11px;
  font-weight: 700;
}

.footer-links button:hover {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.mobile-purchase-bar {
  display: none;
}

dialog {
  color: var(--ink);
  font-family: var(--font);
}

dialog::backdrop {
  background: rgba(0, 2, 30, 0.72);
  backdrop-filter: blur(5px);
}

.payment-dialog {
  width: min(720px, calc(100% - 28px));
  max-height: calc(100dvh - 28px);
  margin: auto;
  padding: 0;
  overflow: hidden;
  background: var(--paper);
  border: 0;
  border-radius: 24px;
  box-shadow: 0 30px 110px rgba(0, 0, 25, 0.34);
}

.payment-dialog[open],
.success-dialog[open] {
  animation: dialog-in 0.24s ease-out;
}

@keyframes dialog-in {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.payment-form {
  display: flex;
  flex-direction: column;
  max-height: calc(100dvh - 28px);
}

.dialog-header {
  flex: 0 0 auto;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 25px 28px 22px;
  color: #fff;
  background:
    radial-gradient(circle at 75% -30%, rgba(255, 85, 0, 0.55), transparent 42%),
    var(--navy);
}

.dialog-header p {
  margin: 0 0 5px;
  color: #ffb08a;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.dialog-header h2 {
  margin: 0;
  font-size: 22px;
  line-height: 1.35;
}

.dialog-close {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  padding: 0 0 3px;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 50%;
  font-size: 27px;
  font-weight: 300;
  line-height: 1;
}

.dialog-close:hover {
  background: rgba(255, 255, 255, 0.18);
}

.dialog-scroll {
  flex: 1 1 auto;
  padding: 26px 28px 32px;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.dialog-description {
  margin: 0 0 22px;
  padding: 16px 18px;
  color: #515765;
  background: var(--orange-soft);
  border-radius: 12px;
  font-size: 13px;
}

.dialog-description strong,
.dialog-description b {
  color: var(--orange-dark);
}

.token-status {
  min-height: 22px;
  margin: -5px 0 8px;
  color: #686e7a;
  font-size: 12px;
}

.token-status.is-ready {
  color: var(--success);
}

.token-status.is-error {
  color: var(--danger);
}

.retry-token-button {
  margin: 0 0 12px;
  padding: 8px 11px;
  color: var(--navy);
  background: #fff;
  border: 1px solid #cfd2dc;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 800;
}

.form-section,
.agreement-section {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.form-section + .form-section,
.agreement-section {
  margin-top: 30px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.form-section legend,
.agreement-section legend {
  display: flex;
  align-items: center;
  gap: 9px;
  width: 100%;
  margin-bottom: 17px;
  color: var(--navy);
  font-size: 16px;
  font-weight: 900;
}

.form-section legend span,
.agreement-section legend span {
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  color: #fff;
  background: var(--orange);
  border-radius: 50%;
  font-size: 11px;
}

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

.field-full {
  grid-column: 1 / -1;
}

.field {
  display: block;
  min-width: 0;
}

.field > span:not(.password-input-wrap),
.field > #expiryLabel {
  display: block;
  margin-bottom: 7px;
  color: #343946;
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
}

.field em {
  margin-left: 3px;
  color: var(--orange);
  font-size: 10px;
  font-style: normal;
}

.field small {
  margin-left: 3px;
  color: #90949e;
  font-size: 10px;
  font-weight: 500;
}

.field input,
.expiry-fields input {
  width: 100%;
  height: 50px;
  padding: 0 14px;
  color: var(--ink);
  background: #fff;
  border: 1px solid #d7d9e0;
  border-radius: 11px;
  font-size: 14px;
  transition: border 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}

.field input::placeholder,
.expiry-fields input::placeholder {
  color: #acafb7;
}

.field input:hover,
.expiry-fields input:hover {
  border-color: #afb3bd;
}

.field input:focus,
.expiry-fields input:focus {
  background: #fff;
  border-color: var(--orange);
  outline: 0;
  box-shadow: 0 0 0 3px rgba(255, 85, 0, 0.12);
}

.field input[aria-invalid="true"],
.expiry-fields input[aria-invalid="true"] {
  border-color: var(--danger);
  background: #fff9f8;
}

.card-number-input {
  letter-spacing: 0.055em;
}

.expiry-fields {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 8px;
}

.expiry-fields span {
  color: #a0a4ad;
}

.password-input-wrap {
  display: block;
  position: relative;
}

.password-field input {
  padding-right: 62px;
}

.password-input-wrap > span {
  position: absolute;
  top: 50%;
  right: 17px;
  color: #a9acb4;
  font-size: 10px;
  letter-spacing: 0.24em;
  transform: translateY(-50%);
  pointer-events: none;
}

.field-help {
  margin: 11px 0 0;
  color: #888c96;
  font-size: 10px;
}

.agree-all {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 16px 17px;
  color: var(--navy);
  background: #f5f5f9;
  border-radius: 12px;
  cursor: pointer;
}

.agreement-list {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.agreement-item {
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: 11px;
}

.agreement-item > label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
}

.agree-all input,
.agreement-item input {
  flex: 0 0 auto;
  width: 19px;
  height: 19px;
  margin: 2px 0 0;
  accent-color: var(--orange);
}

.agree-all span,
.agreement-item label span {
  font-size: 12px;
  line-height: 1.55;
}

.agreement-item label b {
  color: var(--orange-dark);
}

.agreement-item details {
  margin: 8px 0 0 29px;
  color: #797d87;
  font-size: 12px;
}

.agreement-item summary {
  width: fit-content;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.agreement-item details p {
  margin: 8px 0 0;
  padding: 11px 12px;
  background: #f8f8fa;
  border-radius: 8px;
  line-height: 1.75;
}

.form-error {
  min-height: 22px;
  margin-top: 18px;
  color: var(--danger);
  font-size: 12px;
  font-weight: 700;
}

.dialog-actions {
  flex: 0 0 auto;
  display: grid;
  grid-template-columns: minmax(150px, 0.7fr) minmax(250px, 1.3fr);
  align-items: center;
  gap: 18px;
  padding: 18px 28px;
  background: #fff;
  border-top: 1px solid var(--line);
  box-shadow: 0 -10px 30px rgba(0, 4, 53, 0.05);
}

.dialog-actions > div {
  display: flex;
  flex-direction: column;
}

.dialog-actions > div span {
  color: #858995;
  font-size: 10px;
}

.dialog-actions > div strong {
  color: var(--navy);
  font-size: 20px;
}

.dialog-actions button {
  min-height: 55px;
  padding: 0 20px;
  color: #fff;
  background: var(--action-orange);
  border: 0;
  border-radius: 13px;
  font-size: 15px;
  font-weight: 900;
}

.dialog-actions button:hover:not(:disabled) {
  background: var(--action-orange-dark);
}

.dialog-actions button:disabled {
  color: #9b9ea7;
  background: #e3e4e8;
  cursor: not-allowed;
}

.dialog-actions button[aria-busy="true"] {
  cursor: wait;
}

.dialog-actions button[aria-busy="true"] span::after {
  content: "";
  display: inline-block;
  width: 13px;
  height: 13px;
  margin-left: 9px;
  border: 2px solid rgba(255, 255, 255, 0.45);
  border-top-color: #fff;
  border-radius: 50%;
  vertical-align: -2px;
  animation: spin 0.7s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.success-dialog {
  width: min(480px, calc(100% - 28px));
  margin: auto;
  padding: 42px 36px 34px;
  text-align: center;
  background: #fff;
  border: 0;
  border-radius: 24px;
  box-shadow: 0 30px 110px rgba(0, 0, 25, 0.34);
}

.success-icon {
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  margin: 0 auto 18px;
  color: #fff;
  background: var(--orange);
  border-radius: 50%;
  box-shadow: 0 10px 25px rgba(255, 85, 0, 0.25);
  font-size: 29px;
  font-weight: 900;
}

.success-kicker {
  margin: 0 0 5px;
  color: var(--orange);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.11em;
}

.success-dialog h2 {
  margin: 0;
  color: var(--navy);
  font-size: 24px;
}

.success-message {
  margin: 12px 0 24px;
  color: #646976;
  font-size: 13px;
}

.success-details {
  margin: 0;
  padding: 15px 18px;
  background: #f7f7fa;
  border-radius: 13px;
}

.success-details div {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr);
  gap: 12px;
  padding: 8px 0;
  font-size: 12px;
}

.success-details dt {
  color: #898d96;
  text-align: left;
}

.success-details dd {
  margin: 0;
  color: var(--navy);
  font-weight: 800;
  text-align: right;
}

.success-dialog > button {
  width: 100%;
  min-height: 52px;
  margin-top: 22px;
  color: #fff;
  background: var(--navy);
  border: 0;
  border-radius: 12px;
  font-weight: 900;
}

@media (max-width: 980px) {
  body {
    padding-bottom: 84px;
  }

  .product-layout {
    grid-template-columns: minmax(0, 1fr);
    width: min(760px, calc(100% - 36px));
  }

  .checkout-column {
    display: none;
  }

  .mobile-purchase-bar {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 90;
    display: grid;
    grid-template-columns: minmax(0, 0.75fr) minmax(160px, 1.25fr);
    gap: 12px;
    min-height: 76px;
    padding: 10px max(16px, env(safe-area-inset-right)) max(10px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));
    background: rgba(255, 255, 255, 0.96);
    border-top: 1px solid rgba(0, 4, 53, 0.1);
    box-shadow: 0 -10px 30px rgba(0, 4, 53, 0.1);
    backdrop-filter: blur(15px);
  }

  .mobile-purchase-bar > div {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .mobile-purchase-bar span {
    color: var(--orange-dark);
    font-size: 10px;
    font-weight: 800;
  }

  .mobile-purchase-bar strong {
    color: var(--navy);
    font-size: 18px;
  }

  .mobile-purchase-bar button {
    min-height: 54px;
    color: #fff;
    background: var(--action-orange);
    border: 0;
    border-radius: 13px;
    font-size: 15px;
    font-weight: 900;
  }

  .footer-inner {
    padding-bottom: 20px;
  }
}

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

  .site-header,
  .header-inner {
    min-height: 64px;
  }

  .header-inner,
  .title-band-inner,
  .footer-inner {
    width: min(100% - 30px, 1180px);
  }

  .brand img {
    width: auto;
    height: 42px;
  }

  .brand {
    gap: 8px;
  }

  .brand-copy strong {
    font-size: 14px;
  }

  .brand-copy small {
    font-size: 8px;
  }

  .header-nav {
    gap: 9px;
  }

  .header-nav a {
    display: none;
  }

  .header-pay-button {
    min-height: 40px;
    padding: 0 15px;
    font-size: 12px;
  }

  .title-band-inner {
    padding: 40px 0 44px;
  }

  .title-band::after {
    right: -180px;
  }

  .eyebrow {
    font-size: 10px;
  }

  .title-band h1 {
    font-size: clamp(31px, 10vw, 42px);
  }

  .title-lead {
    margin-top: 10px;
    font-size: 13px;
  }

  .product-section {
    padding: 26px 0 65px;
  }

  .product-layout {
    width: calc(100% - 24px);
  }

  .poster-card,
  .details-block {
    border-radius: 18px;
  }

  .poster-frame {
    padding: 7px;
  }

  .poster-frame img {
    border-radius: 12px;
  }

  .poster-card figcaption {
    display: block;
    padding: 16px 18px;
  }

  .poster-card figcaption span {
    display: block;
    margin-bottom: 3px;
  }

  .poster-card figcaption strong {
    font-size: 12px;
    text-align: left;
  }

  .details-block {
    margin-top: 28px;
  }

  .detail-tabs {
    top: 64px;
    overflow-x: auto;
  }

  .detail-tab {
    min-height: 58px;
    font-size: 12px;
  }

  .detail-tab::after {
    right: 8px;
    left: 8px;
  }

  .tab-panel {
    padding: 31px 21px 36px;
  }

  .section-kicker {
    font-size: 9px;
  }

  .tab-panel h2 {
    font-size: 27px;
  }

  .panel-lead {
    margin-top: 15px;
    font-size: 14px;
    line-height: 1.8;
  }

  .info-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 9px;
    margin-top: 25px;
  }

  .info-grid div {
    min-height: 0;
    padding: 18px;
  }

  .risk-note {
    padding: 19px;
  }

  .process-list {
    margin-top: 28px;
  }

  .process-list li {
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 14px;
  }

  .process-list li > span {
    width: 44px;
    height: 44px;
  }

  .process-list li:not(:last-child)::after {
    top: 41px;
    left: 21px;
  }

  .process-list strong {
    font-size: 15px;
  }

  .process-list p {
    font-size: 12px;
  }

  .simple-notice {
    display: block;
  }

  .simple-notice p {
    margin-top: 5px;
  }

  .guide-list li {
    padding: 19px 18px 19px 50px;
  }

  .guide-list li::before {
    top: 19px;
    left: 18px;
  }

  .refund-copy {
    padding: 19px;
    font-size: 13px;
  }

  .contact-box {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .footer-links {
    gap: 7px 18px;
  }

  .payment-dialog {
    width: 100%;
    max-width: none;
    max-height: 96dvh;
    margin: auto 0 0;
    border-radius: 22px 22px 0 0;
  }

  .payment-form {
    max-height: 96dvh;
  }

  .dialog-header {
    padding: 20px 18px 17px;
  }

  .dialog-header h2 {
    font-size: 18px;
  }

  .dialog-close {
    width: 38px;
    height: 38px;
  }

  .dialog-scroll {
    padding: 20px 17px 27px;
  }

  .dialog-description {
    padding: 13px 14px;
    font-size: 11px;
  }

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

  .field-full {
    grid-column: auto;
  }

  .agreement-item {
    padding: 12px;
  }

  .dialog-actions {
    grid-template-columns: 0.72fr 1.28fr;
    gap: 12px;
    padding: 12px 16px max(12px, env(safe-area-inset-bottom));
  }

  .dialog-actions > div strong {
    font-size: 17px;
  }

  .dialog-actions button {
    min-height: 52px;
    padding: 0 12px;
    font-size: 13px;
  }

  .success-dialog {
    padding: 36px 23px 27px;
  }
}

[data-open-checkout]:disabled {
  box-shadow: none;
  cursor: wait;
  opacity: 0.62;
  transform: none;
}

@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;
  }
}
