:root {
  --navy: #1b3a5c;
  --blue: #3b6fa0;
  --bg: #eef2f6;
  --card: #ffffff;
  --text: #2e2e2e;
  --muted: #667085;
  --pill: #d6e4f0;
  --border: #dde3ee;
  --shadow: 0 12px 40px rgba(27, 58, 92, 0.08);
  --ss-blue: #82c2d4;
  --sinch-amber: #e8a317;
  --sinch-orange: #f0a030;
  --sinch-warm: #fff8eb;
  --sinch-border: #f0d9a8;
  --gutter: 16px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html {
  overflow-x: clip;
  width: 100%;
}

body {
  font-family: "Manrope", system-ui, sans-serif;
  background:
    radial-gradient(ellipse at 10% 0%, rgba(130, 194, 212, 0.22), transparent 45%),
    radial-gradient(ellipse at 90% 10%, rgba(27, 58, 92, 0.08), transparent 40%),
    #e8ecf0;
  color: var(--text);
  line-height: 1.55;
  padding:
    max(var(--gutter), env(safe-area-inset-top))
    max(var(--gutter), env(safe-area-inset-right))
    max(32px, env(safe-area-inset-bottom))
    max(var(--gutter), env(safe-area-inset-left));
  min-height: 100vh;
  width: 100%;
  overflow-x: clip;
}

body.demo-fs-open {
  overflow: hidden;
}

/* Password gate */
.gate {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(130, 194, 212, 0.35), transparent 50%),
    linear-gradient(160deg, #1b3a5c 0%, #2a4f73 45%, #1a2f45 100%);
}

.gate[hidden],
.page[hidden] {
  display: none !important;
}

.gate-card {
  width: min(400px, 100%);
  background: rgba(255, 255, 255, 0.96);
  border-radius: 16px;
  padding: 36px 32px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
}

.gate-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 10px;
}

.gate-card h1 {
  font-size: 28px;
  color: var(--navy);
  font-weight: 800;
  letter-spacing: -0.4px;
}

.gate-copy {
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
}

.gate-form {
  margin-top: 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.gate-form label {
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.gate-form input {
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
  font-family: inherit;
  font-size: 15px;
  outline: none;
}

.gate-form input:focus {
  border-color: var(--blue);
}

.gate-error {
  color: #c62828;
  font-size: 13px;
  font-weight: 600;
}

.page {
  width: 100%;
  max-width: min(1080px, 100%);
  margin: 0 auto;
  background: var(--card);
  box-shadow: var(--shadow);
  border-radius: 12px;
  overflow: hidden;
}

.hero {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 28px;
  padding: 40px 40px 32px;
  border-bottom: 3px solid var(--navy);
  background:
    linear-gradient(135deg, rgba(130, 194, 212, 0.12), transparent 55%),
    #fff;
}

.eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 10px;
}

.hero h1 {
  font-size: 34px;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.5px;
}

.hero-photo {
  margin: 0 0 18px;
  width: min(140px, 38vw);
  border-radius: 14px;
  overflow: hidden;
  background: #e8ecf0;
  box-shadow: 0 12px 32px rgba(27, 58, 92, 0.1);
}

.hero-photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: center 12%;
}

@media (min-width: 901px) {
  .hero {
    grid-template-columns: 1fr 1fr;
  }

  .hero-photo-inline {
    display: none;
  }

  .hero-photo-aside {
    display: block;
    width: min(220px, 100%);
    margin: 0 auto 20px;
  }
}

.hero-photo-aside {
  display: none;
}

.hero-stats {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
}

.hero-stats li {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.4;
}

.hero-stats strong {
  color: var(--navy);
  font-weight: 800;
}

.subtitle {
  margin-top: 12px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--blue);
}

.intro {
  margin: 0 0 14px;
  max-width: 52ch;
  color: var(--muted);
  font-size: 15px;
}

.hero-links {
  margin-top: 18px;
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}

.hero-links a,
.linkish {
  color: var(--navy);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 2px solid var(--pill);
  background: none;
  border-top: none;
  border-left: none;
  border-right: none;
  font-family: inherit;
  font-size: inherit;
  cursor: pointer;
  padding: 0;
}

