/* Unified متن‌نما: product-focused Clarity system, inspired by the owner's MohlatBan.
   Separate code, shared principles: readable RTL, paper/surface/ink and accessible blue.
   No network fonts or scripts. */
@font-face {
  font-family: "Vazirmatn";
  src: url("./assets/fonts/Vazirmatn-Variable.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}
:root {
  color-scheme: light;
  --canvas: #f4f6fa;
  --surface: #fff;
  --ink: #192e46;
  --muted: #52647b;
  --forest: #2455ac;
  --forest-dark: #183e83;
  --mint: #eaf0fc;
  --line: #d8e0eb;
  --amber: #fff6eb;
  --radius: 16px;
  font-family: "Vazirmatn", Tahoma, "Segoe UI", sans-serif;
  font-synthesis: none;
}
html {
  scroll-padding-top: 11rem;
}
body {
  background: var(--canvas);
  color: var(--ink);
  line-height: 1.9;
  font-family: "Vazirmatn", Tahoma, sans-serif;
  -webkit-font-smoothing: antialiased;
}
:focus-visible {
  outline: 3px solid #1768c4;
  outline-offset: 3px;
}
::selection {
  background: #d6e4ff;
  color: #192e46;
}
.app-shell {
  display: block;
}
.sidebar {
  display: flex !important;
  position: sticky !important;
  inset-block-start: 0;
  z-index: 30;
  flex-direction: row !important;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.8rem 2rem;
  height: auto !important;
  background: rgba(255, 255, 255, 0.97);
  border: 0;
  border-bottom: 1px solid var(--line);
  padding: 1rem max(1rem, calc((100vw - 1192px) / 2)) !important;
  box-shadow: 0 4px 16px #192e4608;
}
.sidebar-label,
.sidebar-note,
.sidebar-help,
.sidebar-bottom {
  display: none !important;
}
.brand {
  margin: 0 !important;
  gap: 0.65rem;
  min-width: 0;
}
.brand-icon {
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  background: var(--forest);
  color: #fff;
  border-radius: 14px 14px 4px 14px;
  font-size: 1.9rem;
}
.brand strong {
  font-size: 1.55rem;
  line-height: 1.25;
  color: var(--ink);
  font-weight: 850;
}
.brand small {
  color: var(--muted);
  font-size: 0.56rem;
  letter-spacing: 0.11em;
}
.nav {
  margin: 0 !important;
  flex-direction: row !important;
  gap: 0.35rem !important;
  align-items: center;
}
.nav > a {
  flex: 0 0 auto !important;
  display: inline-flex;
  justify-content: center !important;
  align-items: center;
  min-height: 44px;
  padding: 0.55rem 1rem !important;
  border-radius: 10px !important;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 650;
  border: 1px solid transparent;
  background: transparent;
  white-space: nowrap;
}
.nav > a:hover {
  color: var(--forest);
  background: var(--mint);
  text-decoration: none;
}
.nav > a[aria-current] {
  color: var(--forest);
  background: var(--mint);
  border-color: #c8d7f2;
}
.nav > a[aria-current]:hover {
  background: #dce7fa;
  color: var(--forest);
}
.page-shell {
  width: 100%;
  max-width: none;
}
.topbar {
  width: min(1192px, 100%);
  margin: auto;
  min-height: 3.5rem;
  padding: 0.6rem 1.5rem;
  border: 0;
  gap: 1rem;
}
.breadcrumb {
  font-size: 0.83rem;
  color: var(--muted);
}
.breadcrumb strong {
  font-weight: 750;
  color: var(--ink);
}
.privacy-indicator {
  color: #176650;
  font-size: 0.8rem;
  font-weight: 650;
}
.status-dot {
  background: #176650;
  width: 0.5rem;
  height: 0.5rem;
}
main {
  width: min(1192px, 100%);
  max-width: none;
  min-height: 70vh;
  margin: 0 auto;
  padding: 1.15rem 1.5rem 2.5rem;
}
.hero {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 9px 25px #192e4606;
  padding: 1.65rem 2rem;
  margin: 0 0 1.35rem;
  gap: 1.5rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(14rem, 18rem);
  align-items: center;
}
.eyebrow,
.section-kicker,
.tool-heading > span {
  color: var(--forest);
  font-weight: 700;
  letter-spacing: 0;
}
.tiny-mark {
  font-size: 1rem;
}
.hero h1 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 850;
  line-height: 1.55;
  letter-spacing: -0.045em;
  margin: 0.15rem 0 0.75rem;
}
.hero h1 span {
  color: var(--forest);
}
.hero p {
  font-size: 0.94rem;
  line-height: 2.15;
  max-width: 48rem;
  color: var(--muted);
  margin: 0;
}
.hero-shortcut {
  background: #f1f6ff;
  border: 1px solid #c8d8f3;
  border-radius: 12px;
  grid-template-columns: 2.4rem 1fr;
  gap: 0.1rem 0.75rem;
  align-items: center;
  padding: 1rem 1.15rem;
  min-height: 6.1rem;
  max-width: none !important;
  color: var(--forest);
  transition:
    box-shadow 0.16s,
    border-color 0.16s;
}
.hero-shortcut:hover {
  background: var(--mint);
  border-color: #8db1e9;
  box-shadow: 0 4px 12px #192e4608;
  text-decoration: none;
}
.hero-shortcut .shortcut-icon {
  font-size: 1.6rem;
  background: #dae8fd;
  border-radius: 10px;
  display: grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  color: var(--forest);
}
.hero-shortcut strong {
  font-size: 0.92rem;
}
.hero-shortcut > span:last-child {
  color: var(--muted);
  font-size: 0.78rem;
}
.workspace-selector {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.6rem;
  overflow: visible;
  scroll-margin-top: 6rem;
  background: transparent;
  margin: 0 0 1rem;
  padding: 0.15rem 0.1rem 0.35rem;
}
.workspace-selector > a {
  display: grid;
  grid-template-columns: 1fr;
  place-items: center;
  min-width: 0;
  min-height: 102px;
  flex: initial;
  gap: 0.15rem;
  padding: 0.7rem 0.35rem;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 3px 11px #192e4605;
  text-align: center;
  font-size: 0.86rem;
  font-weight: 750;
  line-height: 1.6;
  transition:
    background 0.16s,
    border-color 0.16s,
    transform 0.16s;
}
.workspace-selector > a > span {
  margin: 0;
  grid-row: auto;
  width: 2.25rem;
  height: 2.25rem;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: var(--mint);
  color: var(--forest);
  font-size: 1.15rem;
  font-weight: 800;
}
.workspace-selector small {
  display: block;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 400;
  line-height: 1.55;
}
.workspace-selector > a:hover,
.workspace-selector > a[aria-current] {
  background: var(--forest);
  border-color: var(--forest);
  color: white;
  transform: translateY(-1px);
}
.workspace-selector > a:hover > span,
.workspace-selector > a[aria-current] > span {
  color: white;
  background: #ffffff2a;
}
.workspace-selector > a:hover small,
.workspace-selector > a[aria-current] small {
  color: #eff5ff;
}
.tool-guidance {
  display: flex;
  align-items: center;
  min-height: 2.75rem;
  gap: 0.7rem;
  background: #eaf5f0;
  color: #245d49;
  border: 1px solid #cce4d7;
  border-radius: 11px;
  padding: 0.65rem 1rem;
  margin: 0 0 1.8rem;
  font-size: 0.82rem;
  line-height: 1.85;
}
.tool-guidance .status-dot {
  margin: 0;
}
.tool-guidance p {
  margin: 0;
}
.workspace,
.tool-section {
  scroll-margin-top: 11rem;
  margin: 0 0 2rem;
  outline: none;
}
.section-head,
.tool-heading {
  margin-bottom: 1rem;
}
.section-head h2,
.tool-heading h2 {
  font-size: clamp(1.3rem, 1.8vw, 1.65rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--ink);
}
.section-note,
.tool-heading p,
.tool-heading > span {
  font-size: 0.82rem;
}
.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 4px 16px #192e4605;
}
.panel-header {
  border-color: #e5eaf2;
}
.analysis-grid,
.tool-panel .two-inputs {
  gap: 1.2rem;
}
.input-panel > textarea,
textarea,
.tool-panel input,
.tool-panel select {
  color: var(--ink);
  background: #fbfcff;
  border-color: #cbd6e5;
  border-radius: 10px;
  font-size: 1rem;
  line-height: 2.05;
}
.input-panel > textarea {
  background: white;
}
textarea:focus,
.tool-panel input:focus,
.tool-panel select:focus {
  border-color: var(--forest);
  outline-color: #1768c4;
}
textarea::placeholder,
input::placeholder {
  color: #667991;
}
.btn {
  min-height: 48px;
  min-width: 44px;
  border-radius: 10px;
  font-weight: 650;
}
.btn-primary {
  background: var(--forest);
  color: #fff;
}
.btn-primary:hover:not(:disabled) {
  background: var(--forest-dark);
}
.btn-outline {
  background: var(--mint);
  color: var(--forest);
  border-color: #c7d8f4;
}
.btn-outline:hover {
  background: #dce8fd;
}
.btn-ghost {
  color: var(--muted);
}
.btn-ghost:hover:not(:disabled) {
  background: #f0f3f9;
  color: var(--ink);
}
.tool-panel {
  padding: 1.5rem;
}
.tool-aside {
  background: #f2f6fd;
  border: 1px solid #e0e8f5;
  border-radius: 12px;
}
.tool-panel .file-picker {
  border: 1px dashed #a8bfdf;
  background: #f0f5ff;
  border-radius: 12px;
  min-height: 70px;
}
.file-picker:hover {
  background: #e6efff;
}
.file-picker:has(+ input:focus-visible) {
  outline: 3px solid #1768c4;
}
#corpus-import-status {
  color: var(--forest);
  font-weight: 600;
}
.tool-result {
  background: transparent;
  border-color: var(--line);
}
.result-item {
  background: #f8faff;
  border-color: #e1e9f4;
  border-radius: 10px;
}
.result-item strong {
  color: var(--ink);
}
.result-item span {
  color: var(--muted);
}
.small-metrics .result-item strong {
  color: var(--forest);
}
.accuracy-notice,
.about {
  border-color: var(--line);
}
.safety-note {
  background: #fff4ed;
  border: 1px solid #f1d2bc;
  color: #793b22;
  border-radius: 10px;
  padding: 1rem 1.25rem;
}
.about {
  margin-top: 1.5rem;
}
.footer {
  width: min(1192px, 100%);
  margin: 0 auto !important;
  padding: 1.1rem 1.5rem;
  border-color: var(--line);
}
.frequency-rail {
  background: #eaf0fa;
}
.frequency-rail span,
.frequency-rail .frequency-fill {
  background: var(--forest);
}
.script-notice {
  background: #fff2eb;
  color: #8c321f;
  border-color: #e5bca7;
}
@media (max-width: 1100px) {
  .workspace-selector {
    display: flex;
    overflow-x: auto;
    scrollbar-width: thin;
    scrollbar-color: #aabbd4 transparent;
    gap: 0.55rem;
    padding-bottom: 0.75rem;
  }
  .workspace-selector > a {
    flex: 0 0 9.4rem;
    min-height: 92px;
  }
}
@media (max-width: 850px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
    padding: 1.4rem;
  }
  .hero-shortcut {
    max-width: none;
  }
  .sidebar {
    gap: 0.6rem;
  }
  .nav {
    width: 100%;
    justify-content: space-between;
  }
  .nav > a {
    padding: 0.5rem 0.65rem !important;
    font-size: 0.8rem;
  }
}
@media (max-width: 600px) {
  .sidebar {
    padding: 0.7rem 1rem !important;
    gap: 0.45rem;
  }
  .brand-icon {
    height: 40px;
    width: 40px;
    flex-basis: 40px;
  }
  .brand strong {
    font-size: 1.35rem;
  }
  .brand small {
    font-size: 0.48rem;
  }
  .nav {
    overflow-x: auto;
    justify-content: flex-start;
    gap: 0.3rem;
  }
  .nav > a {
    font-size: 0.76rem;
    min-height: 44px;
    flex: 0 0 auto !important;
    white-space: nowrap;
  }
  .topbar {
    padding: 0.45rem 1rem;
    min-height: 3rem;
  }
  .privacy-indicator {
    font-size: 0.72rem;
  }
  main {
    padding: 0.65rem 1rem 1.7rem;
  }
  .hero {
    padding: 1.1rem;
    margin-bottom: 1rem;
    gap: 0.75rem;
  }
  .hero h1 {
    font-size: 1.72rem;
  }
  .hero p {
    font-size: 0.86rem;
  }
  .hero-shortcut {
    min-height: 4.6rem;
    padding: 0.8rem;
  }
  .workspace-selector > a {
    flex-basis: 8.2rem;
    min-height: 88px;
  }
  .workspace-selector small {
    font-size: 0.68rem;
  }
  .tool-guidance {
    font-size: 0.76rem;
  }
  .tool-panel {
    padding: 1rem;
  }
  .footer {
    padding-inline: 1rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  .workspace-selector > a:hover {
    transform: none;
  }
}
@media print {
  .sidebar,
  .topbar,
  .workspace-selector,
  .tool-guidance,
  .hero-shortcut {
    display: none !important;
  }
  .app-shell {
    display: block;
  }
  main {
    width: 100%;
    padding: 0;
  }
}
/* Public product presentation. Same workspaces, original TextNema identity. */
:root {
  --canvas: #f5f8f7;
  --ink: #193d3b;
  --muted: #516b69;
  --forest: #215b58;
  --forest-dark: #164744;
  --mint: #eaf4f0;
  --line: #d7e4df;
  --amber: #fcf6e9;
}
.icon {
  width: 1.3rem;
  height: 1.3rem;
  flex: 0 0 auto;
  display: inline-block;
  vertical-align: middle;
}
.brand-mark {
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  display: block;
}
.brand strong {
  color: var(--ink);
}
.sidebar {
  background: #fffffffa;
}
.nav {
  flex-wrap: wrap;
}
.nav > a {
  gap: 0.45rem;
}
.nav > a[aria-current] {
  background: var(--mint);
  border-color: #bcd4ca;
  color: var(--forest);
}
.nav > a:hover,
.nav > a[aria-current]:hover {
  background: #e2efea;
  color: var(--forest);
}
.product-hero {
  position: relative;
  overflow: hidden;
  padding: 2rem;
  grid-template-columns: minmax(0, 1.55fr) minmax(12rem, 0.85fr);
  background: #fff;
  border-radius: 1.4rem;
  margin-bottom: 2rem;
}
.product-hero .eyebrow {
  font-size: 0.875rem;
  letter-spacing: 0;
  margin: 0 0 0.65rem;
}
.product-hero h1 {
  font-size: clamp(1.9rem, 3.4vw, 3.1rem);
  line-height: 1.65;
  font-weight: 850;
  letter-spacing: -0.04em;
}
.product-hero h1 span {
  color: var(--forest);
}
.product-hero .hero-description {
  max-width: 39rem;
  font-size: 1rem;
  line-height: 2.1;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.4rem;
}
.hero-actions .btn {
  padding: 0.75rem 1.2rem;
  font-size: 0.9rem;
}
.product-hero .hero-trust {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--muted);
  font-size: 0.8rem;
  margin: 1.1rem 0 0;
}
.brand-scene {
  position: relative;
  display: grid;
  min-height: 18rem;
  align-content: center;
  justify-items: center;
  gap: 1.2rem;
  border-radius: 1.1rem;
  background: #f0f6f3;
  border: 1px solid #dce9e2;
  overflow: hidden;
}
.scene-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(#215b5808 1px, transparent 1px),
    linear-gradient(90deg, #215b5808 1px, transparent 1px);
  background-size: 24px 24px;
}
.brand-emblem {
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 0.4rem;
}
.brand-emblem img {
  width: 76px;
  height: 76px;
  box-shadow: 0 10px 24px #215b5818;
  border-radius: 23px;
  margin-bottom: 0.55rem;
}
.brand-emblem strong {
  font-size: 1.8rem;
  color: var(--forest);
}
.brand-emblem > span {
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  color: var(--muted);
}
.scene-note {
  z-index: 1;
  font-size: 0.8rem;
  color: var(--muted);
}
.workspace-heading {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 0.85rem;
}
.workspace-heading h2 {
  font-size: 1.2rem;
}
.workspace-heading > span {
  font-size: 0.82rem;
  color: var(--muted);
}
.workspace-selector {
  scroll-margin-top: 8.5rem;
}
.workspace-selector > a > span {
  color: var(--forest);
  background: var(--mint);
}
.workspace-selector > a:hover,
.workspace-selector > a[aria-current] {
  background: var(--forest);
  border-color: var(--forest);
}
.workspace-selector > a small {
  font-size: 0.75rem;
}
.workspace-selector > a[aria-current] small,
.workspace-selector > a:hover small {
  color: #f1f8f5;
}
.btn-outline {
  background: var(--mint);
  border-color: #bfd6cb;
  color: var(--forest);
}
.btn-outline:hover {
  background: #deeee6;
}
.btn-ghost:hover:not(:disabled) {
  background: #edf4f1;
}
.input-panel > textarea,
textarea,
.tool-panel input,
.tool-panel select {
  background: #fcfefd;
  border-color: #c5d8ce;
}
textarea::placeholder,
input::placeholder {
  color: #627a73;
}
.tool-aside,
.tool-panel .file-picker {
  background: #f1f7f4;
  border-color: #c8dbd0;
}
.file-picker:hover {
  background: #e7f2ec;
}
.result-item {
  background: #f7faf8;
  border-color: #dce8e1;
}
.empty::before {
  content: none;
}
.empty {
  border: 1px dashed var(--line);
  border-radius: 0.7rem;
  margin-top: 1rem;
}
.product-section {
  padding: 3.5rem 0;
  border-top: 1px solid var(--line);
  scroll-margin-top: 8rem;
}
.section-heading {
  margin-bottom: 1.75rem;
  max-width: 47rem;
}
.section-heading .section-kicker {
  margin: 0 0 0.5rem;
  font-size: 0.85rem;
}
.section-heading h2 {
  font-size: clamp(1.45rem, 2.2vw, 2rem);
  line-height: 1.7;
  margin: 0 0 0.6rem;
}
.section-heading > p:last-child {
  font-size: 0.95rem;
  line-height: 2;
  color: var(--muted);
  margin-bottom: 0;
}
.intro-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2.5rem;
  align-items: start;
}
.intro-grid > p {
  font-size: 1rem;
  line-height: 2.2;
  margin: 0;
  color: var(--muted);
}
.audience-list {
  display: grid;
  gap: 0.65rem;
}
.audience-list span {
  display: block;
  padding: 0.8rem 1rem;
  background: white;
  border: 1px solid var(--line);
  border-radius: 0.8rem;
  font-size: 0.9rem;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.feature-card {
  display: flex;
  flex-direction: column;
  align-items: start;
  min-width: 0;
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: white;
  transition:
    border-color 0.16s,
    box-shadow 0.16s;
}
.feature-card:hover {
  border-color: #80afa0;
  box-shadow: 0 7px 22px #215b5809;
}
.feature-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin-bottom: 1.2rem;
}
.feature-icon {
  display: grid;
  place-items: center;
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 0.8rem;
  background: var(--mint);
  color: var(--forest);
}
.feature-icon .icon {
  width: 1.5rem;
  height: 1.5rem;
}
.feature-number {
  color: var(--muted);
  font-size: 0.8rem;
  font-variant-numeric: tabular-nums;
}
.feature-card h3 {
  margin: 0 0 0.3rem;
  font-size: 1.15rem;
}
.feature-card > strong {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--forest);
  margin-bottom: 0.6rem;
}
.feature-card > p {
  font-size: 0.9rem;
  line-height: 2;
  margin-bottom: 1.2rem;
  color: var(--muted);
}
.feature-action {
  color: var(--forest);
  margin-top: auto;
  font-size: 0.85rem;
  font-weight: 700;
  border-bottom: 1px solid #b6d2c4;
}
.steps-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
}
.steps-list li {
  border-inline-start: 1px solid var(--line);
  padding-inline-start: 1.2rem;
}
.step-number {
  display: inline-grid;
  place-items: center;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 0.7rem;
  background: #f3ead4;
  color: #655021;
  font-size: 0.85rem;
  margin-bottom: 1rem;
}
.steps-list h3 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}
.steps-list p {
  color: var(--muted);
  line-height: 2;
  font-size: 0.9rem;
  margin: 0;
}
.privacy-section {
  display: grid;
  grid-template-columns: 5rem minmax(0, 1fr);
  gap: 1.5rem;
  padding: 2rem;
  border: 1px solid #c8dbd0;
  border-radius: 1rem;
  background: #eaf3ee;
  margin: 0 0 3.5rem;
}
.privacy-symbol {
  display: grid;
  place-items: center;
  width: 4rem;
  height: 4rem;
  border: 1px solid #b5cebf;
  border-radius: 1rem;
  background: #f5faf6;
  color: var(--forest);
}
.privacy-symbol .icon {
  width: 2rem;
  height: 2rem;
}
.privacy-section h2 {
  font-size: 1.65rem;
  margin-bottom: 0.7rem;
}
.privacy-section p {
  color: #405f51;
  line-height: 2.1;
  font-size: 0.95rem;
}
.creator-section {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 3rem;
}
.creator-heading h2 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}
.creator-name {
  display: block;
  width: fit-content;
  color: var(--forest);
  font-size: 1.3rem;
  font-weight: 750;
  text-decoration: underline;
  text-underline-offset: 0.3rem;
}
.creator-handle {
  display: block;
  width: fit-content;
  font-size: 0.875rem;
  color: var(--muted);
  margin-top: 0.5rem;
}
.creator-copy p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 2.2;
}
.creator-copy .verified-note {
  font-size: 0.8rem;
  margin: 0;
}
.contact-section {
  display: grid;
  grid-template-columns: 3.5rem minmax(0, 1fr) auto;
  align-items: start;
  gap: 1.3rem;
}
.contact-icon {
  display: grid;
  place-items: center;
  background: #fbf1dc;
  color: #78602c;
  width: 3rem;
  height: 3rem;
  border-radius: 0.8rem;
}
.contact-section h2 {
  font-size: 1.7rem;
  margin-bottom: 0.5rem;
}
.contact-section p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 2.1;
  margin: 0;
  max-width: 40rem;
}
.contact-section .section-kicker {
  color: var(--forest);
  font-size: 0.85rem;
}
.contact-actions {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  align-items: start;
  padding-top: 0.5rem;
}
.contact-cta {
  font-size: 0.9rem;
  padding: 0.75rem 1rem;
}
.product-footer {
  display: block;
  border-top: 1px solid var(--line);
  padding-top: 2rem;
  padding-bottom: 1.5rem;
  color: var(--muted);
}
.footer-main {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 3rem;
}
.footer-brand .brand small {
  font-size: 0.7rem;
  letter-spacing: 0.03em;
}
.footer-brand p {
  max-width: 29rem;
  font-size: 0.875rem;
  line-height: 2;
  margin: 1rem 0;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.4rem;
  align-content: start;
}
.footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 0.875rem;
}
.product-footer a:hover {
  color: var(--forest-dark);
  text-decoration: underline;
  text-underline-offset: 0.25rem;
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem;
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}
.footer-bottom p {
  margin: 0;
  font-size: 0.85rem;
}
.footer-bottom a {
  color: var(--forest);
  font-weight: 650;
}
.license-credit {
  font-size: 0.75rem;
  line-height: 2;
  margin: 1rem 0 0;
}
.license-credit a {
  text-decoration: underline;
  text-underline-offset: 0.2rem;
}
@media (max-width: 900px) {
  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .contact-section {
    grid-template-columns: 3.5rem minmax(0, 1fr);
  }
  .contact-actions {
    grid-column: 2;
  }
}
@media (max-width: 640px) {
  .product-hero {
    grid-template-columns: minmax(0, 1fr);
    padding: 1.25rem;
    gap: 1rem;
  }
  .brand-scene {
    display: none;
  }
  .product-hero h1 {
    font-size: 2rem;
  }
  .product-hero .hero-description {
    font-size: 0.95rem;
  }
  .hero-actions {
    gap: 0.6rem;
  }
  .hero-actions .btn {
    width: 100%;
  }
  .product-hero .hero-trust {
    font-size: 0.75rem;
    align-items: start;
  }
  .product-hero .hero-trust .icon {
    margin-top: 0.2rem;
  }
  .product-section {
    padding: 2.25rem 0;
  }
  .intro-grid,
  .feature-grid,
  .steps-list,
  .creator-section,
  .footer-main {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.2rem;
  }
  .feature-card {
    padding: 1.25rem;
  }
  .feature-card-top {
    margin-bottom: 1rem;
  }
  .feature-card > p {
    margin-bottom: 0.9rem;
  }
  .steps-list li {
    padding-block: 0.25rem;
  }
  .privacy-section {
    grid-template-columns: minmax(0, 1fr);
    padding: 1.25rem;
    margin-bottom: 2.25rem;
    gap: 1rem;
  }
  .contact-section {
    grid-template-columns: minmax(0, 1fr);
    gap: 1rem;
  }
  .contact-actions {
    grid-column: auto;
    align-items: stretch;
  }
  .contact-actions .text-link {
    justify-content: center;
  }
  .footer-main {
    gap: 1rem;
  }
  .footer-links {
    gap: 0.3rem 1rem;
  }
  .footer-bottom {
    flex-direction: column;
  }
  .workspace-heading h2 {
    font-size: 1.1rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  .feature-card {
    transition: none;
  }
}
/* Balanced seven-card layout and a compact, fully visible mobile navigation. */
.workspace-selector > a {
  transition:
    border-color 0.16s,
    transform 0.16s;
}
.product-hero h1 {
  text-wrap: balance;
}
.feature-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}
.feature-card {
  grid-column: span 2;
}
.feature-card:nth-child(n + 4) {
  grid-column: span 3;
}
@media (max-width: 900px) {
  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .feature-grid .feature-card:nth-child(n) {
    grid-column: auto;
  }
  .feature-grid .feature-card:last-child {
    grid-column: 1 / -1;
  }
}
@media (max-width: 640px) {
  .product-hero h1 {
    font-size: 1.75rem;
  }
  .feature-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .feature-grid .feature-card:last-child {
    grid-column: auto;
  }
  .nav {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    overflow: visible;
    width: 100%;
    gap: 0.2rem !important;
  }
  .nav > a {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    min-width: 0;
    padding: 0.35rem 0.15rem !important;
    font-size: 0.75rem;
    white-space: normal;
    text-align: center;
    line-height: 1.65;
  }
  .nav .icon {
    width: 1.1rem;
    height: 1.1rem;
  }
}
