/* NativeCode - jakubhecht.sk liquid glass style */
:root {
  color-scheme: light;
  --bg: #f7f8fc;
  --bg-section: #eef3ff;
  --glass-bg: linear-gradient(145deg, rgba(255, 255, 255, 0.74), rgba(255, 255, 255, 0.46));
  --glass-bg-hover: linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(244, 248, 255, 0.66));
  --glass-border: rgba(255, 255, 255, 0.78);
  --glass-blur: blur(28px) saturate(170%);
  --glass-shadow: 0 24px 80px rgba(41, 73, 142, 0.14), 0 8px 26px rgba(30, 41, 59, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.88);
  --accent-from: #2563eb;
  --accent-mid: #6d5dfc;
  --accent-to: #a855f7;
  --accent-gradient: linear-gradient(135deg, #2563eb 0%, #6d5dfc 48%, #a855f7 100%);
  --accent-blue: #2563eb;
  --accent-purple: #7c3aed;
  --accent-soft: rgba(37, 99, 235, 0.1);
  --text-primary: #111827;
  --text-secondary: #475569;
  --text-tertiary: #7c8798;
  --border: rgba(15, 23, 42, 0.08);
  --dark-panel: #0d0f14;
  --dark-panel-hi: #171a21;
  --dark-line: rgba(255, 255, 255, 0.12);
  --green: #22c55e;
  --orange: #f59e0b;
  --red: #ef4444;
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-pill: 100px;
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --spring: 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  --max: 1120px;
  --nav-height: 72px;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  color: var(--text-primary);
  background:
    linear-gradient(115deg, rgba(37, 99, 235, 0.12), transparent 34%),
    linear-gradient(245deg, rgba(168, 85, 247, 0.14), transparent 36%),
    linear-gradient(180deg, #ffffff 0%, #f7f8fc 46%, #eef3ff 100%);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(15, 23, 42, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), transparent 72%);
}

body::selection {
  color: #fff;
  background: rgba(37, 99, 235, 0.55);
}

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

button {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

code,
pre {
  font-family: "SF Mono", ui-monospace, Menlo, Monaco, Consolas, monospace;
}

main,
.site-header,
.site-footer {
  position: relative;
  z-index: 1;
}

.section-shell {
  width: min(var(--max), calc(100% - 48px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 12px;
  z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  min-height: var(--nav-height);
  width: min(calc(100% - 28px), 1120px);
  margin: 12px auto 0;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.62);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  box-shadow: 0 18px 50px rgba(41, 73, 142, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.brand,
.top-nav a,
.lang-button,
.small-download {
  font-family: "Space Grotesk", Inter, sans-serif;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  font-size: 0.98rem;
  font-weight: 700;
  transition: opacity var(--transition), transform var(--transition);
}

.brand:hover {
  opacity: 0.78;
  transform: translateY(-1px);
}

.brand img {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  box-shadow: 0 16px 36px rgba(37, 99, 235, 0.18);
}

.top-nav {
  display: flex;
  justify-content: center;
  gap: 3px;
  min-width: 0;
}

.top-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: var(--radius-pill);
  color: var(--text-secondary);
  font-size: 0.88rem;
  font-weight: 600;
  white-space: nowrap;
  transition: color var(--transition), background var(--transition), box-shadow var(--transition), transform var(--transition);
}

.top-nav a:hover,
.top-nav a.is-active {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.92), 0 8px 22px rgba(37, 99, 235, 0.1);
  transform: translateY(-1px);
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 9px;
  min-width: 0;
}

.lang-toggle {
  display: inline-flex;
  padding: 3px;
  border: 1px solid rgba(37, 99, 235, 0.18);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.68);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 10px 24px rgba(37, 99, 235, 0.08);
}

.lang-button {
  min-width: 36px;
  height: 30px;
  border: 0;
  border-radius: var(--radius-pill);
  color: var(--text-tertiary);
  background: transparent;
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0;
}

.lang-button.is-active {
  color: #fff;
  background: var(--accent-gradient);
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.2);
}

.platform-toggle {
  display: inline-flex;
  padding: 3px;
  border: 1px solid rgba(37, 99, 235, 0.18);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.68);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 10px 24px rgba(37, 99, 235, 0.08);
}

