:root {
  --bg: #f6efe6;
  --bg-soft: #fbf6ef;
  --text: #221f1f;
  --muted: #8a8178;
  --border: rgba(34, 31, 31, 0.08);
  --border-strong: rgba(34, 31, 31, 0.16);
  --shadow: 0 22px 40px rgba(54, 39, 20, 0.12);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --purple: #dea4ff;
  --purple-strong: #d18cff;
  --black: #231f20;
  --frame: #161113;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font-sans: "Plus Jakarta Sans", "Avenir Next", "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-sans);
  color: var(--text);
  background:
    radial-gradient(circle at top, rgba(255, 255, 255, 0.65), transparent 28%),
    var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

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

button {
  font: inherit;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--black);
  color: #fff;
}

.skip-link:focus {
  left: 16px;
  top: 16px;
}

.hero,
.showcase,
.feature-grid,
.bottom-cta,
.faq {
  width: min(calc(100% - 36px), 1160px);
  margin: 0 auto;
}

.site-header {
  width: calc(100% - 64px);
  max-width: 1520px;
  margin: 0 auto;
  padding-top: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand,
.header-nav {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
}

.brand-icon {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--black);
  color: #fff;
  font-weight: 800;
  font-size: 1.05rem;
  line-height: 1;
}

.brand-name {
  font-size: 1.08rem;
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1;
}

.brand-version {
  margin-left: -2px;
  padding: 4px 8px;
  border-radius: 999px;
  border: 1.5px solid rgba(34, 31, 31, 0.12);
  background: rgba(34, 31, 31, 0.025);
  color: rgba(34, 31, 31, 0.42);
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1;
}

.header-nav {
  gap: 14px;
}

.header-nav > a:first-child {
  font-weight: 700;
  font-size: 0.96rem;
}

.store-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 18px;
  background: var(--black);
  color: #fff;
  font-weight: 800;
  box-shadow: 0 16px 28px rgba(34, 31, 31, 0.18);
  transition: transform 220ms var(--ease), box-shadow 220ms var(--ease);
}

.store-button:hover,
.store-button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(34, 31, 31, 0.2);
}

.store-button-small {
  min-height: 46px;
  padding: 0 18px;
  background: rgba(34, 31, 31, 0.04);
  color: var(--black);
  box-shadow: none;
  font-size: 0.96rem;
}

.hero {
  padding-top: 128px;
}

.hero-inner {
  width: 88%;
  max-width: 1120px;
  margin: 0 auto 0 max(0px, calc((100% - min(calc(100% - 36px), 1160px) * 0.88) / 2 - 22px));
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.hero h1 {
  margin: 0;
  max-width: 1120px;
  font-size: clamp(2.95rem, 5.35vw, 4.75rem);
  line-height: 1;
  letter-spacing: -0.025em;
  font-weight: 700;
  text-align: left;
  text-wrap: nowrap;
}

.highlight {
  display: inline-block;
  position: relative;
  z-index: 0;
  background: transparent;
  color: inherit;
  font-weight: 800;
}

.highlight::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 0.5em;
  background: rgb(240, 171, 252);
  z-index: -1;
}

.hero h1 br {
  display: block;
}

.hero-copy {
  max-width: 680px;
  margin: 22px 0 0;
  color: #655d57;
  font-size: 1.08rem;
  line-height: 1.7;
}

.hero-actions {
  margin-top: 48px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 24px;
}

.press-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 22px;
  color: #b5aaa0;
  font-size: 0.95rem;
  font-weight: 700;
}

.showcase {
  padding-top: 56px;
}

.showcase-shell {
  overflow: hidden;
  border-radius: 40px;
  background: #140f11;
  box-shadow: 0 22px 60px rgba(34, 31, 31, 0.18);
}

.shell-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 28px 0;
  color: #fff;
}

.shell-logo {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.14);
  font-weight: 800;
}

.shell-status {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.12);
  font-size: 0.96rem;
  font-weight: 700;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #8ce1bf;
}

.showcase-canvas {
  position: relative;
  min-height: 620px;
  background:
    radial-gradient(circle at 36% 48%, rgba(255, 236, 193, 0.18), transparent 16%),
    radial-gradient(circle at 54% 38%, rgba(233, 243, 255, 0.22), transparent 20%),
    radial-gradient(circle at 66% 45%, rgba(180, 255, 220, 0.14), transparent 14%),
    linear-gradient(180deg, #261925 0%, #171015 48%, #120d10 100%);
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  opacity: 0.85;
}

.orb-left {
  width: 270px;
  height: 270px;
  left: 30%;
  top: 26%;
  transform: translateX(-50%);
  background: radial-gradient(circle at 40% 40%, rgba(255,255,255,0.8), rgba(215,223,230,0.22) 44%, transparent 72%);
}

.orb-right {
  width: 360px;
  height: 360px;
  right: 12%;
  top: 18%;
  background: radial-gradient(circle at 46% 38%, rgba(255,255,255,0.95), rgba(204,225,255,0.32) 40%, transparent 72%);
}

.curve {
  position: absolute;
  border-radius: 999px;
  border: 22px solid rgba(255, 255, 255, 0.75);
  filter: blur(0.2px);
}

.curve-left {
  width: 520px;
  height: 240px;
  left: -4%;
  bottom: -6%;
  border-color: rgba(196, 171, 246, 0.54);
  border-top-color: transparent;
  border-right-color: transparent;
  transform: rotate(-7deg);
}

.curve-right {
  width: 680px;
  height: 420px;
  right: -8%;
  bottom: -16%;
  border-top-color: rgba(255, 255, 255, 0.9);
  border-left-color: transparent;
  border-bottom-color: transparent;
  transform: rotate(-8deg);
}

.floating-card {
  position: absolute;
  border-radius: 22px;
  backdrop-filter: blur(24px);
  box-shadow: var(--shadow);
}

.account-card {
  left: 34px;
  bottom: 48px;
  width: 300px;
  padding: 18px;
  background: rgba(41, 33, 36, 0.82);
  color: #f7f0eb;
}

.card-label {
  margin: 0 0 14px;
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.94rem;
}

.account-list {
  display: grid;
}

.account-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.account-item:first-child {
  border-top: 0;
  padding-top: 0;
}

.account-item button {
  border: 0;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-weight: 700;
}

.control-card {
  top: 82px;
  right: 28px;
  width: 290px;
  padding: 18px;
  background: rgba(245, 236, 225, 0.9);
  color: #2b2322;
}

.control-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(43, 35, 34, 0.08);
}

