:root {
  --ink: #0f172a;
  --ink-soft: #334155;
  --muted: #64748b;
  --line: rgba(148, 163, 184, 0.22);
  --surface: rgba(255, 255, 255, 0.78);
  --surface-solid: #ffffff;
  --page: #f7f9fc;
  --blue: #2765c5;
  --blue-dark: #1d4f98;
  --mint: #18a67e;
  --cyan: #2aa8dc;
  --violet: #7257d8;
  --amber: #dd8a24;
  --shadow-sm: 0 12px 35px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 30px 80px rgba(28, 62, 103, 0.12);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink-soft);
  background:
    radial-gradient(circle at 88% 8%, rgba(42, 168, 220, 0.13), transparent 28rem),
    radial-gradient(circle at 7% 34%, rgba(24, 166, 126, 0.10), transparent 30rem),
    linear-gradient(180deg, #fbfdff 0%, var(--page) 40%, #f8fafc 100%);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -2;
  opacity: .34;
  background-image:
    linear-gradient(rgba(100, 116, 139, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(100, 116, 139, .07) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, #000 0%, transparent 60%);
}

::selection {
  background: rgba(39, 101, 197, .18);
}

a {
  color: inherit;
}

.site-shell {
  position: relative;
  isolation: isolate;
}

.container-narrow {
  width: min(1140px, calc(100% - 2rem));
  margin-inline: auto;
}

/* The hero deliberately gets more horizontal room than the rest of the site.
   This keeps the headline spacious without making every section overly wide. */
.container-hero {
  width: min(1420px, calc(100% - 2.5rem));
  margin-inline: auto;
}

/* Navigation */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 14px 0;
  background: rgba(247, 249, 252, .74);
  border-bottom: 1px solid rgba(255,255,255,.55);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 800;
  letter-spacing: -.025em;
}

.brand img {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  box-shadow: 0 8px 22px rgba(36, 91, 143, .18);
}

.brand span {
  font-size: 1.02rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-links a {
  padding: 9px 12px;
  border-radius: 999px;
  color: #52647a;
  text-decoration: none;
  font-size: .92rem;
  font-weight: 650;
  transition: color .2s ease, background .2s ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--ink);
  background: rgba(255,255,255,.8);
  outline: none;
}

/* Hero */
.hero {
  position: relative;
  padding: clamp(72px, 10vw, 132px) 0 clamp(74px, 10vw, 124px);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr);
  align-items: center;
  gap: clamp(36px, 5vw, 72px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 11px;
  margin-bottom: 22px;
  border: 1px solid rgba(39, 101, 197, .12);
  border-radius: 999px;
  background: rgba(255,255,255,.68);
  box-shadow: 0 7px 20px rgba(15,23,42,.04);
  color: var(--blue-dark);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.eyebrow-dot,
.status-dot {
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--mint), var(--cyan));
  box-shadow: 0 0 0 4px rgba(24, 166, 126, .1);
}

.hero-copy-col {
  min-width: 0;
  container-type: inline-size;
}

/*
 * The title is laid out as two real text rows. The row owns the line box;
 * the nested inline element owns only the gradient paint. Keeping those
 * responsibilities separate avoids clipping glyph descenders such as the
 * “g” in Thoughtful while both rows retain identical typography.
 */
.hero-title {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 100%;
  color: var(--ink);
  font-size: clamp(2.2rem, 6vw, 6.2rem);
  line-height: normal;
  letter-spacing: -.035em;
  font-weight: 850;
}

.hero-title-line {
  display: block;
  max-width: 100%;
  line-height: normal;
}

