@font-face {
  font-family: Vazirmatn;
  src: url("/shared/fonts/Vazirmatn-VF.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

.feature-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.feature-card {
  display: grid;
  align-content: start;
  position: relative;
  gap: 5px;
  padding: 16px 33px 16px 16px;
  padding-inline: 16px 40px;
  border: 1px solid var(--app-line);
  background: #0d171eaa;
  color: var(--app-text);
  text-decoration: none;
}
.feature-card:hover { background: #292923; color: var(--app-gold); }
.feature-card strong { line-height: 1.35; }
.feature-card span:not(.feature-arrow) { font-size: .87rem; color: var(--app-soft); line-height: 1.55; }
.feature-arrow { position: absolute; inset-block-start: 15px; inset-inline-end: 15px; color: var(--app-gold); }
.current-app .app-feature-links { margin-block: 25px 12px; }
.current-app .app-tour .selectors:has(a:nth-child(5)) { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.current-app .app-panel .feature-action { margin-block-start: 18px; }
.current-app .app-attention-preview {
  padding: clamp(20px, 3.3vw, 42px);
  color: #242c2e;
  background: #eee7d8;
  border: 1px solid #e3c398;
  border-radius: 4px;
}
.current-app .app-attention-preview h3, .current-app .app-attention-preview p { color: #242c2e; }
.current-app .app-attention-preview .app-kicker { color: #694d2e; }
.current-app .app-attention-preview blockquote { margin: 20px 0 0; padding-inline-start: 14px; border-inline-start: 2px solid #936d47; }

.feature-action {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  min-height: 44px;
  text-decoration: none;
  border-bottom: 1px solid #af8d62;
  color: var(--app-gold);
  font-weight: 620;
  line-height: 1.45;
}
.feature-action:hover { color: #fff0d4; border-color: currentColor; }
.feature-page {
  margin: 0;
  font-family: Arial, "Helvetica Neue", sans-serif;
  line-height: 1.6;
  --app-back: #101619;
  --app-gold: #ebcba0;
  --app-soft: #c7d0ca;
  background: #101619;
  border: 0;
}
[lang="fa"] .feature-page { font-family: Vazirmatn, system-ui, sans-serif; background: #101619; }
.feature-page *, .feature-page *::before, .feature-page *::after { box-sizing: border-box; }
.feature-page [hidden] { display: none !important; }
.feature-inner { width: min(88%, 1350px); margin-inline: auto; }
.feature-page #main, .feature-page :is(#workflow, #example, .attention-sample) { scroll-margin-block-start: 20px; }
.feature-skip { position: fixed; inset-block-start: 10px; inset-inline-start: 10px; z-index: 3; padding: 12px; background: #e9dcc7; color: #101619; transform: translateY(-160%); }
.feature-skip:focus { transform: none; }
.feature-header {
  background: #0c141a;
  border-bottom: 1px solid #c9a67645;
}
.feature-header .feature-inner, .feature-footer .feature-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 13px 28px; }
.feature-header .feature-inner { min-height: 83px; padding-block: 9px; }
.feature-header nav { display: flex; flex-wrap: wrap; gap: 0 22px; }
.feature-header nav a, .feature-language { display: flex; align-items: center; padding-block: 10px; min-height: 42px; font-size: .88rem; color: var(--app-soft); text-decoration: none; }
.feature-header nav a[aria-current="page"] { border-bottom: 1px solid #af8d62; color: var(--app-gold); }
.feature-header nav a:hover, .feature-language:hover { color: var(--app-gold); }
.feature-language { color: var(--app-gold); }
.feature-language[lang="fa"] { font-family: Vazirmatn, sans-serif; }
.feature-brand { display: inline-flex; align-items: center; gap: 9px; font: 500 .98rem/1.12 Arial, sans-serif; color: var(--app-text); text-decoration: none; letter-spacing: .09em; }
.feature-brand b { font-weight: inherit; color: var(--app-gold); }
.feature-brand small { display: block; margin-top: 4px; color: #c7b89f; font-size: .62rem; letter-spacing: .12em; }
.feature-brand .axis-mark, .queue-header .axis-mark { width: 28px; height: 42px; object-fit: contain; flex: none; }

.feature-page main { background: radial-gradient(ellipse at 78% 16%, #2d3c40, transparent 49%); }
[lang="fa"] .feature-page main { background: radial-gradient(ellipse at 22% 16%, #35372d, transparent 49%); }
.feature-hero {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: clamp(36px, 5vw, 78px);
  align-items: center;
  padding-block: clamp(56px, 8vw, 118px);
}
.feature-intro h1 {
  margin-block: 16px 18px;
  font-size: clamp(2.7rem, 5.15vw, 5.5rem);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -.055em;
  text-wrap: balance;
}
.feature-intro > p:not(.app-kicker) { max-width: 49ch; color: var(--app-soft); font-size: clamp(1.02rem, 1.45vw, 1.24rem); }
.feature-intro .feature-action { margin-block-start: 20px; }
[lang="fa"] .feature-intro h1 { line-height: 1.48; letter-spacing: -.025em; font-size: clamp(2.35rem, 4.4vw, 4.6rem); }
.feature-page .app-shot figcaption { margin-block-start: 8px; color: var(--app-soft); font-size: .8rem; }
.feature-page .feature-hero-shot img { aspect-ratio: 1.5; }
.feature-page .feature-detail-shot img { aspect-ratio: auto; object-fit: contain; }
.feature-page .feature-detail-shot img[src$="studio-mobile-fa.png"] { max-height: 440px; padding: 15px; }
.feature-workflow { background: #e9e1d3; color: #1c2528; padding-block: clamp(48px, 7vw, 93px); }
.feature-workflow h2, .feature-related h2 { font-size: clamp(1.8rem, 3.7vw, 3.65rem); font-weight: 430; line-height: 1.25; letter-spacing: -.035em; }
[lang="fa"] :is(.feature-workflow h2, .feature-related h2) { letter-spacing: -.018em; }
.feature-workflow-grid { margin-block-start: 15px; }
.feature-workflow-grid.with-image { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(22px, 6vw, 85px); align-items: center; }
.feature-workflow ol { margin-block: 0; padding-inline-start: 24px; }
.feature-workflow li { padding-block: 18px; padding-inline-start: 6px; border-bottom: 1px solid #77684c44; }
.feature-workflow li::marker { color: #705131; font-weight: 700; }
.feature-workflow li h3 { font-size: clamp(1.16rem, 2.25vw, 1.7rem); margin-block-end: 6px; color: #242c2e; }
.feature-workflow li p, .feature-workflow .app-shot figcaption { color: #414b47; }
.feature-workflow-grid:not(.with-image) { max-width: 75ch; }
.feature-related { padding-block: clamp(50px, 6vw, 85px); }
.feature-related .feature-links { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-block: 23px 18px; }
.feature-footer { border-top: 1px solid var(--app-line); padding-block: 23px; font-size: .9rem; color: var(--app-soft); }
.feature-page .attention-demo { border: 1px solid var(--app-line); background: #121c23; }
.feature-page .queue-header { display: flex; align-items: center; gap: 13px; padding: 13px 17px; }
.feature-page .queue-header h2 { font-size: 1.13rem; font-weight: 550; }
.feature-page .queue-header p { font-size: .81rem; color: var(--app-soft); }
.feature-page .attention-demo .selectors { grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--app-line); }
.feature-page .attention-demo .selectors a { font-size: .89rem; }
.feature-page .attention-sample { padding: clamp(17px, 3vw, 32px); }
.feature-page .attention-sample h3 { font-size: clamp(1.15rem, 2.25vw, 1.7rem); }
.feature-page .attention-sample dl { display: grid; gap: 11px; margin-block: 15px 1px; }
.feature-page .attention-sample dt { color: var(--app-gold); font-size: .81rem; font-weight: 600; }
.feature-page .attention-sample dd { margin-inline-start: 0; margin-block-start: 2px; color: var(--app-soft); }
.feature-page .attention-sample dl div { padding-block: 7px; border-block-start: 1px solid var(--app-line); }

@media(max-width: 850px) {
  .feature-header .feature-inner { display: grid; grid-template-columns: 1fr auto; gap: 0 15px; }
  .feature-header nav { grid-column: 1 / -1; grid-row: 2; column-gap: 18px; }
  .feature-hero, .feature-workflow-grid.with-image { grid-template-columns: minmax(0, 1fr); }
  .feature-hero { gap: 27px; }
  .feature-intro h1 { max-width: 24ch; }
}
@media(max-width: 650px) {
  .feature-links, .feature-related .feature-links { grid-template-columns: minmax(0, 1fr); }
  .current-app .app-tour .selectors:has(a:nth-child(5)) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .current-app .app-tour .selectors a:nth-child(5) { grid-column: 1 / -1; }
  .current-app .app-tour .selectors a:nth-child(odd) { border-inline-start: 0; }
  .feature-header nav a { font-size: .82rem; min-height: 40px; }
  .feature-header nav { gap: 0 12px; }
  .feature-page .attention-demo .selectors a { padding: 10px; font-size: .8rem; }
}

@media (max-width: 850px) {
  .feature-header .feature-brand { justify-self: start; }
}
