/* =========================================================
   LANDMARK ENERGY SDN. BHD. — website styles
   Plain CSS. No external fonts, libraries or trackers.
   ========================================================= */

:root {
  --navy: #0b2545;
  --navy-2: #13315c;
  --navy-3: #1c4a7c;
  --navy-deep: #071a31;
  --amber: #f0a92e;
  --amber-2: #b8770c;
  --amber-soft: #fff3dc;
  --ink: #15202e;
  --text: #2c3746;
  --muted: #5b6675;
  --line: #e1e6ed;
  --soft: #f4f6f9;
  --white: #ffffff;
  --link: #165a9c;
  --radius: 14px;
  --maxw: 1140px;
  --gutter: clamp(16px, 4vw, 32px);
  --shadow: 0 1px 2px rgba(11, 37, 69, .05), 0 10px 28px rgba(11, 37, 69, .06);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial,
          "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC",
          "Noto Sans CJK SC", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  color-scheme: light;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
html[lang^="zh"] body { line-height: 1.8; }

img, svg { display: block; max-width: 100%; }
a { color: var(--link); text-underline-offset: 3px; }
a:hover { color: var(--navy); }
p { margin: 0 0 1em; }
ul { margin: 0; }
address { font-style: normal; }

h1, h2, h3 {
  margin: 0 0 .55em;
  color: var(--ink);
  line-height: 1.25;
  letter-spacing: -0.01em;
}
h2 { font-size: clamp(1.6rem, 1.15rem + 1.6vw, 2.25rem); }
h3 { font-size: 1.18rem; }

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

[id] { scroll-margin-top: 84px; }

.container {
  width: 100%;
  max-width: calc(var(--maxw) + 2 * var(--gutter));
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--navy); color: #fff; padding: 10px 14px;
  border-radius: 8px; text-decoration: none;
}
.skip-link:focus { top: 12px; color: #fff; }

.muted { color: var(--muted); }
.nw { white-space: nowrap; }

.eyebrow {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--amber-2);
}

/* ---------- Icons ---------- */
.i {
  width: 24px; height: 24px;
  fill: none; stroke: currentColor; stroke-width: 1.8;
  stroke-linecap: round; stroke-linejoin: round;
}
.icon-box {
  flex: none;
  width: 48px; height: 48px;
  border-radius: 12px;
  display: grid; place-items: center;
  background: var(--amber-soft);
  color: var(--amber-2);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 15px; font-weight: 600; line-height: 1.3;
  text-decoration: none;
  transition: background-color .15s, border-color .15s, color .15s;
  max-width: 100%;
  overflow-wrap: anywhere;
}
.btn-primary { background: var(--amber); color: var(--navy); }
.btn-primary:hover { background: #f6bd57; color: var(--navy); }
.btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .38); }
.btn-ghost:hover { color: #fff; border-color: #fff; background: rgba(255, 255, 255, .07); }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { background: var(--navy-2); color: #fff; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .97);
  border-bottom: 1px solid var(--line);
}
@supports (backdrop-filter: blur(8px)) {
  .site-header { background: rgba(255, 255, 255, .88); backdrop-filter: saturate(1.4) blur(10px); }
}
.header-inner {
  display: flex; align-items: center; gap: 20px;
  min-height: 70px;
}
.brand {
  display: flex; align-items: center; gap: 12px;
  margin-right: auto;
  color: var(--navy);
  text-decoration: none;
}
.brand:hover { color: var(--navy); }
.brand-mark { width: 40px; height: 40px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-size: 16px; font-weight: 800; letter-spacing: .06em; }
.brand-sub { margin-top: 4px; font-size: 11px; font-weight: 600; letter-spacing: .22em; color: var(--muted); }

.nav { display: flex; gap: 2px; }
.nav a {
  padding: 8px 12px;
  border-radius: 8px;
  color: var(--text);
  font-size: 15px; font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}
.nav a:hover { background: var(--soft); color: var(--navy); }

.lang {
  flex: none;
  padding: 7px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--navy);
  font-size: 14px; font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
