:root {
  --bg: #0f1115;
  --bg-alt: #171a21;
  --surface: #20242d;
  --surface-soft: #282d38;
  --surface-light: #f4f5f7;
  --text: #f3f4f6;
  --text-strong: #ffffff;
  --muted: #aeb4c0;
  --muted-2: #727986;
  --line: rgba(255, 255, 255, 0.12);
  --line-strong: rgba(255, 255, 255, 0.2);
  --brand: #007AFF; /* Changed to Contact Manager Blue */
  --brand-2: #5AC8FA;
  --brand-3: #64D2FF;
  --success: #7ee2aa;
  --warning: #ffd166;
  --shadow: 0 18px 52px rgba(0, 0, 0, 0.28);
  --radius: 10px;
  --radius-lg: 14px;
  --container: 1180px;
  --header-h: 72px;
}

html[data-theme="light"] {
  --bg: #f6f7f9;
  --bg-alt: #ffffff;
  --surface: #ffffff;
  --surface-soft: #eef1f5;
  --text: #1f2430;
  --text-strong: #0c111b;
  --muted: #5f6673;
  --muted-2: #7b8492;
  --line: rgba(18, 24, 36, 0.12);
  --line-strong: rgba(18, 24, 36, 0.18);
  --shadow: 0 18px 46px rgba(20, 30, 52, 0.12);
}

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

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
      radial-gradient(circle at 12% 4%, rgba(0, 122, 255, 0.16), transparent 28rem),
      radial-gradient(circle at 86% 8%, rgba(90, 200, 250, 0.12), transparent 26rem),
      linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent 26rem);
}

img {
  display: block;
  max-width: 100%;
  object-fit: cover;
  background: var(--surface-soft);
}

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

button,
select {
  font: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  min-height: var(--header-h);
  border-bottom: 1px solid var(--line);
  background: rgba(15, 17, 21, 0.82);
  backdrop-filter: blur(18px);
}

html[data-theme="light"] .site-header {
  background: rgba(246, 247, 249, 0.86);
}

.nav {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text-strong);
  font-size: 1.05rem;
  font-weight: 750;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.brand-logo {
  width: 50px;
  border-radius: 7px;
  object-fit: contain;
  background: transparent;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--muted);
  font-size: 0.92rem;
}

.nav-links a {
  transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--text-strong);
}

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

.language-select,
.icon-button,
.button {
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
}

html[data-theme="light"] .language-select,
html[data-theme="light"] .icon-button,
html[data-theme="light"] .button {
  background: rgba(255, 255, 255, 0.82);
}

.language-select {
  padding: 0 34px 0 12px;
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 16px) 17px, calc(100% - 11px) 17px;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}

.language-select {
  background-color: var(--surface);
  color: var(--text);
  color-scheme: dark;
}

.language-select option {
  background-color: #20242d;
  color: #f3f4f6;
}

html[data-theme="light"] .language-select {
  background-color: rgba(255, 255, 255, 0.82);
  color: var(--text);
  color-scheme: light;
}

html[data-theme="light"] .language-select option {
  background-color: #ffffff;
  color: #1f2430;
}