.platform-button {
  height: 30px;
  padding: 0 13px;
  border: 0;
  border-radius: var(--radius-pill);
  color: var(--text-tertiary);
  background: transparent;
  cursor: pointer;
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  white-space: nowrap;
}

.platform-button.is-active {
  color: #fff;
  background: var(--accent-gradient);
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.2);
}

.small-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 16px;
  border-radius: var(--radius-pill);
  color: #fff;
  background: var(--accent-gradient);
  box-shadow: 0 14px 34px rgba(37, 99, 235, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.34);
  font-size: 0.84rem;
  font-weight: 700;
  white-space: nowrap;
  transition: transform var(--transition), box-shadow var(--transition), opacity var(--transition);
}

.small-download:hover {
  opacity: 0.92;
  transform: translateY(-2px);
  box-shadow: 0 18px 44px rgba(37, 99, 235, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.34);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(450px, 1.12fr);
  gap: 44px;
  align-items: center;
  padding: 88px 0 44px;
}

.hero-copy {
  min-width: 0;
}

.eyebrow,
.download-band p,
.section-heading p {
  margin: 0 0 16px;
  color: var(--accent-purple);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 18px;
  border: 1px solid rgba(37, 99, 235, 0.14);
  border-radius: var(--radius-pill);
  color: var(--accent-blue);
  background: rgba(255, 255, 255, 0.66);
  box-shadow: 0 12px 30px rgba(41, 73, 142, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  letter-spacing: 0;
  text-transform: none;
}

.status-dot {
  display: inline-block;
  width: 9px;
  height: 9px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 6px rgba(34, 197, 94, 0.12);
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 780px;
  margin: 0;
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: clamp(3.3rem, 7vw, 6rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: 0;
  color: var(--text-primary);
}

h1::first-letter {
  color: inherit;
}

.hero h1 {
  background: linear-gradient(135deg, var(--text-primary) 0%, #1e293b 44%, var(--accent-purple) 130%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-lead {
  max-width: 670px;
  margin: 24px 0 0;
  color: var(--text-secondary);
  font-size: clamp(1rem, 1.8vw, 1.14rem);
  line-height: 1.75;
}

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

.primary-cta,
.secondary-cta,
.win-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  border-radius: var(--radius-pill);
  font-weight: 800;
  transition: transform var(--transition), box-shadow var(--transition), opacity var(--transition), background var(--transition), border-color var(--transition);
}

.primary-cta {
  gap: 14px;
  padding: 0 22px;
  flex-shrink: 0;
  white-space: nowrap;
  color: #fff;
  background: var(--accent-gradient);
  box-shadow: 0 16px 36px rgba(37, 99, 235, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.34);
}

.primary-cta strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  min-height: 27px;
  padding: 0 12px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.18);
  font-size: 0.78rem;
  line-height: 1;
  white-space: nowrap;
}

