@import url("https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,560;9..144,680&family=Outfit:wght@400;500;600;700&display=swap");

:root {
  --river: #10241c;
  --river-mid: #1c4334;
  --gold: #c9893a;
  --paper: #f3f0e8;
  --card: #fffcf8;
  --ink: #17211c;
  --muted: #5c6a63;
  --line: rgba(16, 36, 28, 0.1);
  --header: 72px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  align-items: stretch;
  font-family: Outfit, "Segoe UI", sans-serif;
  color: var(--ink);
  line-height: 1.6;
  background:
    radial-gradient(900px 420px at 100% -10%, rgba(201, 137, 58, 0.16), transparent 55%),
    var(--paper);
}

img { max-width: 100%; }

h1, h2, h3, h4 {
  font-family: Fraunces, Georgia, serif;
  letter-spacing: -0.03em;
  line-height: 1.12;
  color: var(--river);
}

p { color: #31403a; }

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  width: 100%;
  display: block;
  background: rgba(16, 36, 28, 0.94);
  color: #fff;
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 30px rgba(8, 18, 14, 0.16);
}

.site-bar {
  max-width: 1140px;
  margin: 0 auto;
  min-height: var(--header);
  padding: 10px 20px;
  display: flex;
  align-items: center;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  text-decoration: none;
  font-family: Fraunces, Georgia, serif;
  font-size: 1.45rem;
  letter-spacing: -0.04em;
}

.site-header .brand img {
  width: 44px;
  height: 44px;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: 0 0 0 2px rgba(201, 137, 58, 0.75);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.site-nav a {
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 8px 12px;
  border-radius: 999px;
}

.site-nav a:hover,
.site-nav a.is-current {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.site-nav a.lang {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: 6px;
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.site-nav a.lang img {
  width: 18px;
  height: auto;
  border-radius: 2px;
}

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 14px;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: #fff;
  border-radius: 2px;
}

.hero,
.band,
.split {
  background: transparent;
  border: 0;
  box-shadow: none;
  width: auto;
  max-width: 1140px;
  border-radius: 0;
}

.hero {
  margin: 28px auto 10px;
  padding: 8px 20px 20px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 42px;
  align-items: center;
}

.kicker {
  margin: 0 0 10px;
  color: var(--gold);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.hero h1 {
  margin: 0 0 12px;
  font-size: clamp(2.4rem, 5vw, 4.4rem);
}

.hero-copy > p {
  font-size: 1.12rem;
  max-width: 38rem;
}

.hero-media {
  position: relative;
  margin: 0;
}

.hero-media .hero-photo {
  width: 100%;
  height: min(520px, 68vw);
  object-fit: cover;
  border-radius: 28px;
  box-shadow: 0 24px 50px rgba(16, 36, 28, 0.18);
}

.hero-phone {
  position: absolute;
  width: 148px;
  right: 18px;
  bottom: 18px;
  border-radius: 22px;
  border: 6px solid #10241c;
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.28);
}

.download-link {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.store-button,
.button,
.btn-primary,
.btn:not(.btn-mp):not(.btn-pp):not(.btn-discover):not(.btn-link) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--river);
  color: #fff;
  text-decoration: none;
  border: 0;
  border-radius: 999px;
  padding: 12px 18px;
  font-family: Outfit, "Segoe UI", sans-serif;
  font-weight: 700;
  box-shadow: 0 10px 20px rgba(16, 36, 28, 0.16);
  cursor: pointer;
}

.store-button:hover,
.button:hover,
.btn-primary:hover,
.btn:not(.btn-mp):not(.btn-pp):not(.btn-discover):not(.btn-link):hover,
form button:hover {
  background: var(--river-mid);
  transform: translateY(-2px);
}

.band {
  margin: 10px auto 20px;
  padding: 10px 20px 36px;
}

.band-head h2,
.band > h2,
.band > h3 {
  margin: 8px 0 18px;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.reasons {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
}

.reasons li {
  grid-column: span 2;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  min-height: 100%;
  box-shadow: 0 12px 28px rgba(16, 36, 28, 0.05);
}

.reasons li:nth-child(1),
.reasons li:nth-child(2) { grid-column: span 3; }

.reasons img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.reasons li:nth-child(1) img,
.reasons li:nth-child(2) img { height: 230px; }

.reasons p {
  margin: 0;
  padding: 16px 18px 20px;
  font-weight: 650;
  color: var(--river);
}

.split {
  margin: 8px auto 22px;
  padding: 0 20px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 22px;
  align-items: stretch;
}

.split figure {
  margin: 0;
  border-radius: 28px;
  overflow: hidden;
  min-height: 280px;
}

.split figure img {
  width: 100%;
  height: 100%;
  min-height: 300px;
  object-fit: cover;
  display: block;
}

.split .copy,
.loopi-copy {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 32px 28px;
  box-shadow: 0 12px 28px rgba(16, 36, 28, 0.05);
}

.split-reverse { direction: rtl; }
.split-reverse > * { direction: ltr; }

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

.feature-grid article {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(16, 36, 28, 0.05);
}

.feature-grid img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.feature-grid h4,
.feature-grid p { margin-left: 18px; margin-right: 18px; }
.feature-grid h4 { margin-top: 16px; margin-bottom: 6px; }
.feature-grid p { margin-top: 0; margin-bottom: 18px; }

.app-screenshots {
  display: flex;
  justify-content: center;
  gap: 22px;
  flex-wrap: wrap;
  margin: 8px 0 20px;
}

.app-screenshots img {
  width: min(230px, 42vw);
  height: auto;
  border-radius: 28px;
  border: 8px solid #12241e;
  background: #12241e;
  box-shadow: 0 22px 40px rgba(16, 36, 28, 0.2);
}

.page-banner {
  max-width: 1140px;
  margin: 24px auto 0;
  padding: 0 20px;
}

.page-banner img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: 28px;
  display: block;
}

.page-grid {
  max-width: 1100px;
  margin: 28px auto 40px;
  padding: 0 20px;
  display: grid;
  grid-template-columns: minmax(220px, 300px) minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

.page-visual { margin: 0; }
.page-visual img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  border-radius: 28px;
  position: sticky;
  top: 92px;
}

.page-grid > section,
main > section {
  max-width: 920px;
  width: min(920px, calc(100% - 32px));
  margin: 28px auto 48px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: 0 16px 40px rgba(16, 36, 28, 0.06);
}

.page-grid > section {
  width: auto;
  max-width: none;
  margin: 0;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 18px;
}

.card {
  padding: 0 0 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(16, 36, 28, 0.05);
}

.card img {
  width: 100% !important;
  height: 180px !important;
  object-fit: cover !important;
  border-radius: 0 !important;
  margin: 0 0 12px !important;
  display: block;
}

.card h3,
.card p,
.card .btn { margin-left: 16px; margin-right: 16px; }

#thumb {
  width: 100% !important;
  height: min(420px, 52vw);
  max-height: 420px !important;
  object-fit: cover;
  border-radius: 22px !important;
}

