/* RAMLY888 Malaysia, the reference register that sells. Deep oxblood ground, bone cards, brass
   hairlines, tables as the house style with a conversion band between them. Static stylesheet:
   the build does NOT regenerate this file. */

:root {
  --bg: #2a1114;
  --deep: #1d0b0d;
  --card: #f3ece0;
  --card2: #e8dfcd;
  --line: #4a2429;
  --rule: #d2c6ad;
  --ink: #241316;
  --ink2: #55433f;
  --mut: #9a8a85;
  --onbg: #f0e3da;
  --onbg2: #cdb3ae;
  --brass: #c9992e;
  --brass-l: #f0d407;
  --brass-d: #8f6a12;
  --ok: #2f7d4f;
  --r: 7px;
  --w: 1180px;
}

* { box-sizing: border-box; }

html { overflow-x: clip; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--onbg);
  font: 16px/1.68 "Inter", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", sans-serif;
}

img { max-width: 100%; height: auto; display: block; min-width: 0; }
a { color: var(--brass-l); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { margin: 0 0 .48em; line-height: 1.2; font-weight: 800; letter-spacing: -.012em; }
h1 { font-size: clamp(27px, 4.5vw, 42px); }
h2 { font-size: clamp(21px, 2.9vw, 30px); }
h3 { font-size: clamp(17px, 2.1vw, 21px); }
p { margin: 0 0 1.05em; }
ul, ol { margin: 0 0 1.1em; padding-left: 1.2em; }
li { margin: 0 0 .45em; }
:focus-visible { outline: 3px solid var(--brass-l); outline-offset: 2px; border-radius: 4px; }
table { border-collapse: collapse; }

/* ---------------------------------------------------------------- buttons */
.rm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4em;
  min-width: 0;
  min-height: 45px;
  padding: 11px 20px;
  border: 1px solid transparent;
  border-radius: var(--r);
  font-weight: 800;
  font-size: 14.5px;
  cursor: pointer;
  text-align: center;
}
.rm-btn:hover { text-decoration: none; filter: brightness(1.06); }
.rm-btn.p { background: linear-gradient(180deg, var(--brass-l), var(--brass)); color: #2a1a00; }
.rm-btn.o { background: transparent; border-color: var(--brass); color: var(--brass-l); }
.rm-btn.g { background: var(--card); color: var(--ink); }
.rm-btn.lg { min-height: 52px; padding: 14px 28px; font-size: 16px; }

/* ---------------------------------------------------------------- top offer strip */
.rm-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  padding: 8px 16px;
  background: linear-gradient(90deg, var(--brass-d), var(--brass));
  color: #2a1a00;
  font-size: 13.5px;
  font-weight: 700;
}
.rm-strip .rm-btn { min-height: 34px; padding: 5px 14px; font-size: 12.5px; background: var(--deep); color: var(--brass-l); }

/* ---------------------------------------------------------------- header */
.rm-head { position: relative; z-index: 30; background: var(--deep); border-bottom: 1px solid var(--line); }
.rm-head .bar { display: flex; align-items: center; gap: 14px; max-width: var(--w); margin: 0 auto; padding: 12px 18px; }
.rm-logo { display: flex; align-items: center; gap: 10px; min-width: 0; }
.rm-logo:hover { text-decoration: none; }
.rm-logo svg { width: 36px; height: 36px; flex: 0 0 auto; }
.rm-logo .wm { display: flex; flex-direction: column; line-height: 1.05; min-width: 0; }
.rm-logo .wm b { font-size: 20px; font-weight: 900; color: var(--brass-l); letter-spacing: .02em; white-space: nowrap; }
.rm-logo .wm small { font-size: 9px; letter-spacing: .15em; color: var(--onbg2); white-space: nowrap; }
.rm-burger { display: none; min-width: 45px; min-height: 45px; background: transparent; border: 1px solid var(--line); border-radius: var(--r); color: var(--brass-l); font-size: 18px; cursor: pointer; }
.rm-nav { display: flex; gap: 3px; margin-left: auto; min-width: 0; flex-wrap: wrap; justify-content: flex-end; }
.rm-nav a { padding: 8px 11px; font-size: 13.5px; font-weight: 650; color: var(--onbg); border-radius: var(--r); white-space: nowrap; }
.rm-nav a:hover { background: var(--line); text-decoration: none; }
.rm-lang { display: flex; gap: 2px; }
.rm-lang a { padding: 6px 9px; font-size: 12px; font-weight: 700; color: var(--onbg2); border-radius: var(--r);  white-space: nowrap; }
.rm-lang a.on { background: var(--brass); color: #2a1a00; }

/* ---------------------------------------------------------------- hero */
.rm-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
  gap: 34px;
  align-items: start;
  max-width: var(--w);
  margin: 0 auto;
  padding: 36px 18px 30px;
}
.rm-hero .tx { min-width: 0; }
.eb {
  display: inline-block;
  margin-bottom: 13px;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--brass);
}
.lead { font-size: 17px; color: var(--onbg2); }
.act { display: flex; flex-wrap: wrap; gap: 11px; margin: 20px 0 6px; }

