:root {
  --bg: #f7f8f4;
  --ink: #151719;
  --muted: #66717c;
  --line: rgba(21, 23, 25, .13);
  --mint-dark: #087932;
  --orderup-dark: #a95b00;
  --shadow: 0 18px 42px rgba(21, 23, 25, .10);
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

body {
  margin: 0;
  font-family: "Segoe UI", Tahoma, Arial, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 8%, rgba(8, 168, 63, .12), transparent 26%),
    radial-gradient(circle at 88% 10%, rgba(244, 173, 52, .18), transparent 26%),
    var(--bg);
}

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

.page {
  width: min(1120px, calc(100vw - 32px));
  height: 100dvh;
  margin: 0 auto;
  padding: clamp(14px, 2.2dvh, 24px) 0 clamp(9px, 1.4dvh, 14px);
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: clamp(10px, 1.8dvh, 18px);
  overflow: hidden;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 14px;
  text-align: left;
}

.brand-logo {
  width: clamp(52px, 7.2dvh, 70px);
  height: clamp(52px, 7.2dvh, 70px);
  object-fit: contain;
  flex: 0 0 auto;
}

.brand-name {
  font-size: clamp(27px, 3.7dvh, 36px);
  line-height: 1;
  font-weight: 700;
  letter-spacing: -0.035em;
}

.brand-subtitle {
  color: var(--muted);
  font-size: clamp(14px, 2dvh, 17px);
  line-height: 1.2;
  margin-top: 5px;
}

.main-content {
  min-height: 0;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: clamp(44px, 8dvh, 88px);
  overflow: visible;
}

h1 {
  position: relative;
  margin: clamp(32px, 6.4dvh, 64px) 0 clamp(32px, 6.8dvh, 68px);
  padding: .08em 0 .14em;
  text-align: center;
  font-size: clamp(54px, 9.8dvh, 92px);
  line-height: 1.08;
  letter-spacing: -0.035em;
  font-weight: 720;
  background: linear-gradient(95deg, #101418 0%, #101418 36%, #5b6570 48%, #101418 60%, #101418 100%);
  background-size: 240% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 14px 34px rgba(16, 20, 24, .10);
  animation: headlineShine 6s ease-in-out infinite;
}

@keyframes headlineShine {
  0%, 35% {
    background-position: 120% 0;
  }
  65%, 100% {
    background-position: -120% 0;
  }
}

.products {
  min-height: 0;
  height: 100%;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 24px);
  align-items: stretch;
}

.product-card {
  min-height: 0;
  height: 100%;
  background: rgba(255, 255, 255, .9);
  border: 1px solid var(--line);
  border-radius: 26px;
  box-shadow: var(--shadow);
  padding: clamp(18px, 2.6dvh, 26px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: clamp(16px, 2.6dvh, 28px);
  overflow: hidden;
}

.mint-card {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .95), rgba(255, 255, 255, .78)),
    linear-gradient(135deg, #ffffff, #e4f8eb);
}

.orderup-card {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .95), rgba(255, 255, 255, .78)),
    linear-gradient(135deg, #ffffff, #fff0cf);
}

.product-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 22px;
}

.product-logo {
  width: clamp(108px, 15dvh, 150px);
  height: clamp(108px, 15dvh, 150px);
  object-fit: contain;
}

.product-card h2 {
  margin: 0;
  font-size: clamp(44px, 6.5dvh, 60px);
  line-height: .95;
  letter-spacing: -0.045em;
  font-weight: 720;
}

.product-card p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: clamp(16px, 2.35dvh, 20px);
  line-height: 1.3;
}

.card-bottom {
  display: grid;
  gap: clamp(12px, 1.9dvh, 18px);
}

.download-stat {
  width: 100%;
  padding: clamp(11px, 1.8dvh, 16px) 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, .72);
  border: 1px solid var(--line);
}

.stat-number {
  display: block;
  font-size: clamp(32px, 5.1dvh, 46px);
  line-height: 1;
  font-weight: 720;
  letter-spacing: -0.055em;
}

.stat-label {
  display: block;
  color: var(--muted);
  margin-top: 3px;
  font-size: 14px;
}