form label { color: var(--river-mid); font-weight: 700; }

form input,
form textarea,
form select {
  width: 100%;
  border: 1px solid #d9e0da;
  border-radius: 14px;
  background: #fbfaf7;
  padding: 12px 14px;
  font: inherit;
}

form input:focus,
form textarea:focus,
form select:focus {
  border-color: var(--river-mid);
  box-shadow: 0 0 0 4px rgba(201, 137, 58, 0.22);
  outline: none;
}

form button {
  width: 100%;
  background: var(--river);
  color: #fff;
  border: 0;
  border-radius: 999px;
  padding: 14px 18px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.container,
.wrap {
  max-width: 820px;
  margin: 28px auto;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: 0 16px 40px rgba(16, 36, 28, 0.06);
}

footer {
  width: 100%;
  margin-top: auto;
  padding: 26px 8vw;
  background: var(--river) !important;
  color: #d7e6de !important;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

footer p { margin: 0; color: inherit; }
footer a { color: #f3e2c4 !important; }

body > aside {
  max-width: 820px;
  margin: 20px auto !important;
  background: #fff8ee;
  border: 1px solid rgba(201, 137, 58, 0.45) !important;
  border-radius: 16px;
}

@media (max-width: 860px) {
  .nav-toggle { display: inline-block; }

  .site-nav {
    display: none;
    position: absolute;
    left: 12px;
    right: 12px;
    top: calc(100% - 6px);
    margin: 0;
    padding: 10px;
    flex-direction: column;
    align-items: stretch;
    background: #10241c;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
  }

  .site-nav.is-open { display: flex; }
  .site-nav a.lang { margin-left: 0; }
  .site-header { position: sticky; }

  .hero,
  .split,
  .feature-grid,
  .page-grid,
  .reasons { grid-template-columns: 1fr; }

  .reasons li,
  .reasons li:nth-child(1),
  .reasons li:nth-child(2) { grid-column: auto; }

  .split-reverse { direction: ltr; }

  .hero-media .hero-photo { height: 280px; }
  .hero-phone { width: 108px; right: 12px; bottom: 12px; }

  .page-visual img {
    position: static;
    min-height: 0;
    height: 200px;
  }

  main > section,
  .page-grid > section { width: auto; }

  footer { justify-content: center; text-align: center; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 2.15rem; }
  .split .copy,
  .loopi-copy,
  main > section { padding: 20px 16px; }
  .app-screenshots img { width: min(210px, 78vw); }
}
