:root {
  color-scheme: light;
  --ink: #111316;
  --muted: #5d6673;
  --quiet: #f7f8f5;
  --paper: #ffffff;
  --line: #dfe5dc;
  --accent: #0f8f6d;
  --accent-strong: #08634c;
  --blue: #0968c7;
  --warm: #d45d3c;
  --shadow: 0 22px 60px rgba(22, 30, 38, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--quiet);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.55;
  letter-spacing: 0;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
}

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

p,
h1,
h2,
h3 {
  margin: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
  min-height: 72px;
  padding: 14px clamp(20px, 5vw, 64px);
  background: rgba(247, 248, 245, 0.88);
  border-bottom: 1px solid rgba(17, 19, 22, 0.08);
  backdrop-filter: blur(18px);
}

.brand,
.nav-actions,
.nav-links {
  display: flex;
  align-items: center;
}

.brand {
  gap: 12px;
  font-size: 15px;
  font-weight: 700;
}

.brand img {
  border-radius: 8px;
  box-shadow: 0 8px 18px rgba(17, 19, 22, 0.16);
}

.nav-links {
  justify-content: center;
  gap: 24px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
}

.nav-links a,
.site-footer a {
  transition: color 180ms ease;
}

.nav-links a:hover,
.site-footer a:hover,
.nav-links [aria-current="page"] {
  color: var(--ink);
}

.nav-actions {
  gap: 12px;
}

.nav-download,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 750;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.button.primary,
.nav-download {
  background: var(--ink);
  color: var(--paper);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  color: var(--ink);
}

.button:hover,
.nav-download:hover {
  transform: translateY(-2px);
}

.button.primary:hover,
.nav-download:hover {
  background: var(--accent-strong);
}

.language-switcher {
  position: relative;
  font-size: 14px;
  font-weight: 650;
}

.language-switcher summary {
  min-height: 44px;
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  cursor: pointer;
  list-style: none;
}

.language-switcher summary::-webkit-details-marker {
  display: none;
}

.language-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 40;
  min-width: 180px;
  padding: 8px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.language-menu a {
  display: block;
  padding: 10px 12px;
  border-radius: 6px;
  color: var(--muted);
}

.language-menu a:hover,
.language-menu [aria-current="true"] {
  background: var(--quiet);
  color: var(--ink);
}

[dir="rtl"] .language-menu {
  right: auto;
  left: 0;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(360px, 1.12fr);
  gap: 56px;
  align-items: center;
  min-height: calc(100svh - 72px);
  padding: 72px clamp(20px, 6vw, 88px) 64px;
  background-color: var(--quiet);
  background-image:
    linear-gradient(rgba(17, 19, 22, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 19, 22, 0.035) 1px, transparent 1px);
  background-size: 44px 44px;
}

.compact-hero,
.landing-hero {
  min-height: 620px;
}

.hero-copy {
  max-width: 680px;
}

.hero-icon {
  width: 88px;
  height: 88px;
  margin-bottom: 28px;
  border-radius: 18px;
  box-shadow: 0 22px 48px rgba(17, 19, 22, 0.18);
}

