/* Sticky Notes Pro — Onboarding
   Design: bold, clean, playful with sticky-note DNA */

/* ————— Tokens ————— */
:root {
  --bg: #faf9f6;
  --bg-alt: #f2f0eb;
  --fg: #1c1917;
  --fg2: #57534e;
  --fg3: #a8a29e;
  --border: #e7e5e4;
  --yellow: #f5d742;
  --yellow-deep: #d4a017;
  --yellow-glow: rgba(245, 215, 66, .3);
  --radius: 14px;
  --font: 'Outfit', system-ui, -apple-system, sans-serif;
  --font-hand: 'Kalam', cursive;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --bounce: cubic-bezier(.34, 1.56, .64, 1);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--fg);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* grain overlay */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: .018;
  pointer-events: none;
  z-index: 9999;
}

/* ————— Background floating notes ————— */
.bg-notes { position: fixed; inset: 0; pointer-events: none; z-index: 0; }
.bg-note {
  position: absolute;
  left: var(--x); top: var(--y);
  width: 28px; height: 28px;
  background: var(--c);
  border-radius: 4px;
  opacity: .1;
  transform: rotate(var(--r));
  animation: drift 8s ease-in-out infinite;
  animation-delay: var(--d);
  box-shadow: 1px 2px 6px rgba(0,0,0,.06);
}
@keyframes drift {
  0%, 100% { translate: 0 0; }
  50% { translate: 4px -12px; }
}

/* ————— Buttons ————— */
.btn {
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .75rem 1.5rem;
  font: 600 .95rem/1 var(--font);
  border: none; border-radius: 10px;
  cursor: pointer;
  transition: all .2s var(--ease);
}
.btn svg { transition: transform .2s var(--ease); }
.btn:hover svg { transform: translateX(2px); }

.btn-primary {
  background: var(--yellow);
  color: var(--fg);
  box-shadow: 0 2px 8px var(--yellow-glow);
}
.btn-primary:hover {
  translate: 0 -2px;
  box-shadow: 0 6px 20px var(--yellow-glow);
}

.btn-ghost {
  background: transparent;
  color: var(--fg2);
  border: 1.5px solid var(--border);
}
.btn-ghost:hover {
  background: var(--bg-alt);
  border-color: var(--fg3);
}

.btn-premium {
  background: var(--fg);
  color: #fff;
  box-shadow: 0 4px 16px rgba(0,0,0,.15);
}
.btn-premium:hover {
  translate: 0 -2px;
  box-shadow: 0 8px 28px rgba(0,0,0,.2);
}

kbd {
  display: inline-block;
  padding: .1em .45em;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 5px;
  font: 600 .82em var(--font);
  box-shadow: 0 1px 0 var(--border);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  min-height: 100vh;
  padding: 4rem 5rem;
  gap: 3rem;
}

.hero-left {
  display: flex;
  flex-direction: column;
}

.hero-right {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-badge {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .45rem 1rem .45rem .65rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 100px;
  font-weight: 600; font-size: .85rem;
  color: var(--fg);
  box-shadow: 0 1px 4px rgba(0,0,0,.04);
  opacity: 0; animation: up .7s var(--ease) .1s forwards;
  width: fit-content;
}

.hero-title {
  font-size: clamp(2.6rem, 5.5vw, 4.2rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -.035em;
  opacity: 0; animation: up .7s var(--ease) .2s forwards;
}
.hero-line { display: block; }
.hero-title em {
  font-style: normal;
  font-family: var(--font-hand);
  font-weight: 700;
  color: var(--yellow-deep);
  font-size: 1.1em;
}

.hero-sub {
  margin-top: 1.25rem;
  max-width: 420px;
  font-size: 1.05rem;
  color: var(--fg2);
  opacity: 0; animation: up .7s var(--ease) .3s forwards;
}

.hero-actions {
  display: flex; gap: .75rem;
  margin-top: 2rem;
  opacity: 0; animation: up .7s var(--ease) .4s forwards;
}

.hero-logo {
  display: flex;
  justify-content: center;
  margin-top: 2.5rem;
  opacity: 0;
  animation: up .7s var(--ease) .5s forwards;
}
.hero-logo svg {
  filter: drop-shadow(0 12px 32px rgba(0,0,0,.15));
  animation: floatLogo 5s ease-in-out infinite;
  border-radius: 24px;
}
@keyframes floatLogo {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-12px) rotate(2deg); }
}

/* stacked notes visual */
.hero-stack {
  position: relative;
  height: 380px;
  margin-top: 1.5rem;
  opacity: 0; animation: scaleUp .9s var(--ease) .5s forwards;
}