.download-button {
  width: 100%;
  min-height: clamp(44px, 6.2dvh, 56px);
  padding: 0 18px;
  border-radius: 16px;
  color: white;
  font-size: clamp(18px, 2.45dvh, 21px);
  line-height: 1;
  font-weight: 700;
  text-align: center;
  box-shadow: none;
  border: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mint-button {
  background: var(--mint-dark);
}

.orderup-button {
  background: var(--orderup-dark);
}

.download-button:hover {
  filter: brightness(.96);
}

.site-footer {
  border-top: 1px solid var(--line);
  padding-top: clamp(8px, 1.5dvh, 14px);
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: clamp(18px, 3vw, 34px);
  color: var(--muted);
  font-size: clamp(14px, 2dvh, 17px);
  font-weight: 600;
  white-space: nowrap;
}

.site-footer a:hover {
  color: var(--ink);
}

@media (prefers-reduced-motion: reduce) {
  h1 {
    animation: none;
    color: #101418;
    background: none;
  }
}

@media (max-width: 760px) {
  .page {
    width: min(100vw - 22px, 1120px);
  }

  .main-content {
    gap: clamp(30px, 6dvh, 54px);
  }

  h1 {
    margin: clamp(24px, 4.8dvh, 48px) 0 clamp(24px, 5.2dvh, 52px);
    padding: .08em 0 .14em;
    font-size: clamp(34px, 7.2dvh, 56px);
    line-height: 1.08;
    letter-spacing: -0.03em;
  }

  .products {
    grid-template-columns: 1fr;
    gap: clamp(10px, 1.8dvh, 16px);
  }

  .product-card {
    padding: clamp(12px, 1.9dvh, 16px);
    gap: clamp(8px, 1.4dvh, 12px);
    border-radius: 20px;
  }

  .product-head {
    gap: 15px;
  }

  .product-logo {
    width: clamp(72px, 10.6dvh, 94px);
    height: clamp(72px, 10.6dvh, 94px);
  }

  .product-card h2 {
    font-size: clamp(34px, 5.2dvh, 42px);
  }

  .product-card p {
    font-size: clamp(15px, 2.15dvh, 18px);
    line-height: 1.22;
  }

  .card-bottom {
    gap: 8px;
  }

  .download-stat {
    padding: 7px 13px;
  }

  .stat-number {
    font-size: clamp(24px, 4dvh, 32px);
  }

  .download-button {
    min-height: clamp(38px, 5.4dvh, 46px);
    border-radius: 13px;
    font-size: clamp(16px, 2.2dvh, 18px);
  }
}

@media (max-width: 420px) {
  .brand-logo {
    width: 48px;
    height: 48px;
  }

  .brand-name {
    font-size: 24px;
  }

  .brand-subtitle {
    font-size: 13px;
  }

  h1 {
    font-size: clamp(30px, 9vw, 40px);
  }

  .product-logo {
    width: 68px;
    height: 68px;
  }

  .product-card h2 {
    font-size: 31px;
  }

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

  .site-footer {
    gap: 14px;
    font-size: 14px;
  }
}

/* Short screens need a slightly smaller headline space so nothing is clipped. */
@media (max-height: 760px) {
  .main-content {
    gap: clamp(22px, 4.2dvh, 40px);
  }

  h1 {
    margin: clamp(18px, 3.2dvh, 34px) 0 clamp(18px, 3.4dvh, 36px);
  }
}

@media (max-height: 660px) {
  .page {
    padding-top: 9px;
    padding-bottom: 7px;
    gap: 7px;
  }

  .brand-logo {
    width: 46px;
    height: 46px;
  }

  .brand-name {
    font-size: 24px;
  }

  .brand-subtitle {
    font-size: 13px;
  }

  .main-content {
    gap: 18px;
  }

  h1 {
    margin: 12px 0 14px;
    padding: .08em 0 .14em;
    font-size: clamp(36px, 7dvh, 56px);
    line-height: 1.08;
  }

  .product-card {
    padding: 12px;
    gap: 8px;
  }

  .product-logo {
    width: 74px;
    height: 74px;
  }

  .product-card h2 {
    font-size: 34px;
  }

  .product-card p {
    font-size: 15px;
    line-height: 1.2;
  }

  .download-stat {
    padding: 6px 10px;
  }

  .stat-number {
    font-size: 26px;
  }

  .download-button {
    min-height: 40px;
    font-size: 16px;
    border-radius: 12px;
  }

  .site-footer {
    padding-top: 6px;
    font-size: 14px;
  }
}


/* v16: desktop remains one-screen; phones/tablets can scroll normally. */
@media (max-width: 760px) {
  html,
  body {
    height: auto;
    min-height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
  }

  .page {
    height: auto;
    min-height: 100dvh;
    overflow: visible;
    display: block;
    padding-top: 14px;
    padding-bottom: 16px;
  }

  .site-header {
    margin-bottom: 22px;
  }

  .main-content {
    display: block;
    overflow: visible;
  }

  h1 {
    margin: 28px 0 34px;
  }

  .products {
    height: auto;
    min-height: 0;
    overflow: visible;
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .product-card {
    height: auto;
    min-height: 0;
    overflow: visible;
  }

  .site-footer {
    margin-top: 22px;
  }
}
