@import url('/fonts/fonts.css');
:root {
  --primary: #1f5fd0;
  --strong: #194ca8;
  --soft: #eaf2ff;
  --ink: #152238;
  --muted: #526078;
  --border: #e0e7f0;
  color: var(--ink);
  background: #fff;
  font-family: 'DM Sans', system-ui, sans-serif;
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 30px;
}
body {
  margin: 0;
}
h1,
h2,
h3,
.brand {
  font-family: 'Plus Jakarta Sans', 'DM Sans', sans-serif;
}
h1,
h2,
h3,
p {
  margin: 0;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input {
  font: inherit;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
summary:focus-visible {
  outline: 3px solid #87b5ff;
  outline-offset: 4px;
}
img {
  max-width: 100%;
  display: block;
}
.wrap {
  width: min(1120px, calc(100% - 64px));
  margin-inline: auto;
}
.icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}
.skip {
  position: absolute;
  top: -100px;
  z-index: 30;
  background: #fff;
  padding: 12px;
}
.skip:focus {
  top: 12px;
}
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 88px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 25px;
  font-weight: 800;
  letter-spacing: -0.7px;
}
.header nav {
  display: flex;
  gap: 28px;
  font-size: 14px;
  color: var(--muted);
}
.header nav a:hover {
  color: var(--primary);
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 22px;
}
.languages {
  display: flex;
  align-items: center;
  gap: 2px;
  font-size: 12px;
}
.languages a {
  padding: 8px 10px;
  border-radius: 6px;
  color: var(--muted);
}
.languages a[aria-current] {
  background: var(--soft);
  color: var(--primary);
  font-weight: 700;
}
.signin {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  font-weight: 700;
  font-size: 14px;
  white-space: nowrap;
  padding: 11px 15px;
  border: 1px solid var(--border);
  border-radius: 8px;
}
.signin:hover {
  background: var(--soft);
}
.signin .icon {
  width: 17px;
}
.hero-surface {
  position: relative;
  overflow: clip;
  background: linear-gradient(110deg, #f8faff 0%, #f5f8fe 48%, #fff8ec 100%);
}
.hero {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 24px;
  align-items: center;
  padding-block: 62px 56px;
  min-height: 600px;
}
.eyebrow {
  font-size: 11px;
  letter-spacing: 1.7px;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.7;
}
.hero h1 {
  font-size: clamp(40px, 4.4vw, 58px);
  line-height: 1.15;
  letter-spacing: -2.5px;
  margin-block: 16px 22px;
}
.hero h1 span {
  color: var(--primary);
}
.lede {
  font-size: 17px;
  line-height: 1.75;
  color: var(--muted);
  max-width: 460px;
}
.hero-art {
  position: relative;
  isolation: isolate;
  width: calc(100% + 36px);
  margin-inline-start: -8px;
}
.hero-art::before {
  content: '';
  position: absolute;
  inset: -55px 8% -25px;
  z-index: -1;
  opacity: 0.7;
  background: url('/landing/afghan-arch.svg') center / contain no-repeat;
}
.hero-surface::before {
  content: '';
  position: absolute;
  inset-inline-start: -75px;
  top: -110px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: url('/landing/afghan-tile.svg');
  opacity: 0.09;
  pointer-events: none;
}
.hero-art img {
  width: 100%;
  height: auto;
}
.phone-form {
  margin-top: 28px;
  max-width: 500px;
}
[hidden] {
  display: none !important;
}
.phone-form label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 10px;
}
.phone-controls {
  display: flex;
  gap: 8px;
  align-items: stretch;
}
.phone-input {
  display: flex;
  align-items: center;
  min-width: 0;
  flex: 1;
  direction: ltr;
  border: 1px solid #ccd8e9;
  background: white;
  border-radius: 8px;
  height: 52px;
  transition:
    border-color 0.18s,
    box-shadow 0.18s;
}
.phone-input:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px #1f5fd014;
}
.phone-input > span {
  padding-inline: 13px;
  font-size: 14px;
  border-right: 1px solid var(--border);
  color: var(--muted);
}
.phone-input input {
  min-width: 0;
  width: 100%;
  border: 0;
  outline: none;
  background: transparent;
  padding: 14px 12px;
  font-size: 15px;
  color: var(--ink);
}
.phone-input input::placeholder {
  color: #8290a4;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 0;
  border-radius: 8px;
  padding: 14px 18px;
  background: var(--primary);
  color: white;
  white-space: nowrap;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.18s;
}
.button:hover {
  background: var(--strong);
}
.button .icon {
  width: 17px;
}
.form-help {
  font-size: 12px;
  line-height: 1.65;
  color: var(--muted);
  margin-top: 9px;
}
.form-error {
  color: #b42318;
  font-size: 12px;
  line-height: 1.6;
  margin-top: 8px;
}
.hero-stores {
  margin-top: 23px;
}
/* Equal visible badge heights; Google's supplied image includes a clear safe area. */
.store-buttons {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  direction: ltr;
  gap: 14px;
  flex-wrap: wrap;
}
html[dir='rtl'] .store-buttons {
  justify-content: flex-end;
}
.store-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border-radius: 5px;
  height: 44px;
}
.store-badge.google-play {
  width: 148px;
}
.store-badge.google-play img {
  width: 170px;
  flex-shrink: 0;
  max-width: none;
  height: auto;
}
.store-badge.app-store,
.store-badge.app-store img {
  width: 132px;
}
.store-badge.app-store img {
  height: 44px;
}
.language-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 38px;
  padding-block: 23px;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
  color: var(--muted);
}
.language-strip span:first-child {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-weight: 600;
}
.language-strip .icon {
  width: 18px;
  color: var(--primary);
}
.section {
  padding-block: 76px;
}
.section-heading {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 36px;
}
.section-heading h2 {
  margin-top: 10px;
}
.section-heading p:not(.eyebrow) {
  font-size: 15px;
  line-height: 1.75;
  color: var(--muted);
  margin-top: 14px;
}
h2 {
  font-size: clamp(27px, 3vw, 36px);
  line-height: 1.35;
  letter-spacing: -1.1px;
}
h3 {
  font-size: 19px;
  line-height: 1.4;
  letter-spacing: -0.4px;
}
.product {
  display: grid;
  grid-template-columns: 1fr;
  gap: 38px;
}
.product-art {
  min-width: 0;
  position: relative;
  isolation: isolate;
  background: radial-gradient(ellipse at center, #eaf2ff 0%, transparent 75%);
}
.device-showcase {
  position: relative;
  direction: ltr;
  width: min(100%, 940px);
  margin-inline: auto;
  padding: 32px 0 45px;
}
.laptop-mockup {
  width: 86%;
  margin-inline: auto !important;
}
.mobile-mockup {
  position: absolute;
  z-index: 2;
  width: 19%;
  max-width: 175px;
  left: 0;
  bottom: 0;
}
.product figure {
  margin: 0;
  min-width: 0;
}
.laptop-screen {
  border: 8px solid #20252d;
  border-top-width: 15px;
  border-bottom-width: 13px;
  border-radius: 14px 14px 3px 3px;
  overflow: hidden;
  background: #fff;
  margin-inline: 4%;
  box-shadow: 0 14px 32px #233e6420;
}
.laptop-screen img {
  width: 100%;
  height: auto;
}
.laptop-base {
  height: 15px;
  border-radius: 2px 2px 65% 65%;
  background: linear-gradient(#d2dbe7, #9aa9bf);
  box-shadow: 0 12px 22px #233e6420;
}
.laptop-base::before {
  content: '';
  display: block;
  width: 17%;
  height: 5px;
  background: #8696ad;
  border-radius: 0 0 4px 4px;
  margin: auto;
}
.device-frame {
  position: relative;
  aspect-ratio: 1310 / 2560;
  border: 6px solid #151a22;
  border-radius: 28px;
  overflow: hidden;
  background: #0e1b2c;
  box-shadow:
    0 0 0 1px #87919d,
    0 2px 0 2px #26303d,
    0 20px 30px #0b142d40;
}
.device-frame::before {
  content: '';
  position: absolute;
  z-index: 3;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 42%;
  height: 11px;
  border-radius: 0 0 10px 10px;
  background: radial-gradient(circle at 82% 50%, #385674 0 1px, #080e19 2px);
  box-shadow: inset 0 1px 1px #ffffff25;
}
.device-frame::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 35%;
  width: 30%;
  height: 3px;
  border-radius: 4px;
  background: #d7e3f2;
  opacity: 0.8;
}
.mobile-mockup::before,
.mobile-mockup::after {
  content: '';
  position: absolute;
  width: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, #52647b, #1a2e48);
}
.mobile-mockup::before {
  left: -2px;
  top: 23%;
  height: 24px;
  box-shadow: 0 30px 0 #283c54;
}
.mobile-mockup::after {
  right: -2px;
  top: 30%;
  height: 32px;
}
.device-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.product-copy {
  text-align: center;
}
.product-copy h2 {
  max-width: none;
}
.product-copy > p:not(.eyebrow) {
  max-width: 720px;
  margin-inline: auto;
}
.product-copy ul {
  justify-content: center;
  grid-template-columns: repeat(2, max-content);
}
.product-copy h2 {
  max-width: none;
  margin-block: 12px 18px;
}
.product-copy > p:not(.eyebrow) {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.8;
}
.product-copy ul {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 17px;
  margin-block: 27px 30px;
}
.product-copy li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
}
.product-copy li .icon {
  width: 21px;
  height: 21px;
  padding: 3px;
  border-radius: 50%;
  background: var(--soft);
  color: var(--primary);
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 14px;
  font-weight: 700;
  color: var(--primary);
  padding-block: 7px;
}
.text-link:hover {
  text-decoration: underline;
}
.text-link .icon {
  width: 17px;
}
.steps-surface {
  background: #f8faff;
  border-block: 1px solid #edf1f7;
}
.steps ol {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}
.steps li {
  text-align: center;
}
.step-art {
  width: 118px;
  height: 118px;
  display: block;
  margin: 0 auto 18px;
}
.step-number {
  color: var(--primary);
  font-size: 11px;
  font-weight: 800;
  display: block;
  margin-bottom: 9px;
  letter-spacing: 1px;
}
.steps p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.75;
  margin-top: 11px;
  max-width: 260px;
  margin-inline: auto;
}
.format-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.format-card {
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #fff;
}
.format-mark {
  height: 66px;
  display: flex;
  align-items: center;
  margin-bottom: 17px;
}
.format-mark img {
  width: 54px;
  height: 54px;
  object-fit: contain;
}
.format-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.8;
  margin-top: 13px;
}
.support-surface {
  background: transparent;
}