.secondary-cta {
  padding: 0 22px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.68);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  box-shadow: 0 14px 34px rgba(41, 73, 142, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

.primary-cta:hover,
.secondary-cta:hover,
.win-cta:hover {
  transform: translateY(-3px);
}

.primary-cta:hover {
  opacity: 0.92;
  box-shadow: 0 20px 48px rgba(37, 99, 235, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.34);
}

.secondary-cta:hover {
  background: rgba(255, 255, 255, 0.94);
  border-color: rgba(37, 99, 235, 0.14);
}

/* Windows download button (Fluent-blue, distinct from the macOS gradient) */
.win-cta {
  gap: 14px;
  padding: 0 22px;
  flex-shrink: 0;
  white-space: nowrap;
  color: #fff;
  background: linear-gradient(135deg, #0078d4 0%, #2563eb 100%);
  box-shadow: 0 16px 36px rgba(0, 120, 212, 0.26), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.win-cta strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  min-height: 27px;
  padding: 0 12px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.2);
  font-size: 0.78rem;
  line-height: 1;
  white-space: nowrap;
}

.win-cta:hover {
  opacity: 0.92;
  box-shadow: 0 20px 48px rgba(0, 120, 212, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

/* Windows section: download row, smartscreen note, screenshot */
.win-download {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
}

.win-download .checksum {
  flex: 1 1 320px;
  margin-top: 0;
}

.win-note {
  margin: 18px 0 0;
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.65;
}

/* Platform switcher: hide elements that don't match the active platform */
.is-platform-hidden {
  display: none !important;
}

/* Cross-fade the page when switching between macOS and Windows */
main {
  transition: opacity 0.18s ease, transform 0.18s ease;
}

main.is-switching-out {
  opacity: 0;
  transform: translateY(6px);
}

main.is-switching-in {
  animation: platform-swap-in 0.46s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes platform-swap-in {
  from {
    opacity: 0;
    transform: translateY(-12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.download-band-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
}

.release-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 30px 0 0;
}

.release-meta div,
.checksum,
.proof-strip div,
.feature-card,
.release-card,
.release-note-callout,
.install-list li,
.model-table-wrap,
.security-grid article,
.faq-grid details,
.screenshot-frame,
.download-band {
  position: relative;
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  box-shadow: var(--glass-shadow);
}

.release-meta div::before,
.checksum::before,
.proof-strip div::before,
.feature-card::before,
.release-card::before,
.release-note-callout::before,
.install-list li::before,
.model-table-wrap::before,
.security-grid article::before,
.faq-grid details::before,
.screenshot-frame::before,
.download-band::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.08) 42%, rgba(37, 99, 235, 0.08) 100%);
  opacity: 0.72;
}

.release-meta div > *,
.checksum > *,
.proof-strip div > *,
.feature-card > *,
.release-card > *,
.release-note-callout > *,
.install-list li > *,
.model-table-wrap > *,
.security-grid article > *,
.faq-grid details > *,
.screenshot-frame > *,
.download-band > * {
  position: relative;
  z-index: 1;
}

.release-meta div {
  min-width: 0;
  padding: 15px;
  border-radius: var(--radius-md);
}

.release-meta dt {
  margin: 0 0 6px;
  color: var(--text-tertiary);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.release-meta dd {
  margin: 0;
  color: var(--text-primary);
  font-size: 0.86rem;
  font-weight: 800;
}

.checksum {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  padding: 10px;
  border-radius: var(--radius-md);
}

.checksum span {
  color: var(--text-tertiary);
  font-size: 0.72rem;
  font-weight: 800;
}

.checksum code {
  min-width: 0;
  color: var(--text-secondary);
  font-size: 0.72rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.copy-button {
  min-height: 31px;
  border: 1px solid rgba(37, 99, 235, 0.14);
  border-radius: var(--radius-pill);
  color: var(--accent-blue);
  background: rgba(255, 255, 255, 0.72);
  cursor: pointer;
  font-size: 0.76rem;
  font-weight: 800;
}

.copy-button.is-copied {
  color: #fff;
  border-color: transparent;
  background: var(--accent-gradient);
}

.product-preview {
  min-width: 0;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.55);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  box-shadow: 0 28px 86px rgba(41, 73, 142, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  overflow: hidden;
}

.window-chrome {
  display: flex;
  align-items: center;
  gap: 7px;
  height: 42px;
  padding: 0 14px;
  border: 1px solid var(--dark-line);
  border-bottom: 0;
  border-radius: 18px 18px 0 0;
  background: #151821;
}

.window-chrome span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}

.window-chrome span:nth-child(1) { background: var(--red); }
.window-chrome span:nth-child(2) { background: var(--orange); }
.window-chrome span:nth-child(3) { background: var(--green); }

.window-chrome p {
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.44);
  font-size: 0.76rem;
  font-weight: 800;
}

/* Windows-style title bar: app name on the left, caption buttons on the right */
.window-chrome.is-win {
  justify-content: space-between;
  background: #1f1f1f;
}

.window-chrome.is-win p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 600;
}

.win-caption {
  display: inline-flex;
  align-items: center;
  gap: 17px;
}

.win-caption i {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.74rem;
  font-style: normal;
  line-height: 1;
}

.app-preview {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr) 210px;
  min-height: 430px;
  border: 1px solid var(--dark-line);
  border-radius: 0 0 18px 18px;
  color: #f7f7f7;
  background: #0a0d12;
  overflow: hidden;
}

