/* OrderPocket site: shared by /orderpocket/ (English) and /orderpocket/bn/ (Bangla). */
:root {
  --green: #164D42;
  --green-2: #1F6455;
  --paper: #FBF8F3;
  --card: #FFFFFF;
  --ink: #1C2421;
  --muted: #5F6A65;
  --line: #E6E0D5;
  --tint: #F1ECE2;
  --serif: "Fraunces", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --bn: "Hind Siliguri", "Noto Sans Bengali", system-ui, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #141311; --card: #1B1A17; --ink: #EEE9E0; --muted: #ADA597;
    --line: #2C2924; --tint: #211F1B; --green: #7CC3AE; --green-2: #9AD3C1;
  }
}
:root[data-theme="dark"] {
  --paper: #141311; --card: #1B1A17; --ink: #EEE9E0; --muted: #ADA597;
  --line: #2C2924; --tint: #211F1B; --green: #7CC3AE; --green-2: #9AD3C1;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 17px;
       line-height: 1.65; -webkit-font-smoothing: antialiased; }
body.bn { font-family: var(--bn); font-size: 18px; line-height: 1.75; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.ic { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 2;
      stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* nav */
.nav { display: flex; align-items: center; justify-content: space-between; padding: 22px 20px;
       border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; text-decoration: none; }
.brand img { width: 32px; height: 32px; border-radius: 8px; }
.nav nav { display: flex; gap: 24px; font-size: 15px; align-items: center; }
.nav nav a { text-decoration: none; color: var(--muted); }
.nav nav a:hover { color: var(--ink); }
.nav nav a.lang { color: var(--ink); font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }

/* hero */
.hero { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; padding: 64px 0 72px; }
.label { font-size: 13px; font-weight: 600; letter-spacing: 1.4px; text-transform: uppercase; color: var(--green); }
body.bn .label { font-size: 15px; letter-spacing: 0; text-transform: none; }
h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(38px, 5.2vw, 62px); line-height: 1.06;
     letter-spacing: -1.4px; margin-top: 14px; }
body.bn h1 { font-family: var(--bn); font-weight: 700; letter-spacing: 0; line-height: 1.25; font-size: clamp(32px, 4.6vw, 52px); }
.lead { margin-top: 22px; font-size: 19px; color: var(--muted); max-width: 520px; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 32px; }
.play { display: inline-flex; align-items: center; gap: 11px; background: #121212; color: #fff; text-decoration: none;
        padding: 9px 18px 9px 14px; border-radius: 10px; line-height: 1.15; }
.play small { display: block; font-size: 10.5px; letter-spacing: .5px; text-transform: uppercase; opacity: .8; }
.play strong { font-size: 18px; font-weight: 600; }
.play .ic { width: 24px; height: 24px; }
.textlink { color: var(--green); font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }
.small { font-size: 14px; color: var(--muted); margin-top: 18px; }

.shot { justify-self: center; width: min(330px, 100%); }
.phone { background: #111614; border-radius: 40px; padding: 9px; box-shadow: 0 24px 50px -24px rgba(20, 30, 25, .45); }
.phone img { border-radius: 32px; }
.caption { font-size: 13px; color: var(--muted); text-align: center; margin-top: 12px; }

/* blocks */
section { padding: 72px 0; border-top: 1px solid var(--line); }
h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(28px, 3.4vw, 40px); line-height: 1.15;
     letter-spacing: -.6px; max-width: 760px; }
body.bn h2 { font-family: var(--bn); font-weight: 700; letter-spacing: 0; line-height: 1.35; }
.prose { max-width: 680px; margin-top: 18px; color: var(--muted); font-size: 18px; }
.prose p + p { margin-top: 14px; }

.problem { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; }
.problem ul { list-style: none; border-top: 1px solid var(--line); }
.problem li { padding: 18px 0; border-bottom: 1px solid var(--line); }
.problem li b { display: block; font-weight: 600; }
.problem li span { color: var(--muted); font-size: 16px; }

.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; padding: 56px 0; }
.feature + .feature { border-top: 1px dashed var(--line); }
.feature.flip > .media { order: 2; }
.num { font-family: var(--serif); font-size: 15px; color: var(--muted); font-variant-numeric: tabular-nums; }
.feature h3 { font-family: var(--serif); font-weight: 500; font-size: 30px; line-height: 1.2; letter-spacing: -.4px; margin-top: 6px; }
body.bn .feature h3 { font-family: var(--bn); font-weight: 700; letter-spacing: 0; line-height: 1.4; }
.feature p { color: var(--muted); margin-top: 12px; }
.feature ul { list-style: none; margin-top: 18px; }
.feature li { display: flex; gap: 10px; padding: 6px 0; }
.feature li .ic { color: var(--green); margin-top: 4px; }
.media { display: flex; justify-content: center; }
.media .phone { width: min(290px, 88%); }
.media.doc { background: var(--tint); border-radius: 18px; padding: 34px; }
.media.doc img { border-radius: 6px; box-shadow: 0 18px 40px -22px rgba(20, 30, 25, .5); border: 1px solid var(--line); }

