@import url("https://fonts.googleapis.com/css2?family=Nunito+Sans:opsz,wght@6..12,400..900&display=swap");

:root {
  --bg: #f5fbff;
  --surface: #ffffff;
  --surface-soft: #eef8ff;
  --surface-blue: #e5f4ff;
  --text: #243a50;
  --heading: #173852;
  --muted: #6b8398;
  --line: #d7e9f6;
  --line-strong: #acd3ec;
  --blue: #31a4ea;
  --blue-strong: #1675bd;
  --blue-deep: #0d5e9a;
  --blue-soft: #e6f6ff;
  --mint: #49ba91;
  --mint-soft: #e7f8f1;
  --coral: #f08c78;
  --coral-soft: #fff0ed;
  --amber: #c58a2b;
  --shadow: 0 22px 70px rgba(37, 120, 180, 0.13);
  --radius: 22px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: auto;
}

body {
  margin: 0;
  font-family: "Nunito Sans", "Be Vietnam Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 18% 5%, rgba(49, 164, 234, 0.16), transparent 28%),
    linear-gradient(180deg, #f8fdff 0%, #ffffff 62%, #f5fbff 100%);
  line-height: 1.58;
  text-rendering: optimizeLegibility;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.mt-10 {
  margin-top: 10px;
}

.mt-12 {
  margin-top: 12px;
}

.mt-14 {
  margin-top: 14px;
}

.mt-16 {
  margin-top: 16px;
}

.mt-18 {
  margin-top: 18px;
}

.lead-compact {
  font-size: 1rem;
}

.center-actions {
  justify-content: center;
}

.text-amber {
  color: var(--amber);
}

.shell {
  width: min(calc(100% - 32px), 1120px);
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(215, 233, 246, 0.76);
  background: rgba(255, 255, 255, 0.84);
  backdrop-filter: blur(18px);
}

.topbar-inner {
  width: min(calc(100% - 32px), 1120px);
  min-height: 70px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-width: fit-content;
  color: var(--heading);
  text-decoration: none;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: linear-gradient(135deg, #1f99df 0%, #68d4b3 100%);
  box-shadow: 0 14px 34px rgba(49, 164, 234, 0.22);
  overflow: hidden;
}

.brand strong {
  display: block;
  color: var(--heading);
  font-size: 1.06rem;
  line-height: 1.05;
  letter-spacing: 0;
}

.brand span {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.78rem;
}

.journey-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
}

body[data-page="landing"] .journey-nav {
  display: none;
}

body[data-flow="new"] .flow-returning-only,
body[data-flow="returning"] .flow-new-only {
  display: none;
}

.journey-nav::-webkit-scrollbar {
  display: none;
}

.nav-step {
  min-height: 36px;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
  background: transparent;
  color: var(--muted);
  font-weight: 800;
  font-size: 0.9rem;
}

.nav-step .num {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: var(--blue-deep);
  background: var(--blue-soft);
  font-size: 0.75rem;
  font-weight: 900;
}

.nav-step.active {
  border-color: var(--line);
  color: var(--blue-deep);
  background: #fff;
  box-shadow: 0 10px 26px rgba(37, 120, 180, 0.08);
}

.nav-step:disabled,
.nav-step.is-disabled {
  cursor: not-allowed;
  color: #9eb2c1;
  background: transparent;
  box-shadow: none;
  opacity: 0.64;
}

.nav-step:disabled .num,
.nav-step.is-disabled .num {
  color: #91a7b7;
  background: #eef4f8;
}

.page {
  display: none;
  padding: 32px 0 70px;
}

.page.active {
  display: block;
}

.page,
.panel,
.hero-copy,
.form-card,
.field,
.choice-card,
.choice-body,
.summary-card,
.mini-card,
.logo-card,
.bank-card,
.preview-card {
  min-width: 0;
}

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

h1,
h2,
h3 {
  color: var(--heading);
  letter-spacing: 0;
}

h1 {
  max-width: 1040px;
  font-size: clamp(1.95rem, 3.35vw, 3.15rem);
  line-height: 1.06;
  font-weight: 900;
}

h2 {
  font-size: clamp(1.48rem, 3vw, 2.25rem);
  line-height: 1.12;
  font-weight: 900;
}

h3 {
  font-size: 1.08rem;
  line-height: 1.2;
  font-weight: 900;
}

.lead {
  max-width: 720px;
  margin-top: 18px;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.18rem);
}

.panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
}

.hero {
  min-height: calc(100vh - 94px);
  display: grid;
  align-items: center;
  padding: 24px 0 20px;
}

.hero-copy {
  max-width: 920px;
  padding: clamp(22px, 5vw, 58px) 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  border-radius: 999px;
  padding: 8px 13px;
  background: var(--blue-soft);
  color: var(--blue-deep);
  font-weight: 900;
  font-size: 0.88rem;
}