.hero-title-accent {
  color: transparent;
  background-image: linear-gradient(100deg, var(--blue) 4%, var(--cyan) 53%, var(--mint) 96%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Scale the whole title from the actual copy-column width. Both rows always
   inherit the same font size; there is no special-case sizing for the accent. */
@supports (font-size: 1cqw) {
  .hero-title {
    font-size: clamp(2.15rem, 10.1cqw, 6.2rem);
  }
}

.hero-copy {
  max-width: 650px;
  margin: 28px 0 0;
  color: #5b6c80;
  font-size: clamp(1.05rem, 2vw, 1.22rem);
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.btn-primary-soft,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 14px;
  text-decoration: none;
  font-size: .95rem;
  font-weight: 800;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease, background .2s ease;
}

.btn-primary-soft {
  color: #fff;
  border: 1px solid transparent;
  background: linear-gradient(120deg, var(--blue), #337fce);
  box-shadow: 0 14px 30px rgba(39,101,197,.22);
}

.btn-primary-soft:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(39,101,197,.28);
}

.btn-ghost {
  color: var(--ink);
  border: 1px solid rgba(148,163,184,.28);
  background: rgba(255,255,255,.74);
}

.btn-ghost:hover {
  color: var(--ink);
  transform: translateY(-2px);
  background: #fff;
  border-color: rgba(148,163,184,.44);
}

.hero-visual {
  position: relative;
  min-height: 430px;
  display: grid;
  place-items: center;
}

.hero-orbit {
  position: absolute;
  width: min(420px, 95%);
  aspect-ratio: 1;
  border: 1px solid rgba(72, 129, 188, .15);
  border-radius: 50%;
}

.hero-orbit::before,
.hero-orbit::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 1px dashed rgba(72, 129, 188, .15);
  inset: 12%;
}

.hero-orbit::after {
  inset: 27%;
  border-style: solid;
}

.logo-stage {
  position: relative;
  width: clamp(190px, 24vw, 248px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 38%;
  background: rgba(255,255,255,.6);
  border: 1px solid rgba(255,255,255,.9);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(18px);
  animation: float 7s ease-in-out infinite;
}

.logo-stage::before {
  content: "";
  position: absolute;
  inset: -55px;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(39,101,197,.19), rgba(42,168,220,.07) 42%, transparent 68%);
  filter: blur(4px);
}

.logo-stage img {
  width: 76%;
  border-radius: 28%;
  filter: drop-shadow(0 18px 28px rgba(20, 77, 122, .12));
}

.floating-chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 11px 14px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.92);
  background: rgba(255,255,255,.74);
  box-shadow: 0 15px 35px rgba(15,23,42,.08);
  backdrop-filter: blur(14px);
  color: var(--ink-soft);
  font-size: .82rem;
  font-weight: 750;
}

.floating-chip strong {
  color: var(--ink);
}

.floating-chip.chip-one { left: 0; top: 24%; }
.floating-chip.chip-two { right: -8px; bottom: 22%; }

.chip-icon {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: linear-gradient(135deg, rgba(42,168,220,.14), rgba(24,166,126,.14));
  color: var(--blue-dark);
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50% { transform: translateY(-10px) rotate(1deg); }
}

/* Sections */
.section {
  padding: clamp(76px, 9vw, 116px) 0;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 30px;
}

.section-kicker {
  margin-bottom: 10px;
  color: var(--blue);
  font-size: .78rem;
  font-weight: 850;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.section-title {
  margin: 0;
  color: var(--ink);
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1.04;
  letter-spacing: -.045em;
  font-weight: 840;
}

.section-intro {
  max-width: 540px;
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

/* Featured app */
.featured-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .82fr);
  gap: clamp(30px, 6vw, 72px);
  align-items: stretch;
  padding: clamp(28px, 5vw, 54px);
  overflow: hidden;
  border: 1px solid rgba(148,163,184,.2);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(130deg, rgba(255,255,255,.96), rgba(255,255,255,.74)),
    radial-gradient(circle at 80% 20%, rgba(24,166,126,.12), transparent 45%);
  box-shadow: var(--shadow-lg);
}

.featured-card::after {
  content: "";
  position: absolute;
  width: 360px;
  height: 360px;
  right: -140px;
  top: -160px;
  border-radius: 50%;
  background: rgba(24,166,126,.09);
  filter: blur(5px);
}

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

.app-head {
  display: flex;
  align-items: center;
  gap: 17px;
}

.app-icon {
  width: 78px;
  height: 78px;
  flex: 0 0 auto;
  object-fit: cover;
  border-radius: 22px;
  border: 1px solid rgba(148,163,184,.2);
  box-shadow: 0 14px 30px rgba(15,23,42,.10);
}

.app-label {
  margin-bottom: 5px;
  color: var(--muted);
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.app-name {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.55rem, 3vw, 2.35rem);
  line-height: 1.12;
  letter-spacing: -.035em;
  font-weight: 840;
}

.featured-description {
  max-width: 630px;
  margin: 26px 0 0;
  color: #52647a;
  font-size: 1.05rem;
  line-height: 1.78;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 11px;
  border-radius: 999px;
  background: rgba(241,245,249,.8);
  border: 1px solid rgba(148,163,184,.16);
  color: #4b5e73;
  font-size: .78rem;
  font-weight: 750;
}