.lang:hover { border-color: var(--navy); color: var(--navy); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(56px, 9vw, 112px) 0;
  color: #c9d5e3;
  background:
    radial-gradient(900px 420px at 92% -5%, rgba(240, 169, 46, .20), transparent 65%),
    linear-gradient(155deg, var(--navy) 0%, var(--navy-2) 58%, var(--navy-3) 100%);
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  pointer-events: none;
  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: 56px 56px;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 90%);
  mask-image: linear-gradient(180deg, #000 0%, transparent 90%);
}
.hero .container { position: relative; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.hero .eyebrow { color: var(--amber); }
.hero h1 {
  color: #fff;
  font-size: clamp(2rem, 1.2rem + 3vw, 3.15rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
}
html[lang^="zh"] .hero h1 { letter-spacing: 0; line-height: 1.25; }
.hero .lead { max-width: 62ch; font-size: clamp(16px, 1rem + .3vw, 18px); }
.hero .lead strong { color: #fff; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

.facts {
  padding: 28px;
  border-radius: var(--radius);
  background: #fff;
  color: var(--text);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .28);
}
.facts h2 {
  margin-bottom: 18px;
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}
.facts dl {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  gap: 12px 20px;
  margin: 0;
  font-size: 14.5px;
}
.facts dt { color: var(--muted); }
.facts dd { margin: 0; color: var(--ink); font-weight: 600; overflow-wrap: anywhere; }
.facts dd a { color: var(--link); }

/* ---------- Sections ---------- */
.section { padding: clamp(60px, 8vw, 100px) 0; }
.section--soft { background: var(--soft); }
.section-head { max-width: 760px; margin-bottom: 40px; }
.section-head p:last-child { margin-bottom: 0; }

/* About */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}
.pillars { display: grid; gap: 16px; }
.pillar {
  display: flex; gap: 18px;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}
.pillar h3 { margin-bottom: .3em; font-size: 1.08rem; }
.pillar p { margin: 0; font-size: 15px; color: var(--muted); }

/* Business cards */
.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.card {
  display: flex; flex-direction: column;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}
.card h3 { margin-top: 20px; }
.card > p { font-size: 15.5px; }
.ticks {
  list-style: none;
  margin-top: 4px;
  padding: 16px 0 0;
  border-top: 1px solid var(--line);
}
.ticks li { position: relative; margin: 7px 0; padding-left: 22px; font-size: 15px; }
.ticks li::before {
  content: "";
  position: absolute; left: 2px; top: .62em;
  width: 8px; height: 8px;
  border-radius: 2px;
  background: var(--amber);
}

.registered {
  margin-top: 24px;
  padding: 26px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}
.registered h3 { margin-bottom: .35em; font-size: 1.05rem; }
.registered blockquote {
  margin: 0;
  padding: 16px 18px;
  border-left: 3px solid var(--amber);
  border-radius: 6px;
  background: var(--soft);
  color: var(--text);
  font-size: 13.5px;
  line-height: 1.7;
  letter-spacing: .01em;
}

.enquiry {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 16px 28px;
  margin-top: 24px;
  padding: 24px 28px;
  border-radius: var(--radius);
  background: var(--navy);
  color: #cfdae7;
}
.enquiry p { margin: 0; max-width: 64ch; }
.enquiry strong { color: #fff; }

/* Digital products — add a new app by copying one <article class="product"> block. */
.products {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 330px), 1fr));
  gap: 20px;
}
.product {
  display: flex; flex-direction: column;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}
.product-head { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; }
.product-head h3 { margin: 0; }
.product-mark {
  flex: none;
  width: 58px; height: 58px;
  border-radius: 15px;
  display: grid; place-items: center;
  color: #fff;
  font-size: 18px; font-weight: 700; letter-spacing: .02em;
  background: linear-gradient(140deg, var(--navy-3), var(--navy));
}
.product-en { margin-left: 4px; font-weight: 600; color: var(--muted); }
.product-meta { margin: 2px 0 0; font-size: 14px; color: var(--muted); }
.chips {
  list-style: none;
  display: flex; flex-wrap: wrap; gap: 8px;
  margin: 4px 0 24px; padding: 0;
}
.chips li {
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--soft);
  font-size: 13.5px;
  line-height: 1.45;
  color: var(--text);
}
.product-link {
  margin-top: auto;
  align-self: flex-start;
  font-weight: 600;
  text-decoration: none;
}
.product-link:hover { text-decoration: underline; }
.product--soon {
  background: transparent;
  border-style: dashed;
  border-color: #c7d0dc;
  box-shadow: none;
}
.product--soon .product-mark { background: var(--soft); color: var(--muted); border: 1px dashed #c7d0dc; }
.product--soon > p { color: var(--muted); }

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}
.contact-list { list-style: none; display: grid; gap: 14px; margin: 0; padding: 0; }
.contact-item {
  display: flex; gap: 18px;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}