.hero-actions,
.row-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
}

.btn {
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  background: #fff;
  color: var(--blue-deep);
  text-decoration: none;
  font-weight: 900;
  box-shadow: 0 8px 20px rgba(37, 120, 180, 0.06);
}

.btn-primary {
  border-color: var(--blue);
  background: linear-gradient(135deg, var(--blue), #67c9f4);
  color: #fff;
  box-shadow: 0 16px 34px rgba(49, 164, 234, 0.25);
}

.btn-secondary {
  border-color: #bce2f8;
  background: var(--blue-soft);
  color: var(--blue-deep);
}

.btn-nowrap {
  min-width: 138px;
  white-space: nowrap;
}

.btn-plain {
  border-color: transparent;
  background: transparent;
  box-shadow: none;
}

.btn:disabled,
.btn.disabled {
  cursor: not-allowed;
  border-color: #d6e4eb;
  background: #e8f0f4;
  color: #8aa0ad;
  box-shadow: none;
  opacity: 0.72;
}

.icon {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.pill {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--muted);
  font-weight: 800;
  font-size: 0.92rem;
}

.beta-offer {
  width: fit-content;
  max-width: 100%;
  border: 1px solid #bce2f8;
  border-radius: 18px;
  padding: 12px 14px;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 12px;
  margin-top: 22px;
  background: rgba(230, 246, 255, 0.74);
  color: var(--muted);
  box-shadow: 0 12px 30px rgba(49, 164, 234, 0.1);
}

.beta-offer strong {
  color: var(--blue-deep);
  font-size: 1.5rem;
  line-height: 1;
  font-weight: 950;
}

.section {
  margin-top: 24px;
  padding: clamp(18px, 3vw, 28px);
}

.section-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.section-head p {
  max-width: 760px;
  margin-top: 7px;
  color: var(--muted);
}

.preview-toggle {
  margin-top: -28px;
  margin-bottom: 24px;
}

.preview-toggle summary {
  width: fit-content;
  list-style: none;
}

.preview-toggle summary::-webkit-details-marker {
  display: none;
}

.preview-toggle[open] summary {
  margin-bottom: 14px;
}

.preview-card {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.7fr);
  gap: 18px;
  align-items: stretch;
  padding: 18px;
}

.menu-preview {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  padding: 18px;
  box-shadow: 0 18px 40px rgba(37, 120, 180, 0.09);
}

.menu-preview h3 {
  font-size: 1.36rem;
}

.mini-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.mini-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px;
  background: var(--surface-soft);
}

.mini-card span {
  display: block;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 800;
}

.mini-card strong {
  display: block;
  margin-top: 4px;
  color: var(--heading);
  font-size: 0.96rem;
}

.menu-lines {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

.menu-line {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 10px;
  background: #fff;
  color: var(--muted);
  font-size: 0.92rem;
}

.menu-line strong {
  color: var(--blue-deep);
}

.logo-feature {
  display: grid;
  grid-template-columns: minmax(0, 0.65fr) minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  margin-top: 24px;
}

.logo-stage {
  min-height: 220px;
  border: 1px solid var(--line);
  border-radius: 24px;
  display: grid;
  place-items: center;
  background:
    linear-gradient(135deg, #edf9ff, #ffffff 52%, #eaf8f2);
}

.logo-lockup {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--heading);
  font-size: clamp(1.3rem, 3vw, 2rem);
  font-weight: 950;
}

.logo-large {
  width: 76px;
  height: 76px;
  border-radius: 26px;
}

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

.logo-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px;
  background: #fff;
  color: var(--muted);
  font-size: 0.92rem;
}

.logo-card strong {
  display: block;
  margin-bottom: 5px;
  color: var(--heading);
}

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

.support-list li {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 11px 12px;
  background: var(--surface-soft);
  color: var(--text);
  font-weight: 800;
}

.consent-list {
  display: grid;
  gap: 10px;
}

.consent-row {
  position: relative;
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
  align-items: start;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 12px;
  background: #fff;
}

.consent-row input {
  width: 18px;
  min-width: 18px;
  height: 18px;
  min-height: 18px;
  margin-top: 3px;
  accent-color: var(--blue);
}

.consent-row span {
  color: var(--muted);
}

.consent-row a {
  color: var(--blue-deep);
  font-weight: 900;
  text-decoration: none;
}

.consent-row.is-invalid {
  border-color: #e06262;
  background: #fff6f6;
}

.page-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.side-panel {
  position: sticky;
  top: 94px;
  padding: 18px;
}

.side-panel p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.95rem;
}

.progress-list {
  display: grid;
  gap: 8px;
  margin-top: 18px;
}

.progress-item {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 9px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 10px;
  background: #fff;
  color: var(--muted);
  font-weight: 800;
  min-width: 0;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.progress-dot {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--blue-soft);
  color: var(--blue-deep);
  font-size: 0.78rem;
  font-weight: 950;
}