.featured-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 30px;
}

.store-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 16px;
  border-radius: 14px;
  color: #fff;
  background: var(--ink);
  text-decoration: none;
  font-size: .91rem;
  font-weight: 780;
  box-shadow: 0 14px 26px rgba(15,23,42,.16);
  transition: transform .2s ease, box-shadow .2s ease;
}

.store-link:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 18px 32px rgba(15,23,42,.2);
}

.store-link svg {
  width: 20px;
  height: 20px;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid rgba(24,166,126,.18);
  border-radius: 999px;
  color: #28725d;
  background: rgba(24,166,126,.08);
  font-size: .79rem;
  font-weight: 800;
}

.featured-visual {
  position: relative;
  min-height: 340px;
  display: grid;
  place-items: center;
  border-radius: 26px;
  overflow: hidden;
  background:
    radial-gradient(circle at 35% 25%, rgba(85, 198, 112, .22), transparent 35%),
    radial-gradient(circle at 78% 76%, rgba(42, 168, 220, .20), transparent 38%),
    linear-gradient(145deg, #edf8f3, #eef6fb);
  border: 1px solid rgba(24,166,126,.12);
}

.featured-visual::before {
  content: "";
  position: absolute;
  width: 290px;
  height: 290px;
  border: 1px solid rgba(24,166,126,.18);
  border-radius: 50%;
  box-shadow: 0 0 0 45px rgba(255,255,255,.18), 0 0 0 90px rgba(255,255,255,.12);
}

.featured-icon-wrap {
  position: relative;
  width: 146px;
  height: 146px;
  display: grid;
  place-items: center;
  border-radius: 36px;
  background: rgba(255,255,255,.76);
  border: 1px solid rgba(255,255,255,.95);
  box-shadow: 0 28px 60px rgba(28,97,78,.16);
  transform: rotate(-4deg);
  z-index: 2;
}

.featured-icon-wrap img {
  width: 118px;
  height: 118px;
  border-radius: 29px;
}

.metric-card {
  position: absolute;
  z-index: 3;
  min-width: 150px;
  padding: 12px 14px;
  border: 1px solid rgba(255,255,255,.95);
  border-radius: 15px;
  background: rgba(255,255,255,.82);
  box-shadow: 0 14px 30px rgba(15,23,42,.08);
  backdrop-filter: blur(12px);
}

.metric-card .metric-label {
  color: var(--muted);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.metric-card strong {
  display: block;
  margin-top: 3px;
  color: var(--ink);
  font-size: .92rem;
}

.metric-card.metric-a { left: 18px; bottom: 24px; }
.metric-card.metric-b { right: 18px; top: 24px; }

/* Project cards */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.project-card {
  --project-accent: var(--blue);
  position: relative;
  min-height: 315px;
  display: flex;
  flex-direction: column;
  padding: 24px;
  overflow: hidden;
  border: 1px solid rgba(148,163,184,.18);
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,.78);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(10px);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.project-card::before {
  content: "";
  position: absolute;
  width: 150px;
  height: 150px;
  right: -70px;
  top: -70px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--project-accent) 12%, transparent);
  transition: transform .3s ease;
}

.project-card:hover {
  transform: translateY(-5px);
  border-color: color-mix(in srgb, var(--project-accent) 22%, transparent);
  box-shadow: 0 22px 50px rgba(15,23,42,.09);
}

.project-card:hover::before {
  transform: scale(1.16);
}

.project-card.textflow { --project-accent: #3b82f6; }
.project-card.bunker { --project-accent: var(--violet); }
.project-card.contactmint { --project-accent: var(--mint); }

.project-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  overflow: hidden;
  border-radius: 17px;
  color: var(--project-accent);
  background: color-mix(in srgb, var(--project-accent) 9%, white);
  border: 1px solid color-mix(in srgb, var(--project-accent) 16%, white);
}

.project-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-icon svg {
  width: 27px;
  height: 27px;
}

.project-card h3 {
  margin: 22px 0 0;
  color: var(--ink);
  font-size: 1.32rem;
  line-height: 1.2;
  letter-spacing: -.025em;
  font-weight: 820;
}