.kicker {
  margin-bottom: 14px;
  color: var(--accent-strong);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 {
  max-width: 760px;
  font-size: 4.45rem;
  line-height: 0.96;
  letter-spacing: 0;
}

h2 {
  font-size: 2.7rem;
  line-height: 1.04;
  letter-spacing: 0;
}

h3 {
  font-size: 1.08rem;
  line-height: 1.25;
}

.hero-text {
  max-width: 640px;
  margin-top: 24px;
  color: #2c333a;
  font-size: 1.24rem;
  line-height: 1.48;
}

.hero-sub,
.section-copy p,
.feature-card p,
.step p,
.gallery-copy p,
.guide-link small,
.final-cta p,
.download-qr-copy span,
.faq-list p,
.site-footer p,
.benefit-list p {
  color: var(--muted);
}

.hero-sub {
  max-width: 620px;
  margin-top: 16px;
}

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

.btn-download {
  position: relative;
  z-index: 1;
  overflow: visible;
  isolation: isolate;
}

.download-qr-popover {
  position: absolute;
  top: calc(100% + 14px);
  right: 0;
  z-index: 90;
  width: 228px;
  padding: 14px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 24px 58px rgba(17, 19, 22, 0.18);
  mix-blend-mode: normal;
  opacity: 1;
  pointer-events: none;
  text-align: center;
  transform: translateY(8px);
  transition: transform 160ms ease, visibility 0s linear 160ms;
  visibility: hidden;
}

[dir="rtl"] .download-qr-popover:not(.download-qr-popover-top) {
  right: auto;
  left: 0;
}

@media (hover: hover) and (pointer: fine) {
  .btn-download:hover {
    z-index: 80;
  }

  .btn-download:hover .download-qr-popover {
    transform: translateY(0);
    transition-delay: 0s;
    visibility: visible;
  }

  .download-qr-popover-top {
    top: auto;
    bottom: calc(100% + 14px);
    right: auto;
    left: 50%;
    transform: translate(-50%, -8px);
  }

  .btn-download:hover .download-qr-popover-top {
    transform: translate(-50%, 0);
  }

  .download-qr-code,
  .download-qr-copy {
    position: relative;
    z-index: 1;
  }

  .download-qr-code {
    display: grid;
    place-items: center;
    padding: 8px;
    background: #ffffff;
    border: 1px solid #e5e8e0;
    border-radius: 8px;
  }

  .download-qr-code img {
    width: 100%;
    max-width: 180px;
    height: auto;
    background: #ffffff;
  }

  .download-qr-copy {
    display: grid;
    gap: 4px;
    margin-top: 10px;
    text-align: center;
  }

  .download-qr-copy strong {
    color: var(--ink);
    font-size: 14px;
    line-height: 1.2;
  }

  .download-qr-copy span {
    font-size: 13px;
    line-height: 1.35;
  }
}

@media (hover: none) {
  .download-qr-popover {
    display: none !important;
  }
}

.hero-visual {
  position: relative;
  min-height: 650px;
}

.device-stage {
  position: relative;
  min-height: 650px;
}

.phone-frame {
  position: absolute;
  width: min(38vw, 310px);
  margin: 0;
  padding: 9px;
  background: #121417;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 38px;
  box-shadow: var(--shadow);
}

.phone-frame img {
  width: 100%;
  height: auto;
  aspect-ratio: 599 / 1300;
  border-radius: 30px;
}

.phone-frame.primary {
  top: 0;
  right: 28%;
  z-index: 2;
  animation: floatPrimary 8s ease-in-out infinite;
}

.phone-frame.secondary {
  top: 84px;
  right: 0;
  z-index: 1;
  transform: rotate(4deg);
  animation: floatSecondary 9s ease-in-out infinite;
}

.phone-frame.solo {
  top: 0;
  right: 25%;
}

[dir="rtl"] .phone-frame.primary {
  right: auto;
  left: 28%;
}

[dir="rtl"] .phone-frame.secondary {
  right: auto;
  left: 0;
}

[dir="rtl"] .phone-frame.solo {
  right: auto;
  left: 25%;
}

.single-shot {
  display: flex;
  justify-content: center;
  min-height: 650px;
}

.proof-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  padding: 24px 20px;
  background: var(--paper);
  border-block: 1px solid var(--line);
}

.proof-strip span,
.use-case-list span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  color: #303941;
  font-size: 14px;
  font-weight: 700;
}

.section {
  padding: 104px clamp(20px, 6vw, 88px);
}

.section-copy {
  max-width: 760px;
}

.section-copy p {
  margin-top: 18px;
  font-size: 1.1rem;
}

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

.feature-card,
.step,
.guide-link,
.faq-list details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
}

.feature-card {
  min-height: 230px;
  padding: 24px;
}

.feature-card h3,
.step h3 {
  margin-bottom: 12px;
}

.workflow-section,
.guides-index,
.related-section {
  background: var(--paper);
}

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

.step {
  padding: 28px;
}

.step span {
  display: block;
  margin-bottom: 42px;
  color: var(--blue);
  font-weight: 850;
}

.gallery-band {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
  gap: 42px;
  align-items: center;
  padding: 96px clamp(20px, 6vw, 88px);
  background: #15191e;
  color: var(--paper);
}

.gallery-copy {
  max-width: 560px;
}

.gallery-copy .kicker {
  color: #87dec4;
}

.gallery-copy p {
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.72);
}

.screenshot-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: end;
}

.screenshot-row img {
  width: 100%;
  max-height: 640px;
  object-fit: cover;
  object-position: top;
  border: 9px solid #07080a;
  border-radius: 32px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}

.screenshot-row img:nth-child(2) {
  transform: translateY(-34px);
}

.use-case-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) 1fr;
  gap: 44px;
  align-items: start;
}

.use-case-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

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