.icon-button {
  width: 40px;
  display: grid;
  place-items: center;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.icon-button:hover,
.button:hover {
  transform: translateY(-1px);
  border-color: var(--line-strong);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 16px;
  font-weight: 700;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.button-primary {
  border-color: transparent;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff;
  box-shadow: 0 12px 28px rgba(0, 122, 255, 0.28);
}

html[data-theme="light"] .button.button-primary {
  border-color: transparent;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff;
  box-shadow: 0 12px 28px rgba(0, 122, 255, 0.28);
}

html[data-theme="light"] .button.button-primary:hover {
  border-color: transparent;
  background: linear-gradient(135deg, #007AFF, #5AC8FA);
  color: #fff;
}

.button-ghost {
  background: transparent;
}

.menu-toggle {
  display: none;
}

.mobile-menu {
  display: none;
}

.hero {
  padding: 78px 0 92px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 34px;
  align-items: stretch;
}

.hero-title-wrap {
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
}

.hero-title-wrap .eyebrow {
  justify-content: center;
}

.hero-title-wrap h1 {
  max-width: 980px;
  margin: 0 auto;
}

.hero-full-preview {
  width: 100%;
  max-width: 1180px;
  margin: 8px auto 0;
}

.hero-full-preview img {
  width: 100%;
  height: auto;
  max-height: 720px;
  object-fit: contain;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--surface-soft);
}

.hero-bottom-copy {
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
}

.hero-bottom-copy .hero-copy {
  max-width: 880px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 1.08rem;
}

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

.hero-bottom-copy .hero-points {
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  color: #c9d7ff;
  font-size: 0.78rem;
  font-weight: 760;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

html[data-theme="light"] .eyebrow {
  color: #007AFF;
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand-3);
  box-shadow: 0 0 0 5px rgba(39, 199, 255, 0.13);
}

h1,
h2,
h3 {
  color: var(--text-strong);
  letter-spacing: -0.04em;
}

h1 {
  max-width: 680px;
  font-size: clamp(2.75rem, 5.2vw, 5.25rem);
  line-height: 0.98;
}

.hero-copy {
  max-width: 620px;
  margin-top: 22px;
  color: var(--muted);
  font-size: 1.08rem;
}

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

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

.mini-point {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
}

.mini-point strong {
  display: block;
  margin-bottom: 3px;
  color: var(--text-strong);
  font-size: 0.9rem;
}

.mini-point span {
  color: var(--muted);
  font-size: 0.82rem;
}

.app-preview {
  position: relative;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.section {
  padding: 84px 0;
  border-top: 1px solid var(--line);
}

.section.light {
  background: var(--bg-alt);
}

.section-head {
  max-width: 720px;
  margin-bottom: 38px;
}

.kicker {
  margin-bottom: 10px;
  color: var(--brand-3);
  font-size: 0.76rem;
  font-weight: 820;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

h2 {
  font-size: clamp(1rem, 3vw, 2.25rem);
  line-height: 1.05;
}

.section-head p {
  margin-top: 14px;
  color: var(--muted);
  font-size: 1rem;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 0.96fr);
  gap: 50px;
  align-items: center;
}

.split.reverse .split-copy {
  order: 2;
}

.split-copy h2 {
  margin-bottom: 16px;
}

.split-copy p {
  color: var(--muted);
}

.media-card {
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
}

/* Fix sizing for right-click and compare images so they are fully visible */
.media-card img {
  width: 100%;
  max-width: 540px; /* Keeps it contained but allows it to be smaller if the user wants */
  height: auto;     /* Automatically scales the height to match the width, preserving the whole screenshot */
  object-fit: contain; /* Ensures the entire image is visible WITHOUT cropping */
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--surface-soft);
}

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

/* .feature-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  min-height: 230px;
  transition: transform 0.2s ease, border-color 0.2s ease;
} */

.feature-card {
  min-height: 230px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
}

.feature-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  font-weight: 800;
}

.feature-card h3 {
  margin-bottom: 10px;
  font-size: 1.18rem;
  letter-spacing: -0.025em;
}

.feature-card p {
  color: var(--muted);
  font-size: 0.93rem;
}

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

.list-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.035);
  color: var(--muted);
  font-size: 0.9rem;
}

.check {
  width: 18px;
  height: 18px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 50%;
  background: rgba(126, 226, 170, 0.13);
  color: var(--success);
  font-size: 0.72rem;
  font-weight: 900;
}

.responsive-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin-top: 30px;
}

.size-card {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  text-align: center;
}

.device-shape {
  width: 100%;
  height: 74px;
  display: grid;
  place-items: center;
  margin-bottom: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-soft);
  color: var(--muted);
  font-weight: 800;
}

.size-card strong {
  display: block;
  color: var(--text-strong);
}

.size-card span {
  color: var(--muted);
  font-size: 0.82rem;
}