.preview-tree,
.preview-agent {
  min-width: 0;
  background: #10141b;
}

.preview-tree {
  padding: 16px 12px;
  border-right: 1px solid var(--dark-line);
}

.preview-title,
.preview-tab {
  color: rgba(255, 255, 255, 0.42);
  font-size: 0.7rem;
  font-weight: 900;
  text-transform: uppercase;
}

.preview-tree ul {
  display: grid;
  gap: 4px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.preview-tree li {
  overflow: hidden;
  padding: 7px 8px;
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.76rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.preview-tree li::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 8px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.35);
}

.preview-tree .is-open::before { background: #60a5fa; }

.preview-tree .is-selected {
  color: #fff;
  background: rgba(37, 99, 235, 0.34);
}

.preview-editor {
  min-width: 0;
  padding: 16px 0 0;
  background: #0a0d12;
}

.preview-tab {
  display: inline-flex;
  align-items: center;
  height: 31px;
  margin-left: 14px;
  padding: 0 12px;
  border: 1px solid var(--dark-line);
  border-bottom-color: #0a0d12;
  border-radius: 10px 10px 0 0;
  color: rgba(255, 255, 255, 0.65);
  background: #151821;
  text-transform: none;
}

.preview-editor pre {
  margin: 0;
  padding: 18px 14px;
  border-top: 1px solid var(--dark-line);
  color: #d6d6d6;
  font-size: 0.82rem;
  line-height: 1.8;
  overflow: hidden;
}

.line-no {
  display: inline-block;
  width: 24px;
  margin-right: 10px;
  color: rgba(255, 255, 255, 0.3);
  user-select: none;
}

.kw { color: #ff7ab2; }

.preview-agent {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px;
  border-left: 1px solid var(--dark-line);
}

.agent-head {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 32px;
  font-size: 0.82rem;
}

.message,
.tool-call {
  padding: 10px;
  border-radius: 12px;
  font-size: 0.76rem;
  line-height: 1.45;
}

.message.user {
  margin-left: 24px;
  color: #06111f;
  background: #b8dcff;
}

.message.assistant {
  color: rgba(255, 255, 255, 0.68);
  background: #1a202a;
}

.tool-call {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  border: 1px solid rgba(245, 158, 11, 0.42);
  color: #fbbf24;
  background: rgba(245, 158, 11, 0.1);
}

.tool-call span {
  font-family: "SF Mono", ui-monospace, monospace;
  font-size: 0.7rem;
}

.tool-call small {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.64rem;
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.proof-strip div {
  min-width: 0;
  padding: 20px;
  border-radius: var(--radius-lg);
}

.proof-strip strong,
.proof-strip span {
  display: block;
}

.proof-strip strong {
  margin-bottom: 5px;
  color: var(--text-primary);
  font-size: 0.98rem;
}

.proof-strip span {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.55;
}

.content-section,
.split-section,
.download-band {
  padding: 96px 0 0;
  scroll-margin-top: calc(var(--nav-height) + 40px);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 30px;
}

.section-heading.compact {
  margin-bottom: 0;
}

.section-heading h2,
.download-band h2 {
  margin: 0;
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: clamp(2rem, 4vw, 3.1rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: 0;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-heading span,
.section-heading > span {
  display: block;
  margin-top: 16px;
  color: var(--text-secondary);
  font-size: 1.04rem;
  line-height: 1.7;
}

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

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

.release-card,
.release-note-callout {
  min-width: 0;
  padding: 24px;
  border-radius: var(--radius-lg);
}

.release-card h3,
.release-note-callout h3 {
  margin: 0 0 14px;
  font-size: 1.06rem;
  line-height: 1.25;
}

.release-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding-left: 20px;
  color: var(--text-secondary);
}

.release-list li {
  line-height: 1.65;
}

.release-note-callout {
  margin-top: 16px;
}

.release-list.compact {
  gap: 10px;
}

.feature-card {
  min-width: 0;
  padding: 24px;
  border-radius: var(--radius-lg);
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), border-color var(--transition);
  overflow: hidden;
}

.feature-card:hover {
  transform: translateY(-5px);
  background: var(--glass-bg-hover);
  border-color: rgba(37, 99, 235, 0.16);
  box-shadow: 0 28px 86px rgba(41, 73, 142, 0.18), 0 0 0 1px rgba(255, 255, 255, 0.52), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 32px;
  margin-bottom: 22px;
  border-radius: var(--radius-pill);
  color: #fff;
  background: var(--accent-gradient);
  font-size: 0.76rem;
  font-weight: 900;
}

.feature-card h3,
.install-list h3 {
  margin: 0 0 10px;
  font-size: 1.06rem;
  line-height: 1.25;
}

.feature-card p,
.security-grid p,
.faq-grid p,
.install-list p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.65;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(360px, 1fr);
  gap: 36px;
  align-items: center;
}

.terminal-panel {
  min-width: 0;
  padding: 22px;
  border: 1px solid var(--dark-line);
  border-radius: var(--radius-lg);
  background: #0a0d12;
  box-shadow: 0 28px 80px rgba(30, 41, 59, 0.2);
}

.terminal-row {
  overflow: hidden;
  color: #d6d6d6;
  font-family: "SF Mono", ui-monospace, Menlo, Monaco, Consolas, monospace;
  font-size: 0.84rem;
  line-height: 1.95;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.terminal-row.muted { color: rgba(255, 255, 255, 0.42); }
.terminal-row.success { color: #86efac; }

.install-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.install-list li {
  min-width: 0;
  padding: 24px;
  border-radius: var(--radius-lg);
}

.install-list li > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin-bottom: 18px;
  border-radius: 50%;
  color: #fff;
  background: var(--accent-gradient);
  font-weight: 900;
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.2);
}

.model-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-lg);
}