.timeline { margin-top: 34px; max-width: 760px; }
.timeline div { display: grid; grid-template-columns: 84px 1fr; gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.timeline time { font-weight: 600; color: var(--green); font-variant-numeric: tabular-nums; }
.timeline p { color: var(--muted); }
.timeline b { color: var(--ink); font-weight: 600; }

.specs { margin-top: 30px; display: grid; grid-template-columns: 1fr 1fr; gap: 0 56px; }
.specs dl { display: contents; }
.specs div { display: grid; grid-template-columns: 170px 1fr; gap: 16px; padding: 15px 0; border-bottom: 1px solid var(--line); }
body.bn .specs div { grid-template-columns: 150px 1fr; }
.specs dt { font-weight: 600; }
.specs dd { color: var(--muted); }

.faq { margin-top: 28px; max-width: 800px; }
details { border-bottom: 1px solid var(--line); padding: 18px 0; }
summary { cursor: pointer; font-weight: 600; font-size: 18px; list-style: none; display: flex; justify-content: space-between; gap: 18px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--muted); font-weight: 400; font-size: 22px; line-height: 1.1; }
details[open] summary::after { content: "\2212"; }
details p { color: var(--muted); margin-top: 10px; max-width: 700px; }

.end { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; }
.end p { color: var(--muted); margin-top: 8px; }

footer { border-top: 1px solid var(--line); padding: 32px 0 48px; font-size: 14px; color: var(--muted); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 10px 28px; justify-content: space-between; }
footer a { text-decoration: none; }
footer a:hover { text-decoration: underline; }

@media (max-width: 880px) {
  .hero, .problem, .feature { grid-template-columns: 1fr; }
  .hero { padding: 40px 0 56px; gap: 40px; }
  .feature { gap: 30px; padding: 40px 0; }
  .feature.flip > .media { order: 0; }
  .specs { grid-template-columns: 1fr; }
  .nav nav a:not(.lang) { display: none; }
  .shot { width: min(290px, 80%); }
}
@media (max-width: 520px) {
  body { font-size: 16px; }
  section { padding: 52px 0; }
  .specs div, body.bn .specs div { grid-template-columns: 1fr; gap: 2px; }
  .timeline div { grid-template-columns: 62px 1fr; gap: 12px; }
  .media.doc { padding: 18px; }
}

/* Grid children must be allowed to shrink below their content width. */
.hero > *, .problem > *, .feature > *, .specs > div > *, .timeline > div > * { min-width: 0; }
h1, h2, h3, p, li, dd, summary { overflow-wrap: break-word; }
.timeline div:last-child, .faq details:last-child, .problem li:last-child { border-bottom: 0; }

/* demo video */
.video { margin-top: 28px; max-width: 460px; }
.video video { display: block; width: 100%; height: auto; border-radius: 22px; background: #0E352D;
               box-shadow: 0 30px 60px -30px rgba(20, 30, 25, .5); }
@media (max-width: 520px) { .video { max-width: 100%; } }