.toggle-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #70d2b0;
}

.shortcut {
  margin-left: auto;
  color: #8a8178;
  font-size: 0.88rem;
  font-weight: 700;
}

.control-group {
  padding-top: 14px;
}

.control-group > span {
  display: block;
  margin-bottom: 12px;
  color: #8a8178;
  font-size: 0.94rem;
}

.control-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-top: 1px solid rgba(43, 35, 34, 0.08);
}

.control-row strong {
  font-size: 1rem;
}

.control-footer {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(43, 35, 34, 0.08);
  display: flex;
  justify-content: space-between;
  color: #8a8178;
  font-size: 0.92rem;
  font-weight: 700;
}

.features-showcase {
  width: min(calc(100% - 36px), 980px);
  margin: 34px auto 0;
  padding-top: 18px;
}

.feature-hint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 0 auto 28px;
  color: #bbb0a5;
  font-size: 0.92rem;
  font-weight: 700;
}

.feature-hint::before {
  content: '◀';
  font-size: 0.75rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 42px 34px;
}

.feature-icon-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: var(--black);
}

.feature-icon {
  width: 64px;
  height: 64px;
  margin-bottom: 20px;
  display: grid;
  place-items: center;
}

.icon-shell {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
}

.icon-shell svg {
  width: 54px;
  height: 54px;
  stroke: #231f20;
  stroke-width: 1.9;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  overflow: visible;
}

.icon-shell svg .motion-stroke,
.icon-shell svg .motion-plus,
.icon-shell svg .slider-line,
.icon-shell svg .slider-knob {
  transform-box: fill-box;
  transform-origin: center;
}

.feature-icon-card h2 {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.08;
  letter-spacing: -0.045em;
  font-weight: 700;
}

.feature-emphasis {
  position: relative;
  display: inline-block;
}

.feature-icon-card {
  transition:
    transform 300ms var(--ease),
    opacity 300ms var(--ease),
    color 300ms var(--ease);
}

.features-cta {
  display: flex;
  justify-content: center;
  margin-top: 72px;
}

.bottom-cta {
  padding: 92px 0 28px;
  text-align: center;
}

.bottom-cta h2 {
  max-width: 700px;
  margin: 0 auto 24px;
  font-size: clamp(2.1rem, 4vw, 3.4rem);
  line-height: 1.02;
  letter-spacing: -0.06em;
}

.bottom-copy {
  max-width: 700px;
  margin: 0 auto 24px;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.7;
}

.faq {
  padding: 14px 0 64px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.faq article {
  padding: 24px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.38);
  border: 1px solid var(--border);
}

.faq h3 {
  margin: 0 0 10px;
  font-size: 1.1rem;
}

.faq p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 650ms var(--ease), transform 650ms var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1080px) {
  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .faq {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .site-header {
    width: min(calc(100% - 20px), 1160px);
    padding-top: 18px;
    flex-direction: column;
    align-items: flex-start;
  }

  .header-nav {
    width: 100%;
    justify-content: space-between;
  }

  .site-header,
  .hero,
  .showcase,
  .bottom-cta,
  .faq {
    width: min(calc(100% - 20px), 1160px);
  }

  .features-showcase {
    width: min(calc(100% - 20px), 980px);
  }

  .hero {
    padding-top: 84px;
  }

  .hero-inner {
    width: 100%;
    margin: 0;
  }

  .hero h1 {
    font-size: clamp(2.8rem, 12.5vw, 4.25rem);
    max-width: 100%;
    text-wrap: wrap;
  }

  .hero-actions {
    align-items: flex-start;
    justify-content: flex-start;
  }

  .press-row {
    justify-content: flex-start;
  }

  .showcase-canvas {
    min-height: 700px;
  }

  .control-card {
    position: relative;
    top: auto;
    right: auto;
    width: calc(100% - 24px);
    margin: 26px auto 0;
  }

  .account-card {
    position: relative;
    left: auto;
    bottom: auto;
    width: calc(100% - 24px);
    margin: 340px auto 24px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