.guide-list.expanded {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.guide-link {
  display: flex;
  min-height: 210px;
  flex-direction: column;
  gap: 14px;
  justify-content: space-between;
  padding: 24px;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.guide-link:hover {
  transform: translateY(-4px);
  border-color: rgba(15, 143, 109, 0.45);
  background: #ffffff;
}

.guide-link span {
  color: var(--warm);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.guide-link strong {
  display: block;
  font-size: 1.25rem;
  line-height: 1.2;
}

.guide-link small {
  display: block;
  font-size: 0.92rem;
  line-height: 1.5;
}

.final-cta {
  display: block;
  padding: 88px clamp(20px, 6vw, 88px);
  background: #eaf4ef;
  border-top: 1px solid var(--line);
}

.final-cta div {
  max-width: 760px;
}

.final-cta p {
  max-width: 620px;
  margin: 18px 0 28px;
}

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

.problem-solution article {
  min-height: 320px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.problem-solution h2 {
  font-size: 2.05rem;
}

.benefits-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.66fr) minmax(0, 1fr);
  gap: 44px;
}

.benefit-list {
  display: grid;
  gap: 12px;
}

.benefit-list p {
  padding: 22px 24px;
  border-inline-start: 4px solid var(--accent);
  background: var(--paper);
}

.faq-section {
  background: var(--paper);
}

.faq-list {
  display: grid;
  gap: 12px;
  max-width: 900px;
  margin-top: 42px;
}

.faq-list details {
  padding: 20px 22px;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 760;
}

.faq-list p {
  margin-top: 12px;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 26px;
  padding: 42px clamp(20px, 6vw, 88px);
  color: var(--muted);
  background: var(--ink);
}

.site-footer,
.site-footer a,
.site-footer .footer-brand {
  color: rgba(255, 255, 255, 0.78);
}

.site-footer .footer-brand {
  display: inline-block;
  margin-bottom: 8px;
  font-weight: 800;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: flex-end;
  font-size: 14px;
  font-weight: 700;
}

.site-footer > p {
  grid-column: 1 / -1;
  font-size: 13px;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 620ms ease, transform 620ms ease;
}

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

@keyframes floatPrimary {
  0%,
  100% {
    transform: translateY(0) rotate(-2deg);
  }
  50% {
    transform: translateY(-14px) rotate(-1deg);
  }
}

@keyframes floatSecondary {
  0%,
  100% {
    transform: translateY(0) rotate(4deg);
  }
  50% {
    transform: translateY(16px) rotate(3deg);
  }
}

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1120px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-visual,
  .device-stage,
  .single-shot {
    min-height: 600px;
  }

  .phone-frame {
    width: min(46vw, 300px);
  }

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

  .gallery-band,
  .use-case-section,
  .benefits-section {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  body {
    font-size: 16px;
  }

  .site-header {
    grid-template-columns: 1fr auto;
    gap: 14px;
    min-height: 66px;
    padding: 10px 16px;
  }

  .nav-links {
    display: none;
  }

  .brand span {
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .nav-actions {
    gap: 8px;
  }

  .language-switcher summary {
    max-width: 104px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .nav-download {
    display: none;
  }

  .hero {
    gap: 36px;
    padding: 46px 18px 42px;
  }

  .hero-icon {
    width: 74px;
    height: 74px;
    border-radius: 16px;
  }

  h1 {
    font-size: 3rem;
    line-height: 1;
  }

  h2 {
    font-size: 2.2rem;
  }

  .hero-text {
    font-size: 1.08rem;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .hero-visual,
  .device-stage,
  .single-shot {
    min-height: 520px;
  }

  .phone-frame {
    width: min(62vw, 260px);
    border-radius: 32px;
  }

  .phone-frame img {
    border-radius: 24px;
  }

  .phone-frame.primary,
  .phone-frame.solo {
    right: auto;
    left: 0;
  }

  .phone-frame.secondary {
    right: 0;
    top: 72px;
  }

  [dir="rtl"] .phone-frame.primary,
  [dir="rtl"] .phone-frame.solo {
    right: 0;
    left: auto;
  }

  [dir="rtl"] .phone-frame.secondary {
    right: auto;
    left: 0;
  }

  .section {
    padding: 76px 18px;
  }

  .proof-strip {
    justify-content: flex-start;
    padding: 18px;
  }

  .feature-grid,
  .steps,
  .guide-list,
  .guide-list.expanded,
  .problem-solution {
    grid-template-columns: 1fr;
  }

  .feature-card,
  .step,
  .guide-link {
    min-height: auto;
  }

  .gallery-band {
    padding: 76px 18px;
  }

  .screenshot-row {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    padding-bottom: 16px;
    scroll-snap-type: x mandatory;
  }

  .screenshot-row img {
    min-width: 220px;
    scroll-snap-align: start;
  }

  .screenshot-row img:nth-child(2) {
    transform: none;
  }

  .problem-solution article {
    min-height: auto;
    padding: 24px;
  }

  .problem-solution h2 {
    font-size: 1.75rem;
  }

  .final-cta {
    padding: 72px 18px;
  }

  .site-footer {
    grid-template-columns: 1fr;
    padding: 34px 18px;
  }

  .site-footer nav {
    justify-content: flex-start;
  }
}

@media (max-width: 440px) {
  h1 {
    font-size: 2.55rem;
  }

  h2 {
    font-size: 1.95rem;
  }

  .brand span {
    max-width: 124px;
  }

  .language-switcher summary {
    max-width: 88px;
  }

  .hero-visual,
  .device-stage,
  .single-shot {
    min-height: 455px;
  }

  .phone-frame {
    width: min(64vw, 230px);
    padding: 7px;
  }
}