.progress-item.current {
  border-color: var(--blue);
  color: var(--heading);
  box-shadow: 0 12px 30px rgba(49, 164, 234, 0.12);
}

.form-stack {
  display: grid;
  gap: 16px;
}

.form-card {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  padding: 18px;
}

.form-card-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
}

.form-card-head p {
  margin-top: 5px;
  color: var(--muted);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  width: fit-content;
  border-radius: 999px;
  padding: 6px 10px;
  background: var(--mint-soft);
  color: #2e8065;
  font-size: 0.8rem;
  font-weight: 900;
  white-space: nowrap;
}

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

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

.field-grid.schedule-basics {
  align-items: start;
}

.field-grid.schedule-basics .hint {
  min-height: 2.65em;
}

.field {
  display: grid;
  gap: 7px;
}

label {
  color: var(--heading);
  font-size: 0.92rem;
  font-weight: 900;
}

.hint {
  color: var(--muted);
  font-size: 0.84rem;
}

.required > label::after,
.required-label::after,
.consent-row.required span::after {
  content: " *";
  color: #d94f4f;
  font-weight: 950;
}

input,
select,
textarea {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 10px 12px;
  background: var(--surface-soft);
  color: var(--text);
  outline: none;
}

textarea {
  min-height: 98px;
  resize: vertical;
}

input::placeholder,
textarea::placeholder {
  color: rgba(82, 103, 118, 0.62);
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--blue);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(49, 164, 234, 0.13);
}

input:focus::placeholder,
textarea:focus::placeholder {
  color: transparent;
}

.field.is-invalid > label,
.field.is-invalid .required-label {
  color: #b42318;
}

.field.is-invalid input,
.field.is-invalid select,
.field.is-invalid textarea {
  border-color: #e06262;
  background: #fff6f6;
  box-shadow: 0 0 0 4px rgba(224, 98, 98, 0.12);
}

.field.is-invalid .chip {
  border-color: #e06262;
  background: #fff6f6;
  color: #b42318;
}

.field-error {
  display: none;
  color: #b42318;
  font-size: 0.82rem;
  font-weight: 800;
}

.field.is-invalid .field-error {
  display: block;
}

input[type="file"] {
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 0.9rem;
}

.segmented {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.segmented label,
.check-row {
  position: relative;
  display: inline-flex;
}

.segmented input,
.check-row input,
.choice-card input {
  position: static;
  flex: 0 0 0;
  opacity: 0;
  pointer-events: none;
  width: 0;
  height: 0;
  min-height: 0;
  margin: 0;
  border: 0;
  padding: 0;
}

.chip {
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: var(--muted);
  font-weight: 900;
  text-align: center;
  white-space: normal;
  overflow-wrap: anywhere;
}

.segmented input:checked + .chip,
.check-row input:checked + .chip {
  border-color: var(--blue);
  background: var(--blue-soft);
  color: var(--blue-deep);
}

.segmented.has-checkmarks input:checked + .chip::before {
  content: "✓";
  width: 18px;
  height: 18px;
  margin-right: 7px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 950;
  line-height: 1;
}

.check-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.summary-grid,
.choice-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

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

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

.state-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px;
  background: #fff;
  color: var(--muted);
}

.state-card.active {
  border-color: var(--blue);
  background: var(--blue-soft);
}

.state-card strong {
  display: block;
  color: var(--heading);
  margin-bottom: 5px;
}

.summary-card,
.choice-body,
.bank-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  padding: 16px;
}

.summary-card {
  min-height: 126px;
}

.summary-card span {
  display: block;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 900;
}

.summary-card strong {
  display: block;
  margin-top: 6px;
  color: var(--heading);
  font-size: 1rem;
}

.notice {
  border: 1px solid #f2d7ad;
  border-radius: 18px;
  padding: 16px;
  background: #fffaf0;
  color: #70531d;
}

.choice-card {
  position: relative;
  display: block;
  overflow: hidden;
}

.choice-body {
  min-height: 156px;
  display: grid;
  align-content: start;
  gap: 8px;
  overflow-wrap: anywhere;
}

.choice-card input:checked + .choice-body {
  border-color: var(--blue);
  background: var(--blue-soft);
  box-shadow: 0 16px 34px rgba(49, 164, 234, 0.13);
}

.choice-title {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--blue-deep);
  font-weight: 950;
}

.choice-body p {
  color: var(--muted);
  font-size: 0.92rem;
}

.payment-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.62fr);
  gap: 18px;
}

.bank-card {
  display: grid;
  gap: 14px;
}

.bank-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 12px;
}

.bank-row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.bank-row span {
  color: var(--muted);
  font-weight: 800;
}

.bank-row strong {
  color: var(--heading);
  text-align: right;
}