.project-card p {
  margin: 13px 0 24px;
  color: #607287;
  line-height: 1.67;
  font-size: .93rem;
}

.project-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
}

.mini-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #637387;
  font-size: .75rem;
  font-weight: 800;
}

.mini-status::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--project-accent);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--project-accent) 10%, transparent);
}

.category-chip {
  padding: 6px 9px;
  border-radius: 999px;
  color: var(--project-accent);
  background: color-mix(in srgb, var(--project-accent) 7%, white);
  font-size: .68rem;
  font-weight: 850;
  letter-spacing: .05em;
  text-transform: uppercase;
}

/* About */
.about-panel {
  position: relative;
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: clamp(36px, 7vw, 86px);
  align-items: center;
  padding: clamp(34px, 6vw, 64px);
  overflow: hidden;
  border: 1px solid rgba(148,163,184,.19);
  border-radius: var(--radius-xl);
  background: #101a2b;
  box-shadow: 0 34px 75px rgba(15,23,42,.17);
}

.about-panel::before {
  content: "";
  position: absolute;
  width: 380px;
  height: 380px;
  left: -170px;
  top: -190px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(42,168,220,.27), transparent 68%);
}

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

.about-panel .section-kicker {
  color: #74c9ef;
}

.about-panel .section-title {
  color: #fff;
}

.about-copy p {
  margin: 22px 0 0;
  color: #b4c0ce;
  line-height: 1.78;
}

.principles {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.principle {
  min-height: 170px;
  padding: 20px;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 20px;
  background: rgba(255,255,255,.055);
}

.principle-icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(116, 201, 239, .1);
  color: #8fd9f8;
}

.principle-icon svg {
  width: 20px;
  height: 20px;
}

.principle h4 {
  margin: 26px 0 7px;
  color: #fff;
  font-size: .98rem;
  font-weight: 800;
}

.principle p {
  margin: 0;
  color: #98a8ba;
  font-size: .78rem;
  line-height: 1.55;
}

/* Footer */
.site-footer {
  padding: 34px 0 38px;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-brand img {
  width: 38px;
  height: 38px;
  border-radius: 12px;
}

.footer-brand strong {
  display: block;
  color: var(--ink);
  font-size: .9rem;
}

.footer-brand small {
  color: var(--muted);
}

.footer-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 16px;
}

.footer-links a,
.footer-links span {
  color: var(--muted);
  text-decoration: none;
  font-size: .8rem;
}

.footer-links a:hover {
  color: var(--blue);
}

