:root {
  --page-bg: #e2e4d9;
  --shell-bg: #ffffff;
  --text-main: #191919;
  --text-muted: #808080;
  --surface-soft: #f6f6f6;
  --surface-light: #ffffff;
  --border-soft: #e5e5e5;
  --accent-copper: #dfc3ac;
  --card-dark-start: #1f1b17;
  --card-dark-end: #000000;
  --content-width: 1640px;
  --heading-font: "Montserrat", "Futura PT", "Avenir Next", "Century Gothic", sans-serif;
  --body-font: "Montserrat", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--page-bg);
  color: var(--text-main);
  font-family: var(--body-font);
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

p,
h1,
h2,
h3,
h4,
ul {
  margin: 0;
}

.skip-link {
  position: absolute;
  top: -44px;
  left: 16px;
  z-index: 1000;
  background: #111;
  color: #fff;
  padding: 10px 14px;
  text-decoration: none;
}

.skip-link:focus {
  top: 12px;
}

.page-shell {
  width: min(calc(100% - 20px), 2145px);
  margin: 0 auto;
  padding: 50px 0 0;
  background: var(--shell-bg);
  border: 1px solid #c9c9c9;
}

.container,
.section-width {
  width: min(calc(100% - 64px), var(--content-width));
  margin: 0 auto;
}

.site-header {
  padding-bottom: 48px;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand-logo {
  width: 268px;
  height: auto;
}

.header-badges {
  display: flex;
  align-items: center;
  gap: 22px;
}

.issued-logo {
  height: 38px;
  width: auto;
}

.woolworths-mark {
  height: 46px;
  width: auto;
}

.main-content {
  display: flex;
  flex-direction: column;
  gap: 50px;
}

.hero {
  margin-top: 4px;
}

.hero-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid #111;
  border-radius: 15px;
  --hero-copy-right: clamp(54px, 8.1vw, 126px);
  --hero-copy-width: min(520px, 34%);
}

.hero-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.98) 0%, rgba(0, 0, 0, 0.98) 31%, rgba(0, 0, 0, 0.32) 42%, rgba(0, 0, 0, 0) 54%);
  pointer-events: none;
  z-index: 1;
}

.hero-image {
  width: 100%;
  height: auto;
}

.hero-panel picture {
  display: block;
}