.workflow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  counter-reset: step;
}

.workflow-card {
  position: relative;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
}

.workflow-card::before {
  counter-increment: step;
  content: "0" counter(step);
  display: inline-flex;
  margin-bottom: 26px;
  color: var(--brand-3);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.08em;
}

.workflow-card h3 {
  margin-bottom: 8px;
  font-size: 1.05rem;
}

.workflow-card p {
  color: var(--muted);
  font-size: 0.9rem;
}

.tools-layout {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 18px;
  align-items: stretch;
}

.tool-list {
  display: grid;
  grid-template-rows: repeat(6, minmax(0, 1fr));
  gap: 8px;
  height: 100%;
  align-self: stretch;
}

.tool-tab {
  min-height: 52px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--muted);
  cursor: pointer;
  text-align: left;
  font-size: 0.9rem;
}

.tool-tab.is-active {
  color: #fff;
  border-color: rgba(0, 122, 255, 0.42);
  background: linear-gradient(135deg, rgba(0, 122, 255, 0.86), rgba(90, 200, 250, 0.72));
}

.tool-panel {
  display: none;
  min-height: 410px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  overflow: hidden;
}

.tool-panel.is-active {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
}

.tool-panel h3 {
  margin-bottom: 12px;
  font-size: 1.75rem;
}

.tool-panel p {
  color: var(--muted);
}

.tool-panel>img {
  width: var(--panel-image-width, 420px);
  height: var(--panel-image-height, 300px);
  max-width: 100%;
  object-fit: contain;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--surface-soft);
}

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.tag-cloud span {
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.035);
  font-size: 0.8rem;
}

.export-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.85fr);
  gap: 38px;
  align-items: center;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.code-box {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #090b10;
  color: #d7e1ff;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 0.82rem;
  overflow: hidden;
}

html[data-theme="light"] .code-box {
  background: #151923;
}

.code-line {
  display: block;
  color: #8691a8;
}

.code-line strong {
  color: #8fb3ff;
  font-weight: 500;
}

.language-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  margin-top: 28px;
}

.language-card {
  padding: 13px 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--muted);
  text-align: center;
  font-size: 0.86rem;
  font-weight: 650;
}

.cta {
  padding: 74px 0;
  border-top: 1px solid var(--line);
  background:
      radial-gradient(circle at 16% 10%, rgba(0, 122, 255, 0.18), transparent 24rem),
      radial-gradient(circle at 82% 0%, rgba(90, 200, 250, 0.16), transparent 24rem),
      var(--bg-alt);
}

.cta-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: 34px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.055);
}

html[data-theme="light"] .cta-card {
  background: rgba(255, 255, 255, 0.72);
}

.cta-card p {
  max-width: 680px;
  margin-top: 10px;
  color: var(--muted);
}

.footer {
  padding: 34px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  background: var(--bg);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 20px;
}

