/* MyLand — public landing page. Standalone: no framework, no web fonts,
   nothing from a CDN (see ../VENDORED.md). */

:root {
    --paper: #f6f1e7;
    --paper-2: #efe7d7;
    --card: #fffdf8;
    --ink: #17242e;
    --ink-2: #47545e;
    --navy: #123a56;
    --navy-2: #0c2a40;
    --brand: #1a5276;
    --accent: #c2632f;
    --accent-2: #a44f20;
    --green: #2f6f52;
    --red: #a23b2e;
    --line: #dccfb8;
    --radius: 10px;
    --wrap: 1120px;
    --sans: "Segoe UI", system-ui, -apple-system, "Noto Sans Bengali", "Hind Siliguri", "Nirmala UI", "SolaimanLipi", Vrinda, Roboto, "Helvetica Neue", Arial, sans-serif;
    --serif: Georgia, "Iowan Old Style", "Palatino Linotype", "Noto Serif Bengali", "Noto Sans Bengali", "Nirmala UI", serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
body {
    margin: 0; background: var(--paper); color: var(--ink);
    font-family: var(--sans); font-size: 17px; line-height: 1.6;
}
html[lang="bn"] body { font-size: 18px; line-height: 1.75; }
h1, h2, h3, h4, p, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: var(--brand); }
img, svg { max-width: 100%; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 780px; }

