/* ==========================================================================
   bengaliboy.com — for-sale landing page
   Single stylesheet, no dependencies, no build step.
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  --ink:        #0b1220;
  --ink-soft:   #16203a;
  --text:       #131a2b;
  --muted:      #5b6478;
  --line:       #e4e8ef;
  --bg:         #ffffff;
  --bg-alt:     #f6f8fa;

  --accent:     #0f9d76;   /* green */
  --accent-2:   #d0344a;   /* red, used sparingly */
  --accent-ink: #0b7a5c;

  --radius:     14px;
  --radius-sm:  9px;
  --shadow:     0 1px 2px rgba(16,24,40,.04), 0 8px 24px -12px rgba(16,24,40,.18);
  --shadow-lg:  0 24px 60px -28px rgba(11,18,32,.45);

  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
          Arial, "Noto Sans", sans-serif;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;

  --maxw: 1120px;
  --maxw-narrow: 760px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; height: auto; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); }
h3 { font-size: 1.06rem; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: var(--accent-ink); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--accent); }

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

/* ---------- Layout helpers ---------- */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 22px;
}
.wrap-narrow { max-width: var(--maxw-narrow); }
.muted { color: var(--muted); }
.small { font-size: .92rem; }
.nowrap { white-space: nowrap; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--ink); color: #fff; padding: 12px 18px;
  border-radius: 0 0 var(--radius-sm) 0; font-weight: 600;
}
.skip-link:focus { left: 0; color: #fff; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: .5em;
  padding: 14px 26px;
  border: 1px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-weight: 650;
  font-size: .97rem;
  letter-spacing: -0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: transform .12s ease, box-shadow .2s ease, background-color .2s ease,
              color .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 10px 24px -12px rgba(15,157,118,.75);
}
.btn-primary:hover { background: var(--accent-ink); color: #fff; }

.btn-ghost {
  background: transparent;
  color: currentColor;
  border-color: currentColor;
  opacity: .82;
}
.btn-ghost:hover { opacity: 1; background: rgba(255,255,255,.08); }

.btn-sm { padding: 10px 18px; font-size: .9rem; }
.btn-block { width: 100%; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.86);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; min-height: 66px;
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--text); text-decoration: none; font-weight: 700;
  letter-spacing: -0.02em;
}
.brand:hover { color: var(--text); }
.brand-mark {
  display: grid; place-items: center;
  width: 30px; height: 30px;
  background: var(--ink); color: #34d399;
  border-radius: 8px;
  font-family: var(--serif); font-size: 1.15rem; font-weight: 700;
  line-height: 1;
}
.brand-name .tld { color: var(--muted); font-weight: 500; }