.stack-note {
  position: absolute;
  width: 220px;
  padding: 14px 16px 18px;
  border-radius: 4px;
  font-size: .82rem;
  color: rgba(0,0,0,.7);
  box-shadow: 2px 4px 16px rgba(0,0,0,.1), 0 1px 3px rgba(0,0,0,.06);
  transition: transform .4s var(--bounce), box-shadow .4s ease;
  animation: dealCard .6s var(--bounce) calc(.6s + var(--i) * .12s) both;
}
.stack-note:hover {
  transform: rotate(var(--hover-r, 0deg)) translateY(-8px) scale(1.04) !important;
  box-shadow: 4px 8px 24px rgba(0,0,0,.14);
  z-index: 10;
}

.sn-yellow { background: #fff9c4; --hover-r: -1deg; top: 20%; left: 5%; transform: rotate(-6deg); }
.sn-pink   { background: #f8bbd0; --hover-r: 2deg; top: 8%; left: 42%; transform: rotate(4deg); }
.sn-blue   { background: #bbdefb; --hover-r: -2deg; top: 50%; left: 15%; transform: rotate(3deg); }
.sn-green  { background: #c8e6c9; --hover-r: 1deg; top: 45%; left: 52%; transform: rotate(-4deg); }

.sn-head {
  width: 40%;
  height: 5px;
  background: rgba(0,0,0,.07);
  border-radius: 3px;
  margin-bottom: 8px;
}

.stack-note p {
  line-height: 1.45;
}

@keyframes dealCard {
  from { opacity: 0; translate: 0 40px; scale: .85; }
  to   { opacity: 1; translate: 0 0; scale: 1; }
}

/* ============================================================
   STEPS
   ============================================================ */
.steps {
  padding: 5rem 4rem;
  background: var(--bg-alt);
  text-align: center;
}

.steps-label {
  font-family: var(--font-hand);
  font-size: 1.6rem;
  color: var(--yellow-deep);
  margin-bottom: 2.5rem;
}

.step-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 960px;
  margin: 0 auto;
}

.step-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.5rem 1.75rem;
  text-align: center;
  opacity: 0; transform: translateY(24px);
  transition: all .55s var(--ease);
}
.step-card.visible {
  opacity: 1; transform: translateY(0);
  transition-delay: calc(var(--vi, 0) * .1s);
}
.step-card:hover {
  translate: 0 -4px;
  box-shadow: 0 8px 28px rgba(0,0,0,.06);
}

.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px;
  background: var(--yellow);
  color: var(--fg);
  font-weight: 700; font-size: .82rem;
  border-radius: 50%;
  margin-bottom: .75rem;
}

.step-visual {
  height: 80px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem;
}

.step-card h3 {
  font-size: 1rem; font-weight: 600;
  margin-bottom: .4rem;
}
.step-card p {
  font-size: .85rem; color: var(--fg2); line-height: 1.5;
}
.step-card kbd {
  font-size: .75rem;
}

/* pin animation */
.pin-anim { position: relative; }
.pin-bar {
  display: flex; gap: 6px;
  background: #292524;
  padding: 6px 10px;
  border-radius: 6px;
}
.pin-icon-slot {
  width: 22px; height: 22px;
  background: #57534e;
  border-radius: 4px;
}
.pin-icon-slot.pin-target {
  background: #fff;
  display: flex; align-items: center; justify-content: center;
  animation: pinPulse 2.5s ease-in-out infinite;
}
.pin-cursor {
  position: absolute;
  right: 2px; top: -4px;
  color: var(--yellow-deep);
  animation: pinBounce 2.5s ease-in-out infinite;
  opacity: 0;
}
@keyframes pinPulse {
  0%, 100% { box-shadow: 0 0 0 0 var(--yellow-glow); }
  50% { box-shadow: 0 0 0 6px transparent; }
}
@keyframes pinBounce {
  0%, 30% { opacity: 0; translate: 6px -8px; }
  50%, 80% { opacity: 1; translate: 0 0; }
  100% { opacity: 0; translate: 0 0; }
}

/* click animation */
.click-anim { position: relative; }
.click-toolbar {
  display: flex; align-items: center; gap: 6px;
  background: #292524;
  padding: 6px 10px;
  border-radius: 6px;
}
.click-dot {
  width: 20px; height: 20px;
  background: #57534e;
  border-radius: 4px;
}
.click-sn {
  background: #fff;
  width: 26px; height: 26px;
  border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
}
.click-ring {
  position: absolute;
  width: 34px; height: 34px;
  border: 2px solid var(--yellow);
  border-radius: 50%;
  right: 5px; top: 50%; translate: 0 -50%;
  animation: ringPing 2s ease-out infinite;
}
@keyframes ringPing {
  0% { scale: .6; opacity: 1; }
  100% { scale: 2; opacity: 0; }
}

/* write animation */
.write-anim { display: flex; justify-content: center; }
.write-note {
  width: 140px;
  min-height: 56px;
  background: #fff9c4;
  border-radius: 4px;
  padding: 10px 12px;
  box-shadow: 2px 3px 10px rgba(0,0,0,.08);
  font-size: .78rem;
  color: rgba(0,0,0,.65);
  display: flex;
  align-items: flex-start;
  gap: 0;
}
.write-cursor {
  color: var(--yellow-deep);
  font-weight: 300;
  animation: blink 1s steps(2) infinite;
}
.write-text { white-space: pre-wrap; }
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* ============================================================
   FEATURES
   ============================================================ */
.features {
  padding: 5rem 4rem;
}

.section-heading {
  text-align: center;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -.02em;
  margin-bottom: 2.5rem;
}

.tag-free {
  display: inline-block;
  padding: .2em .65em;
  background: #dcfce7;
  color: #15803d;
  font-size: .5em;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  border-radius: 100px;
  vertical-align: middle;
  translate: 0 -2px;
}

.feat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  max-width: 960px;
  margin: 0 auto;
}