.hero-aside {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hero-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 22px;
}

.hero-card h2 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--navy);
  margin-bottom: 12px;
}

.hero-card li {
  margin-bottom: 8px;
  font-size: 14px;
  margin-left: 18px;
}

.section {
  padding: 36px 40px;
}

.section.muted {
  background: #f8fafc;
}

.section-head h2 {
  font-size: 22px;
  color: var(--navy);
  margin-bottom: 6px;
}

.section-head p {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 24px;
}

.product {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px;
  margin-bottom: 24px;
  background: #fff;
}

.product.featured {
  border-color: #b8cce4;
  background: #fff;
}

.product-badge {
  display: inline-block;
  background: var(--navy);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 6px 10px;
  border-radius: 6px;
  margin-bottom: 18px;
}

.product-badge.demo-badge {
  background: var(--blue);
}

.delivery-milestones {
  margin-top: 8px;
  padding: 14px 16px;
  background: rgba(130, 194, 212, 0.12);
  border-radius: 10px;
  border-left: 3px solid var(--ss-blue);
}

.delivery-milestones h4 {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--navy);
  margin-bottom: 10px;
}

.delivery-milestones .delivery-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px 16px;
  font-size: 13px;
  color: var(--muted);
}

.delivery-milestones .delivery-steps li {
  padding-left: 18px;
  position: relative;
  line-height: 1.4;
}

.delivery-milestones .delivery-steps li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--blue);
  font-weight: 700;
}

.product-meta a {
  color: var(--blue);
  text-decoration: none;
  border-bottom: 1px solid var(--pill);
}

.product-meta a:hover {
  border-bottom-color: var(--blue);
}

.product-grid,
.product-grid.split {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  align-items: start;
}

.product-meta {
  font-size: 12px;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 8px;
}

.product h3 {
  font-size: 24px;
  color: var(--navy);
  margin-bottom: 10px;
}

.product-copy {
  width: 100%;
  max-width: none;
}

.product-lead {
  font-size: 15px;
  line-height: 1.65;
  color: var(--text);
  margin: 0 0 14px;
}

.product-copy .product-lead:last-of-type {
  margin-bottom: 0;
}

.product-copy .product-lead + .product-points,
.product-copy .product-lead + .product-actions,
.product-copy .product-lead + .store-cta-label,
.product-copy .product-lead + .delivery-milestones,
.product-copy .product-lead + .softspot-demos,
.product-copy .product-lead + .design-studies-demos {
  margin-top: 14px;
}

.product-points {
  margin: 0 0 18px 18px;
  font-size: 14px;
}

.product-points li { margin-bottom: 6px; }

.demo-note {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 16px;
  padding: 12px 14px;
  background: rgba(130, 194, 212, 0.15);
  border-radius: 10px;
  border-left: 3px solid var(--ss-blue);
}

.product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
  align-items: center;
}

.btn {
  display: inline-block;
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid var(--border);
  color: var(--navy);
  background: #fff;
  cursor: pointer;
  font-family: inherit;
}

.btn.primary {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}

/* —— Sinch featured (orange–yellow accents) —— */
.sinch-featured {
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-color: var(--sinch-border);
  background: var(--sinch-warm);
  border-left: 4px solid var(--sinch-amber);
}

.sinch-featured .product-badge.sinch-badge,
.sinch-badge {
  background: var(--sinch-amber);
  color: #1a1408;
}

.sinch-featured .product-meta {
  color: #b8860b;
}

.sinch-featured .responsibilities {
  margin: 4px 0 16px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--sinch-border);
  border-radius: 10px;
}

.sinch-featured .responsibilities h4 {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--navy);
  margin-bottom: 6px;
}

.sinch-featured .responsibilities p {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
}

.store-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  margin: 4px 0 0;
  padding: 0;
}

.store-cta-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  margin: 12px 0 6px;
  letter-spacing: 0.01em;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
  text-decoration: none;
  border: none;
  background: transparent;
  margin: 0;
  padding: 0;
  /* Shared footprint: App Store ~120×40; cropped Play badge ~134×40 */
  height: 40px;
  width: 135px;
  overflow: hidden;
}