.faq {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 64px;
}
.faq h2 {
  max-width: 270px;
}
.faq details {
  border-bottom: 1px solid var(--border);
}
.faq details:first-child {
  border-top: 1px solid var(--border);
}
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  padding: 22px 6px;
  font-size: 15px;
  font-weight: 600;
  transition: color 0.15s;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary:hover {
  color: var(--primary);
}
.faq summary span {
  font-size: 22px;
  font-weight: 400;
  color: var(--primary);
}
.faq details[open] summary span {
  transform: rotate(45deg);
}
.faq details p {
  padding: 0 6px 23px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
}
.final-cta {
  position: relative;
  overflow: hidden;
  background-image: url('/landing/afghan-mountains.svg');
  background-size: 100% 100px;
  background-repeat: no-repeat;
  background-position: center bottom;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
  padding: 42px;
  border-radius: 18px;
  background-color: var(--soft);
}
.final-cta h2 {
  font-size: 29px;
  margin-top: 9px;
}
.final-cta > div > p:not(.eyebrow):not(.download-note) {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
  margin-block: 13px 20px;
}
.final-cta .phone-form {
  margin: 0;
}
.footer {
  border-top: 3px solid transparent;
  border-image: url('/landing/afghan-tile.svg') 8 round;
  margin-top: 40px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 24px;
  padding-block: 42px 25px;
}
.footer .brand {
  font-size: 23px;
}
.footer p {
  font-size: 12px;
  color: var(--muted);
  margin-top: 10px;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  font-size: 12px;
  color: var(--muted);
}
.footer-links a:hover {
  color: var(--primary);
}
.footer > small {
  grid-column: 1/-1;
  font-size: 11px;
  color: var(--muted);
  border-top: 1px solid var(--border);
  padding-top: 20px;
}
[dir='rtl'] h1,
[dir='rtl'] h2,
[dir='rtl'] h3,
[dir='rtl'] .brand {
  letter-spacing: 0;
}
[dir='rtl'] .eyebrow {
  letter-spacing: 0;
  font-size: 12px;
}
[dir='rtl'] .hero h1 {
  font-size: 49px;
  line-height: 1.5;
}
[dir='rtl'] .button .icon,
[dir='rtl'] .signin .icon,
[dir='rtl'] .text-link .icon {
  transform: rotate(180deg);
}
@media (min-width: 1400px) {
  .hero-art {
    width: calc(100% + 70px);
  }
}
@media (max-width: 1000px) {
  .header nav {
    display: none;
  }
  .hero {
    gap: 16px;
    min-height: 540px;
    padding-block: 45px;
  }
  .hero h1 {
    font-size: 44px;
  }
  .hero-art {
    width: calc(100% + 20px);
  }
  .product {
    gap: 28px;
  }
  .format-card {
    padding: 23px;
  }
  .final-cta {
    gap: 30px;
    padding: 32px;
  }
  .phone-controls {
    gap: 7px;
  }
  .button {
    padding-inline: 14px;
  }
}
@media (max-width: 760px) {
  .wrap {
    width: calc(100% - 40px);
  }
  .header {
    min-height: 76px;
    gap: 12px;
  }
  .header .brand {
    font-size: 22px;
    gap: 7px;
  }
  .header .brand img {
    width: 28px;
    height: 28px;
  }
  .header-actions {
    gap: 10px;
  }
  .languages a {
    padding: 7px;
  }
  .signin {
    padding: 9px 11px;
    font-size: 12px;
  }
  .signin .icon {
    display: none;
  }
  .hero {
    grid-template-columns: 1fr;
    padding-block: 38px 20px;
    gap: 15px;
  }
  .hero h1 {
    font-size: 46px;
    letter-spacing: -1.9px;
    margin-block: 13px 18px;
  }
  .hero-copy {
    max-width: 560px;
    margin-inline: auto;
    width: 100%;
  }
  .lede {
    font-size: 16px;
    max-width: 530px;
    line-height: 1.75;
  }
  .hero-art {
    width: min(100%, 490px);
    margin: 6px auto 0;
  }
  .phone-form {
    margin-top: 23px;
  }
  .phone-controls {
    flex-wrap: wrap;
  }
  .phone-input {
    flex-basis: 100%;
  }
  .phone-controls .button {
    width: 100%;
    min-height: 48px;
  }
  .hero-stores {
    margin-top: 21px;
  }
  .language-strip {
    gap: 13px;
    justify-content: space-between;
    font-size: 11px;
    padding-block: 18px;
  }
  .language-strip span:first-child {
    gap: 5px;
  }
  .language-strip .icon {
    width: 15px;
  }
  .section {
    padding-block: 52px;
  }
  .section-heading {
    margin-bottom: 27px;
  }
  h2 {
    font-size: 28px;
  }
  .product {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .product-copy {
    grid-row: 1;
  }
  .product-copy h2 {
    max-width: none;
  }
  .product-copy > p:not(.eyebrow) {
    font-size: 15px;
  }
  .product-copy ul {
    gap: 14px;
    margin-block: 20px;
  }
  .product-copy li {
    font-size: 14px;
  }
  .product-art {
    max-width: 640px;
    width: 100%;
    margin: auto;
  }
  .device-showcase {
    padding: 16px 0 24px;
  }
  .laptop-mockup {
    display: none;
  }
  .mobile-mockup {
    position: relative;
    width: min(58%, 220px);
    max-width: 220px;
    margin-inline: auto !important;
    left: auto;
    bottom: auto;
  }
  .device-frame {
    border-radius: 25px;
    border-width: 6px;
  }
  .laptop-screen {
    border-width: 5px;
    border-top-width: 9px;
    border-bottom-width: 8px;
  }
  .laptop-base {
    height: 10px;
  }
  .product-copy ul {
    grid-template-columns: 1fr;
    justify-items: start;
    width: fit-content;
    margin-inline: auto;
  }
  .steps ol {
    gap: 18px;
  }
  .step-art {
    width: 87px;
    height: 87px;
    margin-bottom: 14px;
  }
  .steps h3 {
    font-size: 15px;
  }
  .steps p {
    font-size: 12px;
    line-height: 1.7;
  }
  .format-grid {
    gap: 15px;
    grid-template-columns: 1fr;
  }
  .format-card {
    display: grid;
    grid-template-columns: 54px 1fr;
    column-gap: 18px;
    padding: 22px;
  }
  .format-mark {
    grid-row: 1/3;
    height: 54px;
    margin: 0;
  }
  .format-card h3 {
    font-size: 18px;
  }
  .format-card p {
    margin-top: 8px;
    font-size: 13px;
  }

  .faq {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .faq h2 {
    max-width: none;
  }
  .faq summary {
    font-size: 14px;
    padding-block: 19px;
  }
  .final-cta {
    grid-template-columns: 1fr;
    padding: 27px;
    gap: 27px;
  }
  .final-cta h2 {
    font-size: 26px;
  }
  .footer {
    grid-template-columns: 1fr;
    padding-block: 34px 22px;
    gap: 24px;
  }
  .footer-links {
    gap: 20px;
  }
  [dir='rtl'] .hero h1 {
    font-size: 38px;
    line-height: 1.55;
  }
}
@media (max-width: 420px) {
  .wrap {
    width: calc(100% - 32px);
  }
  .header {
    flex-wrap: wrap;
    gap: 8px;
    padding-block: 12px;
  }
  .header .brand {
    font-size: 21px;
  }
  .header-actions {
    gap: 7px;
  }
  .languages {
    font-size: 11px;
  }
  .languages a {
    padding: 6px 5px;
  }
  .signin {
    padding: 8px 9px;
  }
  .hero h1 {
    font-size: 39px;
  }
  .hero .eyebrow {
    font-size: 10px;
    letter-spacing: 1.1px;
  }
  .phone-input > span {
    padding-inline: 10px;
  }
  .phone-input input {
    padding-inline: 9px;
    font-size: 14px;
  }
  .button {
    font-size: 13px;
    gap: 6px;
    padding-inline: 13px;
  }
  .button .icon {
    width: 15px;
  }
  .form-help {
    font-size: 11px;
  }
  .language-strip {
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
  }
  .steps ol {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .steps li {
    display: grid;
    grid-template-columns: 80px 1fr;
    column-gap: 16px;
    text-align: start;
    align-items: center;
  }
  .step-art {
    grid-row: 1/4;
    width: 80px;
    height: 80px;
    margin: 0;
  }
  .step-number {
    margin-bottom: 5px;
  }
  .steps h3 {
    font-size: 17px;
  }
  .steps p {
    margin: 6px 0 0;
    max-width: none;
    font-size: 13px;
  }
  .format-card {
    grid-template-columns: 42px 1fr;
    padding: 20px;
    gap: 0 15px;
  }
  .format-mark img {
    width: 42px;
    height: 42px;
  }
  .format-card h3 {
    font-size: 17px;
  }
  .final-cta {
    padding: 23px 20px;
  }
  [dir='rtl'] .hero .eyebrow {
    letter-spacing: 0;
    font-size: 12px;
  }
  [dir='rtl'] .hero h1 {
    font-size: 33px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    transition: none !important;
  }
}
@media (max-width: 360px) {
  .store-buttons {
    gap: 10px;
  }
  .store-badge {
    height: 40px;
  }
  .store-badge.google-play {
    width: 135px;
  }
  .store-badge.google-play img {
    width: 155px;
  }
  .store-badge.app-store,
  .store-badge.app-store img {
    width: 120px;
    height: 40px;
  }
}
/* Afghan kashi bands frame the page without competing with its content. */
.header,
.footer {
  position: relative;
}
.footer::before {
  content: '';
  position: absolute;
  inset-inline: 0;
  height: 14px;
  background: #eaf2ff url('/landing/afghan-tile.svg') center / 48px 48px repeat;
  border-block: 1px solid #cfddf3;
  pointer-events: none;
}

.footer::before {
  top: 0;
}
.footer {
  border: 0;
  border-image: none;
  padding-top: 52px;
}
.phone-form label {
  display: flex;
  align-items: center;
  gap: 7px;
}
.phone-form label img {
  flex-shrink: 0;
}

@media (max-width: 760px) {
  .header {
    min-height: 76px;
  }
  .hero {
    gap: 54px;
  }
  .hero-art {
    margin-top: 0;
  }
  .hero-art::before {
    inset-block-start: -20px;
  }
}

.header-actions {
  direction: ltr;
}
.theme-toggle {
  border: 1px solid var(--border);
  background: var(--soft);
  border-radius: 24px;
  display: flex;
  gap: 4px;
  padding: 4px;
  cursor: pointer;
  flex-shrink: 0;
}
.theme-toggle span {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: var(--muted);
}
.theme-toggle .icon {
  width: 19px;
  height: 19px;
}
.theme-toggle .theme-sun,
[data-theme='dark'] .theme-toggle .theme-moon {
  background: var(--primary);
  color: white;
}
[data-theme='dark'] .theme-toggle .theme-sun {
  background: transparent;
  color: var(--muted);
}
.support-features {
  padding-block: 0 38px;
}
.support-features .utility-mark .icon {
  width: 54px;
  height: 54px;
  color: var(--primary);
  margin: 0;
}
[data-theme='dark'] {
  --primary: #78aaff;
  --strong: #93bbff;
  --soft: #172c49;
  --ink: #eef3fb;
  --muted: #b5c2d5;
  --border: #2b3b53;
  color-scheme: dark;
  background: #0b1321;
}
[data-theme='dark'] .hero-surface {
  background: linear-gradient(110deg, #101e33, #142039 55%, #232536);
}
[data-theme='dark'] .format-card,
[data-theme='dark'] .phone-input {
  background: #111f33;
}
[data-theme='dark'] .steps-surface {
  background: #101c2e;
  border-color: var(--border);
}
[data-theme='dark'] .final-cta {
  background-color: #172c49;
}
[data-theme='dark'] .product-art {
  background: radial-gradient(ellipse at center, #172c49, transparent 75%);
}
[data-theme='dark'] .footer::before {
  background-color: #172c49;
  border-color: var(--border);
}
[data-theme='dark'] .form-error {
  color: #ffaaa4;
}
[data-theme='dark'] .button {
  background: #397be7;
  color: #fff;
  border-color: #397be7;
}
[data-theme='dark'] .button:hover {
  background: #2869ce;
}
@media (max-width: 760px) {
  .support-features {
    padding-block: 0 30px;
  }
  .theme-toggle {
    padding: 3px;
    gap: 2px;
  }
  .theme-toggle span {
    width: 28px;
    height: 28px;
  }
  .theme-toggle .icon {
    width: 17px;
    height: 17px;
  }
  .header .brand {
    font-size: 20px;
  }
  .header-actions {
    gap: 7px;
  }
  .languages a {
    padding: 6px 4px;
  }
}
@media (max-width: 360px) {
  .header .brand {
    font-size: 17px;
    gap: 5px;
  }
  .header .brand img {
    width: 24px;
    height: 24px;
  }
  .languages a {
    font-size: 10px;
    padding: 5px 3px;
  }
  .header-actions {
    gap: 4px;
  }
  .theme-toggle span {
    width: 25px;
    height: 25px;
  }
}
[data-theme='dark'] .brand img {
  filter: brightness(1.7);
}
[data-theme='dark'] .phone-input {
  border-color: var(--border);
}
[data-theme='dark'] .phone-input input::placeholder {
  color: #a5b5ce;
}
/* Keep the theme switch as compact as the language buttons. */
.theme-toggle {
  padding: 3px;
  gap: 2px;
  height: 34px;
}
.theme-toggle span {
  width: 26px;
  height: 26px;
}
.theme-toggle .icon {
  width: 16px;
  height: 16px;
}
.final-cta {
  background-image: none;
  isolation: isolate;
}
.final-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: url('/landing/afghan-mountains.svg') center bottom / 100% 100px no-repeat;
}
[data-theme='dark'] .final-cta::before {
  opacity: 0.14;
}
.final-cta .form-help {
  background: var(--soft);
  border-radius: 4px;
  padding: 4px 6px;
  color: var(--muted);
}
@media (max-width: 760px) {
  .theme-toggle {
    height: 30px;
    padding: 2px;
  }
  .theme-toggle span {
    width: 24px;
    height: 24px;
  }
  .theme-toggle .icon {
    width: 15px;
    height: 15px;
  }
}
.format-mark.utility-mark img {
  width: 64px;
  height: 64px;
}
@media (max-width: 760px) {
  .format-mark.utility-mark img {
    width: 48px;
    height: 48px;
  }
}
@media (max-width: 360px) {
  .format-mark.utility-mark img {
    width: 42px;
    height: 42px;
  }
}

/* A connected journey, with room for the artwork and readable step copy. */
.steps li {
  position: relative;
}
.step-connector {
  position: absolute;
  inset-inline-start: calc(50% + 76px);
  top: 28px;
  width: calc(100% - 104px);
  height: 64px;
  overflow: visible;
  color: #79a8f4;
  pointer-events: none;
}
.step-connector path {
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}
[dir='rtl'] .step-connector {
  transform: scaleX(-1);
}
@media (max-width: 760px) {
  .steps ol {
    grid-template-columns: 1fr;
    gap: 36px;
    max-width: 460px;
    margin-inline: auto;
  }
  .steps li {
    display: grid;
    grid-template-columns: 88px 1fr;
    column-gap: 22px;
    text-align: start;
    align-items: center;
  }
  .step-art {
    grid-row: 1 / 4;
    width: 88px;
    height: 88px;
    margin: 0;
  }
  .step-number {
    margin-bottom: 5px;
  }
  .steps h3 {
    font-size: 18px;
  }
  .steps p {
    margin: 6px 0 0;
    max-width: none;
    font-size: 14px;
  }
  .step-connector {
    inset-inline-start: 27px;
    top: 100%;
    width: 34px;
    height: 36px;
    transform: rotate(90deg);
  }
  [dir='rtl'] .step-connector {
    transform: rotate(90deg) scaleY(-1);
  }
}

.step-connector path {
  stroke-width: 1.25;
}
.step-connector path:not(.connector-arrow) {
  stroke-dasharray: 1 6;
}

/* Kashi variations repeat the hero's visual language at quiet section edges. */
.product,
.steps-surface,
.formats,
.support-surface,
.footer {
  position: relative;
  isolation: isolate;
}
.product::before,
.steps-surface::before,
.formats::before,
.support-surface::before,
.footer::after {
  content: '';
  position: absolute;
  z-index: -1;
  pointer-events: none;
  width: 190px;
  height: 190px;
  background: url('/landing/afghan-tile.svg') center / 64px 64px repeat;
  opacity: 0.07;
  border-radius: 50%;
  mask-image: radial-gradient(circle, #000 28%, transparent 72%);
}
.product::before {
  inset-inline-end: 0;
  top: 26px;
  width: 240px;
  height: 240px;
  transform: rotate(15deg);
}
.steps-surface::before {
  inset-inline-start: 0;
  bottom: 12px;
  background-size: 80px 80px;
}
.formats::before {
  inset-inline-end: 0;
  top: 14px;
  transform: rotate(45deg);
}
.support-surface::before {
  inset-inline-start: 0;
  bottom: 18px;
  background-size: 48px 48px;
}
.footer::after {
  inset-inline-end: 0;
  bottom: 0;
  width: 280px;
  height: 200px;
  border-radius: 0;
  opacity: 0.12;
  background-size: 72px 72px;
}
[data-theme='dark'] .product::before,
[data-theme='dark'] .steps-surface::before,
[data-theme='dark'] .formats::before,
[data-theme='dark'] .support-surface::before,
[data-theme='dark'] .footer::after {
  opacity: 0.18;
}
@media (max-width: 760px) {
  .product::before,
  .steps-surface::before,
  .formats::before,
  .support-surface::before {
    width: 130px;
    height: 130px;
    opacity: 0.06;
  }
  .footer::after {
    width: 170px;
    height: 160px;
  }
}

/* More visible section accents; preserve the earlier footer design. */
.product::before,
.steps-surface::before,
.formats::before,
.support-surface::before {
  opacity: 0.13;
}
[data-theme='dark'] .product::before,
[data-theme='dark'] .steps-surface::before,
[data-theme='dark'] .formats::before,
[data-theme='dark'] .support-surface::before {
  opacity: 0.28;
}
@media (max-width: 760px) {
  .product::before,
  .steps-surface::before,
  .formats::before,
  .support-surface::before {
    opacity: 0.11;
  }
}

/* Subtle grid behind the device mockups, shared by light and dark themes. */
.product-art::before {
  content: '';
  position: absolute;
  inset: -16px;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(#5791e51a 1px, transparent 1px),
    linear-gradient(90deg, #5791e51a 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(ellipse at center, #000 25%, transparent 75%);
}
/* V3: compact product-led layout, using the existing Kitabcha artwork and badges. */
.hero {
  grid-template-columns: 1fr 1.12fr;
  gap: 42px;
  min-height: 590px;
  padding-block: 48px 52px;
}
.hero h1 {
  font-size: clamp(36px, 4vw, 54px);
  letter-spacing: -2px;
}
.hero-art {
  width: 100%;
  margin: 0;
  min-width: 0;
}
.hero-art::before {
  background: none;
}
.hero .device-showcase {
  padding: 32px 0 48px;
}
.hero figure {
  margin: 0;
}
.hero .laptop-mockup {
  width: 100%;
}
.hero .mobile-mockup {
  width: 26%;
  left: -4%;
  bottom: 14px;
}
.hero .laptop-screen {
  border-width: 6px;
  border-top-width: 12px;
}
.hero .device-frame {
  border-radius: 22px;
  border-width: 4px;
}
.hero-caption {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
}
.hero-caption .icon {
  color: var(--primary);
  width: 16px;
  height: 16px;
}
.section {
  padding-block: 56px;
}
.capability-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.capability-card {
  min-width: 0;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--card, #fff);
}
.feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--soft);
  color: var(--primary);
  margin-bottom: 18px;
}
.capability-card h3 {
  font-size: 17px;
  margin-bottom: 10px;
}
.capability-card p,
.team-copy > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}
.team-surface {
  background: var(--soft);
}
.team-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 56px;
}
.team-art img {
  width: 100%;
  height: auto;
}
.team-copy h2 {
  margin: 12px 0 18px;
}
.team-copy ul {
  list-style: none;
  margin: 22px 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
.team-copy li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14px;
  line-height: 1.6;
}
.team-copy li .icon {
  color: var(--primary);
  width: 18px;
  height: 22px;
}
[data-theme='dark'] .capability-card {
  background: #131f32;
}
@media (max-width: 1000px) {
  .landing-nav {
    display: none !important;
  }
  .hero {
    gap: 24px;
  }
  .capability-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .team-section {
    gap: 28px;
  }
}
@media (max-width: 760px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
    padding-block: 28px 32px;
    min-height: 0;
    gap: 24px;
  }
  .hero h1 {
    font-size: clamp(32px, 8vw, 42px);
    letter-spacing: -1.3px;
  }
  .hero-art {
    width: min(100%, 520px);
    margin-inline: auto;
  }
  .hero .device-showcase {
    width: 92%;
    padding: 8px 0 30px;
  }
  .hero .mobile-mockup {
    width: 24%;
    bottom: 0;
  }
  .hero .device-frame {
    border-radius: 16px;
    border-width: 3px;
  }
  .hero-caption {
    margin-top: 10px;
  }
  .section {
    padding-block: 36px;
  }
  .section-heading {
    margin-bottom: 24px;
  }
  .capability-grid {
    gap: 12px;
  }
  .capability-card {
    padding: 16px;
    border-radius: 12px;
  }
  .capability-card h3 {
    font-size: 16px;
  }
  .capability-card p {
    font-size: 13px;
    line-height: 1.65;
  }
  .feature-icon {
    margin-bottom: 12px;
  }
  .team-section {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }
  .team-art {
    max-width: 360px;
    margin: auto;
  }
  .team-copy h2 {
    font-size: 27px;
  }
}
@media (max-width: 360px) {
  .capability-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
.formats {
  overflow: clip;
}
.hero .device-frame {
  aspect-ratio: 1254 / 2560;
}
@media (max-width: 760px) {
  .hero .laptop-mockup {
    display: block;
  }
  .hero .mobile-mockup {
    position: absolute;
    margin-inline: 0 !important;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
/* Matching store controls keep the official artwork intact. */
.store-buttons {
  gap: 12px;
}
.store-badge.google-play,
.store-badge.app-store {
  width: 144px;
  height: 48px;
  overflow: hidden;
  background: #000;
  border: 1px solid #8b8b8b;
  border-radius: 7px;
}
.store-badge.app-store img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.store-badge.google-play img {
  width: 168px;
  height: auto;
  max-width: none;
}
#sharing .format-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
#sharing .format-card {
  padding: 24px;
}
.push-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: var(--soft);
  color: var(--primary);
}
.push-mark .icon {
  width: 32px;
  height: 32px;
}
@media (max-width: 1000px) {
  #sharing .format-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 760px) {
  #sharing .format-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  #sharing .format-card {
    padding: 20px;
  }
}
@media (max-width: 420px) {
  .store-badge.google-play,
  .store-badge.app-store {
    width: 132px;
    height: 44px;
  }
  .store-badge.google-play img {
    width: 154px;
  }
}

.store-badge.google-play,
.store-badge.app-store {
  border: 0;
  background: transparent;
}

.push-mark {
  background: #fff2bd;
  color: #b77900;
}
[data-theme='dark'] .push-mark {
  background: #493716;
  color: #ffd65c;
}

/* SVG badges carry their own clean border and background. */
.store-badge.google-play,
.store-badge.app-store {
  border: 0;
  background: transparent;
  border-radius: 0;
}
.store-badge.google-play img,
.store-badge.app-store img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: fill;
  clip-path: none;
}

/* Keep each SVG and its clickable area at the same exact size. */
.store-badge.google-play,
.store-badge.app-store {
  flex: 0 0 auto;
  padding: 0;
  line-height: 0;
}
.store-badge.google-play img,
.store-badge.app-store img {
  display: block;
}

/* A slim aluminium laptop keeps the business screen front and centre. */
.hero .laptop-display {
  position: relative;
  margin-inline: 4%;
  padding: 15px 7px 8px;
  background: linear-gradient(145deg, #535b69, #151b26 35%, #303846);
  border: 1px solid #707b8a;
  border-radius: 15px 15px 4px 4px;
  box-shadow: 0 22px 48px #162c4c26;
}
.hero .laptop-camera {
  position: absolute;
  top: 5px;
  left: calc(50% - 2px);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #0a101b;
  box-shadow: 0 0 0 1px #657084;
}
.hero .laptop-screen {
  margin: 0;
  border: 0;
  border-radius: 3px;
  box-shadow: none;
}
.hero .laptop-base {
  height: 12px;
  background: linear-gradient(#e5e9ef 0%, #b2bdcc 35%, #758398 85%, #a1adbd);
  box-shadow: 0 18px 24px -12px #142b4d55;
}
.hero .mobile-mockup {
  width: 22%;
  left: -1%;
}
@media (min-width: 1001px) {
  .hero {
    grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.4fr);
    gap: 30px;
  }
  .hero .mobile-mockup {
    width: 18%;
    max-width: 126px;
    left: -1%;
    bottom: 20px;
  }
  .hero .device-showcase {
    padding-block: 40px 38px;
  }
}
.footer-navigation {
  display: grid;
  gap: 16px;
}
.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}
.social-links a {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  min-height: 44px;
  font-size: 14px;
  color: var(--muted);
}
.social-links a:hover {
  color: var(--primary);
}
.footer-links {
  flex-wrap: wrap;
}
@media (max-width: 760px) {
  .footer-navigation {
    width: 100%;
  }
  .hero .laptop-display {
    padding: 10px 4px 5px;
    border-radius: 9px 9px 2px 2px;
  }
  .hero .laptop-camera {
    top: 3px;
    width: 3px;
    height: 3px;
  }
}

@media (min-width: 1001px) {
  .hero {
    gap: 64px;
  }
  .hero-art {
    transform: translateX(12px);
  }
  [dir='rtl'] .hero-art {
    transform: translateX(-12px);
  }
}

/* A clear signup action and a spacious product preview. */
.hero .phone-controls {
  flex-direction: column;
  gap: 12px;
}
.hero .phone-input {
  flex: auto;
  min-height: 60px;
  border-radius: 12px;
}
.hero .phone-input input {
  font-size: 17px;
  padding: 18px;
}
.phone-form .button {
  min-height: 58px;
  border-radius: 12px;
  background: linear-gradient(115deg, #367cff, #1f5fd0 60%, #194fb4);
  box-shadow: inset 0 1px 0 #ffffff38;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    filter 0.18s ease;
}
.phone-form .button:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
  box-shadow:
    inset 0 1px 0 #ffffff50,
    0 12px 26px #1f5fd03d;
}
.phone-form .button:focus-visible {
  outline: 3px solid #78aaff;
  outline-offset: 4px;
}
.phone-form .button:active {
  transform: translateY(0);
}
.hero-art {
  isolation: isolate;
  position: relative;
}
.hero-art::before {
  content: '';
  position: absolute;
  inset: -24px -10px;
  z-index: -1;
  opacity: 0.65;
  background-image:
    linear-gradient(#4389e62b 1px, transparent 1px),
    linear-gradient(90deg, #4389e62b 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(ellipse, #000 35%, transparent 74%);
  -webkit-mask-image: radial-gradient(ellipse, #000 35%, transparent 74%);
  pointer-events: none;
}
[data-theme='dark'] .hero-art::before {
  opacity: 0.85;
}
@media (min-width: 1001px) {
  .hero {
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.4fr);
  }
}
@media (prefers-reduced-motion: reduce) {
  .phone-form .button {
    transition: none;
  }
  .phone-form .button:hover {
    transform: none;
  }
}
.hero-stores {
  width: 100%;
  max-width: 500px;
}
.hero-stores .store-buttons {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.hero-stores .store-badge {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 1;
}
.footer {
  align-items: start;
}
.footer-brand {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-brand p {
  align-self: stretch;
  text-align: start;
  direction: inherit;
}
.footer-navigation {
  align-content: start;
}
.footer .copyright {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  justify-content: flex-start;
}
.footer .copyright > span:first-child {
  direction: ltr;
  unicode-bidi: isolate;
}
[dir='rtl'] .footer .copyright {
  flex-direction: row;
}
.brand {
  direction: ltr;
  unicode-bidi: isolate;
}
[dir='rtl'] .brand {
  letter-spacing: -0.7px;
}
