:root {
  --bg: #f5efe7;
  --surface: #fffaf3;
  --surface-strong: #fffdf8;
  --ink: #211914;
  --muted: #76675c;
  --accent: #a65146;
  --accent-dark: #8f4138;
  --line: #dfcfc0;
  --soft: #f2e5dc;
  --shadow: 0 26px 80px rgba(87, 64, 46, 0.16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background:
    radial-gradient(circle at top left, rgba(166, 81, 70, 0.1), transparent 34rem),
    var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  margin: 0;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

.site-header {
  align-items: center;
  background: rgba(255, 250, 243, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
  display: grid;
  gap: 16px;
  grid-template-columns: auto 1fr auto;
  padding: 14px clamp(18px, 5vw, 72px);
  position: sticky;
  top: 0;
  z-index: 10;
}

.brand {
  align-items: center;
  display: flex;
  gap: 12px;
}
.brand img {
  border-radius: 10px;
  height: 48px;
  width: 48px;
}
.brand strong {
  color: var(--accent);
  display: block;
  font-size: 1.45rem;
  font-weight: 900;
  line-height: 1;
}
.brand small {
  color: var(--ink);
  display: block;
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  margin-top: 4px;
  text-transform: uppercase;
}
nav {
  align-items: center;
  display: flex;
  gap: clamp(12px, 2vw, 28px);
  justify-content: flex-end;
}
nav a {
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 780;
}

.hero,
.section,
.site-footer {
  margin-inline: auto;
  width: min(1180px, calc(100% - 32px));
}
.hero {
  align-items: center;
  display: grid;
  gap: 38px;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  min-height: calc(100svh - 76px);
  padding-block: 54px;
}
.hero-copy h1,
.section-heading h2,
.pricing h2 {
  font-size: clamp(2.5rem, 5vw, 5.35rem);
  letter-spacing: 0;
  line-height: 0.96;
  margin: 0;
}
.hero-copy p {
  color: var(--muted);
  font-size: 1.16rem;
  line-height: 1.68;
  margin: 22px 0 0;
  max-width: 560px;
}
.eyebrow {
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  margin: 0 0 14px;
  text-transform: uppercase;
}
.hero-link-row {
  align-items: stretch;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}
.primary-button,
.secondary-button {
  align-items: center;
  border-radius: 8px;
  display: inline-flex;
  font-weight: 850;
  min-height: 48px;
  padding: 0 18px;
}
.primary-button {
  background: var(--accent);
  box-shadow: 0 16px 34px rgba(166, 81, 70, 0.24);
  color: #fff;
}
.secondary-button {
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--accent-dark);
}
.hero-link-panel {
  align-items: center;
  background:
    radial-gradient(circle at 18% 14%, rgba(200, 163, 91, 0.28), transparent 34%),
    linear-gradient(135deg, #071222, #0b2347 58%, #051020);
  border: 1px solid rgba(200, 163, 91, 0.42);
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(7, 18, 34, 0.22);
  color: #ffffff;
  display: inline-flex;
  overflow: hidden;
  position: relative;
  transition: box-shadow 180ms ease, transform 180ms ease, border-color 180ms ease;
}
.hero-link-panel::after {
  background: linear-gradient(110deg, transparent 0%, rgba(255, 255, 255, 0.2) 44%, transparent 62%);
  content: "";
  inset: 0 auto 0 -70%;
  position: absolute;
  transform: skewX(-18deg);
  transition: left 420ms ease;
  width: 52%;
}
.hero-link-panel:hover,
.hero-link-panel:focus-visible {
  border-color: rgba(200, 163, 91, 0.72);
  box-shadow: 0 22px 54px rgba(7, 18, 34, 0.3);
  transform: translateY(-3px);
}
.hero-link-panel:hover::after,
.hero-link-panel:focus-visible::after {
  left: 118%;
}
.hero-qr-link {
  flex: 1 1 276px;
  gap: 13px;
  max-width: 292px;
  min-height: 126px;
  padding: 13px 14px;
}
.hero-qr-frame {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 6px;
  display: grid;
  flex: 0 0 auto;
  height: 98px;
  place-items: center;
  width: 98px;
}
.hero-qr-frame img {
  height: 82px;
  image-rendering: pixelated;
  width: 82px;
}
.hero-qr-text {
  align-items: start;
  display: grid;
  gap: 4px;
  line-height: 1.08;
  position: relative;
  z-index: 1;
}
.hero-qr-text strong {
  display: grid;
  gap: 1px;
  font-size: 0.96rem;
  font-weight: 850;
}
.hero-qr-text strong span {
  display: block;
}
.hero-qr-text span {
  color: #f2c15d;
  display: block;
  font-size: 1.08rem;
  font-weight: 900;
  letter-spacing: 0.04em;
}
.hero-contact-link {
  align-content: center;
  display: grid;
  gap: 5px;
  justify-content: center;
  min-height: 126px;
  padding: 16px 18px;
  width: 116px;
}
.hero-contact-link span {
  color: #f2c15d;
  font-size: 1.05rem;
  font-weight: 900;
  position: relative;
  z-index: 1;
}
.hero-contact-link small {
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  position: relative;
  z-index: 1;
}
.hero-shot {
  background:
    radial-gradient(circle at 28% 24%, rgba(166, 81, 70, 0.18), transparent 18rem),
    linear-gradient(135deg, #fffdf8, #f5ece2);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
  margin: 0;
  overflow: hidden;
  padding: clamp(22px, 4vw, 44px);
}
.hero-logo-panel {
  align-items: center;
  display: grid;
  justify-items: center;
  min-height: 460px;
  text-align: center;
}
.hero-logo-panel img {
  border-radius: 30px;
  box-shadow: 0 30px 88px rgba(7, 18, 34, 0.3);
  width: min(470px, 82vw);
}

.promo-banner {
  background: #071222;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
  margin: 0 auto 18px;
  overflow: hidden;
  width: min(1180px, calc(100% - 32px));
}
.promo-banner img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
  width: 100%;
}

.section {
  padding-block: 72px;
}
.section-heading {
  margin-bottom: 20px;
  max-width: 100%;
}
.section-heading h2,
.pricing h2 {
  font-size: clamp(2rem, 3vw, 3.45rem);
  max-width: 1120px;
}
.feature-grid,
.steps,
.contact-grid {
  display: grid;
  gap: 14px;
}
.feature-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}
.feature-grid article,
.steps article,
.pricing,
.contact-grid a {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 34px rgba(87, 64, 46, 0.08);
}
.feature-grid article,
.steps article {
  padding: 20px;
}
.feature-grid span,
.steps span {
  align-items: center;
  background: var(--soft);
  border-radius: 999px;
  color: var(--accent);
  display: inline-flex;
  font-size: 0.84rem;
  font-weight: 900;
  height: 34px;
  justify-content: center;
  width: 34px;
}
h3 {
  font-size: 1.08rem;
  margin: 18px 0 8px;
}
article p,
.pricing p {
  color: var(--muted);
  line-height: 1.55;
  margin: 0;
}

.screenshots {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, minmax(0, 520px));
  justify-content: center;
  justify-items: stretch;
}
.screenshots figure {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  margin: 0;
  overflow: hidden;
  width: 100%;
}
.screenshots figure.wide {
  grid-column: 1 / -1;
  justify-self: center;
  width: min(1180px, 100%);
}
.screenshots img {
  background: #f6efe6;
  height: auto;
  object-fit: contain;
  object-position: center;
  width: 100%;
}
.screenshots figure:not(.wide) img {
  height: 360px;
  object-fit: contain;
  padding: 18px;
}
.screenshots figure.auth-shot img {
  height: 420px;
  padding: 10px;
}
.screenshots figcaption {
  color: var(--accent-dark);
  font-weight: 850;
  padding: 12px 14px 14px;
}
.steps {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.pricing {
  align-items: center;
  display: flex;
  gap: 24px;
  justify-content: space-between;
  padding: clamp(26px, 4vw, 48px);
}
.pricing p {
  max-width: 620px;
}
.pricing-button {
  align-items: center;
  flex: 0 0 auto;
  justify-content: center;
  min-height: 74px;
  min-width: 214px;
  padding: 18px 26px;
}
.pricing-button span {
  color: #f2c15d;
  font-size: 1.12rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  position: relative;
  z-index: 1;
}
.contact-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.contact-grid a {
  color: var(--accent-dark);
  font-size: 1.05rem;
  font-weight: 850;
  padding: 22px;
}
.site-footer {
  align-items: center;
  border-top: 1px solid var(--line);
  color: var(--muted);
  display: flex;
  font-weight: 750;
  justify-content: space-between;
  padding: 24px 0 34px;
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.language-toggle {
  appearance: none;
  align-items: center;
  align-self: center;
  background: transparent;
  border: 0;
  color: var(--muted);
  cursor: pointer;
  display: inline-flex;
  font-family: inherit;
  font-size: 0.94rem;
  font-weight: 780;
  justify-content: center;
  justify-self: end;
  line-height: 1.2;
  margin: 0;
  padding: 0;
  text-align: center;
}

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
  }
  .feature-grid,
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  body {
    overflow-x: hidden;
  }
  .site-header {
    align-items: center;
    backdrop-filter: none;
    display: flex;
    gap: 4px;
    overflow: hidden;
    padding: 10px 16px 12px 8px;
    position: static;
  }
  .brand {
    flex: 0 0 auto;
    gap: 5px;
    min-width: 0;
  }
  nav {
    align-items: center;
    display: flex;
    flex: 1 1 auto;
    gap: 4px;
    justify-content: flex-end;
    min-width: 0;
  }
  nav a {
    background: transparent;
    border: 0;
    border-radius: 0;
    color: var(--muted);
    font-size: 0.52rem;
    font-weight: 780;
    line-height: 1;
    padding: 0;
    text-align: left;
    white-space: nowrap;
  }
  .language-toggle {
    align-items: flex-start;
    align-self: center;
    display: inline-flex;
    flex: 0 0 auto;
    height: auto;
    line-height: 1;
    margin-left: 0;
    min-height: 0;
    min-width: 0;
    font-size: 0.52rem;
    margin-right: 2px;
    transform: translateY(-1px);
    white-space: nowrap;
  }
  .brand img {
    height: 27px;
    width: 27px;
  }
  .brand strong {
    font-size: 0.88rem;
  }
  .brand small {
    font-size: 0.38rem;
    letter-spacing: 0.08em;
  }
  .hero {
    min-height: auto;
    padding-block: 38px;
  }
  .hero-copy h1 {
    font-size: 2.65rem;
  }
  .hero-logo-panel {
    min-height: 330px;
  }
  .hero-logo-panel img {
    width: min(320px, 80vw);
  }
  .hero-qr-link {
    max-width: 100%;
    width: min(100%, 320px);
  }
  .pricing {
    align-items: stretch;
    flex-direction: column;
  }
  .pricing-button {
    align-self: flex-start;
  }
  .section-heading {
    margin-bottom: 18px;
  }
  .section-heading h2,
  .pricing h2 {
    font-size: clamp(2rem, 11vw, 2.65rem);
    max-width: 100%;
  }
  .section-heading {
    margin-bottom: 18px;
  }
  .section-heading h2,
  .pricing h2 {
    font-size: clamp(2rem, 11vw, 2.65rem);
    max-width: 100%;
  }
  .feature-grid,
  .steps,
  .screenshots,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .screenshots figure:not(.wide) img {
    height: 300px;
    padding: 14px;
  }
  .screenshots figure.auth-shot img {
    height: 340px;
    padding: 8px;
  }
  .site-footer {
    align-items: flex-start;
    display: grid;
    gap: 10px;
  }
}


.back-to-top {
  display: none;
}

@media (max-width: 680px) {
  .back-to-top {
    align-items: center;
    background: var(--accent);
    border: 1px solid var(--accent-dark);
    border-radius: 999px;
    bottom: 18px;
    box-shadow: 0 14px 32px rgba(87, 64, 46, 0.22);
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    font-size: 1.1rem;
    font-weight: 900;
    height: 42px;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    position: fixed;
    right: 16px;
    transform: translateY(8px);
    transition: opacity 0.18s ease, transform 0.18s ease;
    width: 42px;
    z-index: 20;
  }
  .back-to-top.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }
}
