:root {
  --sq-bg: #f4f7fc;
  --sq-card: #ffffff;
  --sq-ink: #131b2d;
  --sq-muted: #5d6882;
  --sq-line: #d8e1ef;
  --sq-primary: #0050c8;
  --sq-primary-deep: #00398f;
}

.strategy-page {
  background: var(--sq-bg);
}

.strategy-page .wrap {
  width: 100%;
  margin: 0;
  gap: 0;
}

.sq-shell {
  padding: clamp(34px, 5vw, 72px) 0;
}

.sq-container {
  width: min(760px, calc(100% - 24px));
  margin: 0 auto;
}

.sq-page-head {
  text-align: center;
  margin-bottom: 20px;
}

.sq-head-art {
  width: min(240px, 44vw);
  margin: 0 auto 14px;
}

.sq-head-art svg {
  width: 100%;
  height: auto;
  display: block;
}

.sq-page-head h1 {
  margin: 0;
  color: var(--sq-ink);
  font-size: clamp(32px, 4.9vw, 54px);
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.sq-page-head p {
  margin: 12px auto 0;
  color: var(--sq-muted);
  font-size: clamp(16px, 1.6vw, 20px);
  line-height: 1.6;
  max-width: 680px;
}

.sq-page-head .sq-cred {
  margin-top: 8px;
  color: #3d4b69;
  font-size: 14px;
  font-weight: 700;
}

.sq-card {
  border: 1px solid var(--sq-line);
  border-radius: 18px;
  background: var(--sq-card);
  box-shadow: 0 20px 46px rgba(17, 27, 45, 0.1);
  padding: clamp(18px, 3vw, 28px);
}

.sq-progress-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.sq-progress-track {
  height: 8px;
  flex: 1;
  border-radius: 999px;
  background: #e9eef8;
  overflow: hidden;
}

.sq-progress-track span {
  display: block;
  height: 100%;
  width: 16.666%;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--sq-primary) 0%, #208eff 100%);
  transition: width 0.28s ease;
}

#sqStepLabel {
  margin: 0;
  color: #33425f;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.sq-step {
  display: none;
  opacity: 0;
  transform: translateY(8px);
}

.sq-step.is-active {
  display: block;
  animation: sqStepIn 0.26s ease forwards;
}

@keyframes sqStepIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.sq-step h2 {
  margin: 0;
  color: var(--sq-ink);
  font-size: clamp(26px, 3.3vw, 40px);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.sq-step p {
  margin-top: 10px;
  color: var(--sq-muted);
  font-size: clamp(15px, 1.4vw, 18px);
  line-height: 1.62;
}

.sq-step label {
  display: block;
  margin-top: 14px;
  margin-bottom: 6px;
  color: #2b3958;
  font-size: 14px;
  font-weight: 700;
}

.sq-step input[type="text"],
.sq-step input[type="email"],
.sq-step input[type="tel"],
.sq-step select {
  width: 100%;
  height: 50px;
  border: 1px solid #c9d7ec;
  border-radius: 12px;
  background: #fff;
  color: #19233a;
  font-size: 16px;
  font-weight: 500;
  padding: 0 14px;
}

.sq-step input:focus,
.sq-step select:focus {
  outline: none;
  border-color: #81aef1;
  box-shadow: 0 0 0 3px rgba(0, 80, 200, 0.15);
}

.sq-lock {
  margin-top: 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #3f4f6d;
  font-weight: 600;
}

.sq-inline-art {
  margin-top: 12px;
}

.sq-inline-art svg {
  width: 100%;
  max-width: 280px;
  height: auto;
  display: block;
}

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

.sq-card-option,
.sq-line-option {
  display: block;
  cursor: pointer;
}

.sq-card-option input,
.sq-line-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.sq-card-option span {
  display: grid;
  place-items: center;
  min-height: 68px;
  border: 1px solid #cfe0f5;
  border-radius: 12px;
  background: #f8fbff;
  color: #2a3959;
  font-size: 15px;
  font-weight: 700;
  text-align: center;
  padding: 10px;
  transition: border-color 0.18s ease, background 0.18s ease;
}

.sq-card-option input:checked + span {
  border-color: #2f78e1;
  background: #eef5ff;
}

.sq-list-options {
  margin-top: 10px;
  display: grid;
  gap: 8px;
}

.sq-line-option span {
  display: block;
  border: 1px solid #d0def2;
  border-radius: 12px;
  background: #f9fbff;
  color: #2c3b5c;
  font-size: 14px;
  font-weight: 700;
  padding: 12px 14px;
  transition: border-color 0.18s ease, background 0.18s ease;
}

.sq-line-option input:checked + span {
  border-color: #2f78e1;
  background: #edf5ff;
}

.sq-helper {
  margin-top: 8px;
}

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

.sq-phone-row {
  display: block;
}

.sq-phone-input .iti {
  width: 100%;
}

.sq-phone-input .iti input[type='tel'] {
  width: 100%;
  min-height: 50px;
}

.sq-phone-input .iti__selected-flag {
  border-right: 1px solid #d2ddef;
  border-radius: 12px 0 0 12px;
  background: #f8fbff;
}

.sq-phone-input .iti__country-list {
  margin-top: 8px;
  border: 1px solid #d0def2;
  border-radius: 12px;
  box-shadow: 0 20px 42px rgba(19, 31, 54, 0.2);
  width: min(380px, 92vw);
  max-height: 280px;
}

.sq-phone-input .iti__country {
  display: flex;
  align-items: center;
  gap: 10px;
}

.sq-phone-input .iti__country-name {
  flex: 1 1 auto;
  min-width: 0;
}

.sq-phone-input .iti__dial-code {
  margin-left: auto;
  color: #5d6f96;
  font-weight: 700;
}

.sq-consent {
  margin-top: 14px;
  display: grid;
  grid-template-columns: 20px 1fr;
  align-items: flex-start;
  gap: 10px;
}

.sq-consent input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
}

.sq-consent span {
  color: #435272;
  font-size: 13px;
  line-height: 1.5;
  font-weight: 500;
}

.sq-consent a {
  color: var(--sq-primary);
}

.sq-fineprint {
  margin-top: 10px;
  color: #6a758f;
  font-size: 12px;
  line-height: 1.5;
}

.sq-error {
  min-height: 22px;
  margin: 12px 0 0;
  color: #b32b2b;
  font-size: 14px;
  font-weight: 600;
}

.sq-nav {
  margin-top: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.sq-btn {
  border: none;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 800;
  font-size: 15px;
  line-height: 1;
  padding: 14px 20px;
  min-height: 48px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

.sq-btn-primary {
  background: linear-gradient(135deg, var(--sq-primary) 0%, var(--sq-primary-deep) 100%);
  color: #fff;
  box-shadow: 0 12px 24px rgba(0, 80, 200, 0.3);
}

.sq-btn-primary:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  box-shadow: none;
}

.sq-btn-ghost {
  color: #425372;
  border: 1px solid #cedaea;
  background: #fff;
}

.sq-success {
  text-align: center;
  padding: 8px 4px;
}

.sq-success h2 {
  margin: 0;
  color: var(--sq-ink);
  font-size: clamp(28px, 3.6vw, 42px);
  line-height: 1.15;
}

.sq-success p {
  margin: 10px auto 0;
  color: var(--sq-muted);
  font-size: 17px;
  line-height: 1.6;
  max-width: 560px;
}

.sq-success .sq-btn {
  margin-top: 18px;
}

.sq-success-note {
  margin-top: 12px;
  color: #30405f;
  font-size: 14px;
  font-weight: 700;
}

/* reveal */
.sq-reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.sq-reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 760px) {
  .sq-option-grid,
  .sq-form-grid {
    grid-template-columns: 1fr;
  }

  .sq-phone-row {
    display: block;
  }

  .sq-nav {
    position: sticky;
    bottom: 10px;
    border: 1px solid #c9daf6;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(8px);
    border-radius: 14px;
    padding: 8px;
  }

  .sq-btn {
    flex: 1;
    min-height: 46px;
  }

  .strategy-page .site-footer {
    padding-bottom: 92px;
  }
}