.rm-caps { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.rm-caps span {
  padding: 6px 13px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, .18);
  font-size: 12.5px;
  color: var(--onbg);
}

.rm-promo {
  padding: 22px;
  background: var(--card);
  color: var(--ink);
  border-radius: var(--r);
  border: 1px solid var(--rule);
  min-width: 0;
}
.rm-promo .pill {
  display: inline-block;
  margin-bottom: 11px;
  padding: 4px 11px;
  border-radius: 999px;
  background: var(--wine, #7c3338);
  color: #ffe9c9;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.rm-promo h2 { font-size: 22px; color: var(--ink); margin-bottom: 16px; }
.rm-promo .cd { display: flex; gap: 10px; margin-bottom: 15px; }
.rm-promo .cd span { flex: 1 1 0; min-width: 0; padding: 10px 4px; text-align: center; background: var(--card2); border-radius: var(--r); }
.rm-promo .cd b { display: block; font-size: 25px; font-weight: 900; color: var(--ink); font-variant-numeric: tabular-nums; }
.rm-promo .cd em { display: block; font-style: normal; font-size: 10.5px; color: var(--ink2); text-transform: uppercase; letter-spacing: .07em; }
.rm-promo p { font-size: 14px; color: var(--ink2); }
.rm-promo .rm-btn { width: 100%; }

/* ---------------------------------------------------------------- category cards */
.rm-cats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; max-width: var(--w); margin: 0 auto 40px; padding: 0 18px; }
.rm-cat { display: flex; flex-direction: column; background: var(--deep); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; min-width: 0; }
.rm-cat:hover { border-color: var(--brass); text-decoration: none; }
.rm-cat img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.rm-cat .tx { padding: 14px 15px 16px; min-width: 0; }
.rm-cat b { display: block; font-size: 14px; color: var(--onbg); }
.rm-cat .big { display: block; margin: 4px 0 3px; font-size: 26px; font-weight: 900; color: var(--brass-l); font-variant-numeric: tabular-nums; }
.rm-cat span { display: block; font-size: 12.5px; color: var(--onbg2); }

/* ---------------------------------------------------------------- common section frame */
.rm-tiers, .rm-wheel, .rm-fees, .rm-time, .rm-revs, .rm-banner {
  max-width: var(--w);
  margin: 0 auto 40px;
  padding: 0 18px;
}
.rm-tiers .sub, .rm-fees .note { color: var(--onbg2); font-size: 14.5px; max-width: 74ch; }

/* tier cards */
.rm-tiers .g { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 13px; margin-top: 20px; }
.rm-tier {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  padding: 20px 16px 18px;
  background: var(--card);
  color: var(--ink);
  border: 1px solid var(--rule);
  border-radius: var(--r);
}
.rm-tier.pop { background: var(--deep); color: var(--onbg); border-color: var(--brass); transform: translateY(-8px); }
.rm-tier .rib {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 13px;
  border-radius: 999px;
  background: var(--brass);
  color: #2a1a00;
  font-size: 10.5px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  white-space: nowrap;
}
.rm-tier b { font-size: 16px; }
.rm-tier .pc { font-size: 29px; font-weight: 900; color: var(--brass-d); font-variant-numeric: tabular-nums; }
.rm-tier.pop .pc { color: var(--brass-l); }
.rm-tier em { font-style: normal; font-size: 11.5px; text-transform: uppercase; letter-spacing: .07em; color: var(--mut); }
.rm-tier p { margin: 8px 0 14px; font-size: 13px; }
.rm-tier .rm-btn { margin-top: auto; width: 100%; }

/* wheel */
.rm-wheel { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 36px; align-items: center; }
.rm-wheel .dial { position: relative; text-align: center; min-width: 0; }
.rm-wheel .wh {
  width: 100%;
  max-width: 250px;
  aspect-ratio: 1 / 1;
  margin: 0 auto 16px;
  border-radius: 50%;
  border: 8px solid var(--brass-d);
  background: conic-gradient(var(--brass) 0 45deg, var(--deep) 45deg 90deg, var(--brass-l) 90deg 135deg,
    var(--deep) 135deg 180deg, var(--brass) 180deg 225deg, var(--deep) 225deg 270deg,
    var(--brass-l) 270deg 315deg, var(--deep) 315deg 360deg);
}
.rm-wheel .pin {
  position: absolute;
  top: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 11px solid transparent;
  border-right: 11px solid transparent;
  border-top: 20px solid var(--card);
}
.rm-wheel .dial small { display: block; margin-top: 9px; font-size: 12px; color: var(--onbg2); }
.rm-wheel .tx { min-width: 0; }
.rm-wheel .pill {
  display: inline-block;
  margin-bottom: 10px;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--line);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--brass-l);
}
.rm-wheel .tx p { color: var(--onbg2); font-size: 14.5px; }
.rm-wheel .pzs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; margin-top: 16px; }
.rm-wheel .pz { padding: 13px 15px; background: var(--deep); border: 1px solid var(--line); border-radius: var(--r); min-width: 0; }
.rm-wheel .pz b { display: block; font-size: 13.5px; }
.rm-wheel .pz span { display: block; margin-top: 3px; font-size: 15px; font-weight: 800; color: var(--brass-l); }

