@font-face {
  font-family: "Centra Sans";
  src: url("/assets/NotoSans-Variable.ttf") format("truetype");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: "Centra Tamil";
  src: url("/assets/NotoSansTamil-Variable.ttf") format("truetype");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --registry: #142f3a;
  --registry-deep: #0b2028;
  --teal: #0e6b61;
  --teal-bright: #0c8173;
  --paper: #f6f7f2;
  --paper-high: #ffffff;
  --rule: #d9e7ea;
  --rule-strong: #b9ced2;
  --ink: #172529;
  --muted: #5d6e72;
  --amber: #d99a2b;
  --amber-pale: #fff3d7;
  --green-pale: #dff2ed;
  --shadow: 0 30px 80px rgba(20, 47, 58, 0.13);
  --radius: 18px;
  --content: min(1180px, calc(100vw - 40px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Centra Sans", "Centra Tamil", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  pointer-events: none;
  background-image: linear-gradient(rgba(20, 47, 58, 0.027) 1px, transparent 1px);
  background-size: 100% 32px;
}

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

a {
  color: var(--teal);
}

a:hover {
  color: var(--registry);
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  color: #fff;
  background: var(--registry);
  border-radius: 8px;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  border-bottom: 1px solid rgba(185, 206, 210, 0.8);
  background: rgba(246, 247, 242, 0.94);
  backdrop-filter: blur(18px);
}

.header-inner {
  width: var(--content);
  min-height: 82px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
}

.brand img {
  width: 68px;
  height: 68px;
  object-fit: contain;
}

.brand-copy {
  display: grid;
  line-height: 1.1;
}

.brand-name {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.brand-owner {
  margin-top: 5px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

.site-nav a {
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.site-nav a[aria-current="page"] {
  color: var(--teal);
}

.nav-store {
  padding: 9px 14px;
  border: 1px solid var(--registry);
  border-radius: 999px;
}

.hero {
  width: var(--content);
  min-height: 680px;
  margin: 0 auto;
  padding: 82px 0 96px;
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(520px, 1.12fr);
  align-items: center;
  gap: 66px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.tamil-promise {
  display: inline-flex;
  margin-bottom: 20px;
  padding: 6px 11px;
  color: var(--registry);
  background: var(--green-pale);
  border-radius: 999px;
  font-family: "Centra Tamil", "Centra Sans", sans-serif;
  font-size: 12px;
  font-weight: 750;
}

h1,
h2,
h3 {
  margin-top: 0;
  color: var(--registry-deep);
  line-height: 1.08;
}

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  letter-spacing: -0.035em;
}

h1 {
  max-width: 720px;
  margin-bottom: 24px;
  font-size: clamp(44px, 5.2vw, 73px);
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(34px, 4vw, 54px);
}

h3 {
  margin-bottom: 10px;
  font-size: 21px;
  letter-spacing: -0.02em;
}

.lede {
  max-width: 640px;
  margin: 0;
  color: #3e5358;
  font-size: 19px;
  line-height: 1.65;
}

.hero-actions {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.button {
  min-height: 48px;
  padding: 12px 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid var(--registry);
  border-radius: 10px;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.button-primary {
  color: #fff;
  background: var(--registry);
}

.button-primary:hover {
  color: #fff;
  background: var(--teal);
  border-color: var(--teal);
}

.button-secondary {
  color: var(--registry);
  background: transparent;
}

.button-secondary:hover {
  background: #fff;
}

.store-note {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.hero-sheet-wrap {
  position: relative;
  min-height: 510px;
}

.hero-sheet-wrap::before,
.hero-sheet-wrap::after {
  position: absolute;
  inset: 30px 2px 2px 30px;
  content: "";
  background: #e8efec;
  border: 1px solid var(--rule-strong);
  border-radius: 6px;
  transform: rotate(2.2deg);
}

.hero-sheet-wrap::after {
  inset: 18px 14px 14px 18px;
  background: #f4f2e8;
  transform: rotate(-1.4deg);
}

.report-sheet {
  position: relative;
  z-index: 2;
  min-height: 500px;
  padding: 28px 28px 22px;
  overflow: hidden;
  background: var(--paper-high);
  border: 1px solid var(--rule-strong);
  border-radius: 6px;
  box-shadow: var(--shadow);
}

.report-watermark {
  position: absolute;
  right: -58px;
  top: 84px;
  color: rgba(14, 107, 97, 0.075);
  font-size: 54px;
  font-weight: 900;
  letter-spacing: 0.08em;
  transform: rotate(-34deg);
  text-transform: uppercase;
  user-select: none;
}

.report-heading {
  padding-bottom: 16px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  border-bottom: 2px solid var(--registry);
}

.report-heading img {
  width: 46px;
  height: 46px;
  object-fit: contain;
}

.report-heading strong,
.report-heading span {
  display: block;
}

.report-heading strong {
  color: var(--registry-deep);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 17px;
}

.report-heading span,
.report-period {
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.report-period {
  text-align: right;
}

.report-member {
  padding: 15px 0 12px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  border-bottom: 1px solid var(--rule);
}

.report-member small,
.report-member strong {
  display: block;
}

.report-member small {
  color: var(--muted);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.report-member strong {
  color: var(--registry);
  font-size: 12px;
}

.ledger-grid {
  margin-top: 14px;
  border-top: 1px solid var(--rule-strong);
  border-left: 1px solid var(--rule-strong);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 10px;
}

.ledger-row {
  display: grid;
  grid-template-columns: 62px 54px minmax(110px, 1fr) 62px 62px 72px;
}

.ledger-row > span {
  min-width: 0;
  padding: 8px 7px;
  overflow: hidden;
  border-right: 1px solid var(--rule-strong);
  border-bottom: 1px solid var(--rule-strong);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ledger-row-head {
  color: #fff;
  background: var(--registry);
  font-weight: 800;
}

.amount {
  text-align: right;
}

.reconcile-line {
  margin-top: 16px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--registry);
  background: var(--green-pale);
  border-left: 4px solid var(--teal);
  font-size: 12px;
  font-weight: 750;
}

.reconcile-line code {
  font-size: 11px;
  font-weight: 800;
}

.report-foot {
  margin-top: 15px;
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 9px;
}

.fact-band {
  background: var(--registry);
  color: #fff;
}

.fact-band-inner {
  width: var(--content);
  margin: 0 auto;
  padding: 26px 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.fact {
  padding: 0 24px;
  border-right: 1px solid rgba(255, 255, 255, 0.16);
}

.fact:first-child {
  padding-left: 0;
}

.fact:last-child {
  border-right: 0;
}

.fact strong,
.fact span {
  display: block;
}

.fact strong {
  font-size: 15px;
}

.fact span {
  margin-top: 3px;
  color: #bcd2d6;
  font-size: 12px;
}

.section {
  width: var(--content);
  margin: 0 auto;
  padding: 108px 0;
}

.section-heading {
  max-width: 730px;
  margin-bottom: 48px;
}

.section-heading p:last-child {
  color: var(--muted);
  font-size: 18px;
}

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

.work-card {
  min-height: 240px;
  padding: 28px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--rule-strong);
  border-radius: var(--radius);
}

.work-card:nth-child(1),
.work-card:nth-child(2) {
  grid-column: span 6;
}

.work-card:nth-child(n + 3) {
  grid-column: span 4;
}

.work-card p {
  margin: 0;
  color: var(--muted);
}

.work-label {
  width: 40px;
  height: 40px;
  margin-bottom: 42px;
  display: grid;
  place-items: center;
  color: var(--teal);
  background: var(--green-pale);
  border-radius: 50%;
  font-family: ui-monospace, monospace;
  font-size: 12px;
  font-weight: 900;
}

.reports-section {
  padding: 108px 0;
  background: #e7eeea;
}

.reports-inner {
  width: var(--content);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  align-items: center;
  gap: 74px;
}

.report-stack {
  position: relative;
  min-height: 440px;
}

.mini-report {
  position: absolute;
  width: min(470px, 88%);
  padding: 26px;
  background: #fff;
  border: 1px solid var(--rule-strong);
  box-shadow: 0 24px 60px rgba(20, 47, 58, 0.11);
}

.mini-report:first-child {
  top: 0;
  left: 0;
  transform: rotate(-2deg);
}

.mini-report:last-child {
  right: 0;
  bottom: 0;
  transform: rotate(2deg);
}

.mini-report h3 {
  padding-bottom: 12px;
  border-bottom: 2px solid var(--registry);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
}

.mini-report-row {
  padding: 7px 0;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  border-bottom: 1px solid var(--rule);
  font-family: ui-monospace, monospace;
  font-size: 11px;
}

.mini-report-row.total {
  margin-top: 5px;
  color: var(--registry);
  border-top: 2px solid var(--registry);
  border-bottom: 0;
  font-weight: 900;
}

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

.check-list li {
  position: relative;
  padding-left: 31px;
  color: #3e5358;
}

.check-list li::before {
  position: absolute;
  top: 2px;
  left: 0;
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  content: "✓";
  color: #fff;
  background: var(--teal);
  border-radius: 50%;
  font-size: 12px;
  font-weight: 900;
}

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

.trial-step {
  padding: 28px;
  border-top: 3px solid var(--teal);
  background: #fff;
}

.trial-step small {
  color: var(--teal);
  font-family: ui-monospace, monospace;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.trial-step h3 {
  margin-top: 24px;
}

.trial-step p {
  margin-bottom: 0;
  color: var(--muted);
}

.privacy-callout {
  width: var(--content);
  margin: 0 auto 108px;
  padding: 52px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 34px;
  color: #fff;
  background: var(--teal);
  border-radius: 22px;
}

.privacy-callout h2 {
  margin-bottom: 12px;
  color: #fff;
  font-size: clamp(32px, 4vw, 48px);
}

.privacy-callout p {
  max-width: 740px;
  margin: 0;
  color: #d2ece7;
}

.privacy-callout .button {
  color: var(--registry);
  background: #fff;
  border-color: #fff;
  white-space: nowrap;
}

.store-section {
  width: var(--content);
  margin: 0 auto 108px;
  padding: 48px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  background: var(--amber-pale);
  border: 1px solid #e9c778;
  border-radius: 22px;
}

.store-mark {
  width: 58px;
  height: 58px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  padding: 7px;
  background: var(--registry);
}

.store-mark span {
  background: #fff;
}

.store-section h2 {
  margin-bottom: 5px;
  font-family: "Centra Sans", sans-serif;
  font-size: 28px;
  letter-spacing: -0.02em;
}

.store-section p {
  margin: 0;
  color: #5d523c;
}

.product-id {
  margin-top: 9px;
  font-family: ui-monospace, monospace;
  font-size: 12px;
  font-weight: 800;
}

.site-footer {
  color: #d4e2e4;
  background: var(--registry-deep);
}

.footer-inner {
  width: var(--content);
  margin: 0 auto;
  padding: 56px 0 30px;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr 0.65fr;
  gap: 52px;
}

.footer-brand {
  max-width: 520px;
}

.footer-brand strong {
  display: block;
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
}

.footer-brand p {
  color: #a9c0c4;
}

.footer-title {
  margin: 0 0 14px;
  color: #fff;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-links {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 9px;
  list-style: none;
}

.footer-links a {
  color: #d4e2e4;
  text-decoration: none;
}

.footer-bottom {
  margin-top: 42px;
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: #839fa4;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 12px;
}

.legal-hero {
  width: var(--content);
  margin: 0 auto;
  padding: 80px 0 50px;
  border-bottom: 1px solid var(--rule-strong);
}

.legal-hero h1 {
  max-width: 880px;
  margin-bottom: 18px;
}

.legal-hero .lede {
  max-width: 820px;
}

.page-meta {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--muted);
  font-family: ui-monospace, monospace;
  font-size: 12px;
}

.page-meta span {
  padding: 5px 9px;
  background: #fff;
  border: 1px solid var(--rule-strong);
  border-radius: 6px;
}

.legal-layout {
  width: var(--content);
  margin: 0 auto;
  padding: 58px 0 108px;
  display: grid;
  grid-template-columns: 240px minmax(0, 790px);
  align-items: start;
  gap: 70px;
}

.page-index {
  position: sticky;
  top: 116px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.64);
  border: 1px solid var(--rule);
  border-radius: 12px;
}

.page-index strong {
  color: var(--registry);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.page-index ol,
.page-index ul {
  margin: 14px 0 0;
  padding-left: 19px;
}

.page-index a {
  color: var(--muted);
  font-size: 13px;
  text-decoration: none;
}

.legal-content section {
  margin-bottom: 52px;
  scroll-margin-top: 110px;
}

.legal-content h2 {
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--rule-strong);
  font-family: "Centra Sans", sans-serif;
  font-size: 27px;
  letter-spacing: -0.025em;
}

.legal-content h3 {
  margin: 30px 0 10px;
  font-size: 18px;
}

.legal-content p,
.legal-content li {
  color: #405459;
}

.legal-content ul,
.legal-content ol {
  padding-left: 23px;
}

.legal-content li + li {
  margin-top: 8px;
}

.info-box,
.warning-box {
  margin: 24px 0;
  padding: 20px 22px;
  border-left: 4px solid var(--teal);
  background: var(--green-pale);
}

.warning-box {
  border-left-color: var(--amber);
  background: var(--amber-pale);
}

.info-box p,
.warning-box p {
  margin: 0;
}

.support-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.support-card {
  padding: 24px;
  background: #fff;
  border: 1px solid var(--rule-strong);
  border-radius: 14px;
}

.support-card h3 {
  margin: 0 0 10px;
}

.support-card p:last-child {
  margin-bottom: 0;
}

.contact-panel {
  margin-bottom: 44px;
  padding: 32px;
  color: #fff;
  background: var(--registry);
  border-radius: 18px;
}

.contact-panel h2,
.contact-panel h3 {
  color: #fff;
}

.contact-panel p {
  color: #c9dddf;
}

.contact-panel a {
  color: #fff;
}

.contact-details {
  margin-top: 22px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.contact-details div {
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.contact-details small,
.contact-details strong {
  display: block;
}

.contact-details small {
  color: #8fb1b6;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.not-found {
  width: min(760px, calc(100vw - 40px));
  min-height: 68vh;
  margin: 0 auto;
  padding: 100px 0;
  display: grid;
  place-items: center;
  text-align: center;
}

.not-found-code {
  color: var(--teal);
  font-family: ui-monospace, monospace;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

@media (max-width: 1000px) {
  .site-nav {
    gap: 14px;
  }

  .hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 60px;
  }

  .hero > *,
  .hero-sheet-wrap,
  .report-sheet {
    min-width: 0;
  }

  .hero-sheet-wrap {
    width: min(700px, 100%);
    max-width: 100%;
  }

  .reports-inner {
    grid-template-columns: 1fr;
  }

  .report-stack {
    width: min(680px, 100%);
  }

  .legal-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .page-index {
    position: static;
  }
}

@media (max-width: 760px) {
  :root {
    --content: min(100% - 28px, 1180px);
  }

  .header-inner {
    min-height: auto;
    padding: 10px 0 12px;
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .brand img {
    width: 52px;
    height: 52px;
  }

  .brand-owner {
    display: none;
  }

  .site-nav {
    width: 100%;
    padding-bottom: 4px;
    overflow-x: auto;
    gap: 15px;
    scrollbar-width: thin;
  }

  .site-nav a {
    flex: 0 0 auto;
    font-size: 13px;
  }

  .nav-store {
    padding: 2px 0;
    border: 0;
  }

  .hero,
  .section,
  .reports-section {
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .hero {
    min-height: auto;
  }

  h1 {
    font-size: clamp(42px, 13vw, 62px);
  }

  .lede {
    font-size: 17px;
  }

  .report-sheet {
    padding: 20px 16px;
  }

  .report-heading {
    grid-template-columns: auto 1fr;
  }

  .report-period {
    display: none;
  }

  .report-member {
    grid-template-columns: 1fr 1fr;
  }

  .ledger-grid {
    overflow-x: auto;
  }

  .ledger-row {
    min-width: 570px;
  }

  .fact-band-inner {
    grid-template-columns: 1fr 1fr;
  }

  .fact {
    padding: 14px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  }

  .fact:first-child {
    padding-left: 14px;
  }

  .work-card,
  .work-card:nth-child(n) {
    grid-column: 1 / -1;
    min-height: 0;
  }

  .work-label {
    margin-bottom: 28px;
  }

  .trial-grid,
  .support-grid,
  .contact-details {
    grid-template-columns: 1fr;
  }

  .privacy-callout,
  .store-section {
    padding: 34px 26px;
    grid-template-columns: 1fr;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 32px;
  }

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

  .legal-hero {
    padding-top: 62px;
  }

  .legal-layout {
    padding-top: 36px;
    padding-bottom: 72px;
  }
}

@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;
  }
}

@media print {
  .site-header,
  .site-footer,
  .page-index,
  .hero-actions {
    display: none;
  }

  body {
    background: #fff;
  }

  body::before {
    display: none;
  }

  .legal-layout {
    display: block;
  }
}
