/* ===== Tokens ===== */
:root {
  --night: #131A2E;
  --night-deep: #0D1220;
  --felt: #F1E9D8;
  --felt-soft: #F8F3E8;
  --gold: #F5A623;
  --gold-soft: #FBD9A0;
  --flag-red: #CE1126;
  --ink: #1F1B16;
  --ink-soft: #5A5346;
  --mist: #C9D2E0;
  --mist-dim: #8B96AC;
  --white: #FFFFFF;

  --font-display: "Unbounded", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;

  --wrap: 1200px;
  --radius: 18px;
  --radius-sm: 10px;
}

/* ===== Reset ===== */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--felt);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-display); margin: 0; line-height: 1.15; }
p { margin: 0; }
ul, ol, dl { margin: 0; padding: 0; list-style: none; }
dt, dd { margin: 0; }

.wrap {
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: 24px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--gold);
  color: var(--ink);
  padding: 12px 20px;
  z-index: 200;
  font-weight: 700;
  border-radius: 0 0 8px 0;
}
.skip-link:focus {
  left: 0;
}

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 700;
  text-decoration: none;
  border-radius: 999px;
  padding: 14px 28px;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  border: 1.5px solid transparent;
  white-space: nowrap;
}
.btn-lg { padding: 16px 32px; font-size: 1.02rem; }
.btn-sm { padding: 10px 18px; font-size: .88rem; }
.btn-primary {
  background: var(--gold);
  color: var(--night-deep);
  box-shadow: 0 8px 24px -8px rgba(245, 166, 35, .55);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 28px -8px rgba(245, 166, 35, .65); }
.btn-ghost {
  background: transparent;
  border-color: rgba(201, 210, 224, .35);
  color: var(--mist);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }
.arrow-down { display: inline-block; transition: transform .2s ease; }
.btn-ghost:hover .arrow-down { transform: translateY(2px); }

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(19, 26, 46, .82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(201, 210, 224, .12);
}
.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 14px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--white);
  letter-spacing: -0.01em;
}
.brand-name-dark { color: var(--ink); }
.brand-dot { color: var(--gold); }
.brand-tag {
  font-family: var(--font-mono);
  font-size: .64rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--mist-dim);
  margin-top: 2px;
}
.site-nav {
  display: flex;
  gap: 32px;
}
.site-nav a {
  color: var(--mist);
  text-decoration: none;
  font-weight: 600;
  font-size: .92rem;
  transition: color .15s ease;
}
.site-nav a:hover { color: var(--gold); }
.header-actions { display: flex; align-items: center; gap: 12px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 1px solid rgba(201, 210, 224, .3);
  border-radius: 8px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--mist);
  margin-inline: 8px;
}

/* ===== Eyebrow / section title ===== */
.eyebrow {
  font-family: var(--font-mono);
  font-size: .78rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--flag-red);
  font-weight: 600;
  margin-bottom: 14px;
}
.eyebrow-light { color: var(--gold); }
.section-title {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  max-width: 30ch;
  margin-bottom: 18px;
  color: var(--ink);
}
.section-lead {
  font-size: 1.05rem;
  color: var(--ink-soft);
  max-width: 56ch;
  margin-bottom: 8px;
}

.section { padding-block: clamp(64px, 10vw, 110px); }

/* ===== Hero ===== */
.hero {
  position: relative;
  background: var(--night);
  color: var(--mist);
  overflow: hidden;
  padding-block: clamp(72px, 12vw, 120px);
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-glow {
  position: absolute;
  top: -20%;
  right: -10%;
  width: 60%;
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(245, 166, 35, .18), transparent 70%);
  filter: blur(10px);
}
.hero-stars { position: absolute; inset: 0; width: 100%; height: 100%; }

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(32px, 6vw, 64px);
  align-items: center;
}
.hero-title {
  font-size: clamp(2.2rem, 4.6vw, 3.6rem);
  color: var(--white);
  letter-spacing: -0.01em;
  margin-bottom: 22px;
}
.hero-title em {
  font-style: normal;
  color: var(--gold);
}
.hero-sub {
  font-size: 1.12rem;
  color: var(--mist);
  max-width: 46ch;
  margin-bottom: 32px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 44px;
}
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  border-top: 1px solid rgba(201, 210, 224, .18);
  padding-top: 24px;
}
.hero-stats dt {
  font-family: var(--font-mono);
  font-size: .68rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--mist-dim);
  margin-bottom: 4px;
}
.hero-stats dd {
  font-weight: 700;
  color: var(--white);
  font-size: .98rem;
}

