:root {
  --ivory: #f7f3e8;
  --cream: #fffdf5;
  --forest: #174c35;
  --olive: #4f693f;
  --sage: #e4eee4;
  --leaf: #bed779;
  --pomelo: #d4ae58;
  --brown: #685d50;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--ivory);
}

body {
  min-height: 100%;
  margin: 0;
  background: var(--ivory);
  color: var(--forest);
  font-family: "Be Vietnam Pro", Arial, sans-serif;
}

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

.landing-page {
  position: relative;
  display: grid;
  min-height: 100svh;
  place-items: center;
  overflow: hidden;
  padding: 28px 18px;
  isolation: isolate;
  background:
    radial-gradient(circle at 20% 10%, rgb(190 215 121 / 16%), transparent 28%),
    radial-gradient(circle at 88% 82%, rgb(212 174 88 / 13%), transparent 32%),
    var(--ivory);
}

.landing-page::before {
  position: absolute;
  z-index: -2;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.04'/%3E%3C/svg%3E");
  content: "";
  opacity: 0.38;
  pointer-events: none;
}

.ambient {
  position: absolute;
  z-index: -1;
  width: 210px;
  height: 210px;
  border: 1px solid rgb(23 76 53 / 9%);
  border-radius: 46% 54% 62% 38% / 41% 39% 61% 59%;
  pointer-events: none;
}

.ambient::before,
.ambient::after {
  position: absolute;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--leaf);
  content: "";
  opacity: 0.75;
}

.ambient-top {
  top: -92px;
  right: -58px;
  rotate: 24deg;
}

.ambient-top::before {
  bottom: 28px;
  left: 8px;
}

.ambient-top::after {
  bottom: 5px;
  left: 36px;
}

.ambient-bottom {
  bottom: -104px;
  left: -76px;
  rotate: -18deg;
}

.ambient-bottom::before {
  top: 26px;
  right: 8px;
}

.ambient-bottom::after {
  top: 0;
  right: 38px;
}

.link-card {
  width: min(100%, 470px);
  padding: 38px 30px 30px;
  border: 1px solid rgb(23 76 53 / 10%);
  border-radius: 34px;
  background: rgb(255 253 245 / 92%);
  box-shadow:
    0 24px 70px rgb(23 76 53 / 9%),
    inset 0 1px 0 rgb(255 255 255 / 80%);
  text-align: center;
  backdrop-filter: blur(12px);
}

.brand-logo-frame {
  position: relative;
  width: 132px;
  height: 128px;
  margin: 0 auto 12px;
  overflow: hidden;
}

.brand-logo {
  position: absolute;
  top: -36px;
  left: -47px;
  width: 222px;
  max-width: none;
  height: 222px;
  object-fit: contain;
}

.eyebrow {
  margin: 0 0 22px;
  color: var(--olive);
  font-size: 12px;
  font-weight: 500;
}

h1 {
  margin: 0;
  color: var(--forest);
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(34px, 9vw, 46px);
  font-weight: 700;
  font-kerning: normal;
  letter-spacing: -0.025em;
  line-height: 1.12;
  word-spacing: 0;
}

.intro {
  max-width: 350px;
  margin: 16px auto 27px;
  color: var(--brown);
  font-size: 15px;
  line-height: 1.55;
}

.link-list {
  display: grid;
  gap: 13px;
}

.action-link {
  display: grid;
  min-height: 84px;
  grid-template-columns: 48px minmax(0, 1fr) 28px;
  align-items: center;
  gap: 13px;
  padding: 13px 16px;
  border: 1px solid transparent;
  border-radius: 23px;
  text-align: left;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
  -webkit-tap-highlight-color: transparent;
}

.action-link-primary {
  background: var(--forest);
  box-shadow: 0 13px 27px rgb(23 76 53 / 17%);
  color: var(--cream);
}

.action-link-secondary {
  border-color: rgb(23 76 53 / 13%);
  background: var(--sage);
  color: var(--forest);
}

.action-link:hover {
  transform: translateY(-2px);
}

.action-link-primary:hover {
  box-shadow: 0 17px 35px rgb(23 76 53 / 23%);
}

.action-link-secondary:hover {
  border-color: rgb(23 76 53 / 25%);
  box-shadow: 0 12px 26px rgb(23 76 53 / 9%);
}

.action-link:focus-visible {
  outline: 3px solid var(--pomelo);
  outline-offset: 3px;
}

.action-link:active {
  transform: translateY(0) scale(0.99);
}

.action-icon {
  position: relative;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 16px;
}

.action-link-primary .action-icon {
  background: rgb(255 253 245 / 13%);
  color: var(--cream);
}

.action-link-secondary .action-icon {
  background: var(--cream);
  color: var(--forest);
}

.illustration-icon {
  overflow: hidden;
}

.action-illustration {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.shop-illustration {
  scale: 1.2;
}

.zalo-illustration {
  scale: 1.08;
}

.action-copy {
  display: grid;
  min-width: 0;
  gap: 4px;
}

.action-copy strong {
  font-size: 15px;
  font-weight: 800;
  line-height: 1.25;
}

.action-copy small {
  font-size: 11px;
  font-weight: 500;
  line-height: 1.35;
  opacity: 0.76;
}

.button-arrow {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 50%;
  font-size: 17px;
}

.action-link-primary .button-arrow {
  background: rgb(255 253 245 / 11%);
}

.action-link-secondary .button-arrow {
  background: rgb(23 76 53 / 8%);
}

.support-line {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 10px;
  margin-top: 23px;
}

.support-line span {
  height: 1px;
  background: rgb(23 76 53 / 13%);
}

.support-line p {
  margin: 0;
  color: var(--brown);
  font-size: 11px;
}

.support-line strong {
  color: var(--forest);
  white-space: nowrap;
}

.thank-you {
  margin: 15px 0 0;
  color: var(--olive);
  font-size: 11px;
  line-height: 1.5;
}

@media (max-width: 390px) {
  .landing-page {
    padding: 14px 12px;
  }

  .link-card {
    padding: 27px 18px 22px;
    border-radius: 28px;
  }

  .brand-logo-frame {
    margin-bottom: 8px;
  }

  .eyebrow {
    margin-bottom: 17px;
  }

  .intro {
    margin-top: 13px;
    margin-bottom: 20px;
    font-size: 14px;
  }

  .action-link {
    min-height: 78px;
    grid-template-columns: 44px minmax(0, 1fr) 26px;
    gap: 11px;
    padding: 11px 12px;
    border-radius: 20px;
  }

  .action-icon {
    width: 44px;
    height: 44px;
  }

  .action-copy strong {
    font-size: 14px;
  }

  .action-copy small {
    font-size: 10.5px;
  }

  .support-line {
    margin-top: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .action-link {
    transition: none;
  }
}
