/* big.lk: one stylesheet for every page (no inline styles: the CSP allows
   styles only from here and Google Fonts). Brand kit "Deal Lens":
   Ocean Blue #1747C9, Coral #FF6A3D, Night #0D1B3D, Sky #EAF0FF,
   Sand #FFF4EC; font Outfit. */
:root {
  --blue: #1747c9;
  --coral: #ff6a3d;
  --coral-text: #c2410c;
  --night: #0d1b3d;
  --sky: #eaf0ff;
  --sand: #fff4ec;
  --muted: #45557a;
  --line: #d3defa;
  --white: #ffffff;
  --danger: #b42318;
  --ok: #067647;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--sky);
  color: var(--night);
  font-family: "Outfit", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.55;
}
a { color: var(--blue); }
a:hover { color: var(--night); }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 2px; border-radius: 4px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.si { font-family: "Noto Sans Sinhala", "Outfit", sans-serif; }
.ta { font-family: "Noto Sans Tamil", "Outfit", sans-serif; }

/* The page: a decorative falling price line behind everything. */
.page { min-height: 100vh; display: flex; flex-direction: column; position: relative; overflow: hidden; }
.page-line { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.page-line path { fill: none; stroke: var(--line); stroke-width: 14; stroke-linecap: round; stroke-linejoin: round; }

.head, .foot { position: relative; max-width: 1240px; width: 100%; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.head { padding: 28px 32px; }
.brand { display: flex; align-items: center; text-decoration: none; }
.brand img { height: 44px; width: auto; display: block; }
.btn-outline { font-size: 16px; font-weight: 600; color: var(--blue); text-decoration: none; border: 2px solid var(--blue); border-radius: 10px; padding: 10px 16px; background: var(--white); }
.btn-outline:hover { background: var(--blue); color: var(--white); }

.main { position: relative; flex: 1; display: flex; align-items: center; justify-content: center; padding: 24px 32px 48px; }
.center { max-width: 760px; width: 100%; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 26px; }
.lens { width: 148px; height: 148px; border-radius: 36px; background: var(--blue); display: flex; align-items: center; justify-content: center; box-shadow: 0 24px 60px rgba(23, 71, 201, 0.30); }
.pill { background: var(--white); color: var(--coral-text); font-size: 15px; font-weight: 600; padding: 8px 16px; border-radius: 999px; display: inline-flex; align-items: center; gap: 8px; }
h1 { margin: 0; font-size: clamp(36px, 6vw, 60px); line-height: 1.05; font-weight: 800; letter-spacing: -0.03em; }
h1 .hl { color: var(--blue); }
.lead { margin: 0; font-size: clamp(18px, 2.2vw, 20px); color: var(--muted); max-width: 620px; }
.lead b { color: var(--night); }
.langs { margin: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 20px; font-size: 17px; }
.langs .dot { color: #9aa8c7; }

/* Forms */
.notify { width: 100%; max-width: 560px; display: flex; flex-wrap: wrap; gap: 10px; background: var(--white); border-radius: 16px; padding: 8px; box-shadow: 0 10px 30px rgba(13, 27, 61, 0.10); }
.notify input[type=email] { flex: 1 1 220px; height: 54px; border: 0; padding: 0 16px; font: inherit; font-size: 18px; color: var(--night); min-width: 0; background: transparent; }
.notify input[type=email]:focus { outline: none; }
.notify:focus-within { box-shadow: 0 0 0 3px var(--coral), 0 10px 30px rgba(13, 27, 61, 0.10); }
.btn-coral { flex: 0 0 auto; height: 54px; border: 0; border-radius: 12px; padding: 0 24px; background: var(--coral); color: var(--night); font: inherit; font-size: 17px; font-weight: 700; cursor: pointer; }
.btn-coral:hover { filter: brightness(0.95); }
.btn-blue { height: 54px; border: 0; border-radius: 12px; padding: 0 28px; background: var(--blue); color: var(--white); font: inherit; font-size: 17px; font-weight: 700; cursor: pointer; }
.btn-blue:hover { background: #123aa6; }
.hint { font-size: 14px; color: var(--muted); }
.trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.features { list-style: none; margin: 8px 0 0; padding: 0; width: 100%; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; text-align: left; }
.features li { background: var(--white); border-radius: 16px; padding: 18px; display: flex; gap: 12px; align-items: flex-start; }
.features .ico { flex: 0 0 auto; width: 40px; height: 40px; border-radius: 10px; background: var(--sky); display: flex; align-items: center; justify-content: center; }
.features .ico.sand { background: var(--sand); }
.features b { display: block; font-size: 16px; }
.features span.t { font-size: 14px; color: var(--muted); }

.notice { width: 100%; max-width: 560px; border-radius: 12px; padding: 12px 16px; font-weight: 600; text-align: left; }
.notice.ok { background: #e7f6ee; color: var(--ok); }
.notice.bad { background: #fdecea; color: var(--danger); }

/* Text pages (bot, contact, privacy) */
.doc { max-width: 820px; width: 100%; background: var(--white); border-radius: 20px; padding: clamp(24px, 4vw, 48px); box-shadow: 0 10px 30px rgba(13, 27, 61, 0.08); text-align: left; }
.doc h1 { font-size: clamp(32px, 5vw, 44px); margin-bottom: 8px; }
.doc h2 { font-size: 22px; margin: 32px 0 8px; }
.doc p, .doc li { color: #26355a; }
.doc .sub { color: var(--muted); font-size: 18px; margin-top: 0; }
.doc pre { background: var(--sky); border-radius: 12px; padding: 14px 16px; overflow-x: auto; font-size: 15px; color: var(--night); }
.doc code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 0.92em; }
.doc ul { padding-left: 22px; }
.doc .card { background: var(--sand); border-radius: 14px; padding: 14px 18px; margin: 16px 0; }

.form { display: flex; flex-direction: column; gap: 18px; margin-top: 24px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-weight: 600; }
.field input, .field select, .field textarea { font: inherit; font-size: 17px; color: var(--night); border: 2px solid #c9d5f5; border-radius: 12px; padding: 12px 14px; background: var(--white); width: 100%; }
.field textarea { min-height: 170px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(23, 71, 201, 0.15); }
.field.err input, .field.err select, .field.err textarea { border-color: var(--danger); }
.field .msg { color: var(--danger); font-size: 15px; font-weight: 600; }
.field .help { color: var(--muted); font-size: 14px; }

.foot { padding: 20px 32px 28px; font-size: 15px; color: var(--muted); }
.foot nav { display: flex; gap: 20px; flex-wrap: wrap; }
.foot nav a { color: var(--blue); font-weight: 600; text-decoration: none; }
.foot nav a:hover { text-decoration: underline; }

@media (max-width: 560px) {
  .head { padding: 20px 16px; }
  .main { padding: 16px 16px 40px; }
  .foot { padding: 16px 16px 24px; }
  .brand img { height: 36px; }
  .lens { width: 112px; height: 112px; border-radius: 28px; }
  .lens svg { width: 72px; height: 72px; }
  .btn-coral, .notify input[type=email] { flex: 1 1 100%; }
}