.hero-kicker {
  position: absolute;
  left: clamp(54px, 6.7vw, 134px);
  top: clamp(38px, 9.2vw, 96px);
  z-index: 2;
  margin: 0;
  font-family: var(--heading-font);
  font-size: clamp(2rem, 3.2vw, 3.45rem);
  font-weight: 600;
  line-height: 0.9;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-kicker span {
  display: block;
}

.hero-kicker-light {
  color: #fff;
}

.hero-kicker-accent {
  color: #cc9176;
}

.hero-headline {
  position: absolute;
  right: var(--hero-copy-right);
  bottom: clamp(104px, 22%, 146px);
  z-index: 2;
  width: var(--hero-copy-width);
  margin: 0;
  color: #ffffff;
  font-family: var(--heading-font);
  font-size: clamp(1rem, 1.52vw, 1.58rem);
  font-weight: 500;
  line-height: 0.95;
  letter-spacing: 0;
  text-align: left;
  text-transform: uppercase;
}

.hero-headline span {
  display: block;
}

.hero-headline span:first-of-type {
  font-weight: 600;
}

.hero-cta {
  position: absolute;
  left: calc(100% - var(--hero-copy-right) - var(--hero-copy-width));
  right: auto;
  bottom: clamp(48px, 12%, 84px);
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 43px;
  width: 315px;
  padding: 0 18px;
  border-radius: 10px;
  border: 1px  var(--accent-copper);
  background: linear-gradient(180deg, #fff 0%, #f0eeeb 100%);
  color: #111;
  font-family: var(--heading-font);
  font-size: 16px;
  font-weight: 800;
  box-shadow: 0 8px 18px rgba(70, 70, 70, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  text-decoration: none;
  letter-spacing: 0.1em;
  cursor: pointer;
  text-align: center;
  transition: transform 320ms ease, box-shadow 420ms ease, background-color 420ms ease, color 420ms ease;
}

@media (hover: hover) and (pointer: fine) {
  .hero-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 24px rgba(0, 0, 0, 0.28), 0 0 0 2px rgba(223, 195, 172, 0.24), inset 0 1px 0 rgb(158, 157, 157);
    background: #1f1b17;
    color: #fff;
  }
}

.hero-cta:active {
  transform: translateY(0);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2), inset 0 2px 4px rgba(0, 0, 0, 0.14);
  background: linear-gradient(180deg, #fff 0%, #f0eeeb 100%);
  color: #111;
}

.hero-cta:focus-visible {
  outline: 3px solid var(--accent-copper);
  outline-offset: 3px;
}

.section-copy {
  text-align: center;
}

.section-copy p {
  max-width: 1240px;
  margin: 0 auto;
  font-size: clamp(1rem, 1.15vw, 1.5rem);
  line-height: 1.2;
}

.info-section {
  display: flex;
  flex-direction: column;
  gap: 50px;
}

.section-title {
  text-align: center;
  font-family: var(--heading-font);
  font-weight: 600;
  font-size: clamp(2rem, 3vw, 3.2rem);
  line-height: 0.95;
  letter-spacing: 0;
  text-transform: uppercase;
}

.feature-grid {
  display: grid;
  gap: 25px;
}

.feature-grid-three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-grid-dark .feature-card {
  min-height: 156px;
}

.feature-card {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 20px;
  border-radius: 15px;
}

.feature-card > div {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 360px;
}

.feature-card img {
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
}

.feature-card-dark {
  background: linear-gradient(90deg, var(--card-dark-start), var(--card-dark-end));
  color: #fff;
}

.feature-card h3,
.button,
.cta-links a,
.footer-links-grid h4,
.newsletter-card h4 {
  font-family: var(--heading-font);
}

.feature-card h3 {
  font-family: "League Spartan", "Montserrat", "Trebuchet MS", sans-serif;
  font-weight: 700;
  color: var(--accent-copper);
  font-size: clamp(1.02rem, 1.15vw, 1.28rem);
  line-height: 1.05;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.feature-card p {
  font-family: var(--body-font);
  font-weight: 500;
  font-size: clamp(0.92rem, 0.98vw, 1.08rem);
  line-height: 1.18;
  letter-spacing: 0;
}

.primary-apply {
  display: flex;
  justify-content: center;
}

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 11px;
  min-height: 50px;
  border-radius: 10px;
  border: 1px solid #111;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 800;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.14);
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.button-dark {
  color: #fff;
  background: linear-gradient(180deg, #242424 0%, #000 100%);
  border-color: #221c17;
}

.button-wide.button-dark {
  color: #fff;
  background:#1f1b17;
}

@media (hover: hover) and (pointer: fine) {
  .button-wide.button-dark:hover {
    color: #111;
    background: #fff;
  }

  .button:hover {
    transform: translateY(-2px);
    background: #171717;
    box-shadow: 0 14px 26px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.18);
  }
}

.button:active {
  transform: translateY(0);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2), inset 0 2px 4px rgba(0, 0, 0, 0.35);
}

.button-wide.button-dark:active {
  color: #fff;
  background: #1f1b17;
}

.button:focus-visible {
  outline: 3px solid #111;
  outline-offset: 4px;
}

.button-wide {
  width: min(100%, 673px);
  font-size: clamp(0.8rem, 1vw, 1.08rem);
  padding: 0 14px;
  text-align: center;
}

.discover {
  display: flex;
  gap: 50px;
  align-items: stretch;
  justify-content: flex-start;
  overflow: hidden;
  border-radius: 15px;
  background: rgba(226, 228, 217, 0.5);
  min-height: 420px;
}

.discover-media {
  position: relative;
  width: 534px;
  min-width: 534px;
  height: 421px;
  overflow: hidden;
}

.discover-media img {
  position: absolute;
  left: -1px;
  top: -156px;
  width: 536px;
  height: 714px;
  max-width: none;
  object-fit: cover;
}

.discover-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 30px;
  width: 1061px;
  min-width: 0;
  padding: 46px 50px 46px 0;
  text-align: center;
}

.discover-content .section-title {
  font-family: var(--heading-font);
  font-weight: 600;
  font-size: clamp(2rem, 2.8vw, 3.15rem);
  letter-spacing: 0;
}

.discover-content p {
  font-family: var(--heading-font);
  font-weight: 500;
  max-width: 850px;
  font-size: 24px;
  line-height: 1.2;
}

.discover-content strong {
  font-family: var(--heading-font);
  font-weight: 600;
  font-size: 1.03em;
}

.cta-links {
  display: flex;
  justify-content: center;
  gap: 76px;
  padding: 4px 0 12px;
}

.cta-links a {
  font-size: clamp(0.84rem, 1vw, 1.12rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: underline;
}

.site-footer {
  margin-top: 36px;
  padding-bottom: 48px;
}

.footer-top-rule,
.footer-mid-rule,
.footer-bottom-rule {
  height: 1px;
  background: var(--border-soft);
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 32px 0;
}

.footer-logo {
  width: 210px;
}

.store-badges {
  display: flex;
  gap: 8px;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 30px;
  padding: 0 12px;
  border-radius: 5px;
  font-size: 0.72rem;
  font-weight: 600;
  color: #fff;
}

.store-badge-app-store,
.store-badge-play {
  background: #000;
}

.store-badge-gallery {
  border: 1px solid #555;
  background: #111;
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 424px;
  gap: 26px;
  padding: 32px 0;
}

.footer-links-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px;
}

.footer-links-grid h4 {
  margin-bottom: 16px;
  color: #191919;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
}

.footer-subhead {
  margin-top: 24px;
}

.footer-links-grid a {
  display: block;
  margin-bottom: 12px;
  color: var(--text-muted);
  font-size: 0.8rem;
  line-height: 1.3;
  text-decoration: none;
}

.newsletter-card {
  padding: 24px;
  background: var(--surface-soft);
}

.newsletter-card h4 {
  margin-bottom: 8px;
  font-size: 1.1rem;
}

.newsletter-card > p {
  color: rgba(0, 0, 0, 0.8);
  font-size: 0.87rem;
  line-height: 1.3;
}

.newsletter-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 14px 0 10px;
}

