:root {
  /* Palette sampled from the attached logo */
  --navy: #0b3454;
  --navy-900: #071f36;
  --navy-700: #123f63;
  --gold: #b08a50;
  --gold-600: #98733f;
  --cream: #f7f2e8;
  --paper: #fffdf8;
  --mist: #eef4f7;
  --ink: #172536;
  --muted: #657486;
  --line: rgba(11, 52, 84, 0.12);
  --shadow: 0 24px 70px rgba(11, 52, 84, 0.13);
  --shadow-soft: 0 14px 36px rgba(11, 52, 84, 0.09);
  --radius-xl: 32px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --container: min(1120px, calc(100% - 40px));
  --font-sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-si: "Noto Sans Sinhala", "Iskoola Pota", "Malithi Web", var(--font-sans);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(176, 138, 80, 0.12), transparent 30rem),
    linear-gradient(180deg, var(--paper), #f9fbfc 44%, var(--paper));
  line-height: 1.6;
}

body.nav-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

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

button,
input,
textarea,
select {
  font: inherit;
}

.skip-link {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 100;
  padding: 10px 14px;
  color: white;
  background: var(--navy);
  border-radius: 999px;
}

.skip-link:focus {
  top: 16px;
}

.container {
  width: var(--container);
  margin-inline: auto;
}

.section {
  padding: 92px 0;
  position: relative;
}

.section-heading {
  max-width: 740px;
  margin-bottom: 36px;
}

.section-heading.center {
  margin-inline: auto;
  text-align: center;
}

.section-kicker,
.eyebrow {
  margin: 0 0 12px;
  color: var(--gold-600);
  font-weight: 800;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

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

h1,
h2,
h3 {
  color: var(--navy-900);
  line-height: 1.05;
}

h1 {
  font-size: clamp(2.8rem, 8vw, 5.55rem);
  letter-spacing: -0.055em;
  margin-bottom: 24px;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.75rem);
  letter-spacing: -0.055em;
  margin-bottom: 16px;
}

h3 {
  font-size: 1.25rem;
  letter-spacing: -0.025em;
  margin-bottom: 10px;
}

p {
  color: var(--muted);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
  cursor: pointer;
}

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

.btn--primary {
  color: white;
  background: linear-gradient(135deg, var(--navy), var(--navy-700));
  box-shadow: 0 15px 26px rgba(11, 52, 84, 0.22);
}

.btn--primary:hover,
.btn--primary:focus-visible {
  box-shadow: 0 20px 36px rgba(11, 52, 84, 0.28);
}

.btn--ghost {
  color: var(--navy);
  background: rgba(255, 255, 255, 0.72);
  border-color: var(--line);
}

