:root {
  --ink: #15183f;
  --blue: #1b2363;
  --green: #b9ff63;
  --sage: #e8eddc;
  --cream: #f4f1e7;
  --lavender: #e8e8f2;
  --paper: #fbfbf7;
  --line: rgba(21, 24, 63, .12);
  --muted: #666978;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.page-shell {
  width: min(1440px, 100%);
  min-height: 100svh;
  margin: 0 auto;
  padding: 0 clamp(24px, 5vw, 76px);
  display: grid;
  grid-template-rows: auto 1fr auto;
  overflow: hidden;
}

.site-header {
  min-height: 104px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand img {
  display: block;
  width: 112px;
  height: auto;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: .75rem;
  letter-spacing: .02em;
}

.status span, .live-label i, .card-live i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(185, 255, 99, .18);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(520px, 1.14fr);
  align-items: center;
  gap: clamp(50px, 7vw, 120px);
  padding: clamp(64px, 8vh, 110px) 0;
}

.hero-copy { position: relative; z-index: 2; }

.eyebrow {
  margin: 0 0 26px;
  color: var(--blue);
  font-size: .73rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}

h1 {
  max-width: 690px;
  margin: 0;
  font-size: clamp(3.35rem, 6.3vw, 6.6rem);
  font-weight: 650;
  letter-spacing: -.072em;
  line-height: .9;
}

h1 em { color: var(--green); font-style: normal; }

.intro {
  max-width: 570px;
  margin: clamp(28px, 4vw, 46px) 0 0;
  color: #454858;
  font-size: clamp(1rem, 1.3vw, 1.18rem);
  line-height: 1.68;
}

.availability {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 38px;
}

.availability-icon {
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--blue);
  background: var(--green);
  font-size: 1.15rem;
}

.availability p { margin: 0; color: var(--muted); font-size: .82rem; line-height: 1.55; }
.availability strong { color: var(--ink); font-weight: 650; }

.visual {
  position: relative;
  min-height: 570px;
  display: grid;
  place-items: center;
  isolation: isolate;
}

.glow {
  position: absolute;
  z-index: -2;
  border-radius: 50%;
  filter: blur(2px);
}

.glow-one { width: 480px; height: 480px; background: var(--sage); top: 7%; right: -2%; }
.glow-two { width: 240px; height: 240px; background: var(--lavender); left: 0; bottom: 0; }

.workspace {
  width: min(100%, 670px);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 20px;
  background: var(--blue);
  box-shadow: 0 34px 80px rgba(20, 27, 77, .22);
  overflow: hidden;
  transform: rotate(-1.5deg);
}

.workspace-bar {
  height: 64px;
  padding: 0 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: white;
  border-bottom: 1px solid rgba(255,255,255,.1);
}

.mini-brand { font-size: .86rem; letter-spacing: .17em; }
.live-label { display: flex; align-items: center; gap: 8px; font-size: .63rem; color: rgba(255,255,255,.65); }
.live-label i { display: block; width: 6px; height: 6px; }

.workspace-body { min-height: 360px; display: grid; grid-template-columns: 70px 1fr; }
.sidebar { padding: 25px 0; display: flex; flex-direction: column; align-items: center; gap: 20px; border-right: 1px solid rgba(255,255,255,.1); }
.sidebar-mark { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 9px; color: var(--blue); background: var(--green); font-weight: 800; }
.sidebar > span:not(.sidebar-mark) { width: 22px; height: 5px; border-radius: 9px; background: rgba(255,255,255,.16); }
.project { margin: 18px; padding: 34px; border-radius: 13px; background: var(--paper); }
.project-topline { display: flex; justify-content: space-between; gap: 20px; }
.project small { display: block; color: #7b7d87; font-size: .64rem; }
.project h2 { margin: 12px 0 32px; font-size: clamp(1.6rem, 2.7vw, 2.45rem); letter-spacing: -.052em; line-height: 1.02; }
.project-badge { height: fit-content; padding: 8px 12px; border-radius: 999px; color: var(--blue); background: var(--green); font-size: .61rem; font-weight: 700; }
.project-card { padding: 15px; display: flex; align-items: center; gap: 12px; border: 1px solid var(--line); border-radius: 11px; background: white; }
.app-icon { width: 39px; height: 39px; display: grid; place-items: center; border-radius: 9px; color: var(--blue); background: #ffd1a6; font-weight: 800; }
.app-copy { min-width: 0; flex: 1; }
.app-copy strong, .app-copy small { display: block; }
.app-copy strong { margin-bottom: 4px; font-size: .77rem; }
.pulse { width: 10px; height: 10px; border-radius: 50%; background: var(--green); animation: breathe 2.2s ease-in-out infinite; }
.progress { margin-top: 30px; }
.progress-head { display: flex; justify-content: space-between; margin-bottom: 10px; font-size: .64rem; }
.progress-track { height: 7px; border-radius: 10px; background: var(--sage); overflow: hidden; }
.progress-track span { display: block; width: 85%; height: 100%; border-radius: inherit; background: var(--green); }

.floating-card {
  position: absolute;
  padding: 15px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(21,24,63,.08);
  border-radius: 13px;
  background: rgba(255,255,255,.93);
  box-shadow: 0 16px 38px rgba(21,24,63,.13);
  backdrop-filter: blur(8px);
  animation: float 5s ease-in-out infinite;
}

.floating-card strong, .floating-card small { display: block; }
.floating-card strong { font-size: .72rem; }
.floating-card small { margin-top: 3px; color: var(--muted); font-size: .57rem; }
.card-code { left: -3%; top: 14%; }
.card-code > span { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 9px; background: #ffd1a6; font-size: .68rem; font-weight: 800; }
.card-live { right: -2%; bottom: 10%; animation-delay: -2.4s; }
.card-live i { display: block; width: 10px; height: 10px; }

.site-footer {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: .68rem;
}

@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
@keyframes breathe { 0%, 100% { box-shadow: 0 0 0 0 rgba(185,255,99,.45); } 50% { box-shadow: 0 0 0 7px rgba(185,255,99,0); } }

@media (max-width: 1040px) {
  .hero { grid-template-columns: 1fr; padding-top: 70px; }
  .hero-copy { max-width: 760px; }
  .visual { width: min(760px, 100%); justify-self: center; }
}

@media (max-width: 640px) {
  .page-shell { padding: 0 20px; }
  .site-header { min-height: 82px; }
  .status { max-width: 140px; justify-content: flex-end; text-align: right; font-size: .62rem; }
  .hero { gap: 42px; padding: 54px 0 48px; }
  h1 { font-size: clamp(3rem, 15vw, 4.5rem); }
  .visual { min-height: 410px; place-items: start center; padding-top: 34px; }
  .workspace { width: 115%; transform: scale(.86) rotate(-1.5deg); transform-origin: top center; }
  .workspace-body { grid-template-columns: 54px 1fr; min-height: 320px; }
  .project { margin: 12px; padding: 23px 18px; }
  .project h2 { margin-bottom: 24px; }
  .card-code { left: -3%; top: 0; }
  .card-live { right: -2%; bottom: 2%; }
  .site-footer { padding: 22px 0; align-items: flex-end; }
  .site-footer p:first-child { max-width: 210px; line-height: 1.5; }
}

@media (max-width: 380px) {
  .brand img { width: 96px; }
  .status { max-width: 120px; }
  .availability { align-items: flex-start; }
  .visual { min-height: 385px; }
  .floating-card { padding: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .floating-card, .pulse { animation: none; }
}