/* ===== Tunduk wheel (signature) ===== */
.tunduk-wheel {
  position: relative;
  width: min(420px, 100%);
  margin-inline: auto;
  aspect-ratio: 1;
  container-type: inline-size;
}
.tunduk-svg { width: 100%; height: 100%; }
.tw-ring {
  fill: none;
  stroke: rgba(201, 210, 224, .28);
  stroke-width: 1.4;
}
.tw-ring-outer { stroke-dasharray: 2 6; }
.tw-ring-core { stroke: rgba(245, 166, 35, .45); }
.tw-spoke line, .tw-spoke path {
  stroke: var(--gold);
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
}
.tw-sun {
  fill: var(--gold);
  filter: drop-shadow(0 0 18px rgba(245, 166, 35, .65));
}
.tunduk-wheel, .tw-spokes {
  transform-origin: 210px 210px;
}
.tw-spokes {
  animation: tw-rotate 60s linear infinite;
}
@keyframes tw-rotate {
  to { transform: rotate(360deg); }
}
.tw-labels {
  position: absolute;
  inset: 0;
}
.tw-labels li {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  margin: 0;
  transform-origin: 0 0;
  transform: rotate(calc(var(--pos) * 60deg));
}
.tw-labels li span {
  position: absolute;
  top: -41cqw;
  left: 0;
  transform: translate(-50%, -50%) rotate(calc(var(--pos) * -60deg));
  display: block;
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .02em;
  color: var(--mist);
  background: rgba(19, 26, 46, .85);
  border: 1px solid rgba(245, 166, 35, .35);
  padding: 5px 11px;
  border-radius: 999px;
  white-space: nowrap;
}
@container (max-width: 300px) {
  .tw-labels li span { font-size: .6rem; padding: 4px 8px; }
}

/* ===== Steps ===== */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 44px;
}
.step {
  background: var(--felt-soft);
  border: 1px solid rgba(31, 27, 22, .08);
  border-radius: var(--radius);
  padding: 32px 28px;
}
.step-num {
  display: block;
  font-family: var(--font-mono);
  font-size: .95rem;
  font-weight: 600;
  color: var(--flag-red);
  margin-bottom: 18px;
}
.step h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}
.step p {
  color: var(--ink-soft);
  font-size: .96rem;
}

/* ===== Widget section ===== */
.section-widget { background: var(--felt-soft); }
.widget-head { max-width: 62ch; }

.widget-frame {
  position: relative;
  margin-top: 40px;
  padding-top: 28px;
}
.widget-frame-crown {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 64px;
  height: 28px;
  background:
    repeating-linear-gradient(90deg, var(--gold) 0 2px, transparent 2px 12px);
  opacity: .8;
  mask-image: radial-gradient(circle at 50% 0%, black 0%, transparent 75%);
}
.widget-card {
  position: relative;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid rgba(31, 27, 22, .08);
  box-shadow: 0 24px 60px -30px rgba(19, 26, 46, .35);
  padding: clamp(20px, 4vw, 36px);
  min-height: 220px;
}
.banks-widget { min-height: 180px; }

