
:root {
  --night: #05090b;
  --night-soft: #0a1114;
  --navy: #102633;
  --navy-deep: #0b1820;
  --emerald: #0d493b;
  --gold: #d7b765;
  --gold-light: #f0d88e;
  --ivory: #f4f2e9;
  --text: #edf0eb;
  --muted: #a5b0aa;
  --line: rgba(229, 219, 183, .19);
  --background: var(--night);
  --foreground: var(--text);
  --primary: var(--emerald);
  --primary-foreground: #fff;
  --radius: .5rem;
  color-scheme: dark;
}


* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--night); }
body {
  margin: 0;
  background: var(--night);
  color: var(--text);
  font-family: "Noto Sans Bengali", "Hind Siliguri", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.72;
}
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 3px; }
.wrap { width: min(1160px, calc(100% - 52px)); margin-inline: auto; }
.site-shell { overflow: hidden; background: var(--night); color: var(--text); }

.site-header {
  height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  border-bottom: 1px solid rgba(229, 219, 183, .12);
}
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ivory); font-size: 18px; font-weight: 700; flex: none; }
.brand-mark { width: 46px; height: 46px; border-radius: 11px; object-fit: cover; display: block; flex: none; }
.brand-copy { display: flex; flex-direction: column; line-height: 1.25; }
.brand-copy strong { font-size: 17px; letter-spacing: .025em; }
.brand-copy small { color: #c1b68f; font-size: 12px; font-weight: 500; margin-top: 4px; }
.main-nav { display: flex; align-items: center; gap: 34px; color: #c4cbc5; font-size: 14px; }
.main-nav a { transition: color .2s ease; }
.main-nav a:hover { color: var(--gold-light); }
.header-cta {
  border: 1px solid rgba(215, 183, 101, .65);
  color: var(--gold-light);
  border-radius: 3px;
  padding: 8px 17px;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  transition: background .2s ease, color .2s ease;
}
.header-cta:hover { background: var(--gold); color: var(--night); }

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(22, 86, 67, .4), transparent 38%),
    radial-gradient(ellipse at 8% 92%, rgba(158, 116, 48, .13), transparent 28%),
    linear-gradient(180deg, #070b0d 0%, #071012 58%, #080c0f 100%);
  border-bottom: 1px solid rgba(229, 219, 183, .14);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .24;
  background-image: linear-gradient(rgba(224, 212, 169, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(224, 212, 169, .035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, black, transparent 82%);
}
.hero-glow {
  position: absolute;
  z-index: -1;
  top: 7%;
  left: 50%;
  width: min(710px, 90vw);
  aspect-ratio: 1;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(35, 109, 78, .19), rgba(20, 61, 55, .07) 43%, transparent 70%);
  filter: blur(20px);
  pointer-events: none;
}
.hero-inner { display: flex; align-items: center; flex-direction: column; text-align: center; padding-block: 54px 78px; position: relative; }
.hero-branding { display: flex; flex-direction: column; align-items: center; }
.hero-logo { width: 76px; height: 76px; object-fit: cover; border-radius: 17px; border: 1px solid rgba(236, 209, 128, .6); box-shadow: 0 10px 48px rgba(7, 64, 48, .42), 0 0 35px rgba(215, 183, 101, .1); }
.hero-kicker, .eyebrow, .card-eyebrow { margin: 0; color: var(--gold); font-size: 13px; font-weight: 700; letter-spacing: .11em; }
.hero-kicker { margin-top: 17px; }
.hero h1 {
  color: var(--ivory);
  font-family: "Noto Serif Bengali", "Noto Sans Bengali", "Hind Siliguri", Georgia, serif;
  font-size: clamp(38px, 5.5vw, 68px);
  font-weight: 700;
  letter-spacing: -.025em;
  line-height: 1.35;
  margin: 19px 0 12px;
}
.hero h1 span, .section-heading h2 span, .privacy-grid h2 span { color: var(--gold-light); }
.hero-lede { color: #c0cbc5; font-size: 17px; max-width: 720px; margin: 0 auto 30px; }
.hero-card {
  display: grid;
  grid-template-columns: minmax(210px, .82fr) minmax(0, 1.18fr);
  gap: 20px;
  width: min(840px, 100%);
  padding: 17px;
  border: 1px solid rgba(219, 195, 125, .24);
  border-radius: 13px;
  background: linear-gradient(122deg, rgba(17, 45, 61, .97), rgba(12, 27, 36, .97) 70%, rgba(13, 41, 36, .97));
  box-shadow: 0 24px 90px rgba(0, 0, 0, .43), inset 0 1px rgba(255,255,255,.04);
  text-align: left;
}
.hero-card-quote {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 226px;
  padding: 24px 27px;
  border: 1px solid rgba(222, 207, 161, .57);
  border-radius: 9px;
  background: linear-gradient(150deg, rgba(8, 28, 34, .65), rgba(8, 24, 28, .25));
}
.hero-card-quote .card-eyebrow { color: #cbb675; font-size: 12px; }
.hero-card-quote p { color: var(--ivory); font-family: "Noto Serif Bengali", "Noto Sans Bengali", Georgia, serif; font-size: 26px; line-height: 1.58; font-weight: 700; margin: 13px 0 10px; }
.quote-rule { height: 1px; width: 46px; background: var(--gold); margin: 4px 0 12px; }
.hero-card-quote strong { color: #d3d9d4; font-size: 14px; line-height: 1.7; }
.hero-card-copy { display: flex; flex-direction: column; justify-content: center; padding: 20px 28px 20px 15px; }
.hero-card-copy .card-eyebrow { font-size: 12px; }
.hero-card-copy h2 { color: var(--gold-light); font-family: "Noto Serif Bengali", "Noto Sans Bengali", Georgia, serif; font-size: 25px; line-height: 1.45; margin: 8px 0 9px; }
.hero-card-copy>p:not(.card-eyebrow) { color: #c1ccc6; font-size: 15px; margin: 0; }
.service-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.service-tags span { color: #e2d6ae; border: 1px solid rgba(215, 183, 101, .28); border-radius: 20px; padding: 4px 11px; font-size: 12px; line-height: 1.6; }
.hero-actions { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 18px; margin-top: 25px; }
.hero-actions p { color: #aeb9b3; margin: 0; font-size: 14px; }
.button { display: inline-flex; justify-content: center; align-items: center; border: 0; border-radius: 4px; padding: 12px 24px; min-height: 49px; font-weight: 800; cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }
.button:hover { transform: translateY(-1px); }
.button-gold { background: linear-gradient(135deg, #f1d98f, #c89d4e); color: #17231d; box-shadow: 0 8px 28px rgba(191, 151, 66, .2); }
.button-gold:hover { box-shadow: 0 11px 34px rgba(191, 151, 66, .31); }

.section { padding-block: 82px; }
.approach { background: linear-gradient(180deg, #080d10, #0a1012); }
.section-heading { text-align: center; margin: 0 auto 37px; }
.section-heading h2, .privacy-grid h2 {
  color: var(--ivory);
  font-family: "Noto Serif Bengali", "Noto Sans Bengali", Georgia, serif;
  font-size: clamp(29px, 3.6vw, 41px);
  line-height: 1.45;
  margin: 8px 0 0;
}
.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.principle {
  min-height: 182px;
  padding: 25px 26px 27px;
  border: 1px solid rgba(224, 209, 162, .16);
  border-radius: 7px;
  background: linear-gradient(145deg, rgba(18, 34, 37, .88), rgba(12, 21, 24, .9));
}
.principle-index { color: var(--gold); font-size: 13px; font-weight: 800; letter-spacing: .12em; }
.principle h3 { color: var(--ivory); font-family: "Noto Serif Bengali", "Noto Sans Bengali", Georgia, serif; font-size: 21px; margin: 12px 0 7px; }
.principle p { color: #aeb9b3; font-size: 15px; margin: 0; }

.interest-section {
  padding-block: 82px;
  background: radial-gradient(ellipse at 6% 12%, rgba(14, 79, 58, .16), transparent 35%), #0b1215;
  border-top: 1px solid rgba(229, 219, 183, .1);
  border-bottom: 1px solid rgba(229, 219, 183, .1);
}
.interest-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 54px; align-items: start; }
.interest-intro { max-width: 420px; padding-top: 18px; }
.interest-intro h2 { color: var(--ivory); font-family: "Noto Serif Bengali", "Noto Sans Bengali", Georgia, serif; font-size: clamp(30px, 3.6vw, 41px); line-height: 1.42; margin: 9px 0 15px; }
.interest-intro>p:not(.eyebrow) { color: #bac5be; font-size: 16px; }
.interest-note { margin-top: 25px; padding: 15px 17px; border-left: 2px solid var(--gold); background: rgba(215, 183, 101, .055); }
.note-label { color: var(--gold-light); font-size: 12px; font-weight: 800; letter-spacing: .08em; }
.interest-note p { color: #b7c0bb; font-size: 14px; margin: 4px 0 0; }
.form-card {
  border: 1px solid rgba(215, 183, 101, .23);
  border-radius: 9px;
  padding: 29px;
  background: linear-gradient(145deg, rgba(19, 35, 40, .98), rgba(12, 23, 29, .98));
  box-shadow: 0 18px 62px rgba(0, 0, 0, .25);
}
.form-card h3 { color: var(--ivory); font-family: "Noto Serif Bengali", "Noto Sans Bengali", Georgia, serif; font-size: 22px; margin: 0 0 4px; }
.form-subtitle { color: #adb9b2; font-size: 14px; margin: 0 0 20px; }
.field { margin-bottom: 16px; }
.field label, .field legend { display: block; color: #e0e5df; font-weight: 700; font-size: 14px; margin-bottom: 6px; }
.type-field { border: 0; padding: 0; }
.type-switch { display: flex; flex-wrap: wrap; gap: 8px; }
.type-switch label { display: flex; align-items: center; gap: 8px; color: #d4ddd7; background: rgba(4, 12, 15, .42); border: 1px solid rgba(228, 217, 178, .17); border-radius: 4px; padding: 8px 11px; font-size: 13px; cursor: pointer; }
.type-switch input, .choice input, .consent input { accent-color: var(--gold); }
.type-switch input { width: 16px; height: 16px; margin: 0; }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 47px;
  border: 1px solid rgba(227, 222, 203, .2);
  background: rgba(3, 9, 11, .55);
  border-radius: 4px;
  padding: 10px 12px;
  outline: none;
  color: var(--ivory);
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(215, 183, 101, .13); }
.field select { color-scheme: dark; }
.field .type-switch input { width: 16px; height: 16px; min-height: 16px; padding: 0; flex: none; }
.field input::placeholder, .field textarea::placeholder { color: #75827b; }
.field small { display: block; color: #96a39c; font-size: 13px; margin-top: 5px; }
.choice-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 8px; }
.choice { display: flex; align-items: flex-start; gap: 10px; color: #d6ded8; background: rgba(3, 9, 11, .35); border: 1px solid rgba(227, 222, 203, .14); padding: 10px 12px; border-radius: 4px; cursor: pointer; font-size: 14px; }
.choice input { width: 18px; height: 18px; min-height: 18px; margin: 3px 0 0; flex: none; }
.consent { display: flex; align-items: flex-start; gap: 11px; color: #abb7b0; font-size: 13px; line-height: 1.65; margin: 18px 0; }
.consent input { width: 18px; height: 18px; flex: none; margin-top: 3px; }
.optional { color: #9aa69f; font-weight: 400; }
.honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.submit-button { width: 100%; color: #17231d; background: linear-gradient(135deg, #efd789, #c59a4c); min-height: 50px; }
.submit-button:hover { background: linear-gradient(135deg, #f5e3a4, #d1a855); }
.submit-button:disabled { opacity: .65; cursor: wait; }
.form-error { color: #ffb6a6; font-size: 14px; margin: 12px 0 0; }
.form-success { color: #e8f3e7; padding: 23px; border-color: rgba(116, 170, 117, .4); background: linear-gradient(145deg, #132c27, #10201e); }
.form-success strong { color: #d9e9c5; font-size: 20px; }
.form-success p { color: #b9c9bd; margin: 6px 0 0; }
.button-restart { margin-top: 18px; color: #17231d; background: var(--gold-light); }

.privacy-band { padding: 60px 0; background: linear-gradient(115deg, #101b1a, #101719 60%, #151b17); border-bottom: 1px solid rgba(229, 219, 183, .12); }
.privacy-grid { display: grid; grid-template-columns: .72fr 1.28fr; gap: 52px; align-items: start; }
.privacy-grid h2 { font-size: 31px; margin-top: 9px; }
.privacy-copy p { color: #b2bdb7; font-size: 14px; margin: 0 0 13px; }
.risk-section { padding: 38px 0 48px; background: #070b0d; }
.risk-note { padding: 18px 22px; border: 1px solid rgba(219, 187, 116, .15); border-left: 3px solid #987e46; background: rgba(255, 255, 255, .025); }
.risk-note strong { color: #dac98f; font-size: 14px; }
.risk-note p { color: #98a49d; font-size: 13px; margin: 5px 0 0; }
.site-footer { color: #cad2cc; background: #040708; padding: 23px 0; border-top: 1px solid rgba(229, 219, 183, .11); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.footer-brand { font-size: 16px; }
.footer-brand .brand-mark { width: 42px; height: 42px; }
.footer-inner>span, .footer-inner>a:last-child { color: #aab4ad; font-size: 13px; }
.footer-inner>a:last-child { color: var(--gold-light); }
.footer-inner>a:last-child:hover { color: #fff0b8; }

/* Private administrator area */
.admin-shell { min-height: 100vh; background: #f5f6f1; color: #1d302a; color-scheme: light; }
.admin-header { height: 76px; background: #fff; border-bottom: 1px solid #dfe3db; padding: 0 max(24px, calc((100vw - 1160px)/2)); display: flex; align-items: center; justify-content: space-between; }
.admin-header .brand { color: #103a32; }
.admin-header .brand-copy small { color: #65756d; }
.admin-header>a:last-child { font-size: 14px; color: #103a32; }
.admin-content { width: min(1160px, calc(100% - 44px)); margin: 60px auto; }
.admin-content h1 { color: #103a32; font-size: clamp(30px, 4vw, 42px); margin: 0 0 8px; }
.admin-lede { color: #65756d; max-width: 700px; margin: 0 0 30px; }
.admin-gate { background: #fff; color: #1d302a; padding: 25px; border: 1px solid #dfe3db; border-radius: 6px; max-width: 580px; }
.admin-gate p { margin: 0 0 16px; }
.admin-gate .button-gold { color: #17231d; }
.records-panel { color: #1d302a; background: #fff; border: 1px solid #dfe3db; border-radius: 6px; overflow: hidden; }
.records-toolbar { display: flex; justify-content: space-between; align-items: center; padding: 17px 20px; border-bottom: 1px solid #dfe3db; }
.records-toolbar>div { display: flex; align-items: baseline; gap: 9px; }
.records-toolbar strong { color: #103a32; font-size: 25px; }
.records-toolbar span { color: #65756d; font-size: 14px; }
.refresh-button { border: 1px solid #bac6be; background: #fff; border-radius: 4px; padding: 8px 14px; color: #103a32; cursor: pointer; }
.refresh-button:disabled { opacity: .6; }
.records-table { color: #1d302a; font-size: 14px; }
.records-table th { background: #f4f5ef; color: #526159; font-size: 14px; }
.records-table td { white-space: normal; vertical-align: top; padding: 13px 11px; min-width: 100px; }
.records-table td:nth-child(3) { min-width: 180px; }
.records-table td:nth-child(4) { min-width: 190px; }
.contact-value { color: #37684f; font-size: 14px; }
.type-badge { display: inline-block; border-radius: 14px; padding: 3px 9px; background: #eff4e9; color: #46613e; font-size: 13px; white-space: nowrap; }
.type-correction { background: #edf2f8; color: #47617c; }
.type-deletion { background: #fff1eb; color: #8b4c35; }
.record-note { color: #65756d; font-size: 13px; margin: 6px 0 0; max-width: 330px; }
.record-delete { border: 1px solid #e0c7bb; background: #fff; color: #8f4938; border-radius: 4px; padding: 6px 10px; cursor: pointer; }
.record-delete:disabled { opacity: .5; }
.records-state { padding: 35px; text-align: center; color: #65756d; }
.records-pagination { padding: 10px; }
.audit-note { padding: 12px 19px; border-top: 1px solid #dfe3db; color: #65756d; font-size: 13px; margin: 0; }
.admin-error { margin: 15px 20px 0; background: #fff0ed; color: #913b2d; padding: 10px 13px; border-radius: 4px; font-size: 14px; }

@media (max-width: 780px) {
  .wrap { width: min(100% - 34px, 620px); }
  .site-header { height: 72px; gap: 12px; }
  .brand { gap: 9px; }
  .brand-mark { width: 40px; height: 40px; }
  .brand-copy strong { font-size: 15px; }
  .brand-copy small { font-size: 11px; }
  .main-nav { display: none; }
  .choice-list { grid-template-columns: 1fr; }
  .header-cta { font-size: 12px; padding: 7px 10px; }
  .hero-inner { padding-block: 40px 58px; }
  .hero-logo { width: 68px; height: 68px; }
  .hero h1 { font-size: clamp(34px, 8vw, 48px); margin-top: 17px; }
  .hero-lede { font-size: 16px; margin-bottom: 23px; }
  .hero-card { grid-template-columns: 1fr; gap: 12px; padding: 12px; }
  .hero-card-quote { min-height: 0; padding: 19px 21px; }
  .hero-card-quote p { font-size: 23px; margin: 9px 0 8px; }
  .hero-card-copy { padding: 17px 10px 14px; }
  .hero-card-copy h2 { font-size: 22px; }
  .hero-actions { gap: 12px; }
  .hero-actions p { font-size: 13px; }
  .section, .interest-section { padding-block: 59px; }
  .principles { grid-template-columns: 1fr; gap: 11px; }
  .principle { min-height: 0; padding: 20px 22px; }
  .interest-grid, .privacy-grid { grid-template-columns: 1fr; gap: 22px; }
  .interest-intro { max-width: none; padding-top: 0; }
  .form-card { padding: 22px 19px; }
  .privacy-band { padding: 43px 0; }
  .footer-inner { align-items: flex-start; flex-direction: column; gap: 12px; }
  .risk-section { padding: 27px 0 34px; }
}

@media (max-width: 420px) {
  .wrap { width: calc(100% - 28px); }
  .site-header { height: 68px; }
  .brand-mark { width: 36px; height: 36px; }
  .brand-copy strong { font-size: 14px; }
  .header-cta { font-size: 11px; padding: 6px 8px; }
  .hero-kicker { font-size: 11px; }
  .hero h1 { font-size: 33px; }
  .service-tags { gap: 6px; }
  .service-tags span { font-size: 11px; }
  .type-switch label { font-size: 12px; }
}

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

/* Standalone PHP/HTML additions */
.hidden { display: none !important; }
.setup-shell { min-height: 100vh; display: grid; place-items: center; background: #f5f6f1; color: #1d302a; padding: 30px; color-scheme: light; }
.setup-card { width: min(680px, 100%); background: #fff; border: 1px solid #dfe3db; border-radius: 9px; padding: 30px; box-shadow: 0 14px 50px rgba(0,0,0,.08); }
.setup-card h1 { margin: 0 0 8px; color: #103a32; }
.setup-card p { color: #65756d; }
.setup-card label { display: block; color: #344b43; font-size: 14px; font-weight: 700; margin: 14px 0 6px; }
.setup-card input { width: 100%; min-height: 46px; border: 1px solid #cfd8d1; border-radius: 5px; padding: 9px 11px; background: #fff; color: #17231d; }
.setup-card .button { margin-top: 20px; }
.setup-message { border-radius: 5px; padding: 11px 13px; margin: 14px 0; }
.setup-error { background: #fff0ed; color: #913b2d; }
.setup-success { background: #edf7ef; color: #285c38; }
.admin-header .brand span { font-weight: 800; }
.admin-actions { display: flex; align-items: center; gap: 16px; }
.admin-actions a { color: #103a32; font-size: 14px; }
.login-form label { display: block; font-weight: 700; font-size: 14px; margin: 14px 0 5px; }
.login-form input { width: 100%; min-height: 45px; border: 1px solid #cfd8d1; border-radius: 5px; padding: 9px 11px; color: #1d302a; background: #fff; }
.admin-table-wrap { width: 100%; overflow-x: auto; }
.records-table { width: 100%; border-collapse: collapse; }
.records-table th, .records-table td { text-align: left; border-bottom: 1px solid #e5e8e2; padding: 13px 11px; }
.records-table th { white-space: nowrap; }
.records-pagination { display: flex; justify-content: center; align-items: center; gap: 10px; padding: 14px 18px; }
.records-pagination a, .records-pagination span { display: inline-flex; min-height: 36px; align-items: center; justify-content: center; padding: 6px 12px; border: 1px solid #d3dad4; border-radius: 4px; color: #103a32; background: #fff; }
.records-pagination .current { background: #eef3ee; font-weight: 700; }
.records-pagination .disabled { color: #aab3ad; pointer-events: none; }
.record-delete-form { margin: 0; }
.record-delete { white-space: nowrap; }
.admin-flash { margin: 0 20px 15px; padding: 10px 13px; border-radius: 4px; font-size: 14px; background: #edf7ef; color: #285c38; }
.admin-meta { color: #65756d; font-size: 13px; }
@media (max-width: 780px) {
  .admin-header { height: auto; min-height: 72px; padding: 12px 18px; gap: 12px; }
  .admin-actions { gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
  .admin-content { width: min(100% - 28px, 1160px); margin: 35px auto; }
  .records-toolbar { align-items: flex-start; gap: 10px; }
}
