:root {
  --primary: #1A1F71;
  --primary-pressed: #111653;
  --primary-soft: #EEF0FF;
  --background: #F7F8FC;
  --surface: #FFFFFF;
  --surface-soft: #F1F3FA;
  --text: #121426;
  --muted: #71768A;
  --muted-2: #9AA0AF;
  --border: #E2E5F0;
  --success: #1F9D66;
  --shadow-sm: 0 10px 30px rgba(18, 20, 38, 0.08);
  --shadow-md: 0 22px 60px rgba(18, 20, 38, 0.12);
  --radius-sm: 16px;
  --radius-md: 22px;
  --radius-lg: 30px;
  --radius-xl: 44px;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--background);
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background: var(--background);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
}

a {
  color: inherit;
}

.page-shell {
  width: min(1120px, 100%);
  min-height: 100vh;
  margin: 0 auto;
  padding: 28px 20px 34px;
  display: flex;
  flex-direction: column;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 44px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--primary);
  text-decoration: none;
}

.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  background: var(--primary);
  color: #FFFFFF;
  box-shadow: 0 14px 28px rgba(26, 31, 113, 0.24);
}

.brand-mark span {
  font-size: 20px;
  font-weight: 900;
  letter-spacing: -0.06em;
}

.brand-name {
  font-size: 23px;
  font-weight: 850;
  letter-spacing: -0.055em;
}

.topbar-status {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  height: 38px;
  padding: 0 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
  box-shadow: var(--shadow-sm);
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--success);
  box-shadow: 0 0 0 5px rgba(31, 157, 102, 0.12);
}

.hero {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(340px, 0.98fr);
  align-items: center;
  gap: 56px;
}

.hero-content {
  max-width: 660px;
}

.hero-kicker {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 22px;
  padding: 9px 13px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--primary);
  font-size: 13px;
  font-weight: 850;
  box-shadow: var(--shadow-sm);
}

.kicker-icon {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 14px;
}

h1 {
  margin: 0;
  max-width: 680px;
  font-size: clamp(44px, 7vw, 78px);
  line-height: 0.92;
  letter-spacing: -0.075em;
  font-weight: 900;
}

.hero-text {
  margin: 24px 0 0;
  max-width: 610px;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.55;
}

.cta-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  min-height: 56px;
  padding: 0 22px;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  text-decoration: none;
  font-size: 15px;
  font-weight: 850;
  border: 1px solid transparent;
  cursor: pointer;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button:active {
  transform: scale(0.97);
}

.button-primary {
  background: var(--primary);
  color: #FFFFFF;
  box-shadow: 0 18px 38px rgba(26, 31, 113, 0.24);
}

.button-primary:hover {
  background: var(--primary-pressed);
}

.button-secondary {
  background: var(--surface);
  color: var(--primary);
  border-color: var(--border);
  box-shadow: var(--shadow-sm);
}

.button-icon {
  transition: transform 180ms ease;
}

.button-primary:hover .button-icon {
  transform: translateX(3px);
}

.helper-text {
  margin: 17px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.phone-stage {
  position: relative;
  min-height: 650px;
  display: grid;
  place-items: center;
}

.orbit {
  position: absolute;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: transparent;
  animation: breathe 4.4s ease-in-out infinite;
}

.orbit-one {
  width: 420px;
  height: 420px;
}

.orbit-two {
  width: 520px;
  height: 520px;
  animation-delay: 450ms;
  opacity: 0.7;
}

.phone {
  position: relative;
  width: min(354px, 88vw);
  padding: 11px;
  border-radius: 52px;
  background: #111426;
  box-shadow: var(--shadow-md);
  animation: floatPhone 5.6s ease-in-out infinite;
}

.phone-frame {
  position: relative;
  min-height: 690px;
  border-radius: 42px;
  overflow: hidden;
  background: var(--surface-soft);
}

.phone-sensor {
  position: absolute;
  z-index: 3;
  top: 11px;
  left: 50%;
  width: 112px;
  height: 28px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: #111426;
}

.app-screen {
  min-height: 690px;
  padding: 54px 20px 20px;
  background: var(--surface-soft);
}

.app-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.app-overline {
  margin: 0 0 5px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}

.app-top h2 {
  margin: 0;
  font-size: 30px;
  line-height: 1;
  letter-spacing: -0.06em;
}

.app-avatar {
  width: 46px;
  height: 46px;
  border-radius: 17px;
  display: grid;
  place-items: center;
  background: var(--primary);
  color: #FFFFFF;
  font-weight: 900;
  box-shadow: 0 12px 24px rgba(26, 31, 113, 0.22);
}

.summary-card {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 24px;
  padding: 18px;
  border-radius: 26px;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  animation: enterCard 650ms 160ms ease both;
}

.summary-icon {
  width: 44px;
  height: 44px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: var(--primary-soft);
  color: var(--primary);
  font-weight: 900;
}

.summary-card strong,
.summary-card span {
  display: block;
}

.summary-card strong {
  font-size: 16px;
  letter-spacing: -0.025em;
}

.summary-card span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 13px;
}

