/* =========================================================
   Burma IT — styles
   Palette: deep pine green + marigold gold on warm paper
   Type: Bricolage Grotesque (display) / Inter (body) / IBM Plex Mono (data)
   ========================================================= */

:root {
  --ink:        #0c241b;
  --ink-soft:   #46584f;
  --pine:       #0e3b2e;
  --pine-deep:  #0a2c22;
  --pine-700:   #13503c;
  --brand:      #15724f;
  --jade:       #56b089;
  --jade-soft:  #eef6f1;
  --marigold:   #f5a524;
  --marigold-deep:#d98512;
  --paper:      #fbf7ef;
  --paper-2:    #f4ecdd;
  --card:       #ffffff;
  --line:       rgba(12, 36, 27, .12);
  --line-soft:  rgba(12, 36, 27, .07);

  --font-display: "Bricolage Grotesque", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", monospace;

  --container: 1140px;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(12,36,27,.06), 0 6px 18px rgba(12,36,27,.06);
  --shadow-md: 0 10px 34px rgba(12,36,27,.12);
  --shadow-lg: 0 30px 70px rgba(8,28,21,.45);
}

/* ---------- reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

.skip-link {
  position: absolute; left: 12px; top: -60px;
  background: var(--marigold); color: var(--pine-deep);
  padding: 10px 16px; border-radius: 8px; font-weight: 600; z-index: 200;
  transition: top .2s;
}
.skip-link:focus { top: 12px; }

:focus-visible {
  outline: 3px solid var(--marigold);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ---------- shared type ---------- */
.eyebrow {
  font-family: var(--font-mono);
  font-size: .8rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 18px;
}
.eyebrow--light { color: var(--marigold); }

.section__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.7rem, 1rem + 2.4vw, 2.85rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--ink);
  max-width: 16ch;
}
.section__lede {
  margin-top: 18px;
  font-size: 1.075rem;
  color: var(--ink-soft);
  max-width: 56ch;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .98rem;
  padding: 12px 20px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  transition: transform .18s ease, background-color .18s ease, box-shadow .18s ease, border-color .18s ease;
  white-space: nowrap;
}
.btn--lg { padding: 15px 28px; font-size: 1.02rem; }
.btn--block { width: 100%; }
.btn--gold { background: var(--marigold); color: #2a1c00; box-shadow: 0 8px 22px rgba(245,165,36,.32); }
.btn--gold:hover { background: #ffb738; transform: translateY(-2px); box-shadow: 0 12px 28px rgba(245,165,36,.42); }
.btn--ghost { background: rgba(251,247,239,.06); color: var(--paper); border-color: rgba(251,247,239,.28); }
.btn--ghost:hover { background: rgba(251,247,239,.14); transform: translateY(-2px); }
.btn--dark { background: var(--brand); color: #fff; }
.btn--dark:hover { background: var(--pine); transform: translateY(-2px); box-shadow: var(--shadow-md); }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(251,247,239,.82);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, box-shadow .25s;
}
.nav.is-stuck { border-bottom-color: var(--line); box-shadow: 0 6px 20px rgba(12,36,27,.05); }
.nav__inner { display: flex; align-items: center; gap: 24px; height: 72px; }

.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 800; font-size: 1.22rem; letter-spacing: -.02em; color: var(--ink); }
.brand__mark { display: inline-flex; filter: drop-shadow(0 3px 6px rgba(12,36,27,.18)); }
.brand__dot { color: var(--marigold-deep); }
.brand--light { color: var(--paper); }
.brand--light .brand__dot--gold { color: var(--marigold); }

.nav__links { display: flex; gap: 28px; margin-left: auto; }
.nav__links a { font-size: .96rem; font-weight: 500; color: var(--ink-soft); transition: color .15s; }
.nav__links a:hover { color: var(--ink); }
.nav__cta { padding: 9px 18px; }

.nav__toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; padding: 8px; margin-left: auto; }
.nav__toggle span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: .25s; }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav__mobile { display: none; flex-direction: column; gap: 4px; padding: 12px 24px 22px; border-bottom: 1px solid var(--line); background: var(--paper); }
.nav__mobile a { padding: 12px 4px; font-weight: 500; color: var(--ink); border-bottom: 1px solid var(--line-soft); }
.nav__mobile a:last-child { border: 0; margin-top: 10px; }
.nav__mobile .btn { justify-content: center; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  background: radial-gradient(120% 130% at 85% -10%, #18553f 0%, var(--pine) 42%, var(--pine-deep) 100%);
  color: var(--paper);
  overflow: hidden;
  isolation: isolate;
}
.hero__glow {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(40% 40% at 78% 18%, rgba(245,165,36,.20), transparent 70%),
    radial-gradient(50% 50% at 10% 100%, rgba(86,176,137,.16), transparent 70%);
}
.hero::before { /* subtle dotted texture */
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
  background-image: radial-gradient(rgba(251,247,239,.06) 1px, transparent 1.4px);
  background-size: 26px 26px; mask-image: linear-gradient(to bottom, #000 30%, transparent 95%);
}
.hero__grid {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center;
  padding: clamp(48px, 6vw, 96px) 24px clamp(64px, 7vw, 104px);
}
.hero__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.5rem, 1rem + 6.4vw, 4.6rem);
  line-height: 1.0;
  letter-spacing: -0.035em;
}
.hero__title .hl {
  color: var(--marigold);
  position: relative;
}
.hero__lede { margin-top: 26px; font-size: 1.16rem; color: rgba(251,247,239,.82); max-width: 50ch; }
.hero__actions { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 14px; }
.hero__pills { list-style: none; padding: 0; margin-top: 34px; display: flex; flex-wrap: wrap; gap: 10px; }
.hero__pills li {
  font-family: var(--font-mono); font-size: .8rem; letter-spacing: .02em;
  padding: 7px 14px; border-radius: 999px;
  border: 1px solid rgba(251,247,239,.22); color: rgba(251,247,239,.9);
}
.hero__pills li::before { content: "✓ "; color: var(--jade); }