.btn--ghost:hover,
.btn--ghost:focus-visible {
  border-color: rgba(176, 138, 80, 0.42);
  background: white;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1180px, calc(100% - 28px));
  margin: 14px auto 0;
  padding: 10px 12px 10px 14px;
  border: 1px solid rgba(11, 52, 84, 0.1);
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.78);
  backdrop-filter: blur(18px);
  box-shadow: 0 16px 40px rgba(11, 52, 84, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand__mark {
  width: 48px;
  height: 48px;
  object-fit: contain;
  flex: none;
}

.brand__text {
  display: grid;
  line-height: 1.05;
}

.brand__si {
  font-family: var(--font-si);
  color: var(--navy);
  font-weight: 900;
  font-size: 1.16rem;
}

.brand__en {
  color: var(--gold-600);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav a {
  padding: 10px 13px;
  border-radius: 999px;
  color: #385064;
  font-size: 0.93rem;
  font-weight: 750;
  transition: color 160ms ease, background 160ms ease;
}

.nav a:hover,
.nav a.is-active {
  color: var(--navy);
  background: rgba(11, 52, 84, 0.07);
}

.nav .nav__cta {
  color: white;
  background: var(--navy);
  margin-left: 4px;
}

.nav .nav__cta:hover {
  background: var(--navy-900);
  color: white;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  background: var(--navy);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: white;
  border-radius: 99px;
  transition: transform 180ms ease, opacity 180ms ease;
}

body.nav-open .nav-toggle span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

body.nav-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

body.nav-open .nav-toggle span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.hero {
  min-height: calc(100vh - 78px);
  display: grid;
  align-items: center;
  overflow: hidden;
  padding-top: 66px;
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(330px, 0.92fr);
  gap: 56px;
  align-items: center;
}

.hero__lead {
  max-width: 690px;
  font-size: clamp(1.05rem, 1.4vw, 1.28rem);
  color: #506577;
  margin-bottom: 30px;
}

.hero__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.signal-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.signal-row span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #53687b;
  background: rgba(255, 255, 255, 0.64);
  font-size: 0.9rem;
}

.signal-row strong {
  color: var(--navy);
}

.hero__visual {
  position: relative;
  min-height: 740px;
}

.brand-card {
  position: absolute;
  inset: 0 0 auto auto;
  width: min(500px, 75%);
  padding: 28px;
  border: 1px solid rgba(11, 52, 84, 0.08);
  border-radius: var(--radius-xl);
  background: rgba(255, 253, 248, 0.88);
  box-shadow: var(--shadow);
  transform: rotate(10.5deg);
}

.brand-card img {
  border-radius: 24px;
}

.phone-card {
  position: absolute;
  left: 10px;
  bottom: 140px;
  max-width: 320px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 28px;
  color: white;
  background: linear-gradient(145deg, var(--navy-900), var(--navy));
  box-shadow: 0 26px 60px rgba(7, 31, 54, 0.28);
}

.phone-card p {
  color: rgba(255, 255, 255, 0.78);
}

.phone-card h3 {
  color: white;
  font-size: 2rem;
}

.phone-card__top {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.84rem;
  font-weight: 800;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #86d69e;
  box-shadow: 0 0 0 6px rgba(134, 214, 158, 0.16);
}

.report-mini {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 14px;
  padding-top: 18px;
  margin-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.report-mini span {
  color: rgba(255, 255, 255, 0.64);
}

.report-mini strong {
  color: var(--cream);
}

.hero__glow {
  position: absolute;
  border-radius: 999px;
  filter: blur(10px);
  opacity: 0.75;
  pointer-events: none;
}

.hero__glow--one {
  width: 420px;
  height: 420px;
  top: 120px;
  right: 5vw;
  background: rgba(176, 138, 80, 0.16);
}

.hero__glow--two {
  width: 350px;
  height: 350px;
  bottom: 60px;
  left: 6vw;
  background: rgba(11, 52, 84, 0.09);
}

.intro-strip {
  padding: 42px 0;
}

.intro-strip__grid {
  display: grid;
  grid-template-columns: 0.42fr 1.2fr 0.95fr;
  gap: 24px;
  align-items: start;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, rgba(11, 52, 84, 0.94), rgba(18, 63, 99, 0.94));
  box-shadow: var(--shadow-soft);
}

.intro-strip h2 {
  color: white;
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  margin-bottom: 0;
}

.intro-strip p:not(.section-kicker) {
  color: rgba(255, 255, 255, 0.76);
  margin-bottom: 0;
}

.intro-strip .section-kicker {
  color: var(--gold);
}

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

.feature-card,
.service-card,
.plan-card,
.app-panel,
.timeline__item,
.trust-list,
.contact-form {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.74);
  box-shadow: var(--shadow-soft);
}

.feature-card {
  min-height: 260px;
  padding: 24px;
  border-radius: var(--radius-lg);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.icon {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 48px;
  border-radius: 14px;
  color: white;
  background: var(--navy);
  font-weight: 900;
}

.app-section {
  background: linear-gradient(180deg, rgba(238, 244, 247, 0.62), rgba(255, 253, 248, 0));
}

.app-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  gap: 34px;
  align-items: center;
}

.app-copy p:not(.section-kicker) {
  max-width: 560px;
}

.tab-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 26px;
}