/* fees + generic tables */
.rm-fees .tw, .rm-tw { overflow-x: auto; margin: 18px 0 16px; border: 1px solid var(--line); border-radius: var(--r); }
.rm-fees table, .rm-tbl { width: 100%; font-size: 14.5px; background: var(--deep); }
.rm-fees th, .rm-tbl th {
  text-align: left;
  padding: 12px 14px;
  background: var(--line);
  color: var(--brass-l);
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
  white-space: nowrap;
}
.rm-fees td, .rm-tbl td { padding: 12px 14px; border-top: 1px solid var(--line); }
.rm-fees .ok { color: #7fd6a2; font-weight: 700; }

/* timeline */
.rm-time ol { list-style: none; margin: 18px 0 0; padding: 0; }
.rm-time li { position: relative; margin: 0; padding: 0 0 26px 38px; border-left: 2px solid var(--line); }
.rm-time li:last-child { border-left-color: transparent; padding-bottom: 0; }
.rm-time li::before {
  content: "";
  position: absolute;
  left: -9px;
  top: 2px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--brass);
  border: 3px solid var(--bg);
}
.rm-time b { display: block; font-size: 16px; }
.rm-time .t { display: inline-block; margin: 4px 0 6px; padding: 3px 10px; border-radius: 999px; background: var(--line); font-size: 11.5px; font-weight: 800; color: var(--brass-l); font-variant-numeric: tabular-nums; }
.rm-time p { margin: 0; font-size: 14px; color: var(--onbg2); }

/* reviews */
.rm-revs .g { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; margin-top: 18px; }
.rm-rev { padding: 19px; background: var(--card); color: var(--ink); border-radius: var(--r); min-width: 0; }
.rm-rev .hd { display: flex; align-items: baseline; gap: 9px; flex-wrap: wrap; margin-bottom: 9px; }
.rm-rev b { font-size: 15px; }
.rm-rev .sm { font-size: 12.5px; color: var(--ink2); }
.rm-rev .st { color: var(--brass-d); letter-spacing: .08em; }
.rm-rev p { margin: 0 0 11px; font-size: 14px; color: var(--ink2); }
.rm-rev .ft { display: flex; gap: 10px; align-items: center; padding-top: 10px; border-top: 1px solid var(--rule); font-size: 12px; color: var(--ink2); }
.rm-rev .vf { color: var(--ok); font-weight: 800; }

