@font-face {
  font-family: "Noto Sans Bengali";
  src: url("/assets/fonts/latin.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 100 900;
}

@font-face {
  font-family: "Noto Sans Bengali";
  src: url("/assets/fonts/bengali.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 100 900;
  unicode-range: U+0980-09FF, U+1CD0-1CF9, U+200C-200D, U+20B9, U+25CC, U+A8F1;
}

:root {
  --text: "Purno", "Noto Sans Bengali", system-ui, sans-serif;
  --paper: var(--surface-page);
  --teal-deep: var(--action-pressed);
  --teal-edge: #28796b;
  --teal-faint: #b8d9cf;
  --stage-shadow: 0 24px 36px #002a2470;
  --tile-shadow: 0 8px 20px #002a2444;
  --sample-saree: #efd8b2;
  --sample-set: #dfceaa;
  --sample-ink: #3d241d;
  --sample-green: #132e23;
  --section-space: clamp(4.5rem, 8vw, 8rem);
  --gutter: clamp(1.125rem, 4vw, 3.5rem);
  --radius: 1.25rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 1rem; }
html, body { overflow-x: clip; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--text);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration-thickness: .08em; text-underline-offset: .23em; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { overflow-wrap: anywhere; }
h1, h2 { letter-spacing: -.04em; }
h1 { font-size: clamp(2.5rem, 5.55vw, 5.5rem); font-weight: 760; line-height: 1.02; }
h2 { font-size: clamp(2.5rem, 5vw, 4.625rem); font-weight: 750; line-height: 1.05; }
h3 { line-height: 1.25; letter-spacing: -.02em; }
::selection { background: var(--edit-marigold); color: var(--on-edit-marigold); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }

.frame {
  width: min(100%, 87rem);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { padding-block: var(--section-space); }
.skip-link {
  position: absolute;
  z-index: 2;
  padding: .65rem 1rem;
  background: var(--paper);
  transform: translateY(-150%);
}
.skip-link:focus { transform: translate(1rem, .5rem); }
.arrow {
  position: relative;
  display: inline-block;
  width: .95rem;
  height: .95rem;
  flex: none;
}
.arrow::before, .arrow::after { position: absolute; content: ""; }
.arrow::before {
  top: 47%;
  inset-inline: .07rem .14rem;
  border-top: 1.5px solid currentColor;
}
.arrow::after {
  top: 28%;
  right: .14rem;
  width: .42rem;
  height: .42rem;
  transform: rotate(45deg);
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
}
.arrow-down { transform: rotate(90deg); }
.button, .text-link, .wordmark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}
.button {
  min-height: 3rem;
  padding-inline: 1.15rem;
  border: 1px solid transparent;
  border-radius: .65rem;
  font-size: .92rem;
  transition: background-color 150ms ease, border-color 150ms ease;
}
.button-primary { background: var(--action); color: var(--on-edit-teal); }
.button-primary:hover { background: var(--action-hover); }
.button-outline { border-color: var(--line-strong); }
.button-outline:hover { background: var(--surface-sunken); }
.text-link { min-height: 2.75rem; color: var(--action); font-size: .92rem; }
.text-link:hover, .site-nav a:hover { text-decoration: underline; }

.site-header { border-bottom: 1px solid var(--line-subtle); }
.header-inner {
  min-height: 4.8rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: .875rem;
}
.wordmark {
  justify-self: start;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -.035em;
}
.wordmark img { flex: none; }
.site-nav { display: flex; align-items: center; gap: clamp(1.1rem, 3vw, 2.15rem); }
.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  color: var(--ink-muted);
  font-weight: 600;
  font-size: .9rem;
  white-space: nowrap;
  text-decoration: none;
}
.header-pilot { justify-self: end; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, .99fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(1.5rem, 4vw, 4.75rem);
  padding-block: clamp(2.25rem, 5vw, 4.5rem) clamp(2.5rem, 4vw, 4.25rem);
}
.hero h1 { margin-inline-end: -.02em; }
.hero h1 em { color: var(--action); font-style: normal; }
.hero-lede {
  max-width: 36ch;
  margin-top: 1.4rem;
  font-size: clamp(1.02rem, 1.6vw, 1.21rem);
  color: var(--ink-muted);
  line-height: 1.6;
}
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .55rem 1.25rem; margin-top: 1.7rem; }
.hero-actions .button { min-height: 3.3rem; padding-inline: 1.25rem; }
.hero-note { margin-top: 1.1rem; color: var(--ink-muted); font-size: .88rem; }