.tab-btn,
.currency-btn {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 14px;
  color: var(--navy);
  background: white;
  cursor: pointer;
  font-weight: 800;
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease;
}

.tab-btn.is-active,
.currency-btn.is-active {
  color: white;
  border-color: var(--navy);
  background: var(--navy);
}

.app-panel {
  min-height: 430px;
  padding: 36px;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at top right, rgba(176, 138, 80, 0.16), transparent 15rem),
    rgba(255, 255, 255, 0.84);
}

.tab-panel {
  display: none;
}

.tab-panel.is-active {
  display: block;
  animation: softIn 220ms ease both;
}

.check-list {
  display: grid;
  gap: 14px;
  padding: 0;
  margin: 24px 0 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 34px;
  color: #4d6274;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.24em;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(176, 138, 80, 0.14);
}

.check-list li::after {
  content: "✓";
  position: absolute;
  left: 5px;
  top: 0.08em;
  color: var(--gold-600);
  font-weight: 900;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.timeline__item {
  position: relative;
  padding: 24px;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.timeline__item span {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 44px;
  border-radius: 50%;
  color: white;
  background: var(--gold);
  font-weight: 900;
}

.timeline__item::after {
  content: "";
  position: absolute;
  top: 44px;
  right: 20px;
  left: 88px;
  height: 1px;
  background: linear-gradient(90deg, rgba(176, 138, 80, 0.45), transparent);
}

.services-section {
  background: linear-gradient(180deg, rgba(255, 253, 248, 0), rgba(238, 244, 247, 0.58));
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.service-card {
  padding: 24px;
  border-radius: var(--radius-lg);
}

.service-card--large {
  grid-row: span 2;
  padding: 34px;
  color: white;
  background: linear-gradient(145deg, var(--navy-900), var(--navy));
}

.service-card--large h2 {
  color: white;
}

.service-card--large p:not(.section-kicker) {
  color: rgba(255, 255, 255, 0.76);
}

.plans-section {
  background: var(--paper);
}

.currency-switch {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}

.currency-switch span {
  margin-right: 8px;
  color: #54687a;
  font-weight: 800;
}

.plan-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  align-items: stretch;
}

.plan-card {
  position: relative;
  display: grid;
  gap: 18px;
  padding: 28px;
  border-radius: var(--radius-xl);
}

.plan-card--featured {
  border-color: rgba(176, 138, 80, 0.44);
  background:
    radial-gradient(circle at top right, rgba(176, 138, 80, 0.16), transparent 13rem),
    #ffffff;
  transform: translateY(-10px);
}

.plan-card__label {
  display: inline-flex;
  width: max-content;
  padding: 7px 10px;
  border-radius: 999px;
  color: var(--gold-600);
  background: rgba(176, 138, 80, 0.12);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.plan-card__price {
  color: var(--navy);
  font-size: 1.1rem;
  font-weight: 900;
}

.plan-card ul {
  display: grid;
  gap: 10px;
  padding-left: 18px;
  margin: 0;
  color: #526678;
}

.plan-card .btn {
  width: max-content;
  align-self: end;
  margin-top: 8px;
}

.trust-section {
  background: linear-gradient(180deg, rgba(238, 244, 247, 0.58), rgba(255, 253, 248, 0));
}

.trust-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 36px;
  align-items: start;
}

.trust-copy {
  position: sticky;
  top: 120px;
}

.trust-list {
  display: grid;
  gap: 0;
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.trust-list div {
  padding: 26px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.7);
}

.trust-list div:last-child {
  border-bottom: 0;
}

.faq-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 36px;
  align-items: start;
}

.faq-list {
  display: grid;
  gap: 12px;
}

details {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 10px 26px rgba(11, 52, 84, 0.06);
  overflow: hidden;
}

summary {
  position: relative;
  padding: 20px 56px 20px 22px;
  color: var(--navy-900);
  cursor: pointer;
  font-weight: 900;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "+";
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gold-600);
  font-size: 1.5rem;
}

details[open] summary::after {
  content: "−";
}