.store-badge img {
  display: block;
  height: 40px;
  width: 135px;
  max-width: none;
  margin: 0;
  object-fit: contain;
  object-position: center;
}

/* Cropped Play PNG fills the same 40px height as App Store SVG */
.store-badge-google img {
  height: 40px;
  width: 135px;
  object-fit: contain;
  object-position: center;
  transform: none;
}

.company-name {
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.01em;
}

a.company-name {
  text-decoration: none;
  border-bottom: 1px solid rgba(27, 58, 92, 0.25);
}

a.company-name:hover {
  border-bottom-color: var(--blue);
  color: var(--blue);
}

.earlier-work-label-block {
  margin-top: 8px;
  margin-bottom: 4px;
}

.earlier-work-label-block .earlier-work-label {
  margin-bottom: 0;
}

.earlier-work-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}

.mini-company-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.mini-company {
  background: rgba(238, 242, 246, 0.75);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 16px;
}

.mini-company-meta {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 6px;
}

.mini-company h4 {
  font-size: 15px;
  color: var(--navy);
  margin-bottom: 6px;
}

.mini-company p {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
}

.mini-company a:not(.btn) {
  color: var(--blue);
  font-weight: 600;
}

.mini-company .product-actions {
  margin-top: 10px;
  margin-bottom: 0;
}

.emba-block {
  margin-top: 8px;
}

.emba-block .product-badge {
  background: var(--blue);
}

@media (max-width: 900px) {
  .mini-company-grid {
    grid-template-columns: 1fr;
  }
}