/* banner */
.rm-banner img { width: 100%; border-radius: var(--r); border: 1px solid var(--line); }

/* conversion band */
.rm-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  max-width: var(--w);
  margin: 0 auto 40px;
  padding: 22px 24px;
  background: linear-gradient(135deg, var(--deep), #3a181c);
  border: 1px solid var(--brass-d);
  border-radius: var(--r);
}
.rm-band b { font-size: 17px; min-width: 0; }

/* ---------------------------------------------------------------- reading column */
.rm-col, .rm-ph { max-width: var(--w); margin: 0 auto; padding: 0 18px 40px; }
/* a single reading column: the build puts the steps, prose, table and FAQ straight into
   .rm-col with no sidebar, so a two-track grid split them down the middle. */
.rm-col { max-width: 860px; }
.rm-col .main { min-width: 0; }
.rm-col h2 { margin-top: 1.5em; }
.rm-col h2:first-child { margin-top: 0; }
/* .rm-side is the header's right-hand group (language switcher plus the two buttons), not a
   page sidebar. It was styled as a sticky column, which stacked the header controls. */
.rm-side { display: flex; align-items: center; gap: 10px; margin-left: auto; min-width: 0; }

.rm-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 0 0 26px; }
.rm-kpis div { padding: 15px; background: var(--deep); border: 1px solid var(--line); border-radius: var(--r); min-width: 0; }
.rm-kpis b { display: block; font-size: 23px; font-weight: 900; color: var(--brass-l); font-variant-numeric: tabular-nums; }
.rm-kpis span { display: block; margin-top: 4px; font-size: 12.5px; color: var(--onbg2); }

.rm-steps { counter-reset: s; list-style: none; padding: 0; margin: 0 0 26px; }
.rm-steps li { counter-increment: s; position: relative; margin: 0 0 10px; padding: 14px 16px 14px 54px; background: var(--deep); border: 1px solid var(--line); border-radius: var(--r); }
.rm-steps li::before {
  content: counter(s);
  position: absolute;
  left: 15px;
  top: 13px;
  width: 27px;
  height: 27px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--brass);
  color: #2a1a00;
  font-weight: 900;
  font-size: 13px;
}

.rm-faq { margin: 4px 0 26px; }
.rm-faq details { border: 1px solid var(--line); border-radius: var(--r); background: var(--deep); margin-bottom: 9px; }
.rm-faq summary { padding: 14px 16px; cursor: pointer; font-weight: 700; min-height: 44px; }
.rm-faq summary::-webkit-details-marker { display: none; }
.rm-faq summary::after { content: "+"; float: right; color: var(--brass); font-weight: 900; }
.rm-faq details[open] summary::after { content: "\2212"; }
.rm-faq p { margin: 0; padding: 0 16px 15px; color: var(--onbg2); }

/* inner hero */
.rm-ph { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: center; padding-top: 32px; padding-bottom: 26px; }
.rm-ph .tx { min-width: 0; }
.rm-ph > img { border-radius: var(--r); border: 1px solid var(--line); width: 100%; }

.utl { max-width: 800px; }

/* ---------------------------------------------------------------- footer */
.rm-foot { background: var(--deep); border-top: 1px solid var(--line); }
.rm-foot .w { max-width: var(--w); margin: 0 auto; padding: 38px 18px 30px; }
.rm-foot .cols { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 28px; }
.rm-foot .ab { min-width: 0; }
.rm-foot .ab p { font-size: 13.5px; color: var(--onbg2); margin: 13px 0 0; }
.rm-foot h4 { font-size: 12px; letter-spacing: .11em; text-transform: uppercase; color: var(--brass); margin-bottom: 12px; }
.rm-foot .cols div a { display: block; margin-bottom: 9px; font-size: 13.5px; color: var(--onbg); }
.rm-foot .pay, .rm-foot .trust { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 22px; }
.rm-foot .pay span, .rm-foot .trust span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  flex: 0 1 auto;
  padding: 8px 12px;
  background: #efece2;
  border: 1px solid #cdc8bb;
  border-radius: 5px;
}
.rm-foot .pay img, .rm-foot .trust img { max-height: 21px; width: auto; min-width: 0; }
.rm-foot .rg { margin: 22px 0 6px; font-size: 12.5px; color: var(--onbg2); }
.rm-foot .cr { margin: 0; font-size: 12.5px; color: var(--mut); }