.model-table {
  position: relative;
  z-index: 1;
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
}

.model-table th,
.model-table td {
  padding: 16px 18px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.07);
  text-align: left;
  vertical-align: middle;
  font-size: 0.92rem;
}

.model-table th {
  color: var(--text-tertiary);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.model-table td {
  color: var(--text-primary);
}

.model-table tr:last-child td {
  border-bottom: 0;
}

.model-table code {
  color: var(--accent-blue);
  font-size: 0.8rem;
}

.security-section {
  align-items: start;
}

.security-grid {
  display: grid;
  gap: 14px;
}

.security-grid article {
  padding: 20px;
  border-radius: var(--radius-lg);
}

.security-grid strong {
  display: block;
  margin-bottom: 8px;
  color: var(--text-primary);
}

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

.faq-grid details {
  padding: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.faq-grid summary {
  position: relative;
  z-index: 1;
  cursor: pointer;
  padding: 18px 20px;
  color: var(--text-primary);
  font-weight: 800;
}

.faq-grid p {
  position: relative;
  z-index: 1;
  padding: 0 20px 20px;
}

.faq-grid a {
  color: var(--accent-blue);
  font-weight: 800;
}

.screenshot-frame {
  overflow: hidden;
  margin: 0;
  padding: 22px;
  border-radius: var(--radius-lg);
}

.screenshot-frame img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 18px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 26px 70px rgba(30, 41, 59, 0.14);
}

.screenshot-frame figcaption {
  margin-top: 14px;
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.6;
}

.download-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 96px;
  padding: 34px;
  border-radius: var(--radius-lg);
}

.download-band p {
  margin-bottom: 8px;
}

.download-band h2 {
  font-size: clamp(1.8rem, 3vw, 2.55rem);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 34px 0 40px;
  color: var(--text-tertiary);
  font-size: 0.86rem;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--text-secondary);
  font-weight: 800;
}

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

.footer-links a:first-child {
  color: var(--accent-blue);
}