.newsletter-form input,
.newsletter-email-row button {
  border: 1px solid #b2b2b2;
  height: 44px;
  border-radius: 0;
  font: inherit;
}

.newsletter-form input {
  padding: 0 12px;
}

.newsletter-email-row {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 44px;
}

.newsletter-email-row button {
  background: #191919;
  color: #fff;
  cursor: pointer;
}

.privacy-copy {
  font-size: 0.67rem;
  color: rgba(0, 0, 0, 0.6);
}

.privacy-copy a {
  font-weight: 700;
}

.social-strip {
  display: flex;
  gap: 8px;
  margin-top: 18px;
}

.social-strip a {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #111;
  color: #fff;
  font-size: 0.75rem;
  text-decoration: none;
  text-transform: uppercase;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 22px;
  padding-top: 24px;
}

.payment-strip {
  display: flex;
  align-items: center;
  gap: 10px;
}

.secure-badge {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
}

.secure-badge span {
  color: #979797;
  font-family: var(--heading-font);
  font-size: 0.75rem;
}

.gift-card-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 41px;
  height: 25px;
  border: 1px solid #979797;
  border-radius: 5px;
  color: #979797;
  font-family: var(--heading-font);
  font-size: 0.56rem;
  letter-spacing: 0.03em;
}

.footer-legal {
  max-width: 700px;
  color: #808080;
  font-size: 0.63rem;
  line-height: 1.6;
  text-align: right;
}

