/*
 * Amunta landing page — 2026 visual refresh
 * A calm, accessible finance interface with a clear conversion path.
 */
:root {
  --ink: #102a2a;
  --ink-2: #174c45;
  --text: #253b3a;
  --muted: #637674;
  --paper: #f5f7f2;
  --card: #ffffff;
  --line: #dce5df;
  --rule: transparent;
  --green: #16a36a;
  --red: #e15f54;
  --gold: #e7b84c;
  --gold-soft: #fff3cc;
  --teal: #147f79;
  --shadow: 0 28px 80px -38px rgba(14, 55, 51, .38);
  --shadow-sm: 0 16px 36px -26px rgba(14, 55, 51, .42);
  --maxw: 1180px;
}

html {
  scroll-padding-top: 96px;
  overflow-x: clip;
}

body {
  background:
    radial-gradient(circle at 8% 4%, rgba(238, 197, 89, .16), transparent 26rem),
    radial-gradient(circle at 94% 24%, rgba(22, 163, 106, .1), transparent 31rem),
    var(--paper);
  background-attachment: fixed;
  color: var(--text);
  overflow-x: clip;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .34;
  background-image: radial-gradient(rgba(16, 42, 42, .15) .7px, transparent .7px);
  background-size: 18px 18px;
  mask-image: linear-gradient(to bottom, #000, transparent 45%);
}

.skip-link {
  position: fixed;
  inset-block-start: 10px;
  inset-inline-start: 12px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 12px;
  background: var(--ink);
  color: #fff;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

:where(a, button, summary):focus-visible {
  outline: 3px solid #f0b82f;
  outline-offset: 4px;
}

.site-header {
  top: 12px;
  width: min(var(--maxw), calc(100% - 32px));
  margin-inline: auto;
  border: 1px solid rgba(205, 220, 211, .9);
  border-radius: 20px;
  background: rgba(255, 255, 255, .84);
  box-shadow: 0 10px 32px -24px rgba(14, 55, 51, .62);
}

.nav {
  width: 100%;
  min-height: 72px;
  padding-inline: 14px;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 13px;
}

.brand-text small {
  color: var(--muted);
}

.nav-links {
  gap: 6px;
  padding: 5px;
  border: 1px solid rgba(220, 229, 223, .8);
  border-radius: 14px;
  background: rgba(245, 247, 242, .72);
}

.nav-links a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 7px 11px;
  border-radius: 10px;
  color: var(--text);
}

.nav-links a:hover {
  background: #fff;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}

.nav-cta,
.btn.primary {
  background: var(--green);
  color: #fff;
  box-shadow: 0 14px 28px -18px rgba(7, 117, 72, .88);
}

.nav-cta {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 9px 18px;
  border-radius: 12px;
}

.nav-cta:hover,
.btn.primary:hover {
  background: #0d8958;
}

.lang-switch-mobile > summary {
  min-height: 44px;
  border-radius: 12px;
  background: #fff;
}

.lang-switch-mobile {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.lang-switch-mobile .lang-dropdown {
  top: calc(100% + 10px);
  min-width: 180px;
  padding: 6px;
  border-radius: 14px;
}

.lang-switch-mobile .lang-dropdown a {
  min-height: 42px;
  border: 0;
  border-radius: 9px;
}

.footer .lang-switch-mobile .lang-dropdown {
  top: auto;
  bottom: calc(100% + 10px);
}

.hero {
  position: relative;
  overflow: clip;
  padding: 108px 0 86px;
}

.hero::after {
  content: "";
  position: absolute;
  inset-block-start: 12%;
  inset-inline-end: -8rem;
  z-index: -1;
  width: 30rem;
  aspect-ratio: 1;
  border-radius: 40% 60% 54% 46%;
  background: linear-gradient(145deg, rgba(22, 163, 106, .13), rgba(231, 184, 76, .15));
  transform: rotate(-14deg);
}

.hero-grid {
  grid-template-columns: minmax(0, 1.12fr) minmax(300px, .88fr);
  gap: clamp(46px, 8vw, 96px);
}

.eyebrow {
  margin-bottom: 26px;
  padding: 8px 14px;
  border-color: #ead998;
  background: rgba(255, 243, 204, .72);
  color: #5f4a08;
}

.hero h1 {
  max-width: 11ch;
  margin-bottom: 26px;
  font-size: clamp(46px, 6.5vw, 78px);
  line-height: .98;
  letter-spacing: -.035em;
}

.hero h1 .l2 {
  margin-top: .12em;
  color: var(--green);
  font-style: normal;
}

.lead {
  max-width: 38em;
  color: #405553;
  line-height: 1.85;
}

.btn {
  min-height: 52px;
  padding: 13px 24px;
  border-radius: 14px;
}

.btn.ghost {
  border-color: #b8c9c1;
  background: rgba(255, 255, 255, .64);
}

.btn.ghost:hover {
  border-color: var(--ink);
}

.proof {
  gap: 10px;
  margin-top: 40px;
  padding: 10px;
  border: 1px solid rgba(207, 221, 213, .82);
  border-radius: 20px;
  background: rgba(255, 255, 255, .55);
}

.proof > div {
  min-height: 86px;
  padding: 15px 16px;
  border: 1px solid #e7ede9;
  border-radius: 13px;
  background: rgba(255, 255, 255, .92);
}

.proof dt {
  color: var(--ink);
}

.hero-shot {
  min-height: 640px;
  border: 1px solid rgba(205, 220, 211, .92);
  border-radius: 44px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .9), rgba(232, 242, 235, .72)),
    var(--card);
  box-shadow: var(--shadow);
}

.hero-shot::before {
  width: 76%;
  height: 66%;
  border-radius: 50%;
  background: rgba(22, 163, 106, .16);
  filter: blur(56px);
}

.hero-shot img {
  width: min(315px, 78%);
  transform: rotate(-2.5deg);
  filter: drop-shadow(0 34px 44px rgba(14, 55, 51, .28));
}

.band {
  border-block: 1px solid var(--line);
  background: rgba(255, 255, 255, .68);
  background-image: none;
}

.section,
.band .wrap {
  padding-block: 104px;
}

.kicker {
  margin-bottom: 13px;
  color: #7a5b09;
}

h2 {
  font-size: clamp(32px, 4vw, 50px);
  line-height: 1.15;
}

.def {
  border: 0;
  background: var(--ink);
  color: #dce8e4;
}

.def h2 {
  color: #fff;
}

.def .kicker {
  color: #f2d275;
}

.def-p {
  color: #c5d7d2;
}

.cards {
  gap: 16px;
}

.card {
  min-height: 226px;
  padding: 28px;
  border-color: #dce7e0;
  border-radius: 22px;
  box-shadow: none;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.card::before {
  display: none;
}

.card:hover {
  border-color: #bdd4c7;
  box-shadow: var(--shadow-sm);
  transform: translateY(-4px);
}

.ic {
  width: 48px;
  height: 48px;
  border-radius: 15px;
}

.screens {
  overflow: clip;
  background: #e9f0ea;
}

.screens .head {
  margin-inline: auto;
  text-align: center;
}

.screens .head .sub {
  margin-inline: auto;
}

.shot-row {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  max-width: none;
}

.shot,
.shot.rev {
  grid-template-columns: 1fr;
  gap: 18px;
  padding: 28px 18px 22px;
  border: 1px solid #d5e2da;
  border-radius: 26px;
  background: rgba(255, 255, 255, .72);
  text-align: center;
}

.shot.rev .shot-img {
  order: 0;
}

.shot-img img {
  width: 210px;
  max-width: 84%;
}

.shot figcaption,
.shot.rev figcaption {
  justify-self: center;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: clamp(17px, 1.8vw, 21px);
}

.shot-n {
  border: 0;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
}

.shared {
  margin-block: 42px;
  padding-inline: clamp(24px, 5vw, 68px);
  border: 1px solid #d9e5de;
  border-radius: 36px;
  background: rgba(255, 255, 255, .72);
}

.shared-shot::before {
  background: rgba(22, 163, 106, .14);
  filter: blur(42px);
}

.privacy {
  border: 0;
  background:
    radial-gradient(circle at 14% 22%, rgba(22, 163, 106, .2), transparent 30rem),
    var(--ink);
}

.privacy .privacy-grid {
  align-items: center;
}

.p-item {
  padding: 20px;
  border-color: rgba(255, 255, 255, .13);
  border-radius: 17px;
  background: rgba(255, 255, 255, .07);
}

.p-item span {
  line-height: 1.7;
}

.cards.two {
  max-width: 820px;
}

.cards.two .card {
  min-height: 0;
}

.card.plus {
  border-color: #e1b849;
  background: linear-gradient(150deg, #fff, #fff9e9);
}

.stores {
  margin-top: 14px;
}

.store {
  min-height: 62px;
  border: 1px solid #284a48;
  border-radius: 16px;
  background: var(--ink);
}

.faq {
  max-width: 900px;
  gap: 12px;
}

.faq details {
  padding: 0;
  overflow: clip;
  border-radius: 18px;
  background: rgba(255, 255, 255, .82);
}

.faq summary {
  min-height: 64px;
  display: flex;
  align-items: center;
  padding: 18px 22px;
  padding-inline-end: 58px;
}

.faq summary::after {
  inset-inline-end: 22px;
  top: 50%;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--gold-soft);
  transform: translateY(-50%);
}

.faq details p {
  margin: 0;
  padding: 0 22px 22px;
  line-height: 1.8;
}

.footer {
  padding-top: 64px;
  background: #0a211f;
}

@media (max-width: 980px) {
  .hero {
    padding-top: 74px;
  }

  .hero-grid,
  .shared-grid,
  .privacy .privacy-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-shot {
    order: 0;
    min-height: 570px;
  }

  .shot-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .site-header {
    position: relative;
    top: 0;
    width: 100%;
    border-width: 0 0 1px;
    border-radius: 0;
  }

  .nav {
    grid-template-columns: 1fr 1fr !important;
    grid-template-areas: "brand brand" "cta lang" !important;
    direction: ltr;
    padding: 12px 18px !important;
  }

  .nav > * {
    direction: rtl;
  }

  .nav-links {
    display: none !important;
  }

  .hero {
    padding: 54px 0 64px;
  }

  .hero-grid {
    width: calc(100vw - 40px);
    max-width: calc(100vw - 40px);
    margin-inline: auto;
    gap: 48px;
  }

  .hero-copy {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow: clip;
  }

  .eyebrow {
    max-width: 100%;
    white-space: normal;
  }

  .hero h1 {
    width: 100%;
    max-width: 100%;
    max-width: 12ch;
    font-size: clamp(43px, 13vw, 64px);
  }

  .hero-shot {
    height: 440px;
    min-height: 0;
    display: grid;
    align-items: start;
    overflow: hidden;
    border-radius: 30px;
  }

  .hero-shot img {
    width: min(230px, 68%);
    margin-top: 22px;
  }

  .proof {
    width: 100%;
    max-width: 100%;
    grid-template-columns: minmax(0, 1fr);
  }

  .proof > div {
    min-width: 0;
  }

  .actions .btn {
    flex: 1 1 100%;
    width: 100%;
  }

  .section,
  .band .wrap {
    padding-block: 72px;
  }

  .shot-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    width: 100%;
    margin: 0;
    padding: 0;
    overflow: visible;
  }

  .shot,
  .shot.rev {
    min-height: 116px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
    border-radius: 18px;
  }

  .shot-img {
    display: none;
  }

  .shot figcaption,
  .shot.rev figcaption {
    width: 100%;
    flex-direction: column;
    align-items: center;
    gap: 9px;
    font-family: var(--body);
    font-size: 15px;
    line-height: 1.55;
  }

  .shared-shot {
    display: none;
  }

  .shared {
    width: calc(100% - 28px);
    margin-block: 28px;
    padding-inline: 24px;
    border-radius: 26px;
  }
}

@media (max-width: 480px) {
  .wrap,
  .hero-grid,
  .nav {
    width: calc(100% - 28px);
  }

  .nav {
    width: 100%;
  }

  .brand-text small {
    display: none;
  }

  .proof {
    grid-template-columns: 1fr;
  }

  .proof > div {
    min-height: 0;
  }

  .shot-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .shot,
  .shot.rev {
    min-height: 88px;
  }

  .actions .btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}

/* Feature depth: text-first so the mobile page stays fast and compact. */
.capability-band {
  background:
    radial-gradient(circle at 12% 16%, rgba(214, 164, 40, .1), transparent 28%),
    linear-gradient(135deg, #f7f4e9, #eef7f2);
}

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

.capability-card {
  min-width: 0;
  padding: 24px;
  border: 1px solid rgba(16, 47, 88, .11);
  border-radius: 22px;
  background: rgba(255, 255, 255, .84);
  box-shadow: 0 18px 36px -32px rgba(16, 47, 88, .55);
}

.capability-card > span {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  margin-bottom: 20px;
  border-radius: 12px;
  background: #e5f4ed;
  color: var(--green);
  font: 800 20px/1 var(--body);
}

.capability-card h3 {
  margin: 0 0 9px;
  color: var(--ink);
  font-size: 19px;
}

.capability-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.feature-reference-link {
  margin: 30px 0 0;
  text-align: center;
}

@media (max-width: 900px) {
  .capability-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .capability-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }

  .capability-card {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    column-gap: 14px;
    padding: 18px;
  }

  .capability-card > span {
    grid-row: 1 / span 2;
    margin: 0;
  }

  .capability-card h3,
  .capability-card p {
    grid-column: 2;
  }

  .capability-card p {
    font-size: 14px;
  }
}