.feat-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  opacity: 0; transform: translateY(20px);
  transition: all .5s var(--ease);
}
.feat-item.visible {
  opacity: 1; transform: translateY(0);
}
.feat-item:hover {
  translate: 0 -3px;
  box-shadow: 0 6px 20px rgba(0,0,0,.05);
}
.feat-wide { grid-column: span 3; }

.feat-item h3 {
  font-size: 1rem; font-weight: 600;
  margin-top: 1rem; margin-bottom: .3rem;
}
.feat-item p {
  font-size: .85rem; color: var(--fg2); line-height: 1.5;
}

/* Color swatches */
.feat-colors {
  display: flex; gap: 5px; flex-wrap: wrap;
}
.feat-colors span {
  width: 24px; height: 24px;
  background: var(--c);
  border-radius: 6px;
  box-shadow: 0 1px 3px rgba(0,0,0,.08);
  transition: transform .2s var(--bounce);
}
.feat-colors span:hover { transform: scale(1.3) rotate(-4deg); }

/* Format buttons */
.feat-icon { display: flex; align-items: center; gap: 5px; }
.fmt-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px;
  border-radius: 6px;
  background: var(--bg-alt);
  font-weight: 700; font-size: .82rem;
  color: var(--fg);
}
.fmt-btn.active { background: var(--yellow); }

/* Drag mini */
.drag-mini {
  position: relative;
  width: 42px; height: 42px;
}
.drag-mini-note {
  width: 24px; height: 24px;
  background: #fff9c4;
  border-radius: 3px;
  box-shadow: 1px 2px 6px rgba(0,0,0,.1);
  position: absolute;
  top: 50%; left: 50%;
  translate: -50% -50%;
  animation: miniDrag 3s ease-in-out infinite;
}
.drag-arrows {
  position: absolute;
  top: 50%; left: 50%;
  translate: -50% -50%;
  color: var(--fg3);
  opacity: .4;
}
@keyframes miniDrag {
  0%, 100% { translate: -50% -50%; }
  25% { translate: -30% -60%; }
  50% { translate: -60% -40%; }
  75% { translate: -40% -55%; }
}