/* SoftSpot featured — client delivery + inline portfolio demos */
.softspot-featured {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.softspot-featured .product-badge {
  background: var(--navy);
}

.softspot-demos {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Design studies — Projects & education (same gray + blue system) */
.design-studies-demos {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.doctor-booking-demo {
  margin-top: 0;
}

.demo-disclosure {
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.demo-disclosure-trigger {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  background: rgba(130, 194, 212, 0.1);
  transition: background 0.15s ease;
  border-radius: 10px;
  width: 100%;
  min-width: 0;
}

.demo-disclosure[open] .demo-disclosure-trigger {
  border-radius: 10px 10px 0 0;
  border-bottom: 1px solid var(--border);
}

.demo-disclosure-trigger::-webkit-details-marker {
  display: none;
}

.demo-disclosure-trigger::marker {
  content: "";
}

.demo-disclosure-trigger:hover {
  background: rgba(130, 194, 212, 0.18);
}

.demo-disclosure-label {
  flex: 1;
  min-width: 0;
  overflow-wrap: anywhere;
}

.demo-disclosure-chevron {
  flex-shrink: 0;
  font-size: 22px;
  line-height: 1;
  color: var(--blue);
  transform: rotate(0deg);
  transition: transform 0.2s ease;
}

.demo-disclosure[open] .demo-disclosure-chevron {
  transform: rotate(90deg);
}

.demo-disclosure-panel {
  padding: 0 0 18px;
  overflow: hidden;
  max-width: 100%;
  min-width: 0;
}

.demo-disclosure-panel .demo-caption {
  margin: 8px 0 14px;
  font-size: 13px;
  line-height: 1.55;
  color: var(--muted);
  overflow-wrap: anywhere;
}

.demo-disclosure-panel .demo-note {
  margin-top: 16px;
  margin-bottom: 0;
}

.demo-disclosure-panel .demo-note + .demo-note {
  margin-top: 10px;
}

.demo-reconstruct-note {
  border-left-color: var(--navy);
  background: rgba(27, 58, 92, 0.06);
}

.softspot-demo {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0 auto;
  width: 100%;
  max-width: 100%;
  padding: 0;
  background: transparent;
  box-sizing: border-box;
}

.phone-preview-full {
  width: 100%;
  max-width: 100%;
  aspect-ratio: 454 / 851;
  height: auto;
  position: relative;
  background: transparent;
  overflow: hidden;
  margin-inline: auto;
  touch-action: manipulation;
  border-radius: 0;
  box-shadow: none;
}

.phone-preview-full .phone-iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  background: transparent;
  touch-action: manipulation;
  pointer-events: auto;
}

.softspot-web-demo {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  margin: 0 auto;
  width: 100%;
  max-width: 100%;
  padding: 0;
  box-sizing: border-box;
}

.browser-preview {
  width: 100%;
  max-width: 100%;
  aspect-ratio: 16 / 10;
  height: auto;
  min-height: 420px;
  max-height: min(640px, 78vh);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(27, 58, 92, 0.12);
  box-shadow: 0 16px 48px rgba(27, 58, 92, 0.12);
  background: #eef2f6;
  position: relative;
  touch-action: manipulation;
}

.browser-iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  background: #eef2f6;
  touch-action: manipulation;
  pointer-events: auto;
}

.preview-pane {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.phone-frame {
  width: 180px;
  margin: 0 auto;
  border: 3px solid var(--navy);
  border-radius: 28px;
  padding: 14px 10px;
  background: #111;
}

.phone-preview {
  width: 300px;
  height: calc(300px * 844 / 390);
  margin: 0 auto;
  padding: 0;
  border: none;
  background: transparent;
  overflow: hidden;
}

.phone-iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  background: transparent;
}

.phone-frame.static {
  width: 220px;
}

.phone-screen {
  background: var(--bg);
  border-radius: 18px;
  padding: 28px 16px;
  text-align: center;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.app-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 4px;
  border-radius: 14px;
  background: #f4c430;
  color: #111;
  font-size: 30px;
  font-weight: 800;
  display: grid;
  place-items: center;
}

.app-name {
  font-weight: 800;
  color: var(--navy);
}

.app-tag {
  font-size: 12px;
  color: var(--muted);
}

.visual-note {
  text-align: center;
  font-size: 11px;
  color: var(--muted);
  margin-top: 10px;
}

.placeholder-card {
  background: var(--bg);
  border: 1px dashed #b8cce4;
  border-radius: 12px;
  padding: 32px 20px;
  text-align: center;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
}

.placeholder-card.wide {
  min-height: 280px;
}

.placeholder-card h4 {
  color: var(--navy);
  font-size: 20px;
}

.placeholder-card .soon {
  margin-top: 12px;
  font-size: 12px;
  color: var(--muted);
  font-style: italic;
}

.tag {
  align-self: center;
  margin-top: 8px;
  background: var(--pill);
  color: var(--navy);
  font-size: 11px;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 999px;
}

.cards-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.mini-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 20px;
}

.mini-card h3 {
  color: var(--navy);
  font-size: 16px;
  margin-bottom: 8px;
}

.mini-card p { font-size: 14px; color: var(--muted); }

.skills-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.skills-grid span {
  background: var(--pill);
  color: var(--navy);
  font-size: 13px;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: 999px;
}

.footer {
  padding: 24px 40px 32px;
  border-top: 1px solid var(--border);
  text-align: center;
  color: var(--muted);
  font-size: 14px;
}

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

.footer .small {
  margin-top: 6px;
  font-size: 12px;
}

/* Fullscreen demo — tap preview to expand on device */
.demo-fs {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: #000;
}

.demo-fs[hidden] {
  display: none !important;
}

.demo-fs-close {
  position: fixed;
  top: max(12px, env(safe-area-inset-top));
  right: max(12px, env(safe-area-inset-right));
  z-index: 301;
  appearance: none;
  border: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-family: inherit;
  font-size: 28px;
  line-height: 1;
  font-weight: 400;
  color: #fff;
  background: rgba(15, 27, 42, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  cursor: pointer;
  display: grid;
  place-items: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.demo-fs-close:active {
  transform: scale(0.96);
}

.demo-fs-frame {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  background: #fff;
}

.demo-preview-launch {
  position: relative;
  cursor: pointer;
}

.demo-preview-launch .demo-preview-iframe {
  pointer-events: none;
}

.demo-preview-expand {
  position: absolute;
  inset: 0;
  z-index: 2;
  appearance: none;
  border: 0;
  margin: 0;
  padding: 0;
  background: rgba(27, 58, 92, 0.04);
  cursor: pointer;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 14px;
}

.demo-preview-expand span {
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #fff;
  background: rgba(27, 58, 92, 0.82);
  padding: 8px 14px;
  border-radius: 999px;
  box-shadow: 0 4px 16px rgba(27, 58, 92, 0.2);
}

.demo-preview-launch:focus-within .demo-preview-expand span,
.demo-preview-expand:hover span,
.demo-preview-expand:focus-visible span {
  background: var(--navy);
}

.demo-preview-launch:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

.demo-open-fs {
  margin: 12px 0 4px;
  width: 100%;
  text-align: center;
}

@media (max-width: 900px) {
  body {
    padding:
      max(var(--gutter), env(safe-area-inset-top))
      max(var(--gutter), env(safe-area-inset-right))
      max(24px, env(safe-area-inset-bottom))
      max(var(--gutter), env(safe-area-inset-left));
  }

  .page {
    border-radius: 10px;
    overflow-x: clip;
    width: 100%;
    max-width: 100%;
  }

  .hero,
  .product-grid,
  .product-grid.split,
  .cards-row {
    grid-template-columns: 1fr;
  }

  .delivery-milestones .delivery-steps {
    grid-template-columns: 1fr 1fr;
  }

  .hero {
    gap: 18px;
    padding: 24px 0;
  }

  .hero h1 {
    font-size: 28px;
  }

  .intro {
    font-size: 14px;
  }

  .section {
    padding: 24px 0;
  }

  .product {
    padding: 20px 0;
    margin-bottom: 18px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .product-copy,
  .softspot-demos,
  .design-studies-demos {
    padding-inline: 0;
    min-width: 0;
  }

  .product h3 {
    font-size: 20px;
  }

  .product-lead {
    font-size: 14px;
    overflow-wrap: anywhere;
  }

  .footer {
    padding: 20px 0 28px;
  }

  .store-badges {
    width: 100%;
    gap: 10px;
  }

  .store-badge {
    flex: 0 0 auto;
    height: 40px;
    width: 135px;
  }

  .store-badge img {
    height: 40px;
    width: 135px;
  }

  .softspot-featured,
  .softspot-demos,
  .design-studies-demos {
    max-width: 100%;
    width: 100%;
  }

  .demo-disclosure {
    max-width: 100%;
    width: 100%;
  }

  .demo-disclosure-panel {
    padding: 0 0 16px;
  }

  .demo-disclosure-trigger {
    padding: 14px 0;
    gap: 12px;
    font-size: 14px;
  }

  .softspot-demo,
  .softspot-web-demo {
    width: 100%;
    max-width: 100%;
    padding-inline: 0;
    min-width: 0;
  }

  .phone-preview-full {
    width: 100%;
    max-width: 100%;
    height: auto;
    aspect-ratio: 454 / 851;
    margin-inline: auto;
  }

  .browser-preview {
    width: 100%;
    max-width: 100%;
    min-height: 320px;
    aspect-ratio: 10 / 13;
    max-height: min(560px, 75vh);
  }
}

@media (max-width: 480px) {
  .hero {
    padding-top: max(20px, env(safe-area-inset-top));
    padding-bottom: 20px;
  }

  .hero h1 {
    font-size: 24px;
    letter-spacing: -0.3px;
  }

  .hero-stats {
    gap: 8px 14px;
  }

  .hero-stats li {
    font-size: 13px;
  }

  .subtitle {
    font-size: 11px;
  }

  .hero-card {
    padding: 16px;
  }

  .hero-card li {
    font-size: 13px;
  }

  .section-head h2 {
    font-size: 19px;
  }

  .product {
    padding: 16px;
    border-radius: 10px;
  }

  .product h3 {
    font-size: 18px;
  }

  .skills-grid span {
    font-size: 12px;
    padding: 7px 10px;
  }

  .delivery-milestones .delivery-steps {
    grid-template-columns: 1fr;
  }

  .demo-disclosure-trigger {
    font-size: 13px;
    line-height: 1.35;
  }

  .browser-preview {
    aspect-ratio: 3 / 4;
    max-height: min(440px, 68vh);
    border-radius: 10px;
  }

  .store-badges {
    gap: 8px;
  }

  .store-badge,
  .store-badge img {
    height: 40px;
    width: 135px;
  }

  .store-badge-google img {
    transform: none;
  }
}