/* ---------- signature: receipt ---------- */
.hero__receipt { display: flex; justify-content: center; }
.receipt {
  position: relative;
  width: min(340px, 100%);
  background: #fffdf8;
  color: #1b2a23;
  padding: 26px 26px 30px;
  border-radius: 6px 6px 0 0;
  box-shadow: var(--shadow-lg);
  font-family: var(--font-mono);
  transform: rotate(1.4deg);
  animation: receiptIn .9s cubic-bezier(.2,.8,.2,1) both .25s;
}
.receipt::after { /* torn zigzag bottom edge */
  content: ""; position: absolute; left: 0; right: 0; bottom: -9px; height: 10px;
  background:
    linear-gradient(45deg, #fffdf8 50%, transparent 51%) repeat-x,
    linear-gradient(-45deg, #fffdf8 50%, transparent 51%) repeat-x;
  background-size: 14px 10px;
  filter: drop-shadow(0 8px 6px rgba(8,28,21,.18));
}
.receipt__head { text-align: center; }
.receipt__logo { font-weight: 600; font-size: 1.32rem; letter-spacing: .14em; }
.receipt__sub { font-size: .68rem; letter-spacing: .34em; color: #5b6b62; margin-top: 4px; }
.receipt__meta { display: flex; justify-content: space-between; font-size: .68rem; color: #5b6b62; margin-top: 16px; letter-spacing: .03em; }
.perf { border-top: 2px dashed #c9d2cc; margin: 14px 0; }
.receipt__items { list-style: none; padding: 0; display: grid; gap: 11px; }
.receipt__items li { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: baseline; font-size: .92rem; }
.receipt__items .qty { color: #9aa8a0; font-size: .76rem; }
.receipt__items .it { letter-spacing: -.01em; }
.receipt__items .chk { color: var(--brand); font-weight: 600; }
.receipt__total { display: flex; justify-content: space-between; align-items: baseline; font-weight: 600; }
.receipt__total .amt { color: var(--marigold-deep); font-size: .82rem; }
.receipt__barcode {
  height: 46px; margin-top: 18px;
  background-image: repeating-linear-gradient(90deg,
    #1b2a23 0 2px, transparent 2px 4px, #1b2a23 4px 7px, transparent 7px 9px,
    #1b2a23 9px 10px, transparent 10px 14px);
  background-size: 14px 100%;
}
.receipt__thanks { text-align: center; font-size: .72rem; letter-spacing: .12em; color: #5b6b62; margin-top: 12px; }

@keyframes receiptIn {
  from { opacity: 0; transform: rotate(1.4deg) translateY(40px); clip-path: inset(0 0 100% 0); }
  to   { opacity: 1; transform: rotate(1.4deg) translateY(0);   clip-path: inset(0 0 -14px 0); }
}

/* ---------- context strip ---------- */
.strip {
  background: var(--pine-deep);
  color: rgba(251,247,239,.7);
  padding: 16px 0;
  border-top: 1px solid rgba(251,247,239,.06);
  overflow: hidden;
  white-space: nowrap;
}
.strip__track {
  display: inline-flex; align-items: center; gap: 26px;
  font-family: var(--font-mono); font-size: .82rem; letter-spacing: .06em; text-transform: uppercase;
  animation: marquee 32s linear infinite;
  will-change: transform;
}
.strip__dot { color: var(--marigold); font-size: .5rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- generic section ---------- */
.section { padding: clamp(64px, 8vw, 112px) 0; background: var(--paper); }
.section--paper { background: var(--paper-2); }
.section__head { margin-bottom: 52px; }

/* ---------- services cards ---------- */
.cards {
  display: grid; gap: 20px;
  grid-template-columns: repeat(3, 1fr);
}
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px 24px;
  box-shadow: var(--shadow-sm);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
  position: relative;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: rgba(86,176,137,.5); }
.card__icon {
  width: 50px; height: 50px; border-radius: 13px;
  display: grid; place-items: center;
  background: var(--jade-soft); color: var(--brand);
  margin-bottom: 20px;
}
.card__icon svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.card__title { font-family: var(--font-display); font-weight: 700; font-size: 1.28rem; letter-spacing: -.01em; }
.card__text { margin-top: 10px; color: var(--ink-soft); font-size: .98rem; }
.card__tag {
  display: inline-block; margin-top: 18px;
  font-family: var(--font-mono); font-size: .68rem; text-transform: uppercase; letter-spacing: .08em;
  color: var(--brand); background: var(--jade-soft);
  padding: 4px 10px; border-radius: 6px;
}

/* ---------- spotlight ---------- */
.spotlight { background: linear-gradient(180deg, var(--jade-soft), var(--paper)); }
.spotlight__grid { display: grid; grid-template-columns: .92fr 1.08fr; gap: 60px; align-items: center; }
.spotlight__copy .section__title { max-width: 18ch; }

.device {
  background: #0c241b; border-radius: 22px; padding: 14px;
  box-shadow: 0 34px 70px rgba(8,28,21,.30); border: 1px solid rgba(255,255,255,.06);
  max-width: 380px; margin-inline: auto;
}
.device__bar { display: flex; gap: 7px; padding: 6px 8px 12px; }
.device__bar span { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.18); }
.device__bar span:first-child { background: var(--marigold); }
.device__screen { background: var(--paper); border-radius: 14px; padding: 20px; }
.till { font-family: var(--font-mono); font-size: .9rem; }
.till__row { display: flex; justify-content: space-between; padding: 9px 0; border-bottom: 1px dashed var(--line); }
.till__row--muted { color: var(--ink-soft); }
.till__total { border-bottom: 0; font-weight: 600; font-size: 1.05rem; padding-top: 12px; }
.till__pay { margin-top: 14px; background: var(--brand); color: #fff; text-align: center; padding: 13px; border-radius: 10px; font-weight: 600; letter-spacing: .02em; }
.till__hint { display: flex; align-items: center; gap: 8px; margin-top: 14px; font-size: .76rem; color: var(--ink-soft); }
.till__hint .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--marigold); box-shadow: 0 0 0 4px rgba(245,165,36,.2); }

.ticks { list-style: none; padding: 0; margin: 26px 0 30px; display: grid; gap: 13px; }
.ticks li { position: relative; padding-left: 32px; color: var(--ink-soft); }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--jade-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2315724f' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 12px no-repeat;
}

/* ---------- why grid ---------- */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px 40px; }
.why { padding-top: 22px; border-top: 2px solid var(--ink); }
.why__no { font-family: var(--font-mono); font-weight: 600; color: var(--marigold-deep); font-size: .9rem; }
.why h3 { font-family: var(--font-display); font-weight: 700; font-size: 1.16rem; margin: 10px 0 8px; }
.why p { color: var(--ink-soft); font-size: .96rem; }

/* ---------- process steps ---------- */
.steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: none; }
.step { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px; box-shadow: var(--shadow-sm); }
.step__no { font-family: var(--font-mono); font-size: 1.6rem; font-weight: 600; color: var(--jade); }
.step h3 { font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; margin: 12px 0 8px; }
.step p { color: var(--ink-soft); font-size: .95rem; }

/* ---------- contact ---------- */
.contact { background: radial-gradient(120% 120% at 100% 0%, #18553f, var(--pine) 55%, var(--pine-deep)); color: var(--paper); }
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.contact__title { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.9rem, 1rem + 3vw, 3rem); line-height: 1.05; letter-spacing: -.02em; }
.contact__lede { margin-top: 18px; color: rgba(251,247,239,.8); font-size: 1.08rem; max-width: 46ch; }
.contact__list { list-style: none; padding: 0; margin-top: 32px; display: grid; gap: 18px; }
.contact__list li { display: flex; flex-direction: column; gap: 3px; border-top: 1px solid rgba(251,247,239,.16); padding-top: 14px; }
.contact__k { font-family: var(--font-mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--marigold); }
.contact__v { font-size: 1.08rem; font-weight: 500; color: var(--paper); }
a.contact__v:hover { color: var(--marigold); }

.contact__form { background: var(--card); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-lg); }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: .84rem; font-weight: 600; color: var(--ink); margin-bottom: 7px; }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: .98rem; color: var(--ink);
  padding: 12px 14px; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  background: #fff; transition: border-color .15s, box-shadow .15s; resize: vertical;
}
.field input::placeholder, .field textarea::placeholder { color: #9aa8a0; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(21,114,79,.12); }
.field input:user-invalid, .field textarea:user-invalid { border-color: #c0533c; }
.contact__note { font-size: .8rem; color: var(--ink-soft); margin-top: 12px; text-align: center; }

/* ---------- footer ---------- */
.footer { background: var(--pine-deep); color: rgba(251,247,239,.74); padding: 64px 0 28px; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 36px; }
.footer__tag { margin-top: 16px; font-size: .96rem; color: rgba(251,247,239,.6); max-width: 26ch; }
.footer__col h4 { font-family: var(--font-mono); font-size: .74rem; text-transform: uppercase; letter-spacing: .1em; color: var(--marigold); margin-bottom: 16px; }
.footer__col { display: flex; flex-direction: column; gap: 10px; }
.footer__col a { color: rgba(251,247,239,.78); font-size: .95rem; transition: color .15s; width: max-content; }
.footer__col a:hover { color: var(--marigold); }
.footer__muted { color: rgba(251,247,239,.5); font-size: .9rem; }
.footer__barcode { height: 30px; margin-top: 8px; opacity: .5;
  background-image: repeating-linear-gradient(90deg, #fbf7ef 0 2px, transparent 2px 4px, #fbf7ef 4px 7px, transparent 7px 10px);
  background-size: 12px 100%; }
.footer__base {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px;
  margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(251,247,239,.12);
  font-size: .86rem; color: rgba(251,247,239,.55);
}

/* ---------- reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.cards .reveal:nth-child(2), .why-grid .reveal:nth-child(2), .steps .reveal:nth-child(2) { transition-delay: .06s; }
.cards .reveal:nth-child(3), .why-grid .reveal:nth-child(3), .steps .reveal:nth-child(3) { transition-delay: .12s; }
.cards .reveal:nth-child(4), .why-grid .reveal:nth-child(4), .steps .reveal:nth-child(4) { transition-delay: .18s; }
.cards .reveal:nth-child(5), .why-grid .reveal:nth-child(5) { transition-delay: .24s; }
.cards .reveal:nth-child(6), .why-grid .reveal:nth-child(6) { transition-delay: .3s; }

/* ---------- responsive ---------- */
@media (max-width: 940px) {
  .hero__grid { grid-template-columns: 1fr; gap: 44px; }
  .hero__receipt { order: 2; }
  .spotlight__grid, .contact__grid { grid-template-columns: 1fr; gap: 40px; }
  .cards, .why-grid, .steps { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .nav__links, .nav__cta { display: none; }
  .nav__toggle { display: flex; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .cards, .why-grid, .steps, .footer__grid { grid-template-columns: 1fr; }
  .hero__title { font-size: clamp(2.3rem, 8vw, 3rem); }
  .footer__base { flex-direction: column; }
}

/* ---------- motion / a11y ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
  .receipt { clip-path: none; }
}
