@font-face {
  font-family: "SF Pro Display";
  src: url("SF-PRO-DISPLAY-FONT/SFProDisplay-Thin.woff2") format("woff2"),
    url("SF-PRO-DISPLAY-FONT/SFProDisplay-Thin.woff") format("woff");
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "SF Pro Display";
  src: url("SF-PRO-DISPLAY-FONT/SFProDisplay-Light.woff2") format("woff2"),
    url("SF-PRO-DISPLAY-FONT/SFProDisplay-Light.woff") format("woff");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "SF Pro Display";
  src: url("SF-PRO-DISPLAY-FONT/SFProDisplay-Regular.woff2") format("woff2"),
    url("SF-PRO-DISPLAY-FONT/SFProDisplay-Regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "SF Pro Display";
  src: url("SF-PRO-DISPLAY-FONT/SFProDisplay-Medium.woff2") format("woff2"),
    url("SF-PRO-DISPLAY-FONT/SFProDisplay-Medium.woff") format("woff");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "SF Pro Display";
  src: url("SF-PRO-DISPLAY-FONT/SFProDisplay-Semibold.woff2") format("woff2"),
    url("SF-PRO-DISPLAY-FONT/SFProDisplay-Semibold.woff") format("woff");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "SF Pro Display";
  src: url("SF-PRO-DISPLAY-FONT/SFProDisplay-Bold.woff2") format("woff2"),
    url("SF-PRO-DISPLAY-FONT/SFProDisplay-Bold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "SF Pro Display";
  src: url("SF-PRO-DISPLAY-FONT/SFProDisplay-Heavy.woff2") format("woff2"),
    url("SF-PRO-DISPLAY-FONT/SFProDisplay-Heavy.woff") format("woff");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "SF Pro Display";
  src: url("SF-PRO-DISPLAY-FONT/SFProDisplay-Black.woff2") format("woff2"),
    url("SF-PRO-DISPLAY-FONT/SFProDisplay-Black.woff") format("woff");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #080b09;
  --bg-soft: #101511;
  --panel: rgba(20, 27, 20, 0.72);
  --line: rgba(229, 241, 218, 0.14);
  --muted: #a5afa0;
  --text: #f1f5ea;
  --lime: #c9ff4a;
  --lime-soft: #e3ff9d;
  --max: 1180px;
  color-scheme: dark;
  font-family: "SF Pro Display", -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  min-width: 320px;
  margin: 0;
  background:
    radial-gradient(circle at 72% 9%, rgba(111, 145, 55, 0.12), transparent 25rem),
    radial-gradient(circle at 15% 58%, rgba(61, 89, 37, 0.1), transparent 28rem),
    var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.55;
}

a { color: inherit; }

.shell {
  width: min(var(--max), calc(100% - 48px));
  margin-inline: auto;
}

.site-header {
  position: relative;
  z-index: 10;
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  min-height: 82px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  width: 132px;
  aspect-ratio: 2.13;
  flex: 0 0 auto;
  overflow: hidden;
  background: var(--text);
  color: var(--text);
  text-decoration: none;
  -webkit-mask-image: url("ambo.lk Logo-test-1.png");
  mask-image: url("ambo.lk Logo-test-1.png");
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: cover;
  mask-size: cover;
  -webkit-mask-mode: luminance;
  mask-mode: luminance;
}

.brand img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
}

.eyebrow,
.section-label {
  color: var(--lime);
  font-size: 0.64rem;
  font-weight: 850;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.nav-action {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  padding: 0 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text);
  font-size: 0.62rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, color 180ms ease;
}

.nav-action:hover,
.nav-action:focus-visible {
  border-color: var(--lime);
  background: rgba(201, 255, 74, 0.08);
  transform: translateY(-2px);
}

.launch-main { overflow: hidden; }

.hero {
  position: relative;
  display: grid;
  min-height: auto;
  align-items: center;
  padding: clamp(76px, 8vw, 118px) 0;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
}

.hero-copy { max-width: none; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 26px;
}

.eyebrow::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 20px rgba(201, 255, 74, 0.72);
  content: "";
}

h1,
h2,
p { margin-top: 0; }