/* ---------------------------------------------------------------- sticky cta */
.rm-scta {
  display: none;
  position: fixed;
  inset: auto 0 0 0;
  z-index: 40;
  padding: 10px 13px;
  background: rgba(29, 11, 13, .96);
  border-top: 1px solid var(--brass-d);
}
.rm-scta .rm-btn { width: 100%; }

/* ---------------------------------------------------------------- entry modal */
.rm-pop { position: fixed; inset: 0; z-index: 60; display: none; place-items: center; padding: 18px; background: rgba(12, 5, 6, .8); }
.rm-pop.on { display: grid; }
.rm-pop .bx {
  position: relative;
  width: min(420px, 100%);
  max-height: 92vh;
  overflow: auto;
  padding: 16px;
  background: var(--card);
  color: var(--ink);
  border: 1px solid var(--brass);
  border-radius: var(--r);
}
.rm-pop .x {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--card2);
  border: 1px solid var(--rule);
  color: var(--ink);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}
.rm-pop .hd { margin: 2px 44px 14px 2px; font-size: 12.5px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; color: var(--brass-d); }
.rm-pop .pane { display: block; text-align: center; }
.rm-pop .pane.rm-off { display: none !important; }
.rm-pop .pane .eb { color: var(--ink2); }
.rm-pop .pane .big { display: block; margin: 8px 0 10px; font-size: clamp(36px, 10vw, 52px); font-weight: 900; color: var(--wine, #7c3338); }
.rm-pop .pane p { color: var(--ink2); font-size: 14px; }
.rm-pop .pane .rm-btn { width: 100%; }
.rm-pop .pg { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 14px; }
.rm-pop .pv, .rm-pop .nx { width: 40px; height: 40px; border-radius: 50%; background: var(--card2); border: 1px solid var(--rule); color: var(--ink); font-size: 17px; cursor: pointer; }
.rm-pop .pv[disabled], .rm-pop .nx[disabled] { opacity: .35; cursor: default; }
.rm-pop .dots { display: flex; gap: 6px; }
.rm-pop .dot { width: 22px; height: 22px; padding: 0; border: 0; background: transparent; cursor: pointer; }
.rm-pop .dot::after { content: ""; display: block; width: 8px; height: 8px; margin: 0 auto; border-radius: 50%; background: var(--rule); }
.rm-pop .dot.on::after { background: var(--brass-d); }
.rm-pop .ct { font-size: 12px; color: var(--ink2); font-variant-numeric: tabular-nums; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1060px) {
  .rm-cats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rm-tiers .g { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .rm-foot .cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 880px) {
  body { padding-bottom: 72px; }
  .rm-burger { display: block; }
  .rm-nav { display: none; order: 3; width: 100%; justify-content: flex-start; }
  .rm-open .rm-nav { display: flex; flex-direction: column; gap: 2px; }
  .rm-open .rm-nav a { width: 100%; }
  .rm-head .bar { flex-wrap: wrap; }
  .rm-hero, .rm-wheel, .rm-ph { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .rm-ph > img { order: -1; max-width: 420px; margin: 0 auto; }
  .rm-tier.pop { transform: none; }
  .rm-scta { display: block; }
}

@media (max-width: 620px) {
  .rm-logo .wm small { display: none; }
  .rm-tiers .g { grid-template-columns: minmax(0, 1fr); }
  .rm-tier .rib { position: static; transform: none; display: inline-block; margin-bottom: 8px; }
  .rm-cats { grid-template-columns: minmax(0, 1fr); }
  .rm-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rm-revs .g, .rm-wheel .pzs { grid-template-columns: minmax(0, 1fr); }
  .rm-band { flex-direction: column; align-items: flex-start; }
  .rm-band .rm-btn { width: 100%; }
  .rm-foot .cols { grid-template-columns: minmax(0, 1fr); }
  .act .rm-btn { width: 100%; }
}

.rm-pop .panes { min-width: 0; }
