:root {
  --bg-main: #fff9f2;
  --bg-soft: #fff1e7;
  --card: rgba(255, 255, 255, 0.84);
  --card-strong: rgba(255, 255, 255, 0.96);
  --text-main: #22313a;
  --text-soft: #5f6d75;
  --accent: #2d8075;
  --accent-dark: #1f645b;
  --accent-warm: #d67b60;
  --stroke: rgba(34, 49, 58, 0.08);
  --shadow: 0 28px 60px rgba(76, 95, 103, 0.12);
  --mint: #d9efe7;
  --sky: #e7f2fb;
  --peach: #ffe1d3;
  --sand: #fff3d9;
  --warning: #b25d44;
  --success: #29785f;
  --danger: #b2445a;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text-main);
  background:
    radial-gradient(circle at top left, rgba(255, 223, 206, 0.75), transparent 28rem),
    radial-gradient(circle at bottom right, rgba(210, 241, 229, 0.85), transparent 32rem),
    linear-gradient(180deg, #fffaf5 0%, #fff7ef 38%, #fffdfb 100%);
  font-family: "Plus Jakarta Sans", sans-serif;
}

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

.container {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
}

.page-orb {
  position: fixed;
  width: 28rem;
  height: 28rem;
  border-radius: 999px;
  filter: blur(18px);
  opacity: 0.28;
  pointer-events: none;
  z-index: 0;
}

.orb-left {
  top: -8rem;
  left: -10rem;
  background: var(--peach);
}

.orb-right {
  right: -10rem;
  bottom: -10rem;
  background: var(--mint);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 8;
  backdrop-filter: blur(16px);
  background: rgba(255, 249, 242, 0.72);
  border-bottom: 1px solid rgba(34, 49, 58, 0.05);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 5rem;
}

.brand-mark {
  font-weight: 800;
  letter-spacing: -0.03em;
  font-size: 1.1rem;
}

.top-nav {
  display: flex;
  gap: 1.4rem;
  color: var(--text-soft);
  font-size: 0.96rem;
}

.top-nav a:hover,
.header-cta:hover,
.secondary-button:hover {
  color: var(--accent-dark);
}

.header-cta,
.secondary-button,
.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.9rem 1.25rem;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.header-cta,
.secondary-button {
  border: 1px solid rgba(45, 128, 117, 0.14);
  background: rgba(255, 255, 255, 0.68);
}

.primary-button {
  width: 100%;
  border: 0;
  cursor: pointer;
  color: white;
  background: linear-gradient(135deg, var(--accent) 0%, #3e9a8d 100%);
  box-shadow: 0 18px 36px rgba(45, 128, 117, 0.22);
}

.primary-button:hover,
.secondary-button:hover,
.header-cta:hover {
  transform: translateY(-1px);
}

.hero-section,
.section {
  position: relative;
  z-index: 1;
}

.hero-section {
  padding: 4rem 0 2rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: start;
}

.eyebrow {
  margin: 0 0 0.75rem;
  color: var(--accent-dark);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.82rem;
}

.hero-copy h1,
.register-overview h1 {
  margin: 0;
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.hero-text,
.card-copy,
.security-copy p,
.feature-card p,
.process-step p,
.faq-card p {
  color: var(--text-soft);
  line-height: 1.7;
}

.hero-copy > .hero-text {
  max-width: 44rem;
  font-size: 1.05rem;
  margin: 1.15rem 0 0;
}

.hero-points {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

.hero-point {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1rem 1.1rem;
  border-radius: 1.35rem;
  background: rgba(255, 255, 255, 0.56);
  border: 1px solid var(--stroke);
}

.hero-point p {
  margin: 0.2rem 0 0;
  color: var(--text-soft);
}

.hero-point-icon {
  flex: 0 0 auto;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 0.9rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  background: var(--sand);
  color: var(--accent-warm);
}

.hero-card,
.feature-card,
.faq-card,
.overview-card,
.progress-card,
.timeline-card,
.panel-card,
.security-panel {
  border-radius: 1.8rem;
  border: 1px solid var(--stroke);
  background: var(--card);
  box-shadow: var(--shadow);
}

.hero-card,
.panel-card {
  backdrop-filter: blur(16px);
}

.hero-card {
  padding: 1.6rem;
}

.card-kicker {
  margin: 0 0 0.35rem;
  color: var(--accent-dark);
  font-size: 0.84rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero-card h2,
.panel-card h2,
.section-head h2,
.security-copy h2 {
  margin: 0;
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.amount-display {
  margin-top: 1.5rem;
  padding: 1rem 1.1rem;
  border-radius: 1.3rem;
  background: var(--bg-soft);
}

.amount-display span {
  display: block;
  color: var(--text-soft);
  font-size: 0.9rem;
}

.amount-display strong {
  display: block;
  margin-top: 0.4rem;
  font-size: 2rem;
  letter-spacing: -0.04em;
}

.loan-slider {
  width: 100%;
  margin-top: 1.4rem;
  accent-color: var(--accent);
}

.range-labels,
.trust-strip {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  color: var(--text-soft);
  font-size: 0.9rem;
}

.trust-strip {
  margin-top: 1rem;
  flex-wrap: wrap;
}

.inline-feedback {
  min-height: 1.4rem;
  margin: 0.85rem 0 0;
  color: var(--accent-dark);
  font-size: 0.92rem;
}

.inline-feedback.warning {
  color: var(--warning);
}

.section {
  padding: 2rem 0 4rem;
}

.section-soft {
  background: linear-gradient(180deg, rgba(231, 242, 251, 0.35), rgba(255, 249, 242, 0));
}

.section-head {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.feature-grid,
.faq-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.feature-card,
.faq-card {
  padding: 1.35rem;
}

.feature-card h3,
.faq-card h3,
.process-step h3,
.security-item strong {
  margin: 0 0 0.45rem;
  font-size: 1.02rem;
  letter-spacing: -0.03em;
}

.pastel-mint {
  background: linear-gradient(180deg, rgba(217, 239, 231, 0.95), rgba(255, 255, 255, 0.92));
}

.pastel-sky {
  background: linear-gradient(180deg, rgba(231, 242, 251, 0.95), rgba(255, 255, 255, 0.92));
}

.pastel-peach {
  background: linear-gradient(180deg, rgba(255, 225, 211, 0.95), rgba(255, 255, 255, 0.92));
}

.process-grid {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 1.5rem;
}

.process-list {
  display: grid;
  gap: 0.9rem;
}

.process-step {
  display: flex;
  gap: 1rem;
  padding: 1rem 1.1rem;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 1.3rem;
  border: 1px solid var(--stroke);
}

.process-step span {
  flex: 0 0 auto;
  width: 2.3rem;
  height: 2.3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.85rem;
  background: var(--mint);
  color: var(--accent-dark);
  font-weight: 800;
}

.security-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem;
  padding: 1.6rem;
}

.security-checks {
  display: grid;
  gap: 0.9rem;
}

.security-item {
  padding: 1rem 1.15rem;
  border-radius: 1.2rem;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--stroke);
}

.security-item p {
  margin: 0.35rem 0 0;
  color: var(--text-soft);
}

.register-body {
  min-height: 100vh;
}

.register-header {
  position: relative;
  top: unset;
}

.case-badge {
  padding: 0.65rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--stroke);
  color: var(--text-soft);
  font-size: 0.9rem;
  font-weight: 600;
}

.register-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  grid-template-areas: "overview panel";
  align-items: start;
  gap: 1.4rem;
  padding: 2.4rem 0 4rem;
}

.register-overview {
  grid-area: overview;
}

.overview-card,
.progress-card,
.timeline-card {
  padding: 1.3rem;
  margin-top: 1rem;
}

.overview-row {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--stroke);
  color: var(--text-soft);
}

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

.overview-row strong {
  color: var(--text-main);
}

.status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  background: rgba(45, 128, 117, 0.1);
  color: var(--accent-dark);
  font-weight: 700;
  font-size: 0.86rem;
}

.progress-card h2,
.timeline-card h2 {
  margin: 0.9rem 0 0.25rem;
  font-size: 1.45rem;
  letter-spacing: -0.04em;
}

.section-inline-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: baseline;
}