.scroll-float {
  opacity: 0;
  transform: translateY(38px) scale(0.985);
  transition:
    opacity var(--spring),
    transform var(--spring),
    box-shadow var(--transition),
    background var(--transition),
    border-color var(--transition);
  transition-delay: var(--float-delay, 0ms);
  will-change: transform, opacity;
}

.scroll-float.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

@media (max-width: 1080px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .top-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 10px;
  }

  .header-actions {
    justify-self: end;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 64px;
  }

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

  .feature-grid,
  .release-notes-grid,
  .install-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  :root {
    --nav-height: 62px;
  }

  .section-shell {
    width: min(100% - 32px, var(--max));
  }

  .site-header {
    top: 8px;
    width: min(calc(100% - 20px), 1080px);
    margin-top: 8px;
    padding: 0 10px 0 16px;
    gap: 10px;
    border-radius: 31px;
  }

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

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

  .small-download {
    display: none;
  }

  .top-nav a {
    min-height: 34px;
    padding: 0 12px;
  }

  .hero {
    display: flex;
    flex-direction: column;
    gap: 28px;
    padding: 56px 0 36px;
  }

  .hero-copy {
    display: contents;
  }

  .eyebrow { order: 1; }
  h1 { order: 2; }
  .hero-lead { order: 3; }
  .hero-actions { order: 4; }
  .product-preview {
    order: 5;
    width: 100%;
  }
  .release-meta {
    order: 6;
    width: 100%;
  }
  .checksum {
    order: 7;
    width: 100%;
  }

  h1 {
    font-size: clamp(2.38rem, 11vw, 3.5rem);
  }

  .hero-lead,
  .section-heading span {
    font-size: 0.98rem;
  }

  .release-meta,
  .proof-strip,
  .feature-grid,
  .release-notes-grid,
  .install-list,
  .faq-grid,
  .split-section {
    grid-template-columns: 1fr;
  }

  .checksum {
    grid-template-columns: 1fr auto;
  }

  .checksum span {
    grid-column: 1 / -1;
  }

  .app-preview {
    grid-template-columns: 116px minmax(0, 1fr);
    min-height: 390px;
  }

  .preview-agent {
    grid-column: 1 / -1;
    border-top: 1px solid var(--dark-line);
    border-left: 0;
  }

  .preview-editor pre {
    font-size: 0.76rem;
  }

  .content-section,
  .split-section,
  .download-band {
    padding-top: 72px;
  }

  .section-heading.compact {
    margin-bottom: 24px;
  }

  .download-band {
    align-items: stretch;
    flex-direction: column;
    margin-top: 72px;
  }

  .download-band-actions {
    flex-direction: column;
  }

  .download-band-actions .primary-cta,
  .download-band-actions .win-cta {
    width: 100%;
  }
}

@media (max-width: 540px) {
  .section-shell {
    width: min(100% - 28px, var(--max));
  }

  .site-header {
    width: min(calc(100% - 20px), 390px);
    margin-left: 10px;
    margin-right: auto;
  }

  .top-nav {
    gap: 0;
    justify-content: space-between;
    overflow-x: visible;
    width: 100%;
  }

  .top-nav a {
    min-height: 32px;
    padding-inline: 5px;
    font-size: 0.74rem;
  }

  .header-actions {
    gap: 6px;
  }

  .platform-button {
    padding: 0 9px;
    font-size: 0.72rem;
  }

  .lang-button {
    min-width: 30px;
  }

  .hero-actions,
  .primary-cta,
  .secondary-cta,
  .win-cta {
    width: 100%;
  }

  .primary-cta,
  .secondary-cta,
  .win-cta {
    min-height: 50px;
  }

  .primary-cta,
  .win-cta {
    justify-content: space-between;
  }

  .app-preview {
    grid-template-columns: 1fr;
  }

  .preview-tree {
    display: none;
  }

  .preview-editor {
    min-height: 258px;
  }

  .preview-agent {
    padding: 12px;
  }

  .terminal-row {
    white-space: normal;
    overflow-wrap: anywhere;
  }

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

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

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