.contact-item > div { min-width: 0; }
.contact-label {
  margin: 0 0 4px;
  font-size: 12.5px; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--muted);
}
.contact-value { margin: 0; color: var(--ink); font-weight: 600; overflow-wrap: anywhere; }
.contact-value a { color: var(--ink); text-decoration-color: rgba(21, 32, 46, .3); }
.contact-value a:hover { color: var(--link); }
.contact-item address { color: var(--ink); font-weight: 600; line-height: 1.6; }
.map-link { display: inline-block; margin-top: 8px; font-size: 14.5px; font-weight: 600; }

/* ---------- Footer ---------- */
.site-footer {
  padding: 56px 0 28px;
  background: var(--navy-deep);
  color: #9fb0c4;
  font-size: 14.5px;
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) minmax(0, .8fr);
  gap: 36px;
}
.site-footer h2 {
  margin-bottom: 14px;
  font-size: 12.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #fff;
}
.site-footer p, .site-footer address { margin: 0 0 .8em; }
.site-footer a { color: #d6e0ec; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.brand--light { margin-bottom: 16px; }
.brand--light .brand-name { color: #fff; }
.brand--light .brand-sub { color: #8396ad; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between;
  gap: 6px 24px;
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: 13.5px;
}
.footer-bottom p { margin: 0; }
.site-footer--slim { padding: 26px 0; }
.site-footer--slim .footer-bottom { margin-top: 0; padding-top: 0; border-top: 0; }

/* ---------- Document pages (privacy notice) ---------- */
.page-hero {
  padding: clamp(44px, 7vw, 76px) 0;
  color: #c9d5e3;
  background: linear-gradient(155deg, var(--navy) 0%, var(--navy-2) 70%, var(--navy-3) 100%);
}
.page-hero h1 { color: #fff; font-size: clamp(1.9rem, 1.3rem + 2.2vw, 2.7rem); }
.page-hero p { margin: 0; }
.page-hero .eyebrow { color: var(--amber); }
.doc { max-width: 780px; padding: clamp(40px, 6vw, 72px) 0 clamp(56px, 8vw, 96px); }
.doc h2 { margin-top: 1.8em; font-size: 1.3rem; }
.doc h2:first-child { margin-top: 0; }
.doc ul { padding-left: 1.3em; margin-bottom: 1em; }
.doc li { margin: .35em 0; }
.doc .note {
  padding: 14px 18px;
  border-left: 3px solid var(--amber);
  border-radius: 6px;
  background: var(--soft);
  font-size: 15px;
}
.doc address { padding: 16px 18px; border: 1px solid var(--line); border-radius: 10px; }

/* 404 */
.notfound { text-align: center; padding: clamp(72px, 12vw, 140px) 0; }
.notfound h1 { font-size: clamp(2rem, 1.4rem + 2.5vw, 3rem); }
.notfound .cta { justify-content: center; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-grid, .about-grid, .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .cards { grid-template-columns: minmax(0, 1fr); }
  .facts { max-width: 640px; }
  .footer-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  [id] { scroll-margin-top: 12px; }
  .site-header { position: static; background: #fff; backdrop-filter: none; }
  .header-inner { flex-wrap: wrap; gap: 4px 12px; min-height: 0; padding-top: 12px; padding-bottom: 6px; }
  .brand-mark { width: 36px; height: 36px; }
  .brand-name { font-size: 15px; }
  .nav {
    order: 3;
    flex-basis: 100%;
    margin: 0 -10px;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .nav::-webkit-scrollbar { display: none; }
  .nav a { padding: 8px 10px; font-size: 14.5px; }
  .card, .product, .registered { padding: 24px 22px; }
  .enquiry { padding: 22px; }
  .pillar, .contact-item { padding: 20px; gap: 16px; }
  .icon-box { width: 44px; height: 44px; }
}

@media (max-width: 520px) {
  .facts { padding: 22px 20px; }
  .facts dl { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .facts dd { margin-bottom: 10px; }
  .facts dd:last-child { margin-bottom: 0; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .cta .btn { flex: 1 1 auto; }
  .contact-item { flex-direction: column; gap: 12px; }
  .contact-item address, .contact-value { font-size: 15px; }
  .enquiry .btn { width: 100%; }
}