.footer-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 0.9rem;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.scroll-top-button {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 120;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(32, 36, 45, 0.82);
  color: var(--text-strong);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
  font-size: 1.1rem;
  font-weight: 800;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(14px) scale(0.96);
  transition: opacity 0.24s ease, visibility 0.24s ease, transform 0.24s ease, border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.scroll-top-button.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.scroll-top-button:hover,
.scroll-top-button:focus-visible {
  border-color: rgba(0, 122, 255, 0.55);
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff;
  outline: none;
  transform: translateY(-2px) scale(1);
}

html[data-theme="light"] .scroll-top-button {
  background: rgba(255, 255, 255, 0.88);
  color: var(--text-strong);
  border-color: var(--line);
  box-shadow: 0 16px 34px rgba(20, 30, 52, 0.16);
}

html[data-theme="light"] .scroll-top-button:hover,
html[data-theme="light"] .scroll-top-button:focus-visible {
  border-color: transparent;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff;
}

html[dir="rtl"] .scroll-top-button {
  right: auto;
  left: 24px;
}

.scroll-top-icon {
  display: block;
  width: 22px;
  height: 22px;
  transition: transform 0.2s ease;
}

.scroll-top-button:hover .scroll-top-icon,
.scroll-top-button:focus-visible .scroll-top-icon {
  transform: translateY(-1px);
}

@media (max-width: 640px) {
  .scroll-top-button {
      right: 18px;
      bottom: 18px;
      width: 42px;
      height: 42px;
  }
  html[dir="rtl"] .scroll-top-button {
      right: auto;
      left: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .scroll-top-button {
      transition: none;
  }
}

@media (max-width: 1060px) {
  .split,
  .export-card,
  .cta-card {
      grid-template-columns: 1fr;
  }
  .split.reverse .split-copy {
      order: initial;
  }
  .feature-grid,
  .workflow {
      grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .responsive-strip,
  .language-grid {
      grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .nav-links,
  .language-select,
  .theme-toggle,
  .nav-actions .button-ghost {
      display: none;
  }
  .tool-list {
      grid-template-rows: none;
      height: auto;
  }
  .tool-tab {
      min-height: 46px;
      height: auto;
  }
  .menu-toggle {
      display: grid;
  }
  .mobile-menu {
      position: fixed;
      inset: var(--header-h) 18px auto;
      z-index: 99;
      display: none;
      padding: 14px;
      border: 1px solid var(--line);
      border-radius: var(--radius-lg);
      background: var(--surface);
      box-shadow: var(--shadow);
  }
  .mobile-menu.is-open {
      display: grid;
      gap: 8px;
  }
  .mobile-menu a,
  .mobile-menu button {
      min-height: 42px;
      display: flex;
      align-items: center;
      padding: 0 12px;
      border: 0;
      border-radius: 8px;
      color: var(--muted);
      background: transparent;
      cursor: pointer;
      text-align: left;
  }
  .mobile-menu a:hover,
  .mobile-menu button:hover {
      color: var(--text-strong);
      background: var(--surface-soft);
  }
  .hero {
      padding-top: 56px;
  }
  .tools-layout,
  .tool-panel.is-active {
      grid-template-columns: 1fr;
  }
  .tool-panel img {
      width: 100%;
      height: auto;
      aspect-ratio: 16 / 10;
  }
}

@media (max-width: 640px) {
  .container {
      width: min(100% - 28px, var(--container));
  }
  h1 {
      font-size: clamp(2.35rem, 12vw, 3.7rem);
  }
  .hero-points,
  .feature-grid,
  .workflow,
  .list-grid,
  .responsive-strip,
  .language-grid {
      grid-template-columns: 1fr;
  }
  .hero-actions,
  .cta-card .button,
  .nav-actions .button-primary {
      width: 100%;
  }
  .nav-actions {
      flex: 1;
      justify-content: flex-end;
  }
  .section {
      padding: 62px 0;
  }
  .media-card img {
      width: 100%;
      height: auto;
      aspect-ratio: 3 / 2;
  }
  .export-card,
  .cta-card {
      padding: 24px;
  }
  .footer-grid {
      grid-template-columns: 1fr;
  }
  .hero {
      padding: 52px 0 66px;
  }
  .hero-title-wrap,
  .hero-bottom-copy {
      text-align: left;
  }
  html[dir="rtl"] .hero-title-wrap,
  html[dir="rtl"] .hero-bottom-copy {
      text-align: right;
  }
  .hero-title-wrap .eyebrow {
      justify-content: flex-start;
  }
  html[dir="rtl"] .hero-title-wrap .eyebrow {
      justify-content: flex-end;
  }
  .hero-bottom-copy .hero-actions {
      justify-content: flex-start;
  }
  html[dir="rtl"] .hero-bottom-copy .hero-actions {
      justify-content: flex-end;
  }
  .hero-full-preview {
      margin-top: 0;
  }
  .hero-full-preview img {
      border-radius: 8px;
  }
}

.arthouse-mobile-field {
display: grid;
gap: 0.45rem;
width: 100%;
padding: 6px 0;
}

.arthouse-mobile-field span {
color: var(--muted);
font-size: 0.78rem;
font-weight: 800;
letter-spacing: 0.08em;
text-transform: uppercase;
}

.arthouse-mobile-product-select {
width: 100%;
min-height: 42px;
}

.store-note {
margin: 12px 0 0;
color: var(--muted);
font-size: 0.92rem;
line-height: 1.55;
}

@media (max-width: 640px) {
.store-note {
  text-align: left;
}
html[dir="rtl"] .store-note {
  text-align: right;
}
}

/* Remove background frame from hero image completely */
.app-preview.hero-full-preview,
.hero-full-preview {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    box-shadow: none !important;
    border-radius: 0 !important;
}

/* Remove border and background from the actual image tag inside the hero */
.hero-full-preview img {
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
}


/* =========================================================
   LAYOUT CLEANUP (Oct 2026)
   - Screenshots shown without frames
   - Consistent screenshot sizes across sections
   - Mac App Store labelling
   ========================================================= */

/* Screenshots: no card, border or background — just the image */

.media-card,
.app-preview {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
}

.media-card img,
.tool-panel > img,
.hero-full-preview img {
  border: 0 !important;
  border-radius: 12px;
  background: none !important;
  filter: drop-shadow(0 22px 38px rgba(15, 30, 60, 0.18));
}

html[data-theme="dark"] .media-card img,
html[data-theme="dark"] .tool-panel > img,
html[data-theme="dark"] .hero-full-preview img {
  filter: drop-shadow(0 22px 40px rgba(0, 0, 0, 0.45));
}

.hero-full-preview img {
  border-radius: 0;
}


/* Hero: the iMac mockup was dominating the first screen */

.hero-full-preview {
  max-width: 980px !important;
}

.hero-full-preview img {
  max-height: 640px;
}


/* Split sections: one screenshot height for the whole page */

.split {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 4.5vw, 64px);
}

.media-card {
  display: flex;
  justify-content: center;
  align-items: center;
}

.media-card img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 540px;
  aspect-ratio: auto;
  object-fit: contain;
}

/* Tall right-click screenshot: keep it compact beside the copy */
.split-tall {
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
}

.split-tall .media-card img {
  max-height: 520px;
}

/* Wide comparison screenshot: give it the larger column
   (reverse layout, so the image is in the first column) */
.split-wide {
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
}

.split-wide .media-card img {
  width: 100%;
  max-height: none;
}


/* What's new: four cards in one row */

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


/* Advanced tools: larger, consistent screenshot area */

.tool-panel {
  min-height: 0;
  padding: clamp(24px, 3vw, 36px);
}

.tool-panel.is-active {
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(24px, 3vw, 40px);
}

.tool-panel > img {
  width: 100%;
  height: 440px;
  max-width: 100%;
  object-fit: contain;
  border-radius: 12px;
}


/* Mac App Store buttons */

.hero-actions .button-primary,
.cta-card .button-primary {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  white-space: nowrap;
}

.hero-actions .button-primary i,
.cta-card .button-primary i {
  font-size: 1.15em;
}

.store-note i {
  margin-right: 4px;
  color: var(--brand, #007aff);
}


/* Responsive */

@media (max-width: 1060px) {
  .split,
  .split-tall,
  .split-wide {
    grid-template-columns: 1fr;
  }

  .media-card img,
  .split-tall .media-card img {
    max-height: 480px;
  }

  .split-wide .media-card img {
    max-height: none;
  }

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

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

  .tool-panel > img {
    height: auto;
    max-height: 420px;
    aspect-ratio: auto;
  }
}

@media (max-width: 640px) {
  .feature-grid-4 {
    grid-template-columns: 1fr;
  }

  .media-card img {
    width: auto;
    max-width: 100%;
    aspect-ratio: auto;
  }

  .split-wide .media-card img {
    width: 100%;
  }

  .hero-actions .button-primary,
  .cta-card .button-primary {
    justify-content: center;
    white-space: normal;
  }
}