details p {
  margin: 0;
  padding: 0 22px 22px;
}

.contact-section {
  padding-bottom: 110px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 32px;
  align-items: start;
  padding: 34px;
  border-radius: 38px;
  background:
    radial-gradient(circle at top left, rgba(176, 138, 80, 0.17), transparent 18rem),
    linear-gradient(145deg, rgba(11, 52, 84, 0.96), rgba(18, 63, 99, 0.96));
  box-shadow: var(--shadow);
}

.contact-copy h2 {
  color: white;
}

.contact-copy p:not(.section-kicker) {
  color: rgba(255, 255, 255, 0.76);
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding: 22px;
  border-color: rgba(255, 255, 255, 0.18);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.94);
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--navy);
  font-weight: 850;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  border: 1px solid rgba(11, 52, 84, 0.14);
  border-radius: 15px;
  padding: 13px 14px;
  color: var(--ink);
  background: white;
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(176, 138, 80, 0.13);
}

.full-span {
  grid-column: 1 / -1;
}

.form-note {
  min-height: 24px;
  margin: -4px 0 0;
  color: var(--gold-600);
  font-weight: 800;
}

.site-footer {
  padding: 48px 0 24px;
  color: rgba(255, 255, 255, 0.72);
  background: var(--navy-900);
}

.site-footer p,
.site-footer a,
.site-footer span {
  color: rgba(255, 255, 255, 0.68);
}

.site-footer h3,
.site-footer .brand__si {
  color: white;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr 0.8fr;
  gap: 32px;
  padding-bottom: 32px;
}

.footer-grid > div {
  display: grid;
  gap: 10px;
  align-content: start;
}

.brand--footer {
  margin-bottom: 6px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 560ms ease, transform 560ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes softIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1020px) {
  .hero__grid,
  .app-grid,
  .trust-grid,
  .faq-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero__visual {
    min-height: 520px;
  }

  .intro-strip__grid,
  .feature-grid,
  .timeline,
  .services-grid,
  .plan-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-card--large {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .trust-copy {
    position: static;
  }
}

@media (max-width: 820px) {
  :root {
    --container: min(100% - 28px, 1120px);
  }

  .section {
    padding: 70px 0;
  }

  .site-header {
    width: min(100% - 18px, 1180px);
  }

  .brand__mark {
    width: 42px;
    height: 42px;
  }

  .brand__si {
    font-size: 1rem;
  }

  .brand__en {
    font-size: 0.58rem;
  }

  .nav-toggle {
    display: block;
  }

  .nav {
    position: fixed;
    top: 78px;
    right: 10px;
    left: 10px;
    display: grid;
    gap: 4px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: rgba(255, 253, 248, 0.98);
    box-shadow: var(--shadow);
    transform-origin: top;
    transform: scaleY(0.96);
    opacity: 0;
    pointer-events: none;
    transition: opacity 180ms ease, transform 180ms ease;
  }

  body.nav-open .nav {
    opacity: 1;
    pointer-events: auto;
    transform: scaleY(1);
  }

  .nav a {
    padding: 14px;
  }

  .nav .nav__cta {
    margin-left: 0;
    text-align: center;
  }

  .hero {
    min-height: auto;
    padding-top: 54px;
  }

  .hero__grid {
    gap: 28px;
  }

  .hero__visual {
    min-height: auto;
  }

  .brand-card,
  .phone-card {
    position: relative;
    inset: auto;
    width: 100%;
    max-width: none;
    transform: none;
  }

  .phone-card {
    margin-top: -30px;
    width: min(360px, calc(100% - 22px));
    margin-left: auto;
  }

  .intro-strip__grid,
  .feature-grid,
  .timeline,
  .services-grid,
  .plan-grid,
  .footer-grid,
  .contact-form {
    grid-template-columns: 1fr;
  }

  .plan-card--featured {
    transform: none;
  }

  .full-span {
    grid-column: auto;
  }

  .contact-grid {
    padding: 24px;
    border-radius: 28px;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}
