:root {
      --bg: #08111c;
      --bg-soft: #0d1828;
      --panel: rgba(15, 24, 39, 0.9);
      --panel-2: rgba(18, 31, 50, 0.9);
      --line: rgba(130, 165, 220, 0.16);
      --line-strong: rgba(130, 165, 220, 0.28);
      --text: #eef4ff;
      --text-soft: #bfd0ea;
      --text-dim: #88a0c2;
      --accent: #4d8dff;
      --accent-2: #2b6fff;
      --accent-soft: rgba(77, 141, 255, 0.16);
      --radius-xl: 24px;
      --radius-lg: 18px;
      --radius-md: 14px;
      --shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
      --max: 1180px;
    }

    * { box-sizing: border-box; }
    html { scroll-behavior: smooth; }

    body {
      margin: 0;
      font-family: Inter, Arial, Helvetica, sans-serif;
      color: var(--text);
      background:
        radial-gradient(circle at top, rgba(64, 112, 255, 0.16), transparent 34%),
        linear-gradient(180deg, #07111b 0%, #08131f 42%, #07101a 100%);
      line-height: 1.55;
    }

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

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

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

    .container {
      width: min(var(--max), calc(100% - 32px));
      margin: 0 auto;
    }

    .topbar {
      position: sticky;
      top: 0;
      z-index: 20;
      backdrop-filter: blur(14px);
      background: rgba(7, 14, 24, 0.72);
      border-bottom: 1px solid var(--line);
    }

    .topbar-inner {
      min-height: 72px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 18px;
    }

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

    .brand-copy {
      min-width: 0;
      display: flex;
      flex-direction: column;
      justify-content: center;
    }

    .brand-mark-image {
      width: 44px;
      height: 44px;
      display: block;
      flex: 0 0 auto;
    }

    .brand-name {
      font-size: 14px;
      font-weight: 800;
      letter-spacing: 0.14em;
      color: var(--text);
      line-height: 1;
      text-transform: uppercase;
    }

    .brand-tag {
      font-size: 11px;
      color: var(--text-dim);
      text-transform: uppercase;
      letter-spacing: 0.12em;
      margin-top: 4px;
    }

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

    .nav a,
    .button,
    .button-ghost {
      min-height: 42px;
      padding: 0 16px;
      border-radius: 999px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      font-size: 14px;
      font-weight: 600;
      transition: 160ms ease;
      border: 1px solid transparent;
    }

    .nav a { color: var(--text-soft); }

    .nav a:hover {
      color: var(--text);
      background: rgba(255,255,255,0.05);
    }

    .button {
      background: linear-gradient(180deg, var(--accent), var(--accent-2));
      color: white;
      box-shadow: 0 12px 26px rgba(43, 111, 255, 0.28);
    }

    .button:hover {
      transform: translateY(-1px);
      filter: brightness(1.05);
    }

    .button-ghost {
      border-color: var(--line-strong);
      background: rgba(255,255,255,0.04);
      color: var(--text);
    }

    .button-ghost:hover {
      background: rgba(255,255,255,0.07);
      border-color: rgba(130, 165, 220, 0.36);
    }

    .hero { padding: 56px 0 28px; }

    .hero-grid {
      display: grid;
      grid-template-columns: minmax(0, 1.06fr) minmax(320px, 0.94fr);
      gap: 28px;
      align-items: stretch;
    }

    .hero-copy,
    .hero-preview {
      background: linear-gradient(180deg, rgba(13, 23, 38, 0.92), rgba(10, 18, 30, 0.94));
      border: 1px solid var(--line);
      border-radius: var(--radius-xl);
      box-shadow: var(--shadow);
    }

    .hero-copy {
      padding: 34px;
      display: flex;
      flex-direction: column;
      justify-content: center;
      gap: 18px;
    }

    .eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      width: fit-content;
      min-height: 30px;
      padding: 0 12px;
      border-radius: 999px;
      color: #dce9ff;
      background: var(--accent-soft);
      border: 1px solid rgba(100, 150, 255, 0.2);
      font-size: 12px;
      font-weight: 700;
      letter-spacing: 0.08em;
      text-transform: uppercase;
    }

    h1, h2, h3, p { margin: 0; }

    h1 {
      font-size: clamp(36px, 7vw, 64px);
      line-height: 0.96;
      letter-spacing: -0.04em;
      max-width: 10ch;
    }

    .hero-lead {
      font-size: clamp(18px, 2vw, 22px);
      color: var(--text-soft);
      max-width: 40ch;
    }

    .hero-text {
      max-width: 58ch;
      color: var(--text-dim);
      font-size: 16px;
    }

    .hero-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      padding-top: 4px;
    }

    .meta-row {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      color: var(--text-dim);
      font-size: 14px;
    }

    .meta-chip {
      min-height: 34px;
      padding: 0 12px;
      border-radius: 999px;
      display: inline-flex;
      align-items: center;
      background: rgba(255,255,255,0.04);
      border: 1px solid var(--line);
    }

    .hero-preview {
      padding: 18px;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .mock-window {
      width: 100%;
      min-height: 440px;
      border-radius: 22px;
      overflow: hidden;
      border: 1px solid rgba(255,255,255,0.08);
      background: linear-gradient(180deg, #0d1829 0%, #0a1422 100%);
      box-shadow: 0 22px 44px rgba(0,0,0,0.28);
    }

    .mock-top {
      min-height: 54px;
      display: flex;
      align-items: center;
      gap: 10px;
      padding: 0 14px;
      border-bottom: 1px solid rgba(255,255,255,0.06);
      background: rgba(255,255,255,0.02);
    }

    .mock-dots {
      display: flex;
      gap: 8px;
      flex: 0 0 auto;
    }

    .mock-dots span {
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background: rgba(255,255,255,0.22);
    }

    .mock-tab-dot {
      width: 28px;
      height: 28px;
      border-radius: 10px;
      background: linear-gradient(180deg, #4d8dff, #2b6fff);
      flex: 0 0 auto;
    }

    .mock-tabs {
      display: flex;
      gap: 8px;
      flex: 1;
      min-width: 0;
      overflow: hidden;
    }

    .mock-tab {
      min-width: 48px;
      height: 30px;
      padding: 0 14px;
      border-radius: 10px;
      background: rgba(255,255,255,0.05);
      border: 1px solid rgba(255,255,255,0.06);
      color: #d7e6ff;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      font-size: 12px;
    }

    .mock-tab.active {
      background: rgba(77, 141, 255, 0.16);
      border-color: rgba(77, 141, 255, 0.3);
    }

    .mock-toolbar {
      display: grid;
      grid-template-columns: auto minmax(0, 1fr) auto;
      gap: 10px;
      padding: 10px 14px;
      border-bottom: 1px solid rgba(255,255,255,0.06);
      background: rgba(255,255,255,0.015);
    }

    .mock-nav-icons {
      display: flex;
      gap: 10px;
      align-items: center;
    }

    .mock-nav-icons span {
      width: 30px;
      height: 30px;
      border-radius: 9px;
      background: rgba(255,255,255,0.05);
      border: 1px solid rgba(255,255,255,0.05);
    }

    .mock-address {
      min-height: 36px;
      border-radius: 18px;
      background: rgba(255,255,255,0.06);
      border: 1px solid rgba(255,255,255,0.06);
      color: #90abd1;
      padding: 0 14px;
      display: flex;
      align-items: center;
      font-size: 12px;
    }

    .mock-workspace-btn {
      min-height: 36px;
      padding: 0 16px;
      border-radius: 18px;
      background: rgba(255,255,255,0.06);
      border: 1px solid rgba(255,255,255,0.06);
      display: flex;
      align-items: center;
      font-size: 12px;
      color: #dce8fb;
    }

    .mock-body {
      display: grid;
      grid-template-columns: 170px minmax(0, 1fr) 96px;
      min-height: 320px;
    }

    .mock-side,
    .mock-center,
    .mock-right {
      padding: 14px;
      min-width: 0;
    }

    .mock-side {
      border-right: 1px solid rgba(255,255,255,0.06);
      background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
    }

    .mock-center {
      border-right: 1px solid rgba(255,255,255,0.06);
      display: grid;
      gap: 10px;
      align-content: start;
    }

    .mock-right {
      display: grid;
      gap: 10px;
      align-content: start;
      background: rgba(255,255,255,0.01);
    }

    .mock-card,
    .mock-panel,
    .mock-mini,
    .mock-tile {
      border-radius: 14px;
      border: 1px solid rgba(255,255,255,0.06);
      background: rgba(255,255,255,0.03);
      min-width: 0;
    }

    .mock-rail-title,
    .mock-panel-title {
      font-size: 12px;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: #7e98c0;
      margin-bottom: 10px;
    }

    .mock-menu {
      display: grid;
      gap: 10px;
      margin-bottom: 10px;
    }

    .mock-menu-item {
      min-height: 40px;
      border-radius: 12px;
      padding: 0 12px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      color: #dce8fb;
      font-size: 13px;
      background: rgba(255,255,255,0.04);
      border: 1px solid rgba(255,255,255,0.06);
    }

    .mock-menu-item.active {
      background: rgba(77, 141, 255, 0.16);
      border-color: rgba(77, 141, 255, 0.3);
    }

    .mock-mini-grid {
      display: grid;
      grid-template-columns: 1fr;
      gap: 10px;
    }

    .mock-mini {
      min-height: 90px;
      padding: 12px;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
    }

    .mock-mini-title {
      font-size: 11px;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      color: #9db4d6;
    }

    .mock-line {
      height: 8px;
      border-radius: 999px;
      background: rgba(255,255,255,0.16);
      margin-top: 8px;
    }

    .mock-line.short { width: 52%; }
    .mock-line.mid { width: 72%; }
    .mock-line.long { width: 88%; }

    .mock-panel { padding: 14px; }

    .mock-panel-header {
      display: grid;
      gap: 8px;
      margin-bottom: 10px;
    }

    .mock-panel h3 {
      font-size: 18px;
      margin: 0;
      line-height: 1.15;
      color: #edf4ff;
    }

    .mock-panel p {
      font-size: 12px;
      color: #9bb4d9;
    }

    .mock-pills {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      margin-top: 8px;
    }

    .mock-pill {
      min-height: 30px;
      padding: 0 12px;
      border-radius: 999px;
      background: rgba(255,255,255,0.06);
      border: 1px solid rgba(255,255,255,0.06);
      color: #dce8fb;
      font-size: 12px;
      display: inline-flex;
      align-items: center;
    }

    .mock-draft {
      min-height: 152px;
      padding: 14px;
      display: grid;
      gap: 10px;
    }

    .mock-bottom-links {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 10px;
    }

    .mock-tile {
      min-height: 78px;
      padding: 12px;
      display: grid;
      gap: 8px;
      align-content: start;
    }

    .mock-right .mock-card {
      min-height: 84px;
      padding: 12px;
    }

    .section { padding: 28px 0; }

    .section-header {
      max-width: 760px;
      margin-bottom: 18px;
    }

    .section-kicker {
      font-size: 12px;
      color: var(--text-dim);
      text-transform: uppercase;
      letter-spacing: 0.12em;
      margin-bottom: 8px;
    }

    h2 {
      font-size: clamp(28px, 4vw, 42px);
      line-height: 1.04;
      letter-spacing: -0.03em;
      margin-bottom: 10px;
    }

    .section-text {
      color: var(--text-soft);
      font-size: 17px;
      max-width: 64ch;
    }

    .grid-2,
    .grid-3,
    .grid-4 {
      display: grid;
      gap: 16px;
    }

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

    .card {
      min-width: 0;
      padding: 20px;
      border-radius: var(--radius-lg);
      background: linear-gradient(180deg, rgba(13, 23, 38, 0.92), rgba(10, 18, 30, 0.94));
      border: 1px solid var(--line);
      box-shadow: var(--shadow);
    }

    .card h3 {
      font-size: 18px;
      margin-bottom: 8px;
      line-height: 1.18;
    }

    .card p {
      color: var(--text-soft);
      font-size: 15px;
    }

    .quote-panel {
      padding: 26px;
      border-radius: var(--radius-xl);
      background: linear-gradient(180deg, rgba(14, 25, 41, 0.96), rgba(11, 19, 31, 0.94));
      border: 1px solid var(--line);
      box-shadow: var(--shadow);
    }

    .quote-panel p {
      font-size: 20px;
      line-height: 1.5;
      color: var(--text-soft);
      max-width: 56ch;
    }

    .download-panel {
      display: grid;
      grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
      gap: 18px;
      align-items: stretch;
      padding: 22px;
      border-radius: var(--radius-xl);
      background: linear-gradient(180deg, rgba(13, 24, 41, 0.96), rgba(10, 18, 31, 0.94));
      border: 1px solid var(--line);
      box-shadow: var(--shadow);
    }

    .download-copy {
      display: flex;
      flex-direction: column;
      gap: 12px;
      justify-content: center;
    }

    .download-actions {
      display: grid;
      gap: 10px;
      align-content: center;
    }

    .download-button {
      min-height: 52px;
      padding: 0 18px;
      border-radius: 16px;
      border: 1px solid var(--line-strong);
      background: rgba(255,255,255,0.04);
      color: var(--text);
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 14px;
      font-size: 15px;
      font-weight: 700;
    }

    .download-button:hover {
      background: rgba(255,255,255,0.07);
      border-color: rgba(130, 165, 220, 0.36);
    }

    .faq { display: grid; gap: 12px; }

    details {
      border-radius: 16px;
      border: 1px solid var(--line);
      background: rgba(255,255,255,0.03);
      padding: 16px 18px;
    }

    summary {
      cursor: pointer;
      font-weight: 700;
      list-style: none;
    }

    summary::-webkit-details-marker { display: none; }

    details p {
      margin-top: 10px;
      color: var(--text-soft);
    }

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

    .contact-card,
    .legal-card {
      min-width: 0;
      padding: 22px;
      border-radius: var(--radius-lg);
      background: linear-gradient(180deg, rgba(13, 23, 38, 0.92), rgba(10, 18, 30, 0.94));
      border: 1px solid var(--line);
      box-shadow: var(--shadow);
      display: grid;
      gap: 12px;
      align-content: start;
    }

    .contact-label,
    .legal-label {
      font-size: 11px;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: var(--text-dim);
    }

    .contact-value,
    .legal-title {
      font-size: 20px;
      line-height: 1.15;
      color: var(--text);
      font-weight: 700;
    }

    .contact-meta,
    .legal-copy,
    .small-note {
      color: var(--text-soft);
      font-size: 14px;
    }

    .link-row {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
    }

    .inline-link {
      min-height: 36px;
      padding: 0 12px;
      border-radius: 999px;
      display: inline-flex;
      align-items: center;
      border: 1px solid var(--line-strong);
      background: rgba(255,255,255,0.04);
      color: var(--text);
      font-size: 13px;
      font-weight: 600;
    }

    .inline-link:hover {
      background: rgba(255,255,255,0.07);
      border-color: rgba(130, 165, 220, 0.36);
    }

    .faq-note {
      margin-top: 12px;
      color: var(--text-dim);
      font-size: 14px;
    }

    .footer {
      padding: 34px 0 48px;
      color: var(--text-dim);
    }

    .footer-inner {
      display: grid;
      grid-template-columns: minmax(0, 1.1fr) repeat(3, minmax(0, 0.9fr));
      gap: 18px;
      border-top: 1px solid var(--line);
      padding-top: 22px;
    }

    .footer-column {
      display: grid;
      gap: 10px;
      align-content: start;
      min-width: 0;
    }

    .footer-title {
      font-size: 11px;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: var(--text-dim);
    }

    .footer-copy {
      color: var(--text-soft);
      font-size: 14px;
      max-width: 32ch;
    }

    .footer-list {
      display: grid;
      gap: 8px;
    }

    .footer-list a {
      color: var(--text-soft);
      font-size: 14px;
    }

    .footer-list a:hover {
      color: var(--text);
    }


    /* final website pass: screenshots + centered legal pages */
    .screenshot-showcase {
      display: grid;
      gap: 16px;
    }

    .screenshot-feature {
      overflow: hidden;
      border-radius: var(--radius-xl);
      border: 1px solid var(--line);
      background: linear-gradient(180deg, rgba(13, 23, 38, 0.96), rgba(8, 15, 26, 0.98));
      box-shadow: var(--shadow);
    }

    .screenshot-feature img {
      width: 100%;
      height: auto;
      display: block;
      border-bottom: 1px solid var(--line);
    }

    .screenshot-feature-copy {
      padding: 18px 20px 20px;
      display: grid;
      gap: 6px;
    }

    .screenshot-feature-copy h3 {
      font-size: 22px;
      line-height: 1.15;
    }

    .screenshot-feature-copy p {
      color: var(--text-soft);
      font-size: 15px;
    }

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

    .screenshot-card {
      overflow: hidden;
      border-radius: var(--radius-lg);
      border: 1px solid var(--line);
      background: linear-gradient(180deg, rgba(13, 23, 38, 0.92), rgba(10, 18, 30, 0.94));
      box-shadow: var(--shadow);
    }

    .screenshot-card img {
      width: 100%;
      aspect-ratio: 16 / 9;
      object-fit: cover;
      object-position: top center;
      border-bottom: 1px solid var(--line);
    }

    .screenshot-card-body {
      padding: 16px;
      display: grid;
      gap: 6px;
    }

    .screenshot-card-body h3 {
      font-size: 18px;
      line-height: 1.18;
    }

    .screenshot-card-body p {
      color: var(--text-soft);
      font-size: 14px;
    }

    .status-pill {
      display: inline-flex;
      align-items: center;
      width: fit-content;
      min-height: 30px;
      padding: 0 11px;
      border-radius: 999px;
      color: #dce9ff;
      background: var(--accent-soft);
      border: 1px solid rgba(100, 150, 255, 0.2);
      font-size: 12px;
      font-weight: 700;
      letter-spacing: 0.06em;
      text-transform: uppercase;
    }

    .legal-page .panel {
      margin-left: auto;
      margin-right: auto;
      width: min(var(--max), calc(100% - 32px));
    }

    .legal-page .container.panel {
      margin-left: auto;
      margin-right: auto;
    }



    /* preview.3 website polish */
    .section { padding: 22px 0; }
    .hero { padding: 30px 0 18px; }
    .hero-grid { gap: 20px; }
    .hero-copy { padding: 28px; }
    .hero-preview { padding: 14px; }
    .screenshot-feature-wide img,
    .hero-preview .screenshot-feature img {
      aspect-ratio: 16 / 9;
      object-fit: cover;
      object-position: top center;
    }
    .screenshot-card img {
      aspect-ratio: 16 / 9;
      object-fit: cover;
      object-position: top center;
    }
    .download-button.is-primary {
      background: linear-gradient(180deg, var(--accent), var(--accent-2));
      border-color: rgba(255,255,255,0.18);
      color: #fff;
      box-shadow: 0 12px 26px rgba(43, 111, 255, 0.25);
    }

    @media (max-width: 760px) {
      .screenshot-grid {
        grid-template-columns: 1fr;
      }
    }


    /* publish polish: compact hero, current/planned modules, share links */
    .hero {
      padding: 38px 0 22px;
    }

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

    .hero-copy {
      padding: 30px;
    }

    h1 {
      max-width: 12ch;
    }

    .module-status-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 18px;
    }

    .module-list-card {
      padding: 20px;
      border-radius: var(--radius-xl);
      border: 1px solid var(--line);
      background: linear-gradient(180deg, rgba(13, 23, 38, 0.92), rgba(10, 18, 30, 0.94));
    }

    .module-list-card h3 {
      font-size: 22px;
      margin-bottom: 8px;
    }

    .module-list-card p {
      color: var(--text-soft);
      margin-bottom: 14px;
    }

    .module-pill-grid {
      display: flex;
      flex-wrap: wrap;
      gap: 9px;
    }

    .module-pill {
      display: inline-flex;
      align-items: center;
      min-height: 32px;
      padding: 0 11px;
      border-radius: 999px;
      border: 1px solid rgba(130, 165, 220, 0.18);
      color: var(--text-soft);
      background: rgba(255,255,255,0.04);
      font-size: 13px;
      font-weight: 700;
    }

    .module-pill.is-current {
      color: #ffffff;
      background: rgba(77, 141, 255, 0.14);
      border-color: rgba(77, 141, 255, 0.26);
    }

    .module-pill.is-planned {
      border-style: dashed;
      color: var(--text-dim);
    }

    .share-box {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      align-items: center;
      padding-top: 14px;
      margin-top: 14px;
      border-top: 1px solid var(--line);
    }

    .share-box span {
      color: var(--text-dim);
      font-size: 13px;
      font-weight: 800;
      letter-spacing: 0.08em;
      text-transform: uppercase;
    }

    .share-link {
      display: inline-flex;
      align-items: center;
      min-height: 34px;
      padding: 0 12px;
      border-radius: 999px;
      border: 1px solid var(--line);
      color: var(--text-soft);
      background: rgba(255,255,255,0.035);
      font-size: 13px;
      font-weight: 800;
    }

    .share-link:hover {
      color: #ffffff;
      background: rgba(255,255,255,0.07);
    }

    .contact-links-panel {
      display: grid;
      gap: 14px;
    }

    .contact-link-row {
      display: grid;
      grid-template-columns: 160px minmax(0, 1fr);
      gap: 12px;
      padding: 14px;
      border-radius: 16px;
      border: 1px solid var(--line);
      background: rgba(255,255,255,0.035);
    }

    .contact-link-row strong {
      color: var(--text);
    }

    .contact-link-row a,
    .contact-link-row span {
      color: var(--text-soft);
      word-break: break-word;
    }

    @media (max-width: 760px) {
      .module-status-grid {
        grid-template-columns: 1fr;
      }
      .contact-link-row {
        grid-template-columns: 1fr;
      }
    }

    @media (max-width: 1060px) {
      .hero-grid,
      .download-panel,
      .grid-4,
      .contact-grid,
      .legal-grid,
      .footer-inner {
        grid-template-columns: 1fr 1fr;
      }

      .grid-3,
      .grid-2,
      .mock-body {
        grid-template-columns: 1fr;
      }

      .mock-side,
      .mock-center {
        border-right: 0;
      }

      .mock-side,
      .mock-center {
        border-bottom: 1px solid rgba(255,255,255,0.06);
      }
    }

    @media (max-width: 760px) {
      .topbar-inner,
      .footer-inner {
        align-items: flex-start;
      }

      .hero { padding-top: 34px; }

      .hero-grid,
      .download-panel,
      .grid-4,
      .grid-3,
      .grid-2,
      .contact-grid,
      .legal-grid,
      .footer-inner {
        grid-template-columns: 1fr;
      }

      .hero-copy,
      .hero-preview,
      .card,
      .quote-panel,
      .download-panel {
        padding-left: 18px;
        padding-right: 18px;
      }

      h1 { max-width: 12ch; }

      .nav { gap: 6px; }

      .nav a,
      .button,
      .button-ghost {
        min-height: 40px;
        padding: 0 14px;
      }
    }


    /* preview.3 polish: keep header controls on one line on desktop */
    .topbar-inner { flex-wrap: nowrap; }
    .brand { flex: 0 1 360px; }
    .nav {
      flex: 1 1 auto;
      flex-wrap: nowrap;
      gap: 6px;
      min-width: 0;
    }
    .nav a,
    .nav .button-ghost {
      min-height: 38px;
      padding: 0 12px;
      font-size: 13px;
      white-space: nowrap;
    }
    .language-toggle {
      flex: 0 0 auto;
      white-space: nowrap;
      min-height: 38px;
    }
    .language-toggle button {
      min-width: 36px;
      min-height: 28px;
      padding: 0 8px;
      font-size: 12px;
    }
    @media (max-width: 980px) {
      .topbar-inner { flex-wrap: wrap; }
      .nav { flex-wrap: wrap; justify-content: flex-start; }
    }

  

    /* final preview.3 site polish */
    :root { --max: 1280px; }

    .topbar-inner {
      min-height: 72px;
      flex-wrap: nowrap;
      gap: 14px;
    }

    .brand {
      flex: 0 0 auto;
      max-width: 330px;
    }

    .nav {
      flex: 1 1 auto;
      min-width: 0;
      flex-wrap: nowrap;
      white-space: nowrap;
      gap: 6px;
    }

    .nav a {
      padding: 0 12px;
      font-size: 13px;
    }

    .language-toggle {
      flex: 0 0 auto;
    }

    .hero {
      padding: 34px 0 20px;
    }

    .hero-grid {
      grid-template-columns: minmax(360px, 0.84fr) minmax(520px, 1.16fr);
      gap: 24px;
      align-items: stretch;
    }

    .hero-preview {
      padding: 12px;
      display: flex;
      align-items: stretch;
    }

    .hero-preview .screenshot-feature {
      width: 100%;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
    }

    .hero-preview .screenshot-feature img,
    .screenshot-feature-wide img,
    .screenshot-card img {
      width: 100%;
      height: auto;
      aspect-ratio: auto;
      object-fit: contain;
      object-position: top center;
      background: #030914;
    }

    .hero-preview .screenshot-feature-copy {
      padding: 16px 18px 18px;
    }

    .section {
      padding: 28px 0;
    }

    .screenshot-showcase {
      gap: 22px;
    }

    .screenshot-grid {
      grid-template-columns: 1fr;
      gap: 22px;
    }

    .screenshot-card-body {
      padding: 18px 20px 20px;
    }

    .download-button span {
      flex: 0 0 auto;
    }

    @media (max-width: 1120px) {
      .topbar-inner {
        flex-wrap: wrap;
      }

      .nav {
        flex-wrap: wrap;
        white-space: normal;
      }

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

      .hero-preview {
        max-width: 860px;
      }
    }

    @media (max-width: 760px) {
      .brand-tag {
        font-size: 10px;
      }

      .nav a {
        font-size: 12px;
        padding: 0 10px;
      }

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