:root {
  --bg: #07111f;
  --bg-soft: rgba(11, 31, 52, 0.72);
  --surface: rgba(255, 255, 255, 0.08);
  --surface-strong: rgba(255, 255, 255, 0.14);
  --text: #f3f7fb;
  --muted: #adc2d8;
  --accent: #89f0c8;
  --accent-strong: #38d29b;
  --line: rgba(255, 255, 255, 0.12);
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(36, 122, 116, 0.42), transparent 32%),
    radial-gradient(circle at 85% 15%, rgba(70, 113, 255, 0.28), transparent 25%),
    linear-gradient(180deg, #08131f 0%, #0e2236 48%, #07111f 100%);
}

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

.page-shell {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1rem 0 4rem;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 1rem 0 3rem;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0 2.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 1rem;
  background: linear-gradient(135deg, var(--accent-strong), #73b8ff);
  color: #04111c;
}

.brand-text {
  font-size: 1.1rem;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  color: var(--muted);
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--text);
}

.hero-content {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2rem;
  align-items: center;
}

.eyebrow,
.card-kicker {
  margin: 0 0 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.75rem;
  color: var(--accent);
}

.hero-copy h1,
.section-heading h2,
.bottom-cta h2 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  line-height: 0.95;
}

.hero-copy h1 {
  font-size: clamp(3rem, 8vw, 6.5rem);
  max-width: 10ch;
}

.hero-text {
  max-width: 38rem;
  margin: 1.25rem 0 0;
  font-size: 1.1rem;
  line-height: 1.75;
  color: var(--muted);
}

.cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 2rem 0 0.75rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  padding: 0.85rem 1.3rem;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button-primary {
  background: linear-gradient(135deg, var(--accent), #73b8ff);
  color: #04111c;
}

.button-secondary {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.hero-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.hero-card {
  display: flex;
  justify-content: center;
}

.portfolio-panel {
  width: min(100%, 430px);
  padding: 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 2rem;
  background:
    radial-gradient(circle at top right, rgba(137, 240, 200, 0.16), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.05));
  box-shadow: var(--shadow);
}

.portfolio-head {
  margin-bottom: 1rem;
}

.portfolio-head h2 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  line-height: 1.05;
}

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

.portfolio-item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 1.2rem;
  background: rgba(7, 17, 31, 0.78);
}

.portfolio-item-live {
  border-color: rgba(137, 240, 200, 0.45);
  background:
    linear-gradient(180deg, rgba(137, 240, 200, 0.12), rgba(7, 17, 31, 0.82)),
    rgba(7, 17, 31, 0.82);
}

.portfolio-label,
.portfolio-copy,
.portfolio-item h3 {
  margin: 0;
}

.portfolio-label {
  margin-bottom: 0.35rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
  color: var(--accent);
}

.portfolio-item h3 {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.2rem;
}

.portfolio-copy {
  margin-top: 0.45rem;
  color: var(--muted);
  line-height: 1.55;
}

.portfolio-status {
  flex-shrink: 0;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  font-size: 0.78rem;
  font-weight: 700;
}

.phone-frame {
  width: min(100%, 360px);
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 2.25rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.05));
  box-shadow: var(--shadow);
  transform: rotate(4deg);
}

.phone-screen {
  padding: 1.25rem;
  border-radius: 1.6rem;
  background:
    radial-gradient(circle at top right, rgba(137, 240, 200, 0.25), transparent 28%),
    rgba(7, 17, 31, 0.95);
}

.task-pill {
  display: inline-block;
  margin-bottom: 0.85rem;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  background: rgba(137, 240, 200, 0.14);
  color: var(--accent);
  font-size: 0.82rem;
}

.phone-screen h2 {
  margin: 0 0 0.5rem;
  font-family: "Space Grotesk", sans-serif;
}

.task-text {
  margin: 0 0 1rem;
  color: var(--muted);
}

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

.label-option {
  padding: 0.95rem 1rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.04);
}

.label-option.active {
  border-color: rgba(137, 240, 200, 0.7);
  background: rgba(137, 240, 200, 0.14);
}

.screen-footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.82rem;
}

.info-grid,
.workflow-steps {
  display: grid;
  gap: 1.2rem;
}

.info-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 2rem;
}

.info-card,
.step-card,
.bottom-cta {
  border: 1px solid var(--line);
  background: var(--bg-soft);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
}

.info-card,
.step-card {
  padding: 1.4rem;
  border-radius: 1.5rem;
}

.info-card h3,
.step-card h3 {
  margin: 0 0 0.75rem;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.45rem;
}

.info-card p:last-child,
.step-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.workflow {
  padding: 5rem 0 2rem;
}

.section-heading {
  max-width: 46rem;
  margin-bottom: 1.5rem;
}

.section-heading h2,
.bottom-cta h2 {
  font-size: clamp(2.2rem, 5vw, 4rem);
}

.workflow-steps {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.step-number {
  display: inline-block;
  margin-bottom: 1rem;
  color: var(--accent);
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
}

.bottom-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  margin-top: 2rem;
  padding: 1.5rem;
  border-radius: 1.8rem;
}

.site-footer {
  display: flex;
  justify-content: flex-end;
  padding-top: 1.5rem;
  color: var(--muted);
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--text);
}

.policy-shell {
  min-height: 100vh;
}

.policy-layout {
  display: grid;
  place-items: center;
  min-height: calc(100vh - 7rem);
  padding: 2rem 0 4rem;
}

.policy-card {
  width: min(100%, 760px);
  padding: clamp(1.5rem, 4vw, 3rem);
  border: 1px solid var(--line);
  border-radius: 2rem;
  background: var(--bg-soft);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
}

.policy-card h1 {
  margin: 0 0 1rem;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2.5rem, 7vw, 4.75rem);
  line-height: 0.95;
}

.policy-card p {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.8;
}

.policy-section {
  margin-top: 2rem;
}

.policy-section h2 {
  margin: 0 0 0.85rem;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.2rem, 3vw, 1.7rem);
  line-height: 1.15;
}

.policy-card strong {
  color: var(--text);
}

.policy-updated {
  margin: 0 0 1.5rem;
  color: var(--text);
  font-size: 0.95rem;
}

@media (max-width: 900px) {
  .hero-content,
  .info-grid,
  .workflow-steps,
  .bottom-cta {
    grid-template-columns: 1fr;
  }

  .hero-content,
  .bottom-cta {
    display: grid;
  }

  .site-nav {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-links {
    flex-wrap: wrap;
  }

  .phone-frame {
    transform: none;
  }

  .screen-footer {
    flex-direction: column;
  }

  .portfolio-item {
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .page-shell {
    width: min(100% - 1.25rem, 1180px);
  }

  .hero-copy h1 {
    max-width: none;
  }

  .cta-group {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .nav-links {
    gap: 1rem;
  }

  .site-footer {
    justify-content: flex-start;
  }
}