h1 {
  max-width: none;
  margin-bottom: 26px;
  font-size: clamp(4rem, 9.2vw, 9.6rem);
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 0.94;
  text-wrap: balance;
}

h1 em {
  color: var(--lime);
  font-style: normal;
}

.hero-lead {
  max-width: 660px;
  margin-bottom: 36px;
  color: #c4cdbd;
  font-size: clamp(1.02rem, 1.7vw, 1.3rem);
  line-height: 1.5;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.69rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, color 180ms ease;
}

.button:hover,
.button:focus-visible { transform: translateY(-2px); }

.button-primary {
  border-color: var(--lime);
  background: var(--lime);
  color: #11170d;
}

.button-primary:hover,
.button-primary:focus-visible { background: var(--lime-soft); }

.button-secondary { color: var(--text); }

.button-secondary:hover,
.button-secondary:focus-visible { border-color: var(--lime); }

.trust-strip {
  border-block: 1px solid var(--line);
  background: rgba(201, 255, 74, 0.035);
}

.trust-inner {
  display: flex;
  min-height: 96px;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.trust-inner p { margin: 0; color: var(--muted); font-size: 0.88rem; }
.trust-inner strong { color: var(--lime); font-weight: 650; }

.site-footer {
  padding: 68px 0 24px;
  border-top: 1px solid var(--line);
  background: #060806;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.7fr repeat(3, 1fr);
  gap: 32px;
}

.footer-brand p {
  max-width: 250px;
  margin: 18px 0 17px;
  color: var(--muted);
  font-size: 0.83rem;
}

.footer-email {
  color: var(--lime);
  font-size: 0.8rem;
  text-underline-offset: 4px;
}

.footer-column { display: grid; align-content: start; gap: 9px; }
.footer-column p { margin-bottom: 8px; color: var(--text); font-size: 0.72rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }
.footer-column a { color: var(--muted); font-size: 0.8rem; text-decoration: none; transition: color 180ms ease; }
.footer-column a:hover,
.footer-column a:focus-visible { color: var(--lime); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 58px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: #687365;
  font-size: 0.68rem;
}

.footer-credit {
  color: var(--lime);
  text-decoration: none;
  transition: color 180ms ease;
}

.footer-credit:hover,
.footer-credit:focus-visible { color: var(--lime-soft); }

.legal-main { padding: 68px 0 120px; }
.legal-wrap { max-width: 780px; }
.legal-wrap h1 { max-width: none; margin-bottom: 20px; font-size: clamp(3.2rem, 7vw, 6.2rem); }
.legal-lead { max-width: 670px; margin-bottom: 14px; color: #c4cdbd; font-size: 1.08rem; }
.legal-date { margin-bottom: 64px; color: var(--lime); font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; }
.legal-section { padding: 25px 0; border-top: 1px solid var(--line); }
.legal-section h2 { margin-bottom: 9px; font-size: 1.05rem; letter-spacing: -0.02em; }
.legal-section p,
.legal-section li { color: var(--muted); font-size: 0.93rem; }
.legal-section ul { padding-left: 20px; }
.legal-section a { color: var(--lime-soft); }
.legal-back { display: inline-flex; margin-top: 30px; color: var(--lime); font-size: 0.75rem; font-weight: 800; text-decoration: none; text-transform: uppercase; letter-spacing: 0.1em; }

.contact-card {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 48px;
}

.contact-item {
  display: flex;
  min-height: 148px;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(20, 28, 20, 0.86), rgba(10, 14, 10, 0.82));
  color: inherit;
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.contact-item-primary { min-height: 216px; }

.contact-item:hover,
.contact-item:focus-visible {
  border-color: rgba(201, 255, 74, 0.5);
  background: linear-gradient(145deg, rgba(27, 39, 25, 0.95), rgba(10, 14, 10, 0.9));
  transform: translateY(-4px);
}

.contact-item:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; }

.contact-item-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--lime);
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.contact-item-arrow {
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1;
}

.contact-item-symbol {
  color: var(--muted);
  font-size: 1.1rem;
}

.contact-item-body strong {
  display: block;
  margin-bottom: 8px;
  color: var(--lime);
  font-size: clamp(1.15rem, 2.2vw, 1.7rem);
  letter-spacing: -0.035em;
  line-height: 1.04;
}