/* Scopes */
.scope-visual {
  display: flex; gap: .75rem; margin-bottom: .5rem;
}
.scope-card {
  flex: 1;
  display: flex; flex-direction: column; align-items: center; gap: .3rem;
  padding: .85rem .75rem;
  border-radius: 10px;
  background: var(--bg);
  border: 1.5px solid var(--border);
  transition: all .25s var(--ease);
}
.scope-card:hover {
  translate: 0 -2px;
  box-shadow: 0 4px 12px rgba(0,0,0,.06);
}
.scope-icon { color: var(--fg2); }
.scope-page:hover .scope-icon { color: var(--yellow-deep); }
.scope-site:hover .scope-icon { color: #f97316; }
.scope-global:hover .scope-icon { color: #6366f1; }
.scope-card strong { font-size: .82rem; }
.scope-card span { font-size: .7rem; color: var(--fg3); }

/* Keyboard group */
.kbd-group {
  display: flex; align-items: center; gap: 4px;
}
.kbd-group kbd {
  padding: .35em .6em;
  font-size: .78rem;
}
.kbd-group span { font-size: .75rem; color: var(--fg3); }
.kbd-hl { background: var(--yellow) !important; border-color: var(--yellow-deep) !important; }

/* ============================================================
   PREMIUM
   ============================================================ */
.premium {
  padding: 5rem 4rem;
  background: var(--fg);
  color: #fff;
  position: relative;
  overflow: hidden;
}
/* warm glow */
.premium::before {
  content: '';
  position: absolute;
  width: 500px; height: 500px;
  top: 50%; left: 30%;
  translate: -50% -50%;
  background: radial-gradient(circle, var(--yellow-glow) 0%, transparent 70%);
  opacity: .4;
  pointer-events: none;
}

.premium-inner {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  max-width: 1000px;
  margin: 0 auto;
  align-items: center;
}

.premium-tag {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .35rem .8rem;
  background: var(--yellow);
  color: var(--fg);
  font-size: .75rem; font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  border-radius: 100px;
  margin-bottom: 1.25rem;
}

.premium-left h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.03em;
  opacity: 0; transform: translateY(20px);
  transition: all .6s var(--ease);
}
.premium-left h2.visible { opacity: 1; transform: translateY(0); }

.premium-price {
  margin-top: 1.25rem;
}
.price-big {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--yellow);
  letter-spacing: -.02em;
}
.price-sub {
  display: block;
  font-size: 1.05rem;
  color: #a8a29e;
  margin-top: .25rem;
}

.premium-left .btn {
  margin-top: 1.75rem;
}

/* premium license section */
.premium-license-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 1.5rem;
  font-size: .85rem;
  color: #a8a29e;
}
.premium-license-divider::before,
.premium-license-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(255,255,255,.12);
}
.premium-license-row {
  display: flex;
  align-items: stretch;
  gap: 8px;
  margin-top: .75rem;
}
.premium-license-field {
  flex: 1;
  padding: 14px 16px;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 10px;
  background: rgba(255,255,255,.06);
  color: #fff;
  font-size: .9rem;
  font-family: 'Outfit', sans-serif;
  outline: none;
  transition: border-color .2s;
}
.premium-license-field:focus {
  border-color: var(--yellow);
}
.premium-license-field::placeholder {
  color: rgba(255,255,255,.3);
  font-size: .82rem;
}
.btn-verify {
  padding: 14px 28px;
  background: var(--yellow);
  color: var(--fg);
  border: 1px solid transparent;
  border-radius: 10px;
  font-weight: 700;
  font-size: .9rem;
  font-family: 'Outfit', sans-serif;
  cursor: pointer;
  transition: opacity .2s, translate .2s;
  white-space: nowrap;
}
.btn-verify:hover {
  translate: 0 -1px;
  opacity: .9;
}
.btn-verify:disabled {
  opacity: .5;
  cursor: not-allowed;
}
.btn-spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(0,0,0,.2);
  border-top-color: var(--fg);
  border-radius: 50%;
  animation: btn-spin .6s linear infinite;
}
@keyframes btn-spin {
  to { transform: rotate(360deg); }
}
.premium-license-error {
  font-size: .8rem;
  color: #f87171;
  margin: .4rem 0 0;
  min-height: 0;
}
.premium-license-error:empty {
  display: none;
}
.premium-license-hint {
  font-size: .78rem;
  color: #a8a29e;
  margin: .5rem 0 0;
}

/* premium features list */
.premium-right {
  display: flex; flex-direction: column; gap: 1rem;
}

.prem-feat {
  display: flex; align-items: flex-start; gap: .85rem;
  padding: 1rem 1.25rem;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 12px;
  opacity: 0; transform: translateX(20px);
  transition: all .5s var(--ease);
}
.prem-feat.visible {
  opacity: 1; transform: translateX(0);
}
.prem-feat:hover {
  background: rgba(255,255,255,.1);
}

.prem-icon {
  width: 36px; height: 36px;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(245, 215, 66, .12);
  border-radius: 8px;
  color: var(--yellow);
}
.prem-icon svg { width: 20px; height: 20px; }

.prem-feat strong {
  display: block;
  font-size: .9rem;
  margin-bottom: .35rem;
}
.prem-unlimited {
  color: var(--yellow);
  font-weight: 700;
  text-transform: uppercase;
  font-size: .7em;
  letter-spacing: .06em;
  background: rgba(245, 215, 66, .12);
  padding: .15em .45em;
  border-radius: 4px;
  vertical-align: middle;
  margin-right: .35em;
}