.hero-stage {
  position: relative;
  display: grid;
  justify-items: center;
  gap: clamp(.65rem, 1.7vw, 1.35rem);
  overflow: hidden;
  background: var(--teal-deep);
  color: var(--on-edit-teal);
  border-radius: var(--radius);
  padding: 1.05rem 1rem 1.55rem;
  isolation: isolate;
}
.hero-stage::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: .95rem;
  border: 1px solid var(--teal-edge);
  border-radius: calc(var(--radius) - .45rem);
}
.stage-label {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .45rem;
  padding: .28rem .65rem .45rem;
  color: var(--teal-faint);
  font-size: clamp(.6875rem, 1.18vw, .84rem);
  font-weight: 600;
  letter-spacing: .015em;
}
.hero-art { width: min(73%, 24rem); margin-inline-start: 7%; box-shadow: var(--stage-shadow); }
.hero-source {
  position: absolute;
  inset: auto auto 10% 5%;
  display: flex;
  align-items: center;
  gap: .55rem;
  width: max-content;
  max-width: 55%;
  padding: .44rem .7rem .44rem .44rem;
  border-radius: .55rem;
  background: var(--surface-raised);
  color: var(--ink);
  box-shadow: var(--tile-shadow);
  transform: rotate(-4deg);
}
.hero-source img { width: clamp(1.9rem, 4vw, 3.85rem); height: auto; border-radius: .22rem; }
.hero-source strong, .hero-source span { display: block; }
.hero-source strong { font-size: clamp(.7rem, 1.17vw, .87rem); line-height: 1.3; }
.hero-source span { margin-top: .15rem; color: var(--ink-muted); font-size: clamp(.65rem, 1vw, .76rem); line-height: 1.35; }
.hero-demo > figcaption { padding: .55rem .2rem 0; color: var(--ink-muted); font-size: .85rem; }

.creative { position: relative; container-type: inline-size; overflow: hidden; }
.creative-saree { aspect-ratio: 4 / 5; background: var(--sample-saree); color: var(--sample-ink); }
.creative-set { aspect-ratio: 1; background: var(--sample-set); color: var(--sample-green); }
.creative img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.creative-copy { position: absolute; inset: 5.5% 8% auto; display: grid; gap: 1.7cqw; }
.creative-copy span { font-size: 4cqw; font-weight: 550; line-height: 1.5; }
.creative-copy strong { font-size: 11cqw; font-weight: 760; line-height: 1.3; }
.creative-set img { inset: auto 0 0; height: 76%; }
.creative-set .creative-copy { inset: 5% 7% auto; }
.creative-set .creative-copy strong { font-size: 8.25cqw; }

.value-strip { border-block: 1px solid var(--line-subtle); background: var(--surface-sunken); }
.value-list {
  list-style: none;
  margin-block: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding-block: 1.1rem;
}
.value-list li {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: .65rem;
  padding: .3rem .5rem;
  font-size: clamp(.83rem, 1.35vw, 1rem);
  font-weight: 650;
}
.value-list li + li { border-inline-start: 1px solid var(--line-subtle); }
.value-dot {
  width: .62rem;
  height: .62rem;
  flex: none;
  border: 2px solid var(--action);
  border-radius: 50%;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .48fr);
  align-items: end;
  gap: 1rem 2.25rem;
  margin-bottom: clamp(2rem, 4vw, 3.7rem);
}
.section-head p { max-width: 42ch; color: var(--ink-muted); font-size: clamp(1rem, 1.5vw, 1.13rem); }
.example-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, .94fr);
  gap: clamp(1.4rem, 4vw, 3.7rem);
}
.example-mat { display: grid; place-items: center; min-height: 0; padding: clamp(1.3rem, 4vw, 3.1rem); border-radius: var(--radius); }
.example-saree .example-mat { background: var(--edit-sand); }
.example-set .example-mat { background: var(--action-subtle); }
.example-saree .creative { width: min(100%, 18.75rem); }
.example-set .creative { width: min(100%, 23.4375rem); }
.example figcaption {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: .3rem 1rem;
  flex-wrap: wrap;
  margin-top: .75rem;
}
.example figcaption strong, .example figcaption span { display: block; }
.example figcaption strong { font-size: 1.15rem; line-height: 1.35; }
.example figcaption span { color: var(--ink-muted); font-size: .875rem; }
.example figcaption .placement { white-space: nowrap; }

