:root {
      --bg: #0f172a;
      --card: #ffffff;
      --card-muted: #f8fafc;
      --text: #0f172a;
      --text-soft: #52657f;
      --white: #ffffff;
      --accent: #2563eb;
      --accent-dark: #1d4ed8;
      --border: #e2e8f0;
      --radius: 22px;
      --shadow: 0 18px 45px rgba(15, 23, 42, 0.14);
    }

    * {
      box-sizing: border-box;
    }

    html {
      scroll-behavior: smooth;
    }

    body {
      margin: 0;
      min-height: 100vh;
      font-family: Arial, Helvetica, sans-serif;
      color: var(--text);
      background: linear-gradient(135deg, #0f172a 0%, #1e293b 44%, #0f172a 100%);
    }

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

    img {
      max-width: 100%;
      display: block;
    }

    .page {
      width: min(1180px, calc(100% - 32px));
      margin: 0 auto;
      padding: 28px 0 52px;
    }

    .topbar {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 18px;
      margin-bottom: 34px;
      color: var(--white);
    }

    .brand {
      display: flex;
      align-items: center;
      gap: 14px;
      min-width: 0;
    }

    .brand-logo {
      width: 52px;
      height: 52px;
      flex: 0 0 52px;
      display: flex;
      align-items: center;
      justify-content: center;
      overflow: hidden;
      border-radius: 15px;
      background: rgba(255, 255, 255, 0.08);
    }

    .brand-logo img {
      width: 100%;
      height: 100%;
      object-fit: contain;
    }

    .brand h1 {
      margin: 0;
      font-size: 22px;
      line-height: 1.1;
      letter-spacing: -0.4px;
    }

    .brand p {
      margin: 3px 0 0;
      color: #cbd5e1;
      font-size: 14px;
    }

    .nav {
      display: flex;
      align-items: center;
      justify-content: flex-end;
      gap: 10px;
      flex-wrap: wrap;
    }

    .nav a {
      color: #e2e8f0;
      font-size: 14px;
      padding: 10px 14px;
      border-radius: 999px;
      background: rgba(255, 255, 255, 0.08);
      border: 1px solid rgba(255, 255, 255, 0.12);
    }

    .nav a:hover {
      background: rgba(255, 255, 255, 0.14);
    }

    .hero {
      display: grid;
      grid-template-columns: 1.35fr 0.65fr;
      gap: 22px;
      align-items: stretch;
      margin-bottom: 22px;
    }

    .hero-main,
    .hero-side,
    .section {
      background: rgba(255, 255, 255, 0.96);
      border: 1px solid rgba(255, 255, 255, 0.75);
      border-radius: var(--radius);
      box-shadow: var(--shadow);
    }

    .hero-main {
      padding: 36px;
    }

    .eyebrow {
      display: inline-flex;
      align-items: center;
      margin-bottom: 18px;
      color: var(--accent-dark);
      background: #eff6ff;
      border: 1px solid #dbeafe;
      padding: 8px 12px;
      border-radius: 999px;
      font-size: 13px;
      font-weight: 700;
    }

    .hero h2 {
      margin: 0;
      font-size: clamp(34px, 5vw, 56px);
      line-height: 0.98;
      letter-spacing: -2px;
      color: #0f172a;
    }

    .hero-main p {
      max-width: 720px;
      margin: 18px 0 0;
      color: var(--text-soft);
      line-height: 1.7;
      font-size: 16px;
    }

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

    .button {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 13px 18px;
      border-radius: 14px;
      font-weight: 700;
      font-size: 14px;
      border: 1px solid transparent;
    }

    .button.primary {
      background: var(--accent);
      color: white;
    }

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

    .button.secondary {
      background: #f8fafc;
      color: #0f172a;
      border-color: var(--border);
    }

    .button.secondary:hover {
      background: #eef2ff;
      border-color: #c7d2fe;
    }

    .hero-side {
      padding: 24px;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      gap: 18px;
    }

    .launch-note {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: fit-content;
      margin: 0 0 16px;
      padding: 8px 12px;
      border-radius: 999px;
      background: #16a34a;
      color: #ffffff !important;
      border: 1px solid #15803d;
      font-size: 13px;
      font-weight: 800;
      line-height: 1;
      box-shadow: 0 6px 18px rgba(22, 163, 74, 0.18);
    }

    .metric {
      background: var(--card-muted);
      border: 1px solid var(--border);
      border-radius: 18px;
      padding: 18px;
    }

    .metric strong {
      display: block;
      color: #0f172a;
      font-size: 28px;
      margin-bottom: 5px;
    }

    .metric span {
      color: var(--text-soft);
      font-size: 14px;
    }

    .section {
      padding: 26px 34px 34px;
      margin-top: 22px;
    }

    .section-header {
      display: flex;
      justify-content: space-between;
      align-items: flex-start;
      gap: 16px;
      margin-bottom: 24px;
    }

    .section-header h3 {
      margin: 0;
      font-size: 24px;
      letter-spacing: -0.6px;
      color: #0f172a;
    }

    .section-header p {
      margin: 6px 0 0;
      color: var(--text-soft);
      font-size: 14px;
      line-height: 1.5;
    }

    .status-pill {
      display: inline-flex;
      align-items: center;
      background: #ecfdf5;
      color: #166534;
      border: 1px solid #bbf7d0;
      border-radius: 999px;
      padding: 8px 12px;
      font-size: 13px;
      font-weight: 700;
      white-space: nowrap;
    }

    .subscribe-card {
      display: grid;
      grid-template-columns: 1.05fr 0.95fr;
      gap: 24px;
      align-items: center;
      background:
        radial-gradient(circle at top right, rgba(37, 99, 235, 0.18), transparent 38%),
        linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
      color: white;
      border-radius: 22px;
      padding: 28px;
      overflow: hidden;
    }

    .subscribe-copy .eyebrow {
      margin-bottom: 14px;
      color: #bfdbfe;
      background: rgba(37, 99, 235, 0.16);
      border-color: rgba(191, 219, 254, 0.28);
    }

    .subscribe-copy h3 {
      margin: 0;
      color: white;
      font-size: clamp(26px, 4vw, 40px);
      line-height: 1.05;
      letter-spacing: -1.2px;
    }

    .subscribe-copy p {
      margin: 14px 0 0;
      color: #cbd5e1;
      font-size: 15px;
      line-height: 1.7;
      max-width: 600px;
    }

    .subscribe-form {
      background: rgba(255, 255, 255, 0.96);
      border: 1px solid rgba(255, 255, 255, 0.7);
      border-radius: 20px;
      padding: 20px;
      box-shadow: 0 20px 50px rgba(0, 0, 0, 0.18);
    }

    .subscribe-form label {
      display: block;
      margin-bottom: 8px;
      color: #0f172a;
      font-size: 14px;
      font-weight: 800;
    }

    .subscribe-form-row {
      display: flex;
      gap: 10px;
    }

    .subscribe-form input[type='email'] {
      width: 100%;
      min-height: 48px;
      padding: 0 14px;
      color: #0f172a;
      background: #ffffff;
      border: 1px solid var(--border);
      border-radius: 14px;
      font-size: 15px;
      outline: none;
    }

    .subscribe-form input[type='email']:focus {
      border-color: #93c5fd;
      box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
    }

    .subscribe-form button {
      min-height: 48px;
      padding: 0 18px;
      border: none;
      border-radius: 14px;
      background: var(--accent);
      color: white;
      font-size: 14px;
      font-weight: 800;
      cursor: pointer;
      white-space: nowrap;
    }

    .subscribe-form button:hover {
      background: var(--accent-dark);
    }

    .subscribe-form button:disabled {
      cursor: not-allowed;
      opacity: 0.7;
    }

    .subscribe-consent {
      margin: 12px 0 0;
      color: #64748b;
      font-size: 12px;
      line-height: 1.55;
    }

    .subscribe-consent a {
      color: var(--accent-dark);
      font-weight: 800;
    }

    .subscribe-message {
      margin: 12px 0 0;
      color: #166534;
      font-size: 13px;
      font-weight: 800;
      line-height: 1.45;
    }

    .subscribe-message.error {
      color: #b91c1c;
    }

    .app-grid {
      display: grid;
      grid-template-columns: 1fr;
      gap: 18px;
    }

    .app-card {
      position: relative;
      display: block;
      padding: 28px;
      background:
        radial-gradient(circle at top left, rgba(37, 99, 235, 0.1), transparent 32%),
        #ffffff;
      border: 1px solid var(--border);
      border-radius: 24px;
      overflow: hidden;
    }

    .app-card::before {
      content: '';
      position: absolute;
      inset: 0;
      pointer-events: none;
      background: linear-gradient(135deg, rgba(37, 99, 235, 0.08), transparent 46%);
      opacity: 0.8;
    }

    .app-details {
      position: relative;
      display: flex;
      flex-direction: column;
      gap: 22px;
      z-index: 1;
    }

    .app-logo {
      width: 86px;
      height: 86px;
      margin-bottom: 16px;
      border-radius: 24px;
      background:
        radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.95), rgba(219, 234, 254, 0.72)),
        #e8f1ff;
      border: 1px solid #bfdbfe;
      display: flex;
      align-items: center;
      justify-content: center;
      overflow: hidden;
      flex-shrink: 0;
      box-shadow: 0 16px 35px rgba(37, 99, 235, 0.16);
    }

    .app-logo img {
      width: 78%;
      height: 78%;
      object-fit: contain;
    }

    .app-kicker {
      display: inline-flex;
      align-items: center;
      width: fit-content;
      margin-bottom: 8px;
      padding: 7px 10px;
      border-radius: 999px;
      color: var(--accent-dark);
      background: #eff6ff;
      border: 1px solid #bfdbfe;
      font-size: 12px;
      font-weight: 800;
      letter-spacing: 0.02em;
      text-transform: uppercase;
    }

    .app-content h4 {
      margin: 0;
      font-size: clamp(24px, 4vw, 34px);
      letter-spacing: -0.8px;
      color: #0f172a;
    }

    .app-content p {
      max-width: 760px;
      margin: 10px 0 18px;
      color: var(--text-soft);
      font-size: 15px;
      line-height: 1.65;
    }

    .doc-links {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
    }

    .doc-links a {
      border: 1px solid var(--border);
      background: #f8fafc;
      color: #0f172a;
      border-radius: 999px;
      padding: 9px 14px;
      font-size: 13px;
      font-weight: 700;
    }

    .doc-links a:hover {
      background: #eff6ff;
      border-color: #bfdbfe;
      color: var(--accent-dark);
    }

    .screenshots-section {
      border-top: 1px solid var(--border);
      padding-top: 18px;
    }

    .screenshots-header {
      display: flex;
      align-items: flex-end;
      justify-content: space-between;
      gap: 12px;
      margin-bottom: 14px;
    }

    .screenshots-header h5 {
      margin: 0;
      color: #0f172a;
      font-size: 16px;
      letter-spacing: -0.2px;
    }

    .screenshots-header p {
      margin: 4px 0 0;
      color: var(--text-soft);
      font-size: 13px;
      line-height: 1.5;
    }

    .screenshots-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(180px, 210px));
      gap: 16px;
      justify-content: center;
      justify-items: center;
    }

    .screenshot-card {
      width: 100%;
      max-width: 210px;
      margin: 0;
      overflow: hidden;
      border: 1px solid var(--border);
      border-radius: 22px;
      background: #f8fafc;
      box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
    }

    .screenshot-trigger {
      display: block;
      width: 100%;
      padding: 0;
      border: none;
      background: transparent;
      cursor: pointer;
      text-align: left;
    }

    .screenshot-trigger img {
      width: 100%;
      aspect-ratio: 9 / 19.5;
      object-fit: cover;
      object-position: center top;
      border-bottom: 1px solid var(--border);
      background: #e2e8f0;
      display: block;
      transition: transform 0.22s ease;
    }

    .screenshot-trigger:hover img,
    .screenshot-trigger:focus-visible img {
      transform: scale(1.02);
    }

    .screenshot-trigger:focus-visible {
      outline: 3px solid rgba(37, 99, 235, 0.24);
      outline-offset: 2px;
      border-radius: 22px;
    }

    .screenshot-card figcaption {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 10px;
      padding: 11px 12px 13px;
      color: #334155;
      font-size: 13px;
      font-weight: 700;
    }

    .screenshot-card figcaption span:last-child {
      color: var(--accent-dark);
      font-size: 12px;
      white-space: nowrap;
    }

    .utility-grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 14px;
    }

    .utility-card {
      border: 1px solid var(--border);
      background: #ffffff;
      border-radius: 18px;
      padding: 18px;
    }

    .utility-card .icon {
      width: 42px;
      height: 42px;
      display: grid;
      place-items: center;
      border-radius: 14px;
      background: #eff6ff;
      margin-bottom: 14px;
      font-size: 20px;
    }

    .utility-card h4 {
      margin: 0 0 7px;
      font-size: 17px;
      color: #0f172a;
    }

    .utility-card p {
      margin: 0 0 14px;
      color: var(--text-soft);
      font-size: 14px;
      line-height: 1.55;
    }

    .utility-card a {
      color: var(--accent-dark);
      font-size: 14px;
      font-weight: 800;
    }

    .contact-box {
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      gap: 18px;
      background: #0f172a;
      color: white;
      border-radius: 20px;
      padding: 22px;
    }

    .contact-box h3 {
      margin: 0 0 6px;
      font-size: 22px;
    }

    .contact-box p {
      margin: 0;
      color: #cbd5e1;
      line-height: 1.6;
      font-size: 14px;
    }

    .contact-box .button {
      background: white;
      color: #0f172a;
      white-space: nowrap;
    }

    .lightbox {
      position: fixed;
      inset: 0;
      background: rgba(15, 23, 42, 0.82);
      display: grid;
      place-items: center;
      padding: 24px;
      z-index: 1000;
    }

    .lightbox[hidden] {
      display: none;
    }

    .lightbox:not([hidden]) {
      animation: lightboxFadeIn 0.22s ease;
    }

    .lightbox-dialog {
      position: relative;
      width: min(100%, 520px);
      animation: lightboxZoomIn 0.24s ease;
    }

    .lightbox-close {
      position: absolute;
      top: -12px;
      right: -12px;
      width: 40px;
      height: 40px;
      border: none;
      border-radius: 999px;
      background: #ffffff;
      color: #0f172a;
      font-size: 24px;
      line-height: 1;
      cursor: pointer;
      box-shadow: 0 12px 30px rgba(15, 23, 42, 0.18);
    }

    .lightbox-nav {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      width: 46px;
      height: 46px;
      border: none;
      border-radius: 999px;
      background: #ffffff;
      color: #0f172a;
      font-size: 30px;
      line-height: 1;
      cursor: pointer;
      display: grid;
      place-items: center;
      box-shadow: 0 12px 30px rgba(15, 23, 42, 0.2);
      z-index: 2;
    }

    .lightbox-nav:hover,
    .lightbox-close:hover {
      background: #eff6ff;
    }

    .lightbox-prev {
      left: -70px;
    }

    .lightbox-next {
      right: -70px;
    }

    .lightbox-counter {
      display: block;
      margin-top: 4px;
      color: #64748b;
      font-size: 12px;
      font-weight: 700;
    }

    .lightbox-figure {
      margin: 0;
      background: #ffffff;
      border-radius: 28px;
      overflow: hidden;
      box-shadow: 0 30px 80px rgba(15, 23, 42, 0.28);
    }

    .lightbox-figure img {
      display: block;
      width: 100%;
      max-height: 82vh;
      object-fit: contain;
      background: #e2e8f0;
    }

    .lightbox-figure figcaption {
      padding: 14px 18px 18px;
      color: #334155;
      font-size: 14px;
      font-weight: 700;
    }

    footer {
      color: #cbd5e1;
      text-align: center;
      font-size: 13px;
      margin-top: 30px;
      line-height: 1.6;
    }

    code {
      background: #f1f5f9;
      border: 1px solid #e2e8f0;
      border-radius: 8px;
      padding: 2px 6px;
      font-size: 12px;
      color: #0f172a;
    }

    @media (max-width: 860px) {
      .topbar,
      .section-header,
      .contact-box {
        align-items: flex-start;
        flex-direction: column;
      }

      .hero,
      .subscribe-card {
        grid-template-columns: 1fr;
      }

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

      .screenshots-grid {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
        gap: 12px;
      }

      .screenshot-card {
        border-radius: 18px;
      }

      .screenshot-trigger img {
        aspect-ratio: 9 / 18;
      }

      .lightbox {
        padding: 18px;
      }

      .lightbox-dialog {
        width: min(100%, 420px);
      }

      .lightbox-figure img {
        max-height: 78vh;
      }

      .nav {
        justify-content: flex-start;
      }
    }

    @media (max-width: 620px) {
      .page {
        width: min(100% - 22px, 1180px);
        padding-top: 18px;
      }

      .hero-main,
      .hero-side,
      .section {
        padding: 20px;
      }

      .hero h2 {
        letter-spacing: -1.2px;
      }

      .brand-logo {
        width: 46px;
        height: 46px;
        flex-basis: 46px;
      }

      .app-card {
        padding: 20px;
      }

      .app-logo {
        width: 74px;
        height: 74px;
        border-radius: 20px;
      }

      .subscribe-card {
        padding: 20px;
      }

      .subscribe-form-row {
        flex-direction: column;
      }

      .subscribe-form button {
        width: 100%;
      }

      .screenshots-header {
        align-items: flex-start;
      }

      .screenshots-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
      }

      .screenshot-card {
        max-width: 100%;
      }

      .screenshot-card figcaption {
        padding: 9px 10px 11px;
        font-size: 12px;
      }

      .screenshot-card figcaption span:last-child {
        display: none;
      }

      .lightbox {
        padding: 12px;
      }

      .lightbox-dialog {
        width: min(100%, 340px);
      }

      .lightbox-close {
        top: 8px;
        right: 8px;
        width: 36px;
        height: 36px;
        z-index: 2;
      }


      .lightbox-nav {
        width: 40px;
        height: 40px;
        font-size: 26px;
      }

      .lightbox-prev {
        left: 8px;
      }

      .lightbox-next {
        right: 8px;
      }

      .lightbox-figure {
        border-radius: 22px;
      }

      .lightbox-figure img {
        max-height: 76vh;
      }
    }

    @media (max-width: 380px) {
      .screenshots-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
      }

      .screenshot-card figcaption {
        font-size: 11px;
      }
    }
  

    .site-footer {
      margin: 30px auto 0;
      color: #cbd5e1;
      text-align: center;
      font-size: 13px;
      line-height: 1.6;
    }

    .footer-nav {
      display: flex;
      align-items: center;
      justify-content: center;
      flex-wrap: wrap;
      gap: 10px 14px;
      margin-bottom: 10px;
    }

    .footer-nav a {
      color: #e2e8f0;
      font-weight: 700;
      text-decoration: none;
    }

    .footer-nav a:hover,
    .footer-nav a:focus-visible {
      color: #ffffff;
      text-decoration: underline;
    }

    .footer-meta {
      color: #64748b;
    }


    @keyframes lightboxFadeIn {
      from { opacity: 0; }
      to { opacity: 1; }
    }

    @keyframes lightboxZoomIn {
      from {
        opacity: 0;
        transform: scale(0.96);
      }
      to {
        opacity: 1;
        transform: scale(1);
      }
    }


    /* Enhanced app screenshot gallery */
    .screenshots-section {
      position: relative;
      overflow: hidden;
      border-top: 1px solid var(--border);
      padding-top: 22px;
    }

    .screenshots-header {
      align-items: center;
      margin-bottom: 16px;
    }

    .gallery-controls {
      display: flex;
      align-items: center;
      gap: 10px;
      flex-shrink: 0;
    }

    .gallery-control {
      width: 42px;
      height: 42px;
      border: 1px solid var(--border);
      border-radius: 999px;
      background: #ffffff;
      color: #0f172a;
      font-size: 26px;
      line-height: 1;
      display: grid;
      place-items: center;
      cursor: pointer;
      box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
      transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease, opacity 0.18s ease;
    }

    .gallery-control:hover,
    .gallery-control:focus-visible {
      transform: translateY(-1px);
      background: #eff6ff;
      border-color: #bfdbfe;
      outline: none;
    }

    .gallery-control:disabled {
      cursor: not-allowed;
      opacity: 0.45;
      transform: none;
    }

    .screenshots-gallery {
      position: relative;
      isolation: isolate;
      margin-top: 4px;
    }

    .screenshots-gallery::before,
    .screenshots-gallery::after {
      content: '';
      position: absolute;
      top: 0;
      bottom: 48px;
      width: 64px;
      z-index: 2;
      pointer-events: none;
    }

    .screenshots-gallery::before {
      left: 0;
      background: linear-gradient(90deg, #ffffff 0%, rgba(255, 255, 255, 0) 100%);
    }

    .screenshots-gallery::after {
      right: 0;
      background: linear-gradient(270deg, #ffffff 0%, rgba(255, 255, 255, 0) 100%);
    }

    .gallery-viewport {
      border-radius: 24px;
      background:
        radial-gradient(circle at top left, rgba(37, 99, 235, 0.10), transparent 34%),
        linear-gradient(135deg, #f8fafc 0%, #ffffff 56%, #eff6ff 100%);
      border: 1px solid var(--border);
      padding: 18px;
      overflow: hidden;
    }

    .screenshots-grid {
      display: flex;
      grid-template-columns: none;
      gap: 18px;
      justify-content: flex-start;
      justify-items: stretch;
      overflow-x: auto;
      overflow-y: hidden;
      scroll-snap-type: x mandatory;
      scroll-padding: 8px;
      padding: 6px 6px 16px;
      cursor: grab;
      scrollbar-width: thin;
      scrollbar-color: #bfdbfe #e2e8f0;
      -webkit-overflow-scrolling: touch;
    }

    .screenshots-grid::-webkit-scrollbar {
      height: 10px;
    }

    .screenshots-grid::-webkit-scrollbar-track {
      background: #e2e8f0;
      border-radius: 999px;
    }

    .screenshots-grid::-webkit-scrollbar-thumb {
      background: #bfdbfe;
      border-radius: 999px;
      border: 2px solid #e2e8f0;
    }

    .screenshots-grid.is-dragging {
      cursor: grabbing;
      scroll-snap-type: none;
      user-select: none;
    }

    .screenshot-card {
      position: relative;
      width: clamp(128px, 14.5vw, 165px);
      max-width: none;
      min-width: clamp(128px, 14.5vw, 165px);
      scroll-snap-align: start;
      border-radius: 24px;
      border: 1px solid rgba(148, 163, 184, 0.38);
      background: #ffffff;
      box-shadow: 0 16px 34px rgba(15, 23, 42, 0.12);
      transform: translateZ(0);
      transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
    }

    .screenshot-card:hover,
    .screenshot-card:focus-within {
      transform: translateY(-4px);
      box-shadow: 0 24px 50px rgba(15, 23, 42, 0.18);
      border-color: #bfdbfe;
    }

    .screenshot-trigger {
      position: relative;
      overflow: hidden;
      border-radius: 24px 24px 0 0;
    }

    .screenshot-trigger::after {
      content: 'Preview';
      position: absolute;
      left: 14px;
      right: 14px;
      bottom: 14px;
      display: flex;
      justify-content: center;
      align-items: center;
      min-height: 40px;
      color: #ffffff;
      background: rgba(15, 23, 42, 0.72);
      border: 1px solid rgba(255, 255, 255, 0.22);
      border-radius: 999px;
      font-size: 13px;
      font-weight: 800;
      letter-spacing: 0.02em;
      opacity: 0;
      transform: translateY(8px);
      transition: opacity 0.18s ease, transform 0.18s ease;
      backdrop-filter: blur(10px);
    }

    .screenshot-trigger:hover::after,
    .screenshot-trigger:focus-visible::after {
      opacity: 1;
      transform: translateY(0);
    }

    .screenshot-badge {
      position: absolute;
      top: 12px;
      left: 12px;
      z-index: 1;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-width: 38px;
      height: 30px;
      padding: 0 10px;
      border-radius: 999px;
      background: rgba(255, 255, 255, 0.9);
      color: #1d4ed8;
      border: 1px solid rgba(191, 219, 254, 0.9);
      font-size: 12px;
      font-weight: 900;
      box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12);
    }

    .screenshot-trigger img {
      width: 100%;
      aspect-ratio: 9 / 19.5;
      min-height: 258px;
      object-fit: cover;
      object-position: center top;
      transition: transform 0.26s ease, filter 0.26s ease;
    }

    .screenshot-trigger:hover img,
    .screenshot-trigger:focus-visible img {
      transform: scale(1.035);
      filter: saturate(1.08) contrast(1.02);
    }

    .screenshot-card figcaption {
      flex-direction: column;
      align-items: flex-start;
      padding: 12px 12px 13px;
      background: #ffffff;
    }

    .screenshot-card figcaption span:first-child {
      color: #0f172a;
      font-size: 13px;
      line-height: 1.35;
    }

    .screenshot-card figcaption span:last-child {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      margin-top: 4px;
      color: #64748b;
      font-size: 11px;
      font-weight: 800;
    }

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

    .gallery-hint {
      margin: 0;
      color: #64748b;
      font-size: 13px;
      line-height: 1.45;
    }

    .gallery-dots {
      display: flex;
      align-items: center;
      justify-content: flex-end;
      gap: 8px;
      flex-wrap: wrap;
    }

    .gallery-dot {
      width: 9px;
      height: 9px;
      padding: 0;
      border: none;
      border-radius: 999px;
      background: #cbd5e1;
      cursor: pointer;
      transition: width 0.18s ease, background 0.18s ease;
    }

    .gallery-dot.is-active {
      width: 26px;
      background: var(--accent);
    }

    .gallery-dot:focus-visible {
      outline: 3px solid rgba(37, 99, 235, 0.25);
      outline-offset: 3px;
    }

    @media (max-width: 860px) {
      .gallery-controls {
        display: none;
      }

      .screenshots-gallery::before,
      .screenshots-gallery::after {
        width: 34px;
        bottom: 52px;
      }

      .gallery-viewport {
        padding: 14px;
      }

      .screenshot-card {
        width: clamp(120px, 21vw, 155px);
        min-width: clamp(120px, 21vw, 155px);
      }

      .screenshot-trigger img {
        min-height: 238px;
      }
    }

    @media (max-width: 620px) {
      .screenshots-header {
        gap: 10px;
      }

      .gallery-viewport {
        border-radius: 20px;
        padding: 10px;
      }

      .screenshots-grid {
        gap: 10px;
        padding: 4px 4px 12px;
      }

      .screenshot-card {
        width: clamp(112px, 34vw, 145px);
        min-width: clamp(112px, 34vw, 145px);
        border-radius: 22px;
      }

      .screenshot-trigger {
        border-radius: 22px 22px 0 0;
      }

      .screenshot-trigger img {
        min-height: 220px;
        aspect-ratio: 9 / 18.8;
      }

      .screenshot-card figcaption span:last-child {
        display: inline-flex;
      }

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

      .gallery-dots {
        justify-content: flex-start;
      }
    }

    @media (max-width: 480px) {
      .gallery-viewport {
        padding: 8px;
      }

      .screenshots-grid {
        gap: 8px;
      }

      .screenshot-card {
        width: clamp(106px, 38vw, 136px);
        min-width: clamp(106px, 38vw, 136px);
      }

      .screenshot-trigger img {
        min-height: 206px;
      }
    }

    @media (max-width: 380px) {
      .screenshot-card {
        width: 42vw;
        min-width: 42vw;
      }

      .screenshot-trigger img {
        min-height: 188px;
      }
    }



    /* Polished one-column Swift Invoice section */
    .app-showcase-section {
      position: relative;
      padding: 30px;
      overflow: hidden;
      background:
        radial-gradient(circle at top left, rgba(37, 99, 235, 0.12), transparent 34%),
        radial-gradient(circle at bottom right, rgba(14, 165, 233, 0.12), transparent 38%),
        rgba(255, 255, 255, 0.98);
    }

    .app-showcase-section::before {
      content: '';
      position: absolute;
      inset: 16px;
      border-radius: 26px;
      border: 1px solid rgba(191, 219, 254, 0.65);
      pointer-events: none;
    }

    .app-section-header {
      position: relative;
      z-index: 1;
      align-items: center;
      padding-bottom: 18px;
      margin-bottom: 18px;
      border-bottom: 1px solid rgba(226, 232, 240, 0.9);
    }

    .section-kicker {
      display: inline-flex;
      width: fit-content;
      margin-bottom: 8px;
      padding: 7px 11px;
      border-radius: 999px;
      color: #1d4ed8;
      background: #eff6ff;
      border: 1px solid #bfdbfe;
      font-size: 12px;
      font-weight: 900;
      letter-spacing: 0.05em;
      text-transform: uppercase;
    }

    .app-feature-card {
      position: relative;
      z-index: 1;
      display: grid;
      grid-template-columns: minmax(0, 1fr);
      gap: 18px;
      padding: 0;
      border: none;
      border-radius: 28px;
      background: transparent;
      overflow: visible;
    }

    .app-feature-card::before {
      display: none;
    }

    .app-hero-panel {
      position: relative;
      overflow: hidden;
      border-radius: 28px;
      background:
        linear-gradient(135deg, rgba(15, 23, 42, 0.96) 0%, rgba(30, 64, 175, 0.92) 52%, rgba(14, 165, 233, 0.86) 100%);
      box-shadow: 0 24px 60px rgba(15, 23, 42, 0.20);
    }

    .app-hero-panel::before {
      content: '';
      position: absolute;
      width: 420px;
      height: 420px;
      right: -150px;
      top: -180px;
      border-radius: 50%;
      background: rgba(255, 255, 255, 0.16);
    }

    .app-hero-panel::after {
      content: '';
      position: absolute;
      width: 280px;
      height: 280px;
      left: -130px;
      bottom: -150px;
      border-radius: 50%;
      background: rgba(147, 197, 253, 0.22);
    }

    .app-hero-copy {
      position: relative;
      z-index: 1;
      max-width: 900px;
      padding: 34px;
      color: #ffffff;
    }

    .app-hero-copy .app-kicker {
      margin-bottom: 14px;
      color: #bfdbfe;
      background: rgba(255, 255, 255, 0.10);
      border-color: rgba(191, 219, 254, 0.28);
    }

    .app-hero-copy h4 {
      max-width: 820px;
      margin: 0;
      color: #ffffff;
      font-size: clamp(30px, 5vw, 52px);
      line-height: 0.98;
      letter-spacing: -1.8px;
    }

    .app-hero-copy p {
      max-width: 760px;
      margin: 16px 0 0;
      color: #dbeafe;
      font-size: 16px;
      line-height: 1.7;
    }

    .app-action-row {
      display: flex;
      align-items: center;
      flex-wrap: wrap;
      gap: 12px;
      margin-top: 22px;
    }

    .app-action-row .launch-note {
      margin: 0;
      background: #22c55e;
      border-color: rgba(187, 247, 208, 0.48);
      box-shadow: 0 10px 24px rgba(34, 197, 94, 0.22);
    }

    .mini-note {
      color: #dbeafe;
      background: rgba(255, 255, 255, 0.10);
      border: 1px solid rgba(255, 255, 255, 0.16);
      border-radius: 999px;
      padding: 8px 12px;
      font-size: 13px;
      font-weight: 800;
    }

    .app-feature-grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 12px;
      margin-top: 24px;
    }

    .app-feature-item {
      min-width: 0;
      padding: 16px;
      border-radius: 18px;
      background: rgba(255, 255, 255, 0.10);
      border: 1px solid rgba(255, 255, 255, 0.16);
      backdrop-filter: blur(14px);
    }

    .app-feature-item strong {
      display: block;
      margin-bottom: 6px;
      color: #ffffff;
      font-size: 15px;
    }

    .app-feature-item span {
      display: block;
      color: #dbeafe;
      font-size: 13px;
      line-height: 1.45;
    }

    .app-doc-panel {
      display: grid;
      grid-template-columns: minmax(220px, 0.42fr) minmax(0, 1fr);
      gap: 18px;
      align-items: center;
      padding: 22px;
      border-radius: 24px;
      background: #ffffff;
      border: 1px solid var(--border);
      box-shadow: 0 14px 34px rgba(15, 23, 42, 0.07);
    }

    .app-doc-panel h5 {
      margin: 0;
      color: #0f172a;
      font-size: 18px;
      letter-spacing: -0.2px;
    }

    .app-doc-panel p {
      margin: 6px 0 0;
      color: var(--text-soft);
      font-size: 13px;
      line-height: 1.5;
    }

    .app-doc-links {
      justify-content: flex-end;
    }

    .app-doc-links a {
      background: #ffffff;
      box-shadow: 0 8px 18px rgba(15, 23, 42, 0.04);
    }

    .app-gallery-card {
      padding: 22px;
      border: 1px solid var(--border);
      border-radius: 24px;
      background: #ffffff;
      box-shadow: 0 14px 34px rgba(15, 23, 42, 0.07);
    }

    .app-gallery-card .screenshots-header {
      padding-bottom: 0;
      border-bottom: none;
    }

    .gallery-kicker {
      margin-bottom: 6px;
      font-size: 11px;
    }

    .app-gallery-card .screenshots-header h5 {
      font-size: 20px;
      letter-spacing: -0.4px;
    }

    .app-gallery-card .gallery-viewport {
      border-radius: 26px;
      background:
        radial-gradient(circle at top left, rgba(37, 99, 235, 0.10), transparent 32%),
        linear-gradient(135deg, #f8fafc 0%, #ffffff 54%, #eff6ff 100%);
      padding: 20px;
    }

    .app-gallery-card .screenshots-grid {
      gap: 18px;
      padding: 6px 6px 18px;
    }

    .app-gallery-card .screenshot-card {
      flex: 0 0 clamp(178px, 22%, 210px);
      width: clamp(178px, 22%, 210px);
      min-width: clamp(178px, 22%, 210px);
      border-radius: 26px;
      box-shadow: 0 18px 42px rgba(15, 23, 42, 0.12);
    }

    .app-gallery-card .screenshot-trigger {
      border-radius: 26px 26px 0 0;
    }

    .app-gallery-card .screenshot-trigger img {
      min-height: 330px;
    }

    .app-gallery-card .gallery-hint {
      font-size: 12px;
    }

    @media (max-width: 860px) {
      .app-doc-panel,
      .app-feature-grid {
        grid-template-columns: 1fr;
      }

      .app-doc-links {
        justify-content: flex-start;
      }

      .app-hero-copy {
        padding: 28px;
      }

      .app-gallery-card .screenshot-card {
        flex-basis: clamp(145px, 30vw, 180px);
        width: clamp(145px, 30vw, 180px);
        min-width: clamp(145px, 30vw, 180px);
      }

      .app-gallery-card .screenshot-trigger img {
        min-height: 280px;
      }
    }

    @media (max-width: 620px) {
      .app-showcase-section {
        padding: 20px;
      }

      .app-showcase-section::before {
        inset: 10px;
        border-radius: 22px;
      }

      .app-hero-copy {
        padding: 24px;
      }

      .app-hero-copy h4 {
        letter-spacing: -1px;
      }

      .mini-note {
        border-radius: 14px;
        line-height: 1.4;
      }

      .app-doc-panel,
      .app-gallery-card {
        padding: 16px;
        border-radius: 20px;
      }

      .app-gallery-card .gallery-viewport {
        padding: 12px;
        border-radius: 20px;
      }

      .app-gallery-card .screenshot-card {
        flex-basis: clamp(132px, 42vw, 160px);
        width: clamp(132px, 42vw, 160px);
        min-width: clamp(132px, 42vw, 160px);
        border-radius: 22px;
      }

      .app-gallery-card .screenshot-trigger {
        border-radius: 22px 22px 0 0;
      }

      .app-gallery-card .screenshot-trigger img {
        min-height: 246px;
      }
    }

    @media (max-width: 420px) {
      .app-gallery-card .screenshot-card {
        flex-basis: 74vw;
        width: 74vw;
        min-width: 74vw;
      }

      .app-gallery-card .screenshot-trigger img {
        min-height: 360px;
      }
    }


    /* App icon preview card + smaller mobile gallery previews */
    .app-hero-panel {
      display: grid;
      grid-template-columns: minmax(0, 1fr) minmax(190px, 250px);
      gap: 22px;
      align-items: center;
    }

    .app-store-preview {
      position: relative;
      z-index: 1;
      justify-self: end;
      width: min(100%, 245px);
      margin: 30px 34px 30px 0;
      padding: 18px;
      border-radius: 28px;
      color: #0f172a;
      background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.94));
      border: 1px solid rgba(255, 255, 255, 0.76);
      box-shadow: 0 24px 55px rgba(15, 23, 42, 0.24);
    }

    .app-store-preview-label {
      display: inline-flex;
      margin-bottom: 12px;
      padding: 7px 10px;
      border-radius: 999px;
      color: #1d4ed8;
      background: #eff6ff;
      border: 1px solid #bfdbfe;
      font-size: 11px;
      font-weight: 900;
      letter-spacing: 0.05em;
      text-transform: uppercase;
    }

    .app-store-icon-wrap {
      width: 92px;
      height: 92px;
      margin-bottom: 14px;
      display: grid;
      place-items: center;
      border-radius: 24px;
      background:
        radial-gradient(circle at 30% 20%, #ffffff 0%, #e0f2fe 54%, #dbeafe 100%);
      border: 1px solid #bfdbfe;
      box-shadow: 0 16px 36px rgba(37, 99, 235, 0.20);
      overflow: hidden;
    }

    .app-store-icon-wrap img {
      width: 78%;
      height: 78%;
      object-fit: contain;
    }

    .app-store-preview strong {
      display: block;
      margin-bottom: 6px;
      font-size: 18px;
      letter-spacing: -0.25px;
    }

    .app-store-preview p {
      margin: 0;
      color: #52657f;
      font-size: 13px;
      line-height: 1.5;
    }

    @media (max-width: 860px) {
      .app-hero-panel {
        grid-template-columns: 1fr;
      }

      .app-store-preview {
        justify-self: start;
        width: min(100%, 320px);
        margin: 0 28px 28px;
      }
    }

    @media (max-width: 620px) {
      .app-store-preview {
        width: 100%;
        margin: 0 24px 24px;
        padding: 14px;
        border-radius: 22px;
      }

      .app-store-icon-wrap {
        width: 68px;
        height: 68px;
        border-radius: 18px;
      }

      .app-gallery-card .screenshot-card {
        flex-basis: clamp(108px, 32vw, 132px);
        width: clamp(108px, 32vw, 132px);
        min-width: clamp(108px, 32vw, 132px);
      }

      .app-gallery-card .screenshot-trigger img {
        min-height: 204px;
      }
    }

    @media (max-width: 480px) {
      .app-gallery-card .gallery-viewport {
        padding: 8px;
      }

      .app-gallery-card .screenshots-grid {
        gap: 8px;
      }

      .app-gallery-card .screenshot-card {
        flex-basis: 40vw;
        width: 40vw;
        min-width: 40vw;
      }

      .app-gallery-card .screenshot-trigger img {
        min-height: 188px;
      }

      .app-gallery-card .screenshot-card figcaption {
        padding: 9px 9px 10px;
      }
    }

    @media (max-width: 420px) {
      .app-gallery-card .screenshot-card {
        flex-basis: 42vw;
        width: 42vw;
        min-width: 42vw;
      }

      .app-gallery-card .screenshot-trigger img {
        min-height: 184px;
      }
    }

    @media (max-width: 380px) {
      .app-gallery-card .screenshot-card {
        flex-basis: 44vw;
        width: 44vw;
        min-width: 44vw;
      }

      .app-gallery-card .screenshot-trigger img {
        min-height: 176px;
      }
    }



    /* Retry redesign: colorful Wolfpack background + floating pill menu + polished app showcase */
    :root {
      --app-navy: #0f172a;
      --app-navy-2: #111827;
      --app-blue: #2563eb;
      --app-blue-2: #1d4ed8;
      --app-sky: #dbeafe;
      --app-green: #16a34a;
      --surface: rgba(255, 255, 255, 0.96);
      --surface-soft: rgba(248, 250, 252, 0.92);
      --ring: rgba(148, 163, 184, 0.28);
    }

    body {
      background:
        radial-gradient(circle at 12% 4%, rgba(37, 99, 235, 0.38) 0, transparent 28%),
        radial-gradient(circle at 86% 18%, rgba(14, 165, 233, 0.26) 0, transparent 24%),
        radial-gradient(circle at 72% 82%, rgba(22, 163, 74, 0.16) 0, transparent 28%),
        linear-gradient(135deg, #0b1220 0%, #111827 46%, #0f172a 100%);
      background-attachment: fixed;
    }

    .page {
      width: min(1160px, calc(100% - 32px));
    }

    .topbar {
      margin-bottom: 28px;
    }

    .brand {
      color: #ffffff;
    }

    .brand-logo {
      background: rgba(255, 255, 255, 0.10);
      border: 1px solid rgba(255, 255, 255, 0.18);
      box-shadow: 0 14px 30px rgba(2, 6, 23, 0.24);
    }

    .nav {
      gap: 9px;
    }

    .nav a {
      color: #eff6ff;
      background: rgba(255, 255, 255, 0.10);
      border: 1px solid rgba(255, 255, 255, 0.18);
      box-shadow: 0 12px 26px rgba(2, 6, 23, 0.18);
      backdrop-filter: blur(12px);
    }

    .nav a:hover,
    .nav a:focus-visible {
      background: rgba(37, 99, 235, 0.96);
      border-color: rgba(191, 219, 254, 0.75);
      color: #ffffff;
      outline: none;
      transform: translateY(-1px);
    }

    .hero-main,
    .hero-side,
    .section {
      background: var(--surface);
      border-color: rgba(255, 255, 255, 0.72);
      box-shadow: 0 24px 70px rgba(2, 6, 23, 0.24);
    }

    .hero-main {
      background:
        radial-gradient(circle at top left, rgba(37, 99, 235, 0.12), transparent 42%),
        rgba(255, 255, 255, 0.97);
    }

    .button.primary,
    .subscribe-form button {
      background: #2563eb;
      box-shadow: 0 12px 28px rgba(37, 99, 235, 0.28);
    }

    .button.primary:hover,
    .subscribe-form button:hover {
      background: #1d4ed8;
    }

    .app-showcase-section {
      padding: 0;
      overflow: hidden;
      background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(248, 250, 252, 0.96) 100%);
      border: 1px solid rgba(255, 255, 255, 0.76);
      box-shadow: 0 28px 80px rgba(2, 6, 23, 0.26);
    }

    .app-section-shell {
      padding: clamp(22px, 3vw, 34px);
    }

    .app-section-header {
      margin-bottom: 20px;
      padding-bottom: 0;
    }

    .section-kicker {
      display: inline-flex;
      align-items: center;
      width: fit-content;
      margin-bottom: 8px;
      padding: 7px 10px;
      border-radius: 999px;
      color: #1d4ed8;
      background: #eff6ff;
      border: 1px solid #bfdbfe;
      font-size: 11px;
      font-weight: 900;
      letter-spacing: 0.06em;
      text-transform: uppercase;
    }

    .app-section-header h3 {
      font-size: clamp(27px, 4vw, 42px);
      letter-spacing: -1.2px;
    }

    .app-section-header p {
      max-width: 720px;
      font-size: 15px;
    }

    .app-grid,
    .app-card,
    .app-details {
      min-width: 0;
    }

    .app-feature-card {
      padding: 0;
      border: none;
      background: transparent;
      box-shadow: none;
      overflow: visible;
    }

    .app-feature-card::before {
      display: none;
    }

    .app-details {
      gap: 18px;
    }

    .swift-hero-card {
      position: relative;
      display: grid;
      grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
      gap: 0;
      overflow: hidden;
      color: #ffffff;
      border-radius: 30px;
      background:
        radial-gradient(circle at 14% 10%, rgba(96, 165, 250, 0.34), transparent 34%),
        radial-gradient(circle at 85% 18%, rgba(14, 165, 233, 0.22), transparent 28%),
        linear-gradient(135deg, #0b1220 0%, #111827 50%, #0f172a 100%);
      border: 1px solid rgba(191, 219, 254, 0.18);
      box-shadow: 0 24px 70px rgba(15, 23, 42, 0.34);
      isolation: isolate;
    }

    .swift-hero-card::after {
      content: '';
      position: absolute;
      inset: auto -80px -120px auto;
      width: 360px;
      height: 360px;
      border-radius: 999px;
      background: rgba(37, 99, 235, 0.22);
      filter: blur(8px);
      pointer-events: none;
      z-index: -1;
    }

    .swift-hero-copy {
      padding: clamp(26px, 4vw, 44px);
    }

    .app-kicker {
      color: #bfdbfe;
      background: rgba(37, 99, 235, 0.16);
      border-color: rgba(191, 219, 254, 0.28);
      margin-bottom: 14px;
    }

    .swift-hero-copy h4 {
      margin: 0;
      max-width: 760px;
      color: #ffffff;
      font-size: clamp(32px, 5vw, 54px);
      line-height: 0.98;
      letter-spacing: -1.8px;
    }

    .swift-hero-copy p {
      max-width: 680px;
      margin: 16px 0 0;
      color: #cbd5e1;
      font-size: 16px;
      line-height: 1.7;
    }

    .app-action-row {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      gap: 12px;
      margin-top: 22px;
    }

    .swift-hero-copy .launch-note {
      margin: 0;
      background: #16a34a;
      border-color: rgba(187, 247, 208, 0.48);
      box-shadow: 0 14px 34px rgba(22, 163, 74, 0.26);
    }

    .mini-note {
      display: inline-flex;
      align-items: center;
      padding: 8px 12px;
      border-radius: 999px;
      color: #dbeafe;
      background: rgba(255, 255, 255, 0.08);
      border: 1px solid rgba(255, 255, 255, 0.14);
      font-size: 13px;
      font-weight: 700;
    }

    .app-feature-grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 12px;
      margin-top: 26px;
    }

    .app-feature-item {
      min-height: 118px;
      padding: 16px;
      border-radius: 20px;
      background: rgba(255, 255, 255, 0.09);
      border: 1px solid rgba(255, 255, 255, 0.14);
      box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
      backdrop-filter: blur(14px);
    }

    .feature-icon {
      display: grid;
      place-items: center;
      width: 34px;
      height: 34px;
      margin-bottom: 12px;
      border-radius: 12px;
      background: rgba(37, 99, 235, 0.95);
      color: #ffffff;
      font-size: 16px;
      font-weight: 900;
      box-shadow: 0 12px 26px rgba(37, 99, 235, 0.32);
    }

    .app-feature-item strong {
      display: block;
      color: #ffffff;
      font-size: 15px;
      margin-bottom: 6px;
    }

    .app-feature-item span {
      display: block;
      color: #cbd5e1;
      font-size: 13px;
      line-height: 1.45;
    }

    .swift-visual-panel {
      position: relative;
      min-width: 0;
      padding: clamp(22px, 3vw, 34px);
      display: grid;
      align-content: center;
      gap: 18px;
      background:
        radial-gradient(circle at 50% 10%, rgba(255, 255, 255, 0.10), transparent 40%),
        rgba(255, 255, 255, 0.035);
      border-left: 1px solid rgba(255, 255, 255, 0.10);
    }

    .app-icon-preview {
      justify-self: end;
      width: min(100%, 280px);
      padding: 18px;
      border-radius: 24px;
      background: rgba(255, 255, 255, 0.94);
      color: #0f172a;
      border: 1px solid rgba(255, 255, 255, 0.70);
      box-shadow: 0 22px 50px rgba(2, 6, 23, 0.28);
    }

    .app-store-preview-label {
      display: inline-flex;
      margin-bottom: 12px;
      padding: 7px 10px;
      border-radius: 999px;
      color: #1d4ed8;
      background: #eff6ff;
      border: 1px solid #bfdbfe;
      font-size: 11px;
      font-weight: 900;
      letter-spacing: 0.05em;
      text-transform: uppercase;
    }

    .app-store-icon-wrap {
      width: 88px;
      height: 88px;
      margin-bottom: 12px;
      display: grid;
      place-items: center;
      border-radius: 24px;
      background:
        radial-gradient(circle at 30% 20%, #ffffff 0%, #e0f2fe 54%, #dbeafe 100%);
      border: 1px solid #bfdbfe;
      box-shadow: 0 16px 36px rgba(37, 99, 235, 0.20);
      overflow: hidden;
    }

    .app-store-icon-wrap img {
      width: 78%;
      height: 78%;
      object-fit: contain;
    }

    .app-icon-preview strong {
      display: block;
      font-size: 18px;
      margin-bottom: 6px;
    }

    .app-icon-preview p {
      margin: 0;
      color: #52657f;
      font-size: 13px;
      line-height: 1.5;
    }

    .phone-peek-stack {
      display: flex;
      align-items: flex-end;
      justify-content: flex-end;
      gap: 12px;
      padding-right: 6px;
    }

    .phone-peek {
      width: 92px;
      overflow: hidden;
      border-radius: 22px;
      background: #ffffff;
      border: 1px solid rgba(255, 255, 255, 0.48);
      box-shadow: 0 18px 40px rgba(2, 6, 23, 0.28);
    }

    .phone-peek img {
      width: 100%;
      height: 178px;
      object-fit: cover;
      object-position: center top;
      display: block;
    }

    .phone-peek:nth-child(1) {
      transform: rotate(-4deg) translateY(10px);
      opacity: 0.86;
    }

    .phone-peek:nth-child(2) {
      width: 112px;
      transform: translateY(-2px);
    }

    .phone-peek:nth-child(2) img {
      height: 220px;
    }

    .phone-peek:nth-child(3) {
      transform: rotate(4deg) translateY(16px);
      opacity: 0.86;
    }

    .app-doc-panel {
      display: grid;
      grid-template-columns: minmax(220px, 0.45fr) minmax(0, 1fr);
      gap: 18px;
      align-items: start;
      padding: 22px;
      border-radius: 26px;
      background: #ffffff;
      border: 1px solid var(--border);
      box-shadow: 0 18px 44px rgba(15, 23, 42, 0.08);
    }

    .app-doc-panel h5 {
      margin: 0 0 6px;
      font-size: 19px;
      color: #0f172a;
      letter-spacing: -0.3px;
    }

    .app-doc-panel p {
      margin: 0;
      color: #52657f;
      font-size: 14px;
      line-height: 1.5;
    }

    .app-doc-links {
      justify-content: flex-start;
    }

    .app-doc-links a {
      background: #f8fafc;
      transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
    }

    .app-doc-links a:hover,
    .app-doc-links a:focus-visible {
      transform: translateY(-1px);
      outline: none;
    }

    .app-gallery-card {
      padding: 22px;
      border-radius: 26px;
      background:
        radial-gradient(circle at top left, rgba(37, 99, 235, 0.10), transparent 34%),
        #ffffff;
      border: 1px solid var(--border);
      box-shadow: 0 18px 44px rgba(15, 23, 42, 0.08);
    }

    .app-gallery-card .screenshots-header {
      padding: 0 2px 0;
      align-items: flex-start;
      border-bottom: none;
    }

    .gallery-kicker {
      margin-bottom: 6px;
      font-size: 10px;
    }

    .app-gallery-card h5 {
      margin: 0;
      font-size: 22px;
      letter-spacing: -0.4px;
    }

    .app-gallery-card .gallery-viewport {
      border-radius: 24px;
      background:
        linear-gradient(135deg, #f8fafc 0%, #ffffff 52%, #eff6ff 100%);
      border: 1px solid rgba(226, 232, 240, 0.92);
      padding: 16px;
      overflow: hidden;
    }

    .app-gallery-card .screenshots-grid {
      display: flex;
      grid-template-columns: none;
      gap: 16px;
      justify-content: flex-start;
      overflow-x: auto;
      overflow-y: hidden;
      scroll-snap-type: x mandatory;
      padding: 5px 5px 14px;
    }

    .app-gallery-card .screenshot-card {
      flex: 0 0 clamp(132px, 14vw, 170px);
      width: clamp(132px, 14vw, 170px);
      min-width: clamp(132px, 14vw, 170px);
      max-width: none;
      border-radius: 22px;
      background: #ffffff;
      box-shadow: 0 16px 34px rgba(15, 23, 42, 0.12);
      scroll-snap-align: start;
    }

    .app-gallery-card .screenshot-trigger img {
      min-height: 250px;
      aspect-ratio: 9 / 19.5;
    }

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

    .gallery-hint {
      max-width: 720px;
    }

    @media (max-width: 960px) {
      .swift-hero-card {
        grid-template-columns: 1fr;
      }

      .swift-visual-panel {
        border-left: none;
        border-top: 1px solid rgba(255, 255, 255, 0.10);
        grid-template-columns: minmax(0, 280px) minmax(0, 1fr);
        align-items: center;
      }

      .app-icon-preview {
        justify-self: start;
      }

      .phone-peek-stack {
        justify-content: flex-end;
      }
    }

    @media (max-width: 860px) {
      .app-feature-grid,
      .app-doc-panel {
        grid-template-columns: 1fr;
      }

      .swift-visual-panel {
        grid-template-columns: 1fr;
      }

      .phone-peek-stack {
        justify-content: flex-start;
      }

      .gallery-controls {
        display: none;
      }
    }

    @media (max-width: 620px) {
      .page {
        width: min(100% - 22px, 1160px);
      }

      .app-section-shell {
        padding: 18px;
      }

      .app-section-header h3 {
        font-size: 28px;
      }

      .swift-hero-card {
        border-radius: 24px;
      }

      .swift-hero-copy {
        padding: 24px;
      }

      .swift-hero-copy h4 {
        font-size: clamp(29px, 10vw, 38px);
        letter-spacing: -1.1px;
      }

      .swift-hero-copy p {
        font-size: 14px;
      }

      .app-feature-item {
        min-height: 0;
      }

      .swift-visual-panel {
        padding: 0 24px 24px;
        background: transparent;
        border-top: none;
      }

      .app-icon-preview {
        width: 100%;
        padding: 14px;
        border-radius: 20px;
      }

      .app-store-icon-wrap {
        width: 64px;
        height: 64px;
        border-radius: 18px;
      }

      .phone-peek-stack {
        display: none;
      }

      .app-doc-panel,
      .app-gallery-card {
        padding: 16px;
        border-radius: 22px;
      }

      .app-gallery-card .gallery-viewport {
        padding: 8px;
        border-radius: 20px;
      }

      .app-gallery-card .screenshots-grid {
        gap: 9px;
        padding: 4px 4px 10px;
      }

      .app-gallery-card .screenshot-card {
        flex-basis: clamp(96px, 31vw, 122px);
        width: clamp(96px, 31vw, 122px);
        min-width: clamp(96px, 31vw, 122px);
        border-radius: 18px;
      }

      .app-gallery-card .screenshot-trigger {
        border-radius: 18px 18px 0 0;
      }

      .app-gallery-card .screenshot-trigger img {
        min-height: 176px;
        aspect-ratio: 9 / 18.8;
      }

      .app-gallery-card .screenshot-badge {
        top: 8px;
        left: 8px;
        min-width: 30px;
        height: 24px;
        font-size: 10px;
        padding: 0 7px;
      }

      .app-gallery-card .screenshot-card figcaption {
        padding: 8px;
      }

      .app-gallery-card .screenshot-card figcaption span:first-child {
        font-size: 11px;
      }

      .app-gallery-card .screenshot-card figcaption span:last-child {
        display: none;
      }

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

    @media (max-width: 430px) {
      .app-gallery-card .screenshot-card {
        flex-basis: 32vw;
        width: 32vw;
        min-width: 32vw;
      }

      .app-gallery-card .screenshot-trigger img {
        min-height: 160px;
      }
    }


    /* Full-width Swift Invoice hero update */
    .app-header-actions {
      display: flex;
      align-items: center;
      justify-content: flex-end;
      flex-wrap: wrap;
      gap: 10px;
    }

    .app-icon-chip {
      display: inline-flex;
      align-items: center;
      gap: 9px;
      padding: 7px 12px 7px 7px;
      border-radius: 999px;
      color: #0f172a;
      background: rgba(255, 255, 255, 0.96);
      border: 1px solid #bfdbfe;
      font-size: 12px;
      font-weight: 900;
      box-shadow: 0 12px 26px rgba(15, 23, 42, 0.10);
      white-space: nowrap;
    }

    .app-icon-chip img {
      width: 32px;
      height: 32px;
      border-radius: 10px;
      background: #eff6ff;
      border: 1px solid #dbeafe;
      padding: 4px;
      object-fit: contain;
    }

    .swift-hero-card {
      display: block;
      grid-template-columns: 1fr;
    }

    .swift-hero-copy {
      width: 100%;
    }

    .swift-hero-copy h4 {
      max-width: 980px;
    }

    .swift-hero-copy p {
      max-width: 920px;
    }

    .swift-hero-card .app-feature-grid {
      max-width: 100%;
    }

    @media (max-width: 860px) {
      .app-header-actions {
        justify-content: flex-start;
      }
    }

    @media (max-width: 620px) {
      .app-icon-chip {
        width: 100%;
        justify-content: flex-start;
      }
    }

  
    /* Fix desktop screenshot expansion + polished feature icons */
    .screenshot-trigger::after {
      pointer-events: none;
    }

    .app-feature-item .feature-icon {
      display: grid;
      place-items: center;
      width: 44px;
      height: 44px;
      margin-bottom: 14px;
      border-radius: 15px;
      background:
        radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.34), transparent 42%),
        linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
      color: #ffffff;
      box-shadow: 0 14px 30px rgba(37, 99, 235, 0.34);
      flex: 0 0 44px;
    }

    .app-feature-item .feature-icon svg {
      width: 23px;
      height: 23px;
      display: block;
      fill: none;
      stroke: currentColor;
      stroke-width: 2.1;
      stroke-linecap: round;
      stroke-linejoin: round;
    }

    .app-feature-item .feature-icon svg path:first-child {
      fill: rgba(255, 255, 255, 0.08);
    }

    .app-icon-chip {
      gap: 10px;
    }

    .app-icon-chip img {
      display: block;
      width: 34px;
      height: 34px;
    }

    @media (max-width: 620px) {
      .app-feature-item .feature-icon {
        width: 38px;
        height: 38px;
        border-radius: 13px;
        margin-bottom: 10px;
      }

      .app-feature-item .feature-icon svg {
        width: 20px;
        height: 20px;
      }
    }

/* App spotlight border removal */
.section.app-showcase-section,
.app-showcase-section {
  border: 0 !important;
  border-color: transparent !important;
}

.app-showcase-section::before {
  display: none !important;
}