.qr {
  width: 184px;
  aspect-ratio: 1;
  border: 1px solid var(--line);
  border-radius: 22px;
  display: grid;
  place-items: center;
  background:
    linear-gradient(90deg, var(--blue) 10px, transparent 10px) 0 0 / 28px 28px,
    linear-gradient(var(--blue) 10px, transparent 10px) 0 0 / 28px 28px,
    #fff;
  color: var(--blue-deep);
  font-weight: 950;
  overflow: hidden;
}

.qr img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  background: #fff;
}

.qr-loading {
  display: grid;
  gap: 10px;
  justify-items: center;
  padding: 18px;
  text-align: center;
  color: var(--blue-deep);
  font-size: 0.9rem;
}

.spinner {
  width: 30px;
  height: 30px;
  border: 3px solid rgba(19, 111, 153, 0.18);
  border-top-color: var(--blue-deep);
  border-radius: 999px;
  animation: spin 0.8s linear infinite;
}

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

.payment-message {
  margin-top: 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 12px;
  background: var(--surface-soft);
  color: var(--muted);
  font-weight: 800;
}

.payment-message.error {
  border-color: #e06262;
  background: #fff6f6;
  color: #b42318;
}

.timeline {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 12px;
  align-items: start;
}

.timeline-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--mint-soft);
  color: #2e8065;
  font-weight: 950;
}

.final-hero {
  padding: clamp(24px, 4vw, 52px);
  text-align: center;
}

.final-hero .brand-mark {
  width: 62px;
  height: 62px;
  margin: 0 auto 16px;
  border-radius: 22px;
}

.final-hero h1 {
  margin: 0 auto;
  max-width: 740px;
  font-size: clamp(2rem, 4vw, 3.5rem);
}

.final-hero p {
  max-width: 680px;
  margin: 16px auto 0;
  color: var(--muted);
}

.site-footer {
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
}

.footer-inner {
  width: min(calc(100% - 32px), 1120px);
  margin: 0 auto;
  padding: 24px 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--heading);
  font-weight: 950;
}

.footer-brand .brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 13px;
  box-shadow: none;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 14px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
}

.footer-links a {
  color: var(--blue-deep);
  text-decoration: none;
}

.footer-meta {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 16px;
  color: var(--muted);
  font-size: 0.84rem;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(23, 56, 82, 0.32);
  backdrop-filter: blur(10px);
}

.modal-backdrop.is-open {
  display: flex;
}

.policy-modal {
  width: min(100%, 680px);
  max-height: min(76vh, 720px);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 20px;
  overflow: auto;
  background: #fff;
  box-shadow: 0 30px 90px rgba(23, 56, 82, 0.22);
}

.modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}

.modal-content {
  color: var(--muted);
}

.modal-content p + p {
  margin-top: 10px;
}

.modal-content h3 {
  margin-top: 20px;
  color: var(--heading);
  font-size: 1.02rem;
}

.modal-content h3:first-child {
  margin-top: 0;
}

.modal-content ul {
  display: grid;
  gap: 7px;
  margin: 10px 0 0;
  padding-left: 20px;
}

.modal-content li {
  padding-left: 2px;
}

.modal-content .modal-note {
  margin-top: 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px;
  background: var(--surface-soft);
  color: var(--text);
  font-weight: 800;
}

@media (max-width: 980px) {
  .topbar-inner {
    display: grid;
    gap: 12px;
    padding: 12px 0;
  }

  .page-layout,
  .payment-layout,
  .preview-card,
  .logo-feature {
    grid-template-columns: 1fr;
  }

  .side-panel {
    position: static;
  }

  .summary-grid,
  .choice-grid,
  .field-grid.three,
  .plan-state-grid,
  .logo-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .shell,
  .topbar-inner {
    width: min(calc(100% - 20px), 1120px);
  }

  .page {
    padding-top: 16px;
  }

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

  .hero-copy {
    padding-top: 12px;
  }

  .section,
  .form-card,
  .choice-body,
  .summary-card,
  .bank-card {
    border-radius: 16px;
  }

  .section-head,
  .form-card-head {
    display: grid;
  }

  .footer-inner {
    width: min(calc(100% - 20px), 1120px);
    grid-template-columns: 1fr;
  }

  .footer-links {
    justify-content: flex-start;
  }

  .hero-actions .btn,
  .row-actions .btn {
    width: 100%;
  }

  .mini-grid,
  .field-grid,
  .field-grid.three,
  .check-grid,
  .summary-grid,
  .choice-grid,
  .plan-state-grid,
  .logo-card-grid {
    grid-template-columns: 1fr;
  }

  .menu-line {
    grid-template-columns: 64px 1fr;
  }

  .bank-row {
    align-items: flex-start;
    display: grid;
  }

  .bank-row strong {
    text-align: left;
  }
}