.contact-item-support .contact-item-body strong {
  color: var(--text);
  font-size: clamp(1rem, 1.6vw, 1.3rem);
}

.contact-item p { max-width: 34rem; margin: 0; color: var(--muted); font-size: 0.88rem; }

@media (max-width: 840px) {
  .hero { min-height: auto; padding: 54px 0 60px; }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-copy { max-width: none; }
  .contact-card { grid-template-columns: 1fr; }
  .contact-item-primary { min-height: 190px; }
  .contact-item-support { min-height: 145px; }
  .footer-grid { grid-template-columns: 1.5fr repeat(2, 1fr); }
  .footer-column:last-child { grid-column: 2 / -1; }
}

@media (max-width: 560px) {
  .shell { width: min(var(--max), calc(100% - 32px)); }
  .nav { min-height: 70px; }
  .nav-action { min-height: 34px; padding: 0 11px; font-size: 0.56rem; letter-spacing: 0.1em; }
  .hero { padding: 48px 0 54px; }
  h1 { font-size: clamp(3.65rem, 17vw, 5.3rem); }
  .hero-lead { margin-bottom: 30px; font-size: 1rem; }
  .actions { gap: 10px; }
  .trust-strip {
    position: relative;
    overflow: hidden;
    background:
      radial-gradient(circle at 92% 50%, rgba(201, 255, 74, 0.13), transparent 8rem),
      linear-gradient(115deg, rgba(201, 255, 74, 0.1), transparent 58%),
      rgba(201, 255, 74, 0.035);
  }
  .trust-strip::before {
    position: absolute;
    inset: 0;
    background-image:
      linear-gradient(rgba(201, 255, 74, 0.1) 1px, transparent 1px),
      linear-gradient(90deg, rgba(201, 255, 74, 0.1) 1px, transparent 1px);
    background-size: 26px 26px;
    content: "";
    mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.9), transparent 88%);
    opacity: 0.42;
    pointer-events: none;
  }
  .trust-strip::after {
    position: absolute;
    top: 50%;
    right: -76px;
    width: 180px;
    height: 180px;
    border: 1px solid rgba(201, 255, 74, 0.35);
    border-radius: 50%;
    box-shadow: 0 0 0 12px rgba(201, 255, 74, 0.04), 0 0 0 24px rgba(201, 255, 74, 0.025);
    content: "";
    opacity: 0.6;
    transform: translateY(-50%);
  }
  .trust-inner {
    position: relative;
    z-index: 1;
    min-height: 138px;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    padding: 24px 0;
  }
  .trust-inner p { font-size: 0.93rem; line-height: 1.35; }
  .trust-inner p:first-child {
    display: flex;
    align-items: center;
    gap: 0;
    color: var(--lime);
    font-size: 0.93rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }
  .trust-inner p:first-child::before {
    display: none;
  }
  .trust-inner p:last-child {
    max-width: 250px;
    margin-left: 0;
    color: #c4cdbd;
  }
  .site-footer { padding: 56px 0 24px; }
  .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px 16px; }
  .footer-brand {
    grid-column: 1 / -1;
    text-align: center;
  }
  .footer-brand .brand {
    width: 160px;
    margin-inline: auto;
  }
  .footer-column:last-child { grid-column: auto; }
  .footer-brand p {
    max-width: none;
    margin: 20px auto 0;
    font-size: 0.9rem;
    line-height: 1.5;
    text-align: center;
  }
  .footer-email { display: none; }
  .footer-column { gap: 10px; }
  .footer-column p { margin-bottom: 9px; font-size: 0.74rem; }
  .footer-column a { font-size: 0.88rem; }
  .footer-bottom {
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 8px;
    margin-top: 48px;
    text-align: center;
    font-size: 0.75rem;
    line-height: 1.5;
  }
  .legal-main { padding: 48px 0 78px; }
  .legal-date { margin-bottom: 38px; }
  .contact-card { grid-template-columns: 1fr; }
  .contact-item-primary { min-height: 176px; }
  .contact-item-support { min-height: 138px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