.header-actions { display: flex; align-items: center; gap: 14px; }
.header-price { font-weight: 700; font-size: .97rem; }
.header-price .muted { font-weight: 500; font-size: .86rem; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  background:
    radial-gradient(1100px 520px at 78% -12%, rgba(15,157,118,.34), transparent 62%),
    radial-gradient(760px 420px at 8% 108%, rgba(208,52,74,.20), transparent 60%),
    linear-gradient(168deg, var(--ink) 0%, var(--ink-soft) 62%, #1d2a4a 100%);
  color: #eef2f8;
  overflow: hidden;
}
.hero::after {
  /* faint grid, purely decorative */
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 62px 62px;
  mask-image: radial-gradient(78% 68% at 50% 34%, #000 30%, transparent 100%);
  pointer-events: none;
}
.hero-inner {
  position: relative; z-index: 1;
  padding: clamp(64px, 10vw, 118px) 22px clamp(60px, 9vw, 104px);
  max-width: 900px;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 22px;
  padding: 6px 14px;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 999px;
  font-size: .78rem; font-weight: 600;
  letter-spacing: .09em; text-transform: uppercase;
  color: #b8f0dc;
  background: rgba(255,255,255,.05);
}

.hero-title {
  font-family: var(--serif);
  font-size: clamp(2.7rem, 8.4vw, 5.2rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  margin: 0 0 22px;
  color: #fff;
  overflow-wrap: anywhere;
}
.hero-title .dot { color: var(--accent); }
.hero-title .tld-big { color: #9fb0cc; font-weight: 400; }

.hero-lede {
  font-size: clamp(1.02rem, 1.6vw, 1.2rem);
  color: #c3cddd;
  max-width: 62ch;
  margin-bottom: 34px;
}
.hero-lede strong { color: #fff; }

/* Price */
.price-block {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 20px;
  padding: 22px 26px;
  margin-bottom: 32px;
  border: 1px solid rgba(255,255,255,.14);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  background: rgba(255,255,255,.055);
  backdrop-filter: blur(6px);
  max-width: 640px;
}
.price-amount {
  font-size: clamp(2rem, 4.6vw, 2.9rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  color: #fff;
  line-height: 1;
}
.price-amount .currency { font-size: .58em; vertical-align: .42em; margin-right: 2px; color: var(--accent); }
.price-amount .currency-code {
  font-size: .34em; font-weight: 600; letter-spacing: .12em;
  color: #93a3bd; margin-left: 8px; vertical-align: .9em;
}
.price-note { margin: 0; font-size: .92rem; color: #9fb0cc; }

.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 40px; }

.trust-strip {
  display: flex; flex-wrap: wrap; gap: 10px 26px;
  padding-top: 26px;
  border-top: 1px solid rgba(255,255,255,.12);
  font-size: .91rem; color: #a9b6cb;
}
.trust-strip li { display: flex; align-items: center; gap: 8px; }
.tick { color: var(--accent); font-weight: 700; }

/* ==========================================================================
   Sections
   ========================================================================== */
.section { padding: clamp(58px, 8vw, 96px) 0; }
.section-alt { background: var(--bg-alt); border-block: 1px solid var(--line); }

.section-title { margin-bottom: 14px; }
.section-lede {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 66ch;
  margin-bottom: 42px;
}

/* ---------- Cards ---------- */
.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

.card {
  padding: 26px 24px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform .18s ease, box-shadow .22s ease, border-color .22s ease;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: #d3dae6;
}
.card h3 { margin-bottom: .45em; }
.card p:last-child { margin-bottom: 0; }
.card p { color: var(--muted); font-size: .96rem; }

/* ---------- Use cases ---------- */
.uses { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.uses li {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 22px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.uses-icon {
  flex: 0 0 auto;
  display: grid; place-items: center;
  width: 42px; height: 42px;
  border-radius: 11px;
  background: #eaf7f2;
  font-size: 1.2rem;
  line-height: 1;
}
.uses h3 { margin-bottom: .25em; }
.uses p { margin: 0; color: var(--muted); font-size: .95rem; }

/* ---------- Facts ---------- */
.facts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 44px;
  border-top: 1px solid var(--line);
  margin-bottom: 34px;
}
.fact {
  display: flex; justify-content: space-between; align-items: baseline; gap: 18px;
  padding: 14px 2px;
  border-bottom: 1px solid var(--line);
}
.fact dt { color: var(--muted); font-size: .94rem; }
.fact dd { margin: 0; font-weight: 600; text-align: right; font-size: .96rem; }

.callout {
  padding: 22px 24px;
  background: #fff8f2;
  border: 1px solid #f2ddc9;
  border-left: 4px solid var(--accent-2);
  border-radius: var(--radius-sm);
  font-size: .97rem;
  color: #4a3a2c;
  max-width: 72ch;
}
.callout strong { color: #2c2318; }

/* ---------- Steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  counter-reset: step;
  margin-bottom: 46px;
}
.steps li {
  position: relative;
  padding: 26px 22px 22px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute; top: -15px; left: 20px;
  display: grid; place-items: center;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--ink);
  color: #34d399;
  font-size: .92rem; font-weight: 700;
}
.steps h3 { margin-top: .3em; margin-bottom: .4em; font-size: 1rem; }
.steps p { margin: 0; color: var(--muted); font-size: .93rem; }

.deal-notes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.deal-note { padding-top: 20px; border-top: 2px solid var(--ink); }
.deal-note h3 { font-size: .96rem; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); }
.deal-note p { margin: 0; font-size: .95rem; }

/* ---------- Offer ---------- */
.offer-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 40px; align-items: start; }

.offer-form {
  padding: 30px 28px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.field { margin-bottom: 18px; }
.field label {
  display: block;
  margin-bottom: 7px;
  font-size: .9rem; font-weight: 600;
}
.field input, .field textarea {
  width: 100%;
  padding: 12px 14px;
  font: inherit; font-size: .97rem;
  color: var(--text);
  background: #fcfdfe;
  border: 1px solid #cfd6e2;
  border-radius: var(--radius-sm);
  transition: border-color .16s ease, box-shadow .16s ease;
}
.field textarea { resize: vertical; min-height: 104px; }
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(15,157,118,.16);
  background: #fff;
}
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] {
  border-color: var(--accent-2);
  box-shadow: 0 0 0 3px rgba(208,52,74,.13);
}

.form-status { margin: 14px 0 0; font-size: .93rem; min-height: 1.2em; }
.form-status.ok { color: var(--accent-ink); font-weight: 600; }
.form-status.err { color: var(--accent-2); font-weight: 600; }

.offer-aside h3 { margin-top: 1.6em; font-size: .95rem; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); }
.offer-aside h3:first-child { margin-top: 0; }
.offer-aside p:last-child { margin-bottom: 0; }
.email-link { font-size: 1.06rem; font-weight: 650; word-break: break-word; }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  position: relative;
  padding: 20px 44px 20px 0;
  font-weight: 650;
  font-size: 1.02rem;
  cursor: pointer;
  list-style: none;
  transition: color .16s ease;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--accent-ink); }
.faq summary::after {
  content: "+";
  position: absolute; right: 6px; top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem; font-weight: 400;
  color: var(--muted);
  transition: transform .2s ease;
}
.faq details[open] summary::after { content: "\2013"; }
.faq details p {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: .97rem;
  max-width: 68ch;
}

/* ---------- Closing ---------- */
.closing {
  padding: clamp(62px, 9vw, 104px) 0;
  text-align: center;
  background:
    radial-gradient(760px 380px at 50% -30%, rgba(15,157,118,.35), transparent 65%),
    linear-gradient(180deg, var(--ink-soft), var(--ink));
  color: #eef2f8;
}
.closing h2 { font-family: var(--serif); font-size: clamp(1.9rem, 4.4vw, 3rem); color: #fff; }
.closing p { color: #b6c2d6; margin-bottom: 30px; }
.closing .btn-primary { box-shadow: 0 14px 34px -14px rgba(15,157,118,.9); }

/* ---------- Footer ---------- */
.site-footer { padding: 34px 0; background: var(--ink); color: #8f9cb3; font-size: .92rem; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 30px; }
.site-footer p { margin: 0; }
.site-footer .small { max-width: 62ch; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 960px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .offer-grid { grid-template-columns: 1fr; gap: 34px; }
}

@media (max-width: 700px) {
  body { font-size: 16px; }
  .header-price { display: none; }
  .grid-3, .uses, .facts, .steps, .deal-notes { grid-template-columns: 1fr; }
  .facts { gap: 0; }
  .fact dd { text-align: right; }
  .price-block { padding: 18px 20px; }
  .offer-form { padding: 24px 20px; }
  .cta-row .btn { flex: 1 1 auto; }
  .footer-inner { flex-direction: column; }
}

@media (max-width: 420px) {
  .hero-title { font-size: 2.35rem; }
  .brand-name { font-size: .95rem; }
}

/* ---------- Motion / print ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
  }
}

@media print {
  .site-header, .offer-form, .closing, .trust-strip { display: none; }
  .hero { background: none; color: #000; }
  .hero-title, .hero-lede, .price-amount, .price-note { color: #000; }
  body { font-size: 12pt; }
}