.section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 26px 2px 12px;
}

.section-title span {
  font-size: 15px;
  font-weight: 850;
  letter-spacing: -0.02em;
}

.section-title small {
  color: var(--muted);
  font-weight: 750;
}

.task-list {
  display: grid;
  gap: 11px;
}

.task-card {
  display: grid;
  grid-template-columns: 10px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 15px;
  border-radius: 22px;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: 0 8px 24px rgba(18, 20, 38, 0.055);
  animation: enterCard 650ms ease both;
}

.task-card:nth-child(1) {
  animation-delay: 240ms;
}

.task-card:nth-child(2) {
  animation-delay: 320ms;
}

.task-card:nth-child(3) {
  animation-delay: 400ms;
}

.task-card.is-active {
  border-color: rgba(26, 31, 113, 0.24);
}

.task-indicator {
  width: 10px;
  height: 42px;
  border-radius: 999px;
  background: var(--border);
}

.task-card.is-active .task-indicator {
  background: var(--primary);
}

.task-content strong,
.task-content span {
  display: block;
}

.task-content strong {
  font-size: 14px;
  letter-spacing: -0.02em;
}

.task-content span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
}

.task-time {
  color: var(--primary);
  background: var(--primary-soft);
  border-radius: 999px;
  padding: 7px 9px;
  font-size: 11px;
  font-weight: 850;
}

.bottom-sheet {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  padding: 13px 18px 18px;
  border-radius: 28px;
  background: var(--primary);
  color: #FFFFFF;
  box-shadow: 0 18px 40px rgba(26, 31, 113, 0.25);
  animation: sheetUp 780ms 520ms cubic-bezier(.2,.85,.2,1) both;
}

.sheet-handle {
  width: 44px;
  height: 5px;
  margin: 0 auto 15px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.34);
}

.bottom-sheet strong {
  display: block;
  font-size: 20px;
  line-height: 1.1;
  letter-spacing: -0.045em;
}

.bottom-sheet p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 13px;
  line-height: 1.45;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 42px;
  color: var(--muted);
  font-size: 13px;
}

.footer a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 750;
}

[data-animate="up"] {
  animation: fadeUp 700ms ease both;
}

[data-animate="scale"] {
  animation: fadeScale 800ms 120ms ease both;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeScale {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.985);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes floatPhone {
  0%, 100% {
    transform: translateY(0) rotate(1.2deg);
  }

  50% {
    transform: translateY(-10px) rotate(1.2deg);
  }
}

@keyframes breathe {
  0%, 100% {
    transform: scale(1);
    opacity: 0.72;
  }

  50% {
    transform: scale(1.045);
    opacity: 0.42;
  }
}

@keyframes enterCard {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes sheetUp {
  from {
    opacity: 0;
    transform: translateY(26px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
  }
}

@media (max-width: 900px) {
  .page-shell {
    padding-top: 22px;
  }

  .topbar {
    margin-bottom: 34px;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .hero-content {
    max-width: none;
  }

  .phone-stage {
    min-height: auto;
    padding: 10px 0 4px;
  }

  .orbit-one,
  .orbit-two {
    display: none;
  }
}

@media (max-width: 540px) {
  .page-shell {
    padding-inline: 16px;
  }

  .topbar-status {
    display: none;
  }

  .cta-row {
    flex-direction: column;
    align-items: stretch;
  }

  .button {
    width: 100%;
  }

  .phone {
    width: 100%;
    animation: none;
  }

  .phone-frame,
  .app-screen {
    min-height: 640px;
  }

  .footer {
    justify-content: center;
    text-align: center;
  }
}