@media (max-width: 991.98px) {
  .hero-grid,
  .featured-card,
  .about-panel {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 72px;
  }

  .hero-grid {
    text-align: center;
  }

  /* On stacked hero layouts the headline becomes the visual focal point.
     Center the actual flex rows (not just their text) and scale the whole
     title from the copy-column width so both lines stay identical in size. */
  .hero-title {
    align-items: center;
    margin-inline: auto;
    font-size: clamp(2.45rem, 11vw, 4.4rem);
  }

  .hero-title-line {
    text-align: center;
  }

  @supports (font-size: 1cqw) {
    .hero-title {
      font-size: clamp(2.45rem, 11.5cqw, 4.4rem);
    }
  }

  .hero-copy,
  .hero-actions {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-visual {
    min-height: 365px;
    max-width: 540px;
    width: 100%;
    margin: 0 auto;
  }

  .projects-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .principles {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 767.98px) {
  .nav-links a:not(.nav-contact) {
    display: none;
  }

  .nav-links .nav-contact {
    padding: 8px 11px;
    background: rgba(255,255,255,.7);
    border: 1px solid rgba(148,163,184,.2);
  }


  .floating-chip.chip-one { left: 0; top: 18%; }
  .floating-chip.chip-two { right: 0; bottom: 15%; }

  .section-heading {
    align-items: start;
    flex-direction: column;
  }

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

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

  .principle {
    min-height: auto;
  }

  .principle h4 {
    margin-top: 16px;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

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

@media (max-width: 575.98px) {
  .container-narrow {
    width: min(100% - 1.2rem, 1140px);
  }

  .container-hero {
    width: calc(100% - 1.2rem);
  }

  .site-nav {
    padding: 10px 0;
  }

  .brand img {
    width: 34px;
    height: 34px;
  }

  .hero {
    padding-top: 58px;
  }

  .hero-visual {
    min-height: 330px;
  }

  .logo-stage {
    width: 175px;
  }

  .floating-chip {
    padding: 9px 11px;
    font-size: .74rem;
  }

  .floating-chip.chip-one { left: 4px; top: 16%; }
  .floating-chip.chip-two { right: 4px; bottom: 14%; }

  .featured-card,
  .project-card,
  .about-panel {
    border-radius: 24px;
  }

  .featured-card {
    padding: 24px;
  }

  .featured-visual {
    min-height: 285px;
  }

  .featured-icon-wrap {
    width: 126px;
    height: 126px;
  }

  .featured-icon-wrap img {
    width: 102px;
    height: 102px;
  }

  .metric-card {
    min-width: 132px;
    padding: 10px 11px;
  }

  .metric-card.metric-a { left: 10px; bottom: 14px; }
  .metric-card.metric-b { right: 10px; top: 14px; }

  .app-head {
    align-items: flex-start;
  }

  .app-icon {
    width: 66px;
    height: 66px;
    border-radius: 18px;
  }
}

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

/* Released apps & store states */
.release-stack {
  display: grid;
  gap: 24px;
}

.release-card {
  --release-a: #59c674;
  --release-b: #2aa8dc;
}

.release-card.freshly-release {
  --release-a: #5ac66f;
  --release-b: #26a9cf;
}

.release-card.contactmint-release {
  --release-a: #1cae86;
  --release-b: #27a9d5;
  background:
    linear-gradient(130deg, rgba(255,255,255,.96), rgba(255,255,255,.76)),
    radial-gradient(circle at 80% 20%, rgba(28,174,134,.13), transparent 45%);
}

.release-card.contactmint-release::after {
  background: rgba(39,169,213,.09);
}

.release-card.contactmint-release .featured-visual {
  background:
    radial-gradient(circle at 30% 24%, rgba(28,174,134,.24), transparent 36%),
    radial-gradient(circle at 78% 76%, rgba(39,169,213,.22), transparent 39%),
    linear-gradient(145deg, #ecfaf6, #edf7fb);
  border-color: rgba(28,174,134,.13);
}

.release-card.contactmint-release .featured-visual::before {
  border-color: rgba(39,169,213,.18);
}

.release-card.contactmint-release .featured-icon-wrap {
  box-shadow: 0 28px 60px rgba(20,111,103,.17);
  transform: rotate(4deg);
}

.store-actions {
  gap: 10px;
}

.store-link span {
  display: flex;
  flex-direction: column;
  line-height: 1.04;
}

.store-link small {
  margin-bottom: 3px;
  color: rgba(255,255,255,.65);
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .025em;
}

.store-link-disabled {
  cursor: default;
  color: var(--ink);
  background: rgba(241,245,249,.9);
  border: 1px solid rgba(148,163,184,.22);
  box-shadow: none;
  user-select: none;
}

.store-link-disabled svg {
  color: #8291a2;
}

.store-link-disabled small {
  color: #64748b;
}

/* Disabled store badges are status indicators, not interactive buttons.
   Keep their contrast stable on hover instead of inheriting .store-link:hover. */
.store-link-disabled:hover,
.store-link-disabled:active {
  color: var(--ink);
  background: rgba(241,245,249,.9);
  border-color: rgba(148,163,184,.22);
  transform: none;
  box-shadow: none;
}

.store-link-disabled:hover small,
.store-link-disabled:active small {
  color: #64748b;
}

.release-status {
  color: #22745d;
}

.legal-links {
  display: flex;
  gap: 13px;
  margin-top: 17px;
}

.legal-links a {
  color: var(--muted);
  font-size: .75rem;
  font-weight: 750;
  text-decoration: none;
}

.legal-links a:hover {
  color: var(--blue);
}

.development-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin: clamp(68px, 8vw, 104px) 0 30px;
  padding-top: clamp(52px, 7vw, 78px);
  border-top: 1px solid var(--line);
}

.development-title {
  font-size: clamp(1.8rem, 3.4vw, 2.8rem);
}

.project-card.budget {
  --project-accent: #d58a22;
}

@media (max-width: 767.98px) {
  .development-heading {
    align-items: start;
    flex-direction: column;
  }
}

@media (max-width: 575.98px) {
  .store-actions {
    align-items: stretch;
  }

  .store-link,
  .store-link-disabled {
    min-width: 0;
  }

  .status-pill {
    width: fit-content;
  }
}