.section-inline-head span {
  color: var(--text-soft);
  font-size: 0.9rem;
}

.timeline-list {
  display: grid;
  gap: 0.85rem;
  margin-top: 1rem;
}

.timeline-item {
  padding: 0.95rem 1rem;
  border-radius: 1.15rem;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--stroke);
}

.timeline-item strong {
  display: block;
  margin-bottom: 0.3rem;
}

.timeline-item time {
  display: block;
  margin-top: 0.45rem;
  color: var(--text-soft);
  font-size: 0.82rem;
}

.register-panel {
  grid-area: panel;
  display: grid;
  gap: 1rem;
}

.panel-card {
  padding: 1.45rem;
}

.hidden {
  display: none !important;
}

.qr-box {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 18rem;
  margin: 1.35rem 0 1rem;
  border-radius: 1.4rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(239, 247, 244, 0.9));
  border: 1px dashed rgba(45, 128, 117, 0.22);
}

.sdk-root {
  width: 100%;
  min-height: 26rem;
  margin-top: 1.2rem;
  border-radius: 1.35rem;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 241, 231, 0.62), rgba(255, 255, 255, 0.9));
  border: 1px dashed rgba(45, 128, 117, 0.18);
}

.sdk-empty-state {
  margin-top: 1rem;
  color: var(--text-soft);
  min-height: 1.4rem;
}

.stack-form {
  display: grid;
  gap: 1rem;
  margin-top: 1rem;
}

.stack-form label {
  display: grid;
  gap: 0.4rem;
}

.stack-form span {
  font-size: 0.92rem;
  color: var(--text-soft);
}

.stack-form input {
  min-height: 3.2rem;
  padding: 0.9rem 1rem;
  border-radius: 1rem;
  border: 1px solid rgba(34, 49, 58, 0.12);
  background: rgba(255, 255, 255, 0.96);
  color: var(--text-main);
  font: inherit;
}

.stack-form input:focus {
  outline: none;
  border-color: rgba(45, 128, 117, 0.4);
  box-shadow: 0 0 0 4px rgba(45, 128, 117, 0.08);
}

@media (max-width: 960px) {
  .top-nav {
    display: none;
  }

  .hero-grid,
  .process-grid,
  .security-panel,
  .register-layout,
  .feature-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .hero-section {
    padding-top: 2rem;
  }

  .hero-copy h1,
  .register-overview h1 {
    font-size: clamp(2rem, 11vw, 3rem);
  }

  .container {
    width: min(100% - 1.25rem, 1180px);
  }

  .register-layout {
    grid-template-areas:
      "panel"
      "overview";
    padding-top: 1.25rem;
    gap: 1rem;
  }
}

@media (max-width: 640px) {
  .header-inner {
    min-height: 4.5rem;
  }

  .hero-card,
  .panel-card,
  .overview-card,
  .progress-card,
  .timeline-card,
  .feature-card,
  .faq-card {
    border-radius: 1.4rem;
  }

  .hero-point,
  .process-step,
  .security-item {
    border-radius: 1.1rem;
  }
}