@media (max-width: 1400px) {
  .footer-main {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .container,
  .section-width {
    width: min(calc(100% - 40px), 450px);
  }

  .page-shell {
    width: min(100%, 490px);
    margin: 0 auto;
    border: 0;
    padding-top: 20px;
  }

  .site-header {
    padding-bottom: 18px;
  }

  .header-inner {
    gap: 12px;
  }

  .brand-logo {
    width: 188px;
  }

  .issued-logo {
    height: 26px;
  }

  .woolworths-mark {
    height: 32px;
    width: auto;
  }

  .main-content {
    gap: 35px;
  }

  .hero {
    margin-top: 0;
  }

  .hero-panel {
    height: auto;
    aspect-ratio: 450 / 520;
    border-radius: 15px;
    background: #000;
  }

  .hero-panel::before {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.26) 0%, rgba(0, 0, 0, 0) 34%);
  }

  .hero-panel picture {
    position: absolute;
    inset: 0 0 auto 0;
    height: 58.5%;
    z-index: 0;
  }

  .hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
  }

  .hero-kicker {
    left: 9.56%;
    top: 13.85%;
    font-size: clamp(30px, 7.4vw, 34px);
    line-height: 0.9;
    letter-spacing: 0;
  }

  .hero-cta {
    display: inline-flex;
    left: 50%;
    right: auto;
    bottom: 12px;
    transform: translateX(-50%);
    width: min(315px, calc(100% - 44px));
    min-height: 43px;
    padding: 0 14px;
    border-radius: 10px;
    font-size: clamp(14px, 3.8vw, 16px);
    letter-spacing: 0.03em;
    text-align: center;
  }

  .hero-headline {
    left: 7%;
    right: 7%;
    top: 65.1%;
    bottom: auto;
    width: auto;
    font-size: clamp(18px, 5.1vw, 24px);
    line-height: 0.92;
    letter-spacing: 0;
    text-align: center;
  }

  .hero-headline span:first-of-type {
    font-weight: 600;
  }

  .hero-headline span:last-of-type {
    font-size: 0.93em;
  }

  .hero-cta {
    top: 83.46%;
    bottom: auto;
    width: min(282px, calc(100% - 64px));
    min-height: 38px;
    padding: 0 12px;
    font-size: clamp(12px, 3.2vw, 14px);
    letter-spacing: 0.045em;
  }

  .hero-cta:hover {
    transform: translateX(-50%) translateY(-2px);
  }

  .hero-cta:active {
    transform: translateX(-50%) translateY(0);
  }

  .section-copy {
    width: 388px;
    max-width: 100%;
    margin: 0 auto;
  }

  .section-copy p {
    font-size: 14px;
    line-height: 1.3;
  }

  .info-section {
    gap: 24px;
  }

  .section-title {
    font-size: 24px;
    line-height: 1;
    letter-spacing: 0;
  }

  .feature-grid-three {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .feature-card {
    min-height: 124px;
    padding: 14px 16px;
    border-radius: 15px;
  }

  .feature-card img {
    width: 34px;
    height: 34px;
    flex-basis: 34px;
  }

  .feature-card > div {
    gap: 8px;
    max-width: 300px;
  }

  .feature-card h3,
  .feature-card p {
    line-height: 1.2;
  }

  .feature-card h3 {
    font-size: 15px;
  }

  .feature-card p {
    font-size: 13px;
  }

  .primary-apply {
    padding-top: 0;
  }

  .button-wide {
    width: min(100%, 385px);
    min-height: 43px;
    font-size: 16px;
    letter-spacing: 0.04em;
    border-radius: 10px;
  }

  .discover {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    min-height: 0;
    border-radius: 15px;
    background: rgba(226, 228, 217, 0.5);
  }

  .discover-media {
    position: relative;
    width: 100%;
    min-width: 0;
    aspect-ratio: 450 / 242;
    min-height: 0;
    height: auto;
    overflow: hidden;
    background-image: url("../images/banners/discover-kenya.png");
    background-size: cover;
    background-position: center 42%;
    background-repeat: no-repeat;
  }

  .discover-media::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 44px;
    background: linear-gradient(
      to bottom,
      rgba(226, 228, 217, 0) 0%,
      rgba(226, 228, 217, 0.2) 58%,
      rgba(226, 228, 217, 0.62) 100%
    );
    pointer-events: none;
  }

  .discover-media img {
    display: none;
  }

  .discover-content {
    display: flex;
    width: 100%;
    padding: 12px 16px 24px;
    margin-top: -4px;
    gap: 12px;
    text-align: center;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
  }

  .discover-content .section-title {
    font-size: 24px;
    line-height: 1;
  }

  .discover-content p {
    max-width: 380px;
    font-size: 14px;
    line-height: 1.35;
  }

  .cta-links {
    padding-top: 0;
    gap: 0;
    flex-wrap: nowrap;
  }

  .cta-links a:last-child {
    display: none;
  }
}