.workflow { background: var(--edit-teal); color: var(--on-edit-teal); }
.workflow-inner {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(2rem, 6vw, 6rem);
  padding-block: var(--section-space);
}
.workflow header p { margin-top: 1rem; color: var(--teal-faint); max-width: 28ch; font-size: 1.15rem; }
.workflow-steps { margin: 0; padding: 0; list-style: none; }
.workflow-steps li {
  display: grid;
  grid-template-columns: minmax(0, 2.8rem) minmax(0, 1fr);
  gap: .65rem 1rem;
  padding-block: 1.15rem;
  border-top: 1px solid var(--teal-edge);
}
.workflow-steps li:last-child { border-bottom: 1px solid var(--teal-edge); }
.workflow-steps h3 { font-size: clamp(1.2rem, 2.1vw, 1.54rem); }
.workflow-steps p { margin-top: .35rem; color: var(--teal-faint); max-width: 42ch; }
.step-number { color: var(--edit-sand); font-variant-numeric: tabular-nums; font-weight: 750; }

.pilot-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .53fr);
  align-items: center;
  gap: 1.8rem 3rem;
  padding: clamp(1.35rem, 6vw, 4.75rem);
  background: var(--edit-sand);
  color: var(--on-edit-sand);
  border-radius: var(--radius);
}
.pilot-panel h2 { font-size: clamp(2.35rem, 4.5vw, 4rem); }
.pilot-panel p { max-width: 48ch; margin-top: 1rem; }
.pilot-panel .button { margin-top: 1.35rem; }
.pilot-status { font-weight: 690; }
.pilot-fit { margin: 0; padding: 0; list-style: none; }
.pilot-fit li { padding: .75rem 0; border-top: 1px solid var(--line-strong); font-weight: 680; }
.pilot-fit li:last-child { border-bottom: 1px solid var(--line-strong); }
.roadmap-note { margin-top: .95rem; color: var(--ink-muted); font-size: .875rem; }

.site-footer { border-top: 1px solid var(--line-subtle); }
.footer-inner {
  min-height: 5.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .55rem 1rem;
  padding-block: .8rem;
}
.footer-inner .wordmark { font-size: 1.18rem; }
.footer-inner p { color: var(--ink-muted); font-size: .875rem; }
.missing-page { min-height: 58vh; display: grid; gap: 1rem; align-content: center; justify-items: start; }

@media (max-width: 900px) {
  .hero { gap: 1.65rem; }
  .wide-only { display: none; }
}

@media (max-width: 680px) {
  :root { --section-space: 4rem; }
  h1 { font-size: clamp(2.5rem, 9vw, 4.25rem); }
  .header-inner {
    min-height: 0;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: .22rem 1rem;
    padding-block: .54rem .15rem;
  }
  .site-nav { grid-row: 2; grid-column: 1 / -1; gap: 1.35rem; }
  .site-nav a { min-height: 2.75rem; }
  .header-pilot { grid-row: 1; grid-column: 2; min-height: 2.75rem; padding-inline: .67rem; font-size: .79rem; gap: .35rem; }
  .header-pilot .arrow { display: none; }
  .wordmark { font-size: 1.2rem; gap: .4rem; }
  .wordmark img { width: 26px; height: 26px; }
  .hero, .section-head, .example-grid, .workflow-inner, .pilot-panel { grid-template-columns: minmax(0, 1fr); }
  .hero { gap: 1.65rem; padding-block: 2.4rem 1.45rem; }
  .hero-lede { margin-top: .95rem; }
  .hero-actions { margin-top: 1.15rem; }
  .hero-note { margin-top: .7rem; }
  .hero-art { width: min(67%, 21rem); }
  .hero-stage { padding: .75rem .7rem 1.2rem; }
  .hero-stage::before { inset: .55rem; }
  .value-list { padding-block: .45rem; }
  .value-list li { align-items: flex-start; padding: .3rem; font-size: .74rem; line-height: 1.45; gap: .32rem; }
  .value-dot { width: .43rem; height: .43rem; border-width: 1.5px; margin-top: .3rem; }
  .section-head { margin-bottom: 1.6rem; }
  .section-head p { max-width: 34ch; }
  .example-grid { gap: 2.2rem; }
  .workflow-inner { gap: 1.65rem; }
  .workflow header p { font-size: 1rem; }
  .footer-inner { padding-block: 1.05rem; }
  .footer-inner p { order: 2; flex-basis: 100%; }
}

@media (max-width: 350px) {
  .hero-actions { gap: .35rem .8rem; }
  .hero-actions .button { font-size: .83rem; padding-inline: .8rem; }
  .hero-actions .text-link { font-size: .83rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0s !important; }
}