.skip { position: absolute; left: -9999px; top: 0; background: #fff; color: var(--ink); padding: 10px 16px; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.ico { width: 28px; height: 28px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* ---------------------------------------------------------------- buttons */
.btn {
    display: inline-block; padding: 9px 16px; border-radius: 8px; border: 1.5px solid transparent;
    font: inherit; font-weight: 600; font-size: 15px; line-height: 1.3; text-decoration: none; text-align: center;
    transition: background-color .15s, border-color .15s, color .15s, transform .15s;
}
.btn-lg { padding: 13px 22px; font-size: 17px; }
.btn-solid { background: var(--brand); color: #fff; }
.btn-solid:hover { background: var(--navy); }
.btn-quiet { background: transparent; color: var(--brand); border-color: currentColor; }
.btn-quiet:hover { background: rgba(26, 82, 118, .08); }
.btn-accent { background: var(--accent); color: #fff; box-shadow: 0 2px 0 var(--accent-2); }
.btn-accent:hover { background: var(--accent-2); transform: translateY(-1px); }
.btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .55); }
.btn-ghost:hover { background: rgba(255, 255, 255, .12); }

/* ---------------------------------------------------------------- top bar */
.top {
    position: sticky; top: 0; z-index: 20;
    background: rgba(246, 241, 231, .94); backdrop-filter: blur(6px);
    border-bottom: 1px solid var(--line);
}
.top-in { display: flex; align-items: center; gap: 20px; min-height: 64px; flex-wrap: wrap; padding-top: 8px; padding-bottom: 8px; }
.brand { display: inline-flex; align-items: center; gap: 9px; color: var(--navy); text-decoration: none; font-family: var(--serif); font-weight: 700; font-size: 22px; letter-spacing: .2px; }
.brand svg { width: 30px; height: 30px; fill: none; stroke: var(--accent); stroke-width: 2; stroke-linejoin: round; }
.links { display: flex; gap: 22px; margin-left: 10px; flex: 1; }
.links a { color: var(--ink-2); text-decoration: none; font-size: 15px; font-weight: 500; padding: 6px 0; border-bottom: 2px solid transparent; }
.links a:hover { color: var(--navy); border-bottom-color: var(--accent); }
.acts { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.lang { color: var(--ink-2); text-decoration: none; font-size: 15px; padding: 6px 8px; border-radius: 6px; }
.lang:hover { background: var(--paper-2); color: var(--navy); }

/* ---------------------------------------------------------------- hero */
.hero {
    color: #fff; position: relative; overflow: hidden;
    background-color: var(--navy);
    /* a mouza sheet: fine survey grid with a few parcel boundaries */
    background-image:
        linear-gradient(115deg, transparent 0 62%, rgba(255, 255, 255, .07) 62% 62.25%, transparent 62.25%),
        linear-gradient(28deg, transparent 0 38%, rgba(255, 255, 255, .06) 38% 38.2%, transparent 38.2%),
        linear-gradient(160deg, transparent 0 74%, rgba(255, 255, 255, .05) 74% 74.2%, transparent 74.2%),
        linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px),
        radial-gradient(1200px 500px at 15% 0%, #1d5c85 0%, transparent 60%),
        linear-gradient(180deg, var(--navy) 0%, var(--navy-2) 100%);
    background-size: auto, auto, auto, 44px 44px, 44px 44px, auto, auto;
}
.hero-in { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; padding-top: 76px; padding-bottom: 84px; }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: 13px; font-weight: 700; color: #f0c9a8; margin-bottom: 18px; }
html[lang="bn"] .eyebrow { letter-spacing: .02em; font-size: 15px; }
.hero h1 { font-family: var(--serif); font-weight: 700; font-size: clamp(32px, 4.6vw, 52px); line-height: 1.14; letter-spacing: -.01em; }
html[lang="bn"] .hero h1 { line-height: 1.35; letter-spacing: 0; }
.lead { margin-top: 20px; font-size: 19px; color: #d6e3ec; max-width: 36em; }
.cta { margin-top: 30px; display: flex; gap: 12px; flex-wrap: wrap; }
.hero-note { margin-top: 26px; font-size: 14.5px; color: #a9bfce; max-width: 38em; padding-left: 14px; border-left: 3px solid var(--accent); }

.trail {
    background: var(--card); color: var(--ink); border-radius: 14px; padding: 24px 24px 20px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, .35), 0 0 0 1px rgba(255, 255, 255, .08);
    transform: rotate(1.2deg);
}
.trail-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 13px; color: var(--ink-2); text-transform: uppercase; letter-spacing: .08em; font-weight: 700; }
html[lang="bn"] .trail-top { letter-spacing: 0; font-size: 14px; }
.tag { border: 1.5px solid var(--red); color: var(--red); border-radius: 4px; padding: 1px 8px; transform: rotate(-3deg); font-size: 12px; }
.trail-title { font-family: var(--serif); font-size: 21px; font-weight: 700; margin: 10px 0 16px; line-height: 1.3; }
.trail-steps li { position: relative; display: flex; align-items: center; gap: 12px; padding: 7px 0; font-size: 15.5px; }
.trail-steps li + li::before { content: ""; position: absolute; left: 11px; top: -9px; height: 18px; width: 2px; background: var(--green); opacity: .45; }
.dot { width: 24px; height: 24px; border-radius: 50%; background: var(--green); color: #fff; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.dot .ico { width: 14px; height: 14px; stroke-width: 3; }
.trail-steps .now { font-weight: 700; }
.trail-steps .now .dot { background: var(--accent); box-shadow: 0 0 0 4px rgba(194, 99, 47, .2); }
.trail-lines { margin-top: 16px; padding-top: 14px; border-top: 1px dashed var(--line); font-size: 14.5px; }
.trail-lines div { display: flex; justify-content: space-between; gap: 14px; padding: 3px 0; }
.trail-lines dt { font-weight: 600; }
.trail-lines dd { color: var(--ink-2); text-align: right; }

/* ---------------------------------------------------------------- sections */
.band { padding: 84px 0; }
.band-paper { background: var(--paper-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.band h2, .close h2, .partner h2 { font-family: var(--serif); font-size: clamp(27px, 3.2vw, 38px); line-height: 1.2; letter-spacing: -.005em; color: var(--navy); }
html[lang="bn"] .band h2, html[lang="bn"] .close h2, html[lang="bn"] .partner h2 { line-height: 1.4; letter-spacing: 0; }
.sub { margin-top: 12px; font-size: 19px; color: var(--ink-2); max-width: 44em; }
.group { margin: 44px 0 18px; font-size: 14px; text-transform: uppercase; letter-spacing: .12em; color: var(--accent-2); font-weight: 700; }
html[lang="bn"] .group { letter-spacing: 0; font-size: 17px; }
.fine { margin-top: 16px; font-size: 14.5px; color: var(--ink-2); }
.live { margin-top: 18px; padding: 12px 16px; background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--green); border-radius: 8px; font-size: 15.5px; }

/* how it works */
.steps { margin-top: 40px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; counter-reset: step; }
.steps li { position: relative; padding: 0 18px 0 0; }
.steps li::before { content: ""; position: absolute; top: 21px; left: 44px; right: 0; height: 2px; background: repeating-linear-gradient(90deg, var(--line) 0 8px, transparent 8px 14px); }
.steps li:last-child::before { display: none; }
.num { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: var(--navy); color: #fff; font-family: var(--serif); font-size: 20px; font-weight: 700; }
.steps h3 { margin-top: 16px; font-size: 18px; line-height: 1.35; }
.steps p { margin-top: 8px; font-size: 15.5px; color: var(--ink-2); }

/* cards */
.cards { display: grid; gap: 18px; }
.cards-4 { grid-template-columns: repeat(4, 1fr); }
.cards-3 { grid-template-columns: repeat(3, 1fr); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; transition: transform .15s, box-shadow .15s; }
.card:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(23, 36, 46, .08); }
.card .ico { color: var(--accent); width: 32px; height: 32px; }
.card h4 { margin-top: 12px; font-size: 18px; line-height: 1.35; }
.card p { margin-top: 8px; font-size: 15.5px; color: var(--ink-2); }

/* for whom */
.who { margin-top: 36px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px 40px; }
.who li { display: flex; gap: 18px; padding: 22px 0; border-top: 1px solid var(--line); }
.who .ico { color: var(--brand); width: 36px; height: 36px; margin-top: 2px; }
.who h3 { font-size: 19px; line-height: 1.35; }
.who p { margin-top: 6px; color: var(--ink-2); font-size: 16px; }

/* pricing */
.price-grid { margin-top: 40px; display: grid; grid-template-columns: 1fr; gap: 28px; }
.quote { display: grid; grid-template-columns: 1fr 1.15fr; grid-template-rows: auto auto 1fr; grid-template-areas: "h l" "p l" "t l"; column-gap: 48px; }
.quote h3 { grid-area: h; }
.quote > p { grid-area: p; }
.quote .ticks { grid-area: t; align-self: start; }
.quote .quote-lines { grid-area: l; margin-top: 0; }
.quote, .vault { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 28px; }
.quote h3, .vault h3 { font-family: var(--serif); font-size: 24px; color: var(--navy); }
.quote > p, .vault > p { margin-top: 8px; color: var(--ink-2); font-size: 16px; }
.quote-lines { margin-top: 20px; border-top: 1px solid var(--line); }
.quote-lines div { padding: 12px 0; border-bottom: 1px dashed var(--line); }
.quote-lines dt { font-weight: 700; }
.quote-lines dt::before { content: "+ "; color: var(--accent); font-weight: 700; }
.quote-lines div:first-child dt::before { content: ""; }
.quote-lines dd { color: var(--ink-2); font-size: 15px; }
.quote-lines .total { border-bottom: 0; border-top: 2px solid var(--ink); margin-top: -1px; }
.quote-lines .total dt::before { content: "= "; }
.ticks { margin-top: 18px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; padding: 5px 0; font-size: 16px; }
.ticks .ico { width: 20px; height: 20px; margin-top: 4px; stroke-width: 2.4; color: var(--green); }
.doesnt .ticks .ico { color: var(--red); }

.plans { margin-top: 20px; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.plan { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; background: var(--paper); }
.plan-paid { background: #fff; }
.plan h4 { font-size: 14px; text-transform: uppercase; letter-spacing: .1em; color: var(--accent-2); }
html[lang="bn"] .plan h4 { letter-spacing: 0; font-size: 17px; }
.plan-price { margin-top: 6px; font-family: var(--serif); font-size: 22px; font-weight: 700; line-height: 1.3; color: var(--navy); }
.plan-price .soon { font-family: var(--sans); font-size: 14.5px; font-weight: 600; color: var(--ink-2); }
.plan-alt { font-size: 13.5px; color: var(--ink-2); }
.plan ul { margin: 14px 0 18px; flex: 1; }
.plan li { font-size: 15px; padding: 4px 0 4px 16px; position: relative; }
.plan li::before { content: ""; position: absolute; left: 0; top: .8em; width: 6px; height: 6px; border-radius: 50%; background: var(--green); }
.plan .btn { font-size: 14px; padding: 8px 10px; }

/* is / is not */
.two { margin-top: 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.does, .doesnt { border: 1px solid var(--line); border-radius: 14px; padding: 26px; background: var(--card); }
.does { border-top: 4px solid var(--green); }
.doesnt { border-top: 4px solid var(--red); }
.two h3 { font-size: 20px; }

/* partner band */
.partner { background: var(--navy); color: #fff; padding: 56px 0; }
.partner-in { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.partner h2 { color: #fff; font-size: clamp(24px, 2.8vw, 32px); }
.partner p { margin-top: 10px; color: #cfdde7; max-width: 44em; }
.partner .btn { flex: none; }

/* questions */
details { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); margin-top: 12px; }
details:first-of-type { margin-top: 28px; }
summary { cursor: pointer; padding: 16px 48px 16px 20px; font-weight: 700; font-size: 17.5px; list-style: none; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-size: 24px; font-weight: 400; color: var(--accent); }
details[open] summary::after { content: "–"; }
details p { padding: 0 20px 18px; color: var(--ink-2); }

/* closing */
.close { text-align: center; padding: 84px 0; background: linear-gradient(180deg, var(--paper) 0%, var(--paper-2) 100%); }
.close p { margin-top: 12px; font-size: 19px; color: var(--ink-2); }
.close .cta { justify-content: center; }
.close .btn-ghost { color: var(--brand); border-color: var(--brand); }
.close .btn-ghost:hover { background: rgba(26, 82, 118, .08); }

/* footer */
.foot { background: var(--navy-2); color: #a9bfce; padding: 36px 0 44px; font-size: 14.5px; }
.foot-links { display: flex; gap: 22px; flex-wrap: wrap; }
.foot-links a { color: #fff; text-decoration: none; font-weight: 600; }
.foot-links a:hover { text-decoration: underline; }
.foot-note { margin-top: 16px; max-width: 60em; }
.foot-copy { margin-top: 14px; color: #7f97a8; }

/* ---------------------------------------------------------------- smaller screens */
@media (max-width: 1000px) {
    .links { display: none; }
    .hero-in { grid-template-columns: 1fr; gap: 40px; padding-top: 52px; padding-bottom: 60px; }
    .trail { transform: none; max-width: 520px; }
    .steps { grid-template-columns: 1fr; gap: 26px; }
    .steps li { padding: 0 0 0 62px; }
    .steps li::before { top: 44px; bottom: -26px; left: 21px; right: auto; width: 2px; height: auto; background: repeating-linear-gradient(180deg, var(--line) 0 8px, transparent 8px 14px); }
    .steps .num { position: absolute; left: 0; top: 0; }
    .steps h3 { margin-top: 6px; }
    .cards-4 { grid-template-columns: repeat(2, 1fr); }
    .cards-3 { grid-template-columns: repeat(2, 1fr); }
    .who { grid-template-columns: repeat(2, 1fr); }
    .quote { display: block; }
    .quote .quote-lines { margin-top: 20px; }
    .partner-in { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 640px) {
    body { font-size: 16px; }
    .band, .close { padding: 56px 0; }
    .top-in { gap: 10px; }
    .acts { gap: 6px; }
    .acts .btn { padding: 8px 11px; font-size: 14px; }
    .cards-4, .cards-3, .who, .two { grid-template-columns: 1fr; }
    .who { gap: 0; }
    .lead, .sub { font-size: 17px; }
    .btn-lg { width: 100%; }
    .trail-lines div { flex-direction: column; gap: 0; }
    .trail-lines dd { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    * { transition: none !important; }
}
@media print {
    .top, .cta, .partner .btn { display: none; }
    .hero { background: none; color: #000; }
}
