@font-face {
  font-family: 'Manrope';
  src: url('./brand/manrope.woff2') format('woff2');
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
}

@font-face {
  font-family: 'Noto Sans Sinhala';
  src: url('./brand/noto-sans-sinhala.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: 'Noto Sans Tamil';
  src: url('./brand/noto-sans-tamil.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --paper: #fff7ea;
  --cream: #fff7ea;
  --surface: #fff;
  --espresso: #291f1b;
  --vermilion: #e64b35;
  --peach-soft: #f9e6dc;
  --ink: #291f1b;
  --muted: #715f56;
  --border: #e3d5c9;
  font-family: 'Manrope', system-ui, sans-serif;
  font-weight: 400;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  min-width: 320px;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
}
:is(a, button, summary):focus-visible {
  outline: 3px solid #291f1b;
  outline-offset: 4px;
}
button,
a,
summary {
  touch-action: manipulation;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  line-height: 1.12;
  letter-spacing: -0.04em;
  font-weight: 600;
  text-wrap: balance;
}
h1 {
  font-size: clamp(2.8rem, 4.5vw, 4.8rem);
}
h2 {
  font-size: clamp(2rem, 3.3vw, 3.2rem);
}
h3 {
  font-size: 1.35rem;
  letter-spacing: -0.025em;
}
p {
  text-wrap: pretty;
}
.shell {
  width: min(1200px, calc(100% - 64px));
  margin-inline: auto;
}
.skip-link {
  position: fixed;
  z-index: 100;
  left: 16px;
  top: -80px;
  padding: 12px 18px;
  border-radius: 10px;
  background: var(--espresso);
  color: var(--paper);
}
.skip-link:focus {
  top: 12px;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--border);
  background: #fff7ea;
}
.header-bar {
  min-height: 82px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
}
.brand {
  display: inline-flex;
  align-items: center;
  min-height: 64px;
  padding: 12px;
  flex-shrink: 0;
}
.brand-logo {
  width: 180px;
  min-width: 180px;
  height: auto;
}
.closer-brand {
  display: inline-flex;
  padding: 12px;
  margin: -12px 0 20px -12px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #5c4b42;
}
.site-nav > a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.site-nav > a:hover {
  color: var(--espresso);
}
.nav-toggle {
  display: none;
  min-height: 44px;
  padding: 8px 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: white;
  color: var(--espresso);
  cursor: pointer;
}
.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  min-height: 50px;
  padding: 12px 20px;
  border: 1px solid var(--espresso);
  border-radius: 12px;
  background: var(--espresso);
  color: var(--paper);
  font-size: 0.93rem;
  line-height: 1.4;
  font-weight: 600;
  transition: background 200ms ease;
}
.btn:hover {
  background: var(--espresso);
  color: var(--paper);
}
.btn-small {
  min-height: 44px;
  padding: 10px 16px;
  gap: 12px;
}
.btn-secondary {
  background: var(--paper);
  border-color: #d6c3b5;
  color: var(--espresso);
}
.btn-secondary:hover {
  background: var(--peach-soft);
  color: var(--espresso);
}
.btn-light {
  background: var(--paper);
  border-color: var(--paper);
  color: var(--espresso);
}
.btn-light:hover {
  background: #f2cdba;
  color: var(--espresso);
}
.eyebrow {
  color: var(--espresso);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.status-dot {
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  background: #e64b35;
  border-radius: 50%;
}
.hero {
  padding: 76px 0 0;
  background: linear-gradient(165deg, #fff7ea 0%, #fff7ea 85%);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.08fr;
  align-items: center;
  gap: 48px;
}
.lede {
  max-width: 43ch;
  margin-top: 24px;
  font-size: 1.12rem;
  color: var(--muted);
  line-height: 1.65;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}
.hero-note {
  margin-top: 20px;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.7;
}
.hero-tags,
.feature-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.hero-tags {
  margin-top: 30px;
}
.hero-tags span,
.feature-tags span {
  padding: 5px 9px;
  border: 1px solid var(--border);
  border-radius: 7px;
  font-size: 0.69rem;
  color: #715f56;
  background: #fff7ea;
}
.hero-stage {
  min-width: 0;
  margin: 0;
  padding: 12px;
  border: 1px solid white;
  border-radius: 22px;
  background: #f7e3d6;
  box-shadow: 0 18px 45px #291f1b0b;
}
.preview-label {
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 2px 6px 12px;
  color: #715f56;
  font-size: 0.69rem;
  font-weight: 600;
}
.preview-label > span:last-child {
  margin-left: auto;
}
.hero-stage img {
  width: 100%;
  border: 1px solid #e3d5c9;
  border-radius: 12px;
}
.hero-stage figcaption {
  padding: 10px 4px 0;
  color: #715f56;
  font-size: 0.65rem;
}
.benefit-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-top: 64px;
  padding: 26px 0;
}
.benefit-strip p {
  display: grid;
  gap: 4px;
  font-size: 0.87rem;
}
.benefit-strip strong {
  font-weight: 600;
}
.benefit-strip span {
  color: var(--muted);
  font-size: 0.81rem;
}
.section {
  padding-top: 100px;
}
.section-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: end;
  margin-bottom: 36px;
}
.section-head .eyebrow {
  margin-bottom: 14px;
}
.section-lede {
  color: var(--muted);
  max-width: 46ch;
  font-size: 1rem;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.feature-card {
  min-width: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
}
.feature-media {
  padding: 24px 24px 0;
  background: #f8e9dc;
  border-bottom: 1px solid var(--border);
}
.feature-card:nth-child(2) .feature-media {
  background: #f9ede2;
}
.feature-card:nth-child(3) .feature-media {
  background: #f5e3d7;
}
.feature-card:nth-child(4) .feature-media {
  background: #f8e7da;
}
.feature-media img {
  width: 100%;
  border: 1px solid #d6c3b5;
  border-radius: 12px 12px 0 0;
}
.feature-body {
  padding: 30px;
}
.feature-number {
  display: block;
  color: var(--muted);
  font-size: 0.64rem;
  letter-spacing: 0.075em;
  font-weight: 600;
  margin-bottom: 15px;
}
.feature-body p {
  color: var(--muted);
  margin: 15px 0 22px;
  font-size: 0.92rem;
  line-height: 1.7;
  max-width: 48ch;
}
.sample-note {
  margin-top: 22px;
  color: var(--muted);
  font-size: 0.75rem;
  max-width: 82ch;
}
.who-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.who-cards article {
  padding: 28px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 16px;
}
.card-icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  background: var(--peach-soft);
  border-radius: 10px;
  color: var(--espresso);
  margin-bottom: 24px;
  font-size: 1.15rem;
}
.who-cards h3 {
  font-size: 1.1rem;
}
.who-cards p {
  color: var(--muted);
  margin-top: 14px;
  font-size: 0.87rem;
}
.language-panel {
  padding: 42px;
  background: #f2cdba;
  border: 1px solid #d6c3b5;
  border-radius: 18px;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 40px;
  align-items: center;
}
.language-panel h2 {
  font-size: clamp(1.7rem, 2.5vw, 2.5rem);
}
.language-panel p:not(.eyebrow) {
  margin-top: 20px;
  color: var(--muted);
  font-size: 0.9rem;
  max-width: 48ch;
}
.lang-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 0;
  margin: 0;
  list-style: none;
  gap: 12px;
}
.lang-row li {
  display: grid;
  place-items: center;
  text-align: center;
  min-height: 100px;
  gap: 5px;
  padding: 16px 12px;
  background: #fff7ea;
  border: 1px solid #d6c3b5;
  border-radius: 12px;
}
.lang-row li > span {
  font-size: 1.2rem;
  font-weight: 600;
}
.lang-row small {
  color: var(--muted);
  font-size: 0.7rem;
}
.plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.plan {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 30px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 16px;
}
.plan .eyebrow {
  font-size: 0.65rem;
  margin: 0;
}
.plan h3 {
  font-size: 1.4rem;
}
.plan-for {
  min-height: 48px;
  color: var(--muted);
  font-size: 0.84rem;
}
.plan-price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 20px;
}
.plan-price strong {
  font-size: 2.7rem;
  line-height: 1.15;
  letter-spacing: -0.04em;
  font-weight: 600;
}
.plan-price .quote-price {
  font-size: 2rem;
}
.plan-price span {
  font-size: 0.7rem;
  color: var(--muted);
}
.plan ul {
  margin: 0 0 8px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 13px;
  color: #715f56;
  font-size: 0.85rem;
}
.plan li {
  display: flex;
  gap: 10px;
}
.plan li::before {
  content: '✓';
  color: var(--espresso);
}
.plan > .btn {
  margin-top: auto;
}
.plan-featured {
  border-color: #e64b35;
  background: #fff7ea;
}
.questions-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 64px;
}
.questions-grid .section-lede {
  margin-top: 22px;
  font-size: 0.92rem;
}
.questions {
  border-top: 1px solid var(--border);
}
.questions details {
  border-bottom: 1px solid var(--border);
}
.questions summary {
  min-height: 64px;
  padding: 20px 24px 20px 0;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 600;
}
.questions details p {
  margin: 0 0 22px;
  padding-right: 22px;
  font-size: 0.87rem;
  color: var(--muted);
}
.closer {
  padding: 100px 0 80px;
}
.closer-card {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 64px;
  padding: 56px;
  background: var(--espresso);
  color: #fff7ea;
  border-radius: 22px;
}
.closer-card .eyebrow {
  color: #f2cdba;
}
.closer-card h2 {
  max-width: 20ch;
}
.closer-card p:not(.eyebrow) {
  margin-top: 22px;
  max-width: 44ch;
  color: #f2cdba;
  font-size: 0.93rem;
}
.closer-actions {
  display: grid;
  gap: 20px;
  justify-items: start;
}
.closer-actions .btn {
  width: 100%;
}
.text-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  font-size: 0.85rem;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.closer-actions p {
  font-size: 0.75rem !important;
  margin: 0 !important;
}
.site-footer {
  padding: 44px 0 54px;
  background: #f9e6dc;
  border-top: 1px solid var(--border);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
}
.footer-grid p {
  margin-top: 16px;
  font-size: 0.8rem;
  color: var(--muted);
}
.footer-grid nav {
  display: grid;
  align-content: start;
  font-size: 0.82rem;
}
.footer-grid nav a {
  min-height: 44px;
  display: flex;
  align-items: center;
}
.footer-grid nav a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.footer-grid .footer-meta {
  margin-top: 7px;
  line-height: 1.9;
}
.footer-meta span {
  display: inline-block;
  margin-top: 12px;
  font-size: 0.72rem;
}
@supports (
  (backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))
) {
  .site-header {
    background: #fff7eacf;
    backdrop-filter: blur(20px) saturate(130%);
    -webkit-backdrop-filter: blur(20px) saturate(130%);
  }
  .hero-stage {
    background: #f7e3d6d9;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
  }
}
@media (max-width: 1050px) {
  .hero-grid {
    gap: 28px;
    grid-template-columns: 1fr 1fr;
  }
  .site-nav {
    gap: 16px;
    font-size: 0.8rem;
  }
  .hero-actions .btn {
    font-size: 0.84rem;
    padding: 12px 14px;
  }
  .plan {
    padding: 24px;
  }
  .plan-price span {
    flex-basis: 100%;
  }
  .section-head,
  .questions-grid {
    gap: 36px;
  }
}
@media (max-width: 850px) {
  .shell {
    width: calc(100% - 40px);
  }
  .header-bar {
    min-height: 72px;
    flex-wrap: wrap;
    gap: 0;
  }
  .nav-ready .nav-toggle {
    display: inline-flex;
    align-items: center;
    gap: 14px;
  }
  .site-nav {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 12px 0 20px;
  }
  .site-nav > a {
    padding: 10px 14px;
    border-radius: 10px;
  }
  .site-nav > a:hover {
    background: var(--peach-soft);
  }
  .site-nav > .btn:hover {
    background: var(--espresso);
  }
  .nav-ready .site-nav:not(.is-open) {
    display: none;
  }
  .hero {
    padding-top: 44px;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .hero-copy {
    max-width: 640px;
  }
  .hero-stage {
    max-width: 680px;
    width: 100%;
    margin-inline: auto;
  }
  h1 {
    font-size: clamp(2.8rem, 7vw, 4rem);
  }
  .benefit-strip {
    margin-top: 40px;
    gap: 20px;
  }
  .section {
    padding-top: 64px;
  }
  .section-head {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .section-lede {
    max-width: 58ch;
  }
  .feature-media {
    padding: 14px 14px 0;
  }
  .feature-body {
    padding: 24px;
  }
  .who-cards {
    gap: 12px;
  }
  .who-cards article {
    padding: 20px;
  }
  .language-panel {
    width: calc(100% - 40px);
    padding: 30px;
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .lang-row {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .plans {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .plan-for {
    min-height: 0;
  }
  .plan-price span {
    flex-basis: auto;
  }
  .questions-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .closer {
    padding: 64px 0;
  }
  .closer-card {
    padding: 36px;
    gap: 32px;
    grid-template-columns: 1fr;
  }
  .closer-actions {
    justify-items: stretch;
  }
  .closer-actions .text-link {
    justify-content: center;
  }
  .footer-grid {
    gap: 24px;
  }
}
@media (max-width: 540px) {
  .shell {
    width: calc(100% - 32px);
  }
  .hero-grid {
    gap: 30px;
  }
  .hero h1 {
    font-size: clamp(2.55rem, 9.4vw, 3.4rem);
  }
  .eyebrow {
    font-size: 0.67rem;
  }
  .lede {
    font-size: 1rem;
    margin-top: 20px;
  }
  .hero-actions {
    margin-top: 24px;
  }
  .hero-actions .btn {
    flex: 1 1 100%;
    min-height: 50px;
  }
  .hero-tags {
    gap: 6px;
    margin-top: 24px;
  }
  .hero-stage {
    padding: 8px;
    border-radius: 16px;
  }
  .preview-label {
    font-size: 0.61rem;
    padding-top: 4px;
  }
  .benefit-strip {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-top: 32px;
    padding: 24px 0;
  }
  .benefit-strip p {
    gap: 2px;
  }
  .feature-grid,
  .who-cards {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .feature-body {
    padding: 24px;
  }
  .feature-media {
    padding: 16px 16px 0;
  }
  .who-cards article {
    padding: 24px;
  }
  .card-icon {
    margin-bottom: 18px;
  }
  .language-panel {
    padding: 24px;
    width: calc(100% - 32px);
  }
  .lang-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .closer-card {
    padding: 28px;
  }
  .closer-card h2 {
    font-size: 2rem;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .footer-grid nav {
    grid-template-columns: 1fr 1fr;
    gap: 0 16px;
  }
  .hero-stage figcaption {
    font-size: 0.6rem;
  }
}
@media (max-width: 360px) {
  .nav-toggle {
    padding-inline: 10px;
    font-size: 0.8rem;
  }
  .nav-toggle span {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}
@media (prefers-reduced-transparency: reduce) {
  .site-header {
    background: #fff7ea;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .hero-stage {
    background: #f7e3d6;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-copy {
    animation: settle-in 200ms ease-out both;
  }
}
@keyframes settle-in {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Slip, the Kade receipt mascot (slip.js). Decorative: each one plays its reaction once
   when scrolled into view, and again when tapped. */
.slip {
  position: absolute;
  z-index: 2;
  aspect-ratio: 1;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.slip svg {
  display: block;
  width: 100%;
  height: 100%;
}
.hero-stage,
.feature-media,
.language-panel {
  position: relative;
}
.slip-hero {
  width: clamp(150px, 16vw, 214px);
  left: -64px;
  bottom: -46px;
}
.slip-card {
  width: 172px;
  right: 6px;
  bottom: -6px;
}
.slip-lang {
  width: 170px;
  right: 18px;
  top: -128px;
}
.closer-card {
  position: relative;
}
.slip-closer {
  width: 170px;
  right: 48px;
  top: -146px;
}
@media (max-width: 850px) {
  .slip-hero {
    width: 128px;
    left: -6px;
    bottom: -40px;
  }
  .slip-card {
    width: 120px;
  }
  .slip-closer {
    width: 130px;
    right: 16px;
    top: -110px;
  }
  .slip-lang {
    width: 150px;
    top: -112px;
    right: 6px;
  }
}