.prem-demo-link {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  margin-top: .65rem;
  margin-left: .25rem;
  padding: .3rem .7rem;
  font-size: .72rem;
  font-weight: 600;
  color: var(--yellow);
  text-decoration: none;
  background: rgba(245, 215, 66, .1);
  border: 1px solid rgba(245, 215, 66, .2);
  border-radius: 6px;
  transition: all .2s ease;
}
.prem-demo-link:hover {
  background: rgba(245, 215, 66, .18);
  border-color: rgba(245, 215, 66, .35);
  color: #fff;
}

.prem-feat span {
  font-size: .8rem;
  color: #a8a29e;
  line-height: 1.4;
}

/* ============================================================
   OUTRO
   ============================================================ */
.outro {
  padding: 5rem 4rem;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg-alt);
}

.outro-note {
  position: relative;
  background: #fff9c4;
  padding: 3rem 3.5rem;
  border-radius: 4px;
  box-shadow: 3px 5px 20px rgba(0,0,0,.1), 0 1px 3px rgba(0,0,0,.06);
  text-align: center;
  max-width: 440px;
  transform: rotate(-1deg);
}

.outro-fold {
  position: absolute;
  top: 0; right: 0;
  width: 40px; height: 40px;
  background: linear-gradient(135deg, transparent 50%, #f0cc2d 50%, #e6c12a);
  border-radius: 0 0 0 8px;
}

.outro-note h2 {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -.02em;
  margin-bottom: .5rem;
}

.outro-note p {
  font-size: .95rem;
  color: rgba(0,0,0,.6);
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.outro-note .btn {
  width: 100%;
  justify-content: center;
}

.outro-note kbd {
  background: rgba(0,0,0,.06);
  border-color: rgba(0,0,0,.1);
  box-shadow: 0 1px 0 rgba(0,0,0,.08);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  padding: 2rem 4rem;
  border-top: 1px solid var(--border);
}
.footer-inner {
  display: flex; align-items: center; justify-content: space-between;
  max-width: 960px; margin: 0 auto;
}
.footer-brand {
  display: flex; align-items: center; gap: .45rem;
  font-weight: 600; font-size: .88rem; color: var(--fg2);
}
.footer span { font-size: .82rem; color: var(--fg3); }

/* ============================================================
   CONFETTI
   ============================================================ */
.confetti-box {
  position: fixed; inset: 0;
  pointer-events: none; z-index: 10000;
  overflow: hidden;
}
.confetti-piece {
  position: absolute; top: -12px;
  width: 10px; height: 10px;
  animation: fall 3s ease-out forwards;
}
@keyframes fall {
  0%   { translate: 0 0; rotate: 0deg; opacity: 1; }
  100% { translate: var(--dx, 0px) 100vh; rotate: 720deg; opacity: 0; }
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes up {
  from { opacity: 0; translate: 0 18px; }
  to   { opacity: 1; translate: 0 0; }
}
@keyframes scaleUp {
  from { opacity: 0; scale: .92; }
  to   { opacity: 1; scale: 1; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    padding: 3rem 2rem;
    min-height: auto;
    text-align: center;
  }
  .hero-right { order: -1; align-items: center; }
  .hero-left { align-items: center; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-stack { height: 320px; margin: 0 auto; max-width: 400px; }
  .stack-note { width: 180px; }

  .steps { padding: 4rem 2rem; }
  .step-cards { grid-template-columns: 1fr; max-width: 400px; }

  .features { padding: 4rem 2rem; }
  .feat-grid { grid-template-columns: 1fr; }
  .feat-wide { grid-column: span 1; }
  .scope-visual { flex-direction: column; }

  .premium { padding: 4rem 2rem; }
  .premium-inner { grid-template-columns: 1fr; text-align: center; }
  .premium-left .btn { margin-left: auto; margin-right: auto; }
  .premium-license-divider { justify-content: center; }
  .premium-license-row { max-width: 420px; margin-left: auto; margin-right: auto; }
  .premium-license-hint { text-align: center; }
  .premium-right { margin-top: 1rem; }
  .prem-feat { text-align: left; }

  .outro { padding: 4rem 2rem; }
  .outro-note { padding: 2.5rem 2rem; }
}

@media (max-width: 600px) {
  .hero { padding: 2rem 1.25rem; }
  .hero-title { font-size: 2.2rem; }
  .hero-stack { height: 280px; }
  .stack-note { width: 150px; font-size: .75rem; padding: 10px 12px; }

  .bg-notes { display: none; }

  .footer-inner { flex-direction: column; gap: .75rem; text-align: center; }
}