.widget-skeleton { display: grid; gap: 14px; }
.sk-row {
  height: 46px;
  border-radius: 10px;
  background: linear-gradient(90deg, #ece4d3 25%, #f3ecdd 37%, #ece4d3 63%);
  background-size: 400% 100%;
  animation: sk-shimmer 1.6s ease infinite;
}
.sk-row-title { width: 40%; height: 22px; }
.sk-row-short { width: 60%; }
@keyframes sk-shimmer {
  0% { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}
.widget-card.is-loaded .widget-skeleton { display: none; }

.widget-noscript { text-align: center; padding: 24px; color: var(--ink-soft); }

/* ===== Partnership ===== */
.section-partner { background: var(--felt); }
.partner-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
.partner-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: .82rem;
  color: var(--ink);
  background: var(--felt-soft);
  border: 1px solid rgba(206, 17, 38, .25);
  padding: 10px 18px;
  border-radius: 999px;
  margin-top: 12px;
}
.partner-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--flag-red);
}
.trust-cards {
  display: grid;
  gap: 18px;
}
.trust-cards li {
  background: var(--felt-soft);
  border: 1px solid rgba(31, 27, 22, .08);
  border-radius: var(--radius-sm);
  padding: 22px 24px;
}
.trust-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--night-deep);
  font-weight: 800;
  font-size: .85rem;
  margin-bottom: 12px;
}
.trust-cards h3 { font-size: 1.02rem; margin-bottom: 6px; }
.trust-cards p { color: var(--ink-soft); font-size: .92rem; }

/* ===== Contact ===== */
.section-contact { background: var(--felt-soft); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
.contact-form {
  display: grid;
  gap: 18px;
  background: var(--white);
  border: 1px solid rgba(31, 27, 22, .08);
  border-radius: var(--radius);
  padding: clamp(20px, 4vw, 32px);
  box-shadow: 0 24px 60px -30px rgba(19, 26, 46, .25);
}
.form-row { display: grid; gap: 8px; }
.form-row label {
  font-family: var(--font-mono);
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--ink-soft);
}
.form-row input, .form-row textarea {
  font-family: var(--font-body);
  font-size: .96rem;
  color: var(--ink);
  background: var(--felt-soft);
  border: 1px solid rgba(31, 27, 22, .14);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  resize: vertical;
}
.form-row input:focus, .form-row textarea:focus {
  outline: none;
  border-color: var(--gold);
}
.contact-form .btn { justify-self: start; border: none; cursor: pointer; }

/* ===== Footer ===== */
.site-footer {
  background: var(--night-deep);
  color: var(--mist);
  padding-top: 56px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(201, 210, 224, .12);
}
.footer-brand .brand-name-dark { color: var(--white); }
.footer-brand p {
  margin-top: 14px;
  color: var(--mist-dim);
  font-size: .92rem;
  max-width: 40ch;
}
.footer-nav, .footer-support {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-nav a, .footer-support a {
  color: var(--mist);
  text-decoration: none;
  font-size: .92rem;
}
.footer-nav a:hover, .footer-support a:hover { color: var(--gold); }
.footer-support-label {
  font-family: var(--font-mono);
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--mist-dim);
}
.footer-bottom {
  padding-block: 22px;
  font-size: .82rem;
  color: var(--mist-dim);
}

.domain-offer {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-block: 28px;
  padding: 20px 24px;
  background: linear-gradient(135deg, rgba(245, 166, 35, .14), rgba(245, 166, 35, .03));
  border: 1px solid rgba(245, 166, 35, .35);
  border-radius: var(--radius-sm);
}
.domain-offer-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(245, 166, 35, .16);
}
.domain-offer-copy { flex: 1; }
.domain-offer-eyebrow {
  font-family: var(--font-mono);
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--gold);
  margin-bottom: 4px;
}
.domain-offer-title {
  font-size: .96rem;
  line-height: 1.45;
  color: var(--mist);
}
.domain-offer-cta {
  flex-shrink: 0;
  white-space: nowrap;
}

/* ===== Reveal ===== */
[data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .6s ease, transform .6s ease;
}
[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; }
}

/* ===== Responsive ===== */
@media (max-width: 960px) {
  .site-nav { display: none; }
  .nav-toggle { display: flex; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .tunduk-wheel { max-width: 320px; }
  .steps { grid-template-columns: 1fr; }
  .partner-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .domain-offer { flex-wrap: wrap; }
  .domain-offer-cta { width: 100%; justify-content: center; }
}

@media (max-width: 960px) {
  .site-header.nav-open .site-nav {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--night);
    padding: 20px 24px;
    gap: 18px;
    border-bottom: 1px solid rgba(201, 210, 224, .12);
  }
}

@media (max-width: 560px) {
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-stats { gap: 20px 28px; }
}