/* ===== Resets & globals ===== */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; }

.sh-root {
  background: #45464c;
  font-family: 'Hanken Grotesk', sans-serif;
  color: #f0f0f3;
  min-height: 100vh;
  overflow-x: hidden;
}

.material-symbols-outlined {
  font-family: 'Material Symbols Outlined';
  font-weight: normal;
  font-style: normal;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  font-variation-settings: 'FILL' 0, 'wght' 300, 'GRAD' 0, 'opsz' 24;
}

input::placeholder, textarea::placeholder { color: #7d7d85; }
input, textarea, button { font-family: inherit; }

/* ===== Keyframes ===== */
@keyframes shPulse { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: .35; transform: scale(.82); } }
@keyframes shBlink { 0%,49% { opacity: 1; } 50%,100% { opacity: 0; } }
@keyframes shRise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
@keyframes shFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes shSpin { to { transform: rotate(360deg); } }

/* ===== Interactive states ===== */
.sh-btn-primary { transition: filter .15s, box-shadow .15s; }
.sh-btn-primary:hover { filter: brightness(1.06); }
.sh-btn-primary:active { transform: translateY(1px); }

.sh-btn-secondary { transition: background .15s, border-color .15s; }
.sh-btn-secondary:hover { background: rgba(240,240,243,0.12); border-color: rgba(240,240,243,0.34); }

.sh-input:focus { border-color: #c79a5c !important; box-shadow: 0 0 0 3px rgba(199,154,92,0.16); }
.sh-input--error { border-color: #e8857e !important; }

.sh-close:hover { background: rgba(240,240,243,0.12) !important; color: #fff !important; }

.sh-submit:active { transform: scale(0.99); }
.sh-submit:disabled { cursor: default; opacity: 0.72; }

a[data-open-contact]:hover { text-decoration: underline; }

/* ===== Responsive ===== */
@media (max-width: 920px) {
  .sh-hero-grid { grid-template-columns: 1fr !important; gap: 48px !important; padding: 64px 24px 80px !important; }
  .sh-next-grid { grid-template-columns: 1fr !important; gap: 40px !important; padding: 80px 24px !important; }
  .sh-cap-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .sh-hero-h1 { font-size: 44px !important; }
  .sh-h2, .sh-cta-h2 { font-size: 34px !important; }

  /* Stack the "how it works" flow vertically and rotate arrows */
  .sh-flow-grid { grid-template-columns: 1fr !important; gap: 14px !important; }
  .sh-flow-arrow { transform: rotate(90deg); padding: 6px 0 !important; }
}

@media (max-width: 560px) {
  section > div { padding-left: 20px !important; padding-right: 20px !important; }
  .sh-cap-grid { grid-template-columns: 1fr !important; }
  .sh-hero-h1 { font-size: 38px !important; }
  .sh-h2, .sh-cta-h2 { font-size: 30px !important; }
  .sh-footer-row { flex-direction: column; align-items: flex-start !important; gap: 20px !important; }
}
