:root {
  --black: #050608;
  --surface: #0b0d10;
  --card: #0f1218;
  --card-strong: #131720;
  --border: rgba(255, 255, 255, 0.06);
  --border-strong: rgba(255, 255, 255, 0.11);
  --gold: #c9a84c;
  --gold-light: #e8c96a;
  --gold-dim: rgba(201, 168, 76, 0.12);
  --text: #f0ede8;
  --muted: #9e9aa8;
  --subtle: #676574;
  --shadow: 0 28px 70px rgba(0, 0, 0, 0.42);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 18% 10%, rgba(201, 168, 76, 0.08), transparent 24%),
    radial-gradient(circle at 86% 12%, rgba(82, 137, 224, 0.06), transparent 20%),
    linear-gradient(180deg, #050608 0%, #090b11 50%, #050608 100%);
  color: var(--text);
  font-family: "Syne", sans-serif;
}

html:lang(id) body,
html:lang(id) button,
html:lang(id) input,
html:lang(id) textarea,
html:lang(id) select {
  font-family: "Syne", sans-serif;
}

html:lang(id) h1,
html:lang(id) h2,
html:lang(id) .public-hero h1,
html:lang(id) .public-panel h2 {
  font-family: "DM Serif Display", serif;
}

html:lang(id) .footer-links a,
html:lang(id) .public-eyebrow,
html:lang(id) .public-btn {
  font-family: "DM Mono", monospace;
}

html:lang(th) body,
html:lang(th) button,
html:lang(th) input,
html:lang(th) textarea,
html:lang(th) select,
html:lang(th) h1,
html:lang(th) h2,
html:lang(th) .public-hero h1,
html:lang(th) .public-panel h2 {
  font-family: "Noto Sans Thai", "Leelawadee UI", Tahoma, sans-serif;
}

html:lang(vi) body,
html:lang(vi) button,
html:lang(vi) input,
html:lang(vi) textarea,
html:lang(vi) select,
html:lang(vi) h1,
html:lang(vi) h2,
html:lang(vi) .public-hero h1,
html:lang(vi) .public-panel h2 {
  font-family: "Noto Sans", "Inter", "Segoe UI", sans-serif;
}

html:lang(es) body,
html:lang(es) button,
html:lang(es) input,
html:lang(es) textarea,
html:lang(es) select,
html:lang(es) h1,
html:lang(es) h2,
html:lang(es) .public-hero h1,
html:lang(es) .public-panel h2 {
  font-family: "Noto Sans", "Inter", "Segoe UI", sans-serif;
}

html:lang(fr) body,
html:lang(fr) button,
html:lang(fr) input,
html:lang(fr) textarea,
html:lang(fr) select,
html:lang(fr) h1,
html:lang(fr) h2,
html:lang(fr) .public-hero h1,
html:lang(fr) .public-panel h2 {
  font-family: "Noto Sans", "Inter", "Segoe UI", sans-serif;
}

html:lang(ar) body,
html:lang(ar) button,
html:lang(ar) input,
html:lang(ar) textarea,
html:lang(ar) select,
html:lang(ar) h1,
html:lang(ar) h2,
html:lang(ar) .public-hero h1,
html:lang(ar) .public-panel h2 {
  font-family: "Noto Sans Arabic", "Noto Sans", "Segoe UI", sans-serif;
}

html:lang(ja) body,
html:lang(ja) button,
html:lang(ja) input,
html:lang(ja) textarea,
html:lang(ja) select,
html:lang(ja) h1,
html:lang(ja) h2,
html:lang(ja) .public-hero h1,
html:lang(ja) .public-panel h2 {
  font-family: "Noto Sans JP", "Noto Sans", "Segoe UI", sans-serif;
}

html:lang(ko) body,
html:lang(ko) button,
html:lang(ko) input,
html:lang(ko) textarea,
html:lang(ko) select,
html:lang(ko) h1,
html:lang(ko) h2,
html:lang(ko) .public-hero h1,
html:lang(ko) .public-panel h2 {
  font-family: "Noto Sans KR", "Noto Sans", "Segoe UI", sans-serif;
}

html:lang(ar) body {
  direction: rtl;
  text-align: right;
}

html:lang(ar) .public-nav,
html:lang(ar) .public-footer,
html:lang(ar) .public-panel,
html:lang(ar) .public-card {
  direction: rtl;
}

html:lang(ar) .marketread-language-switcher select {
  direction: ltr;
}

.marketread-language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 4px 6px 4px 10px;
  border: 1px solid rgba(201, 168, 76, 0.24);
  background: rgba(5, 6, 8, 0.52);
}

.marketread-language-switcher label {
  color: rgba(240, 237, 232, 0.68);
  font-family: "DM Mono", monospace;
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.marketread-language-switcher select {
  min-height: 28px;
  min-width: 118px;
  border: 1px solid rgba(201, 168, 76, 0.28);
  background: rgba(15, 16, 20, 0.92);
  color: var(--gold-light);
  font-family: "DM Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.04em;
  outline: none;
  padding: 0 26px 0 9px;
  text-transform: uppercase;
}

.marketread-language-switcher select:focus {
  border-color: rgba(245, 215, 110, 0.72);
  box-shadow: 0 0 0 2px rgba(201, 168, 76, 0.14);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1000;
  opacity: 0.5;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
}

.public-shell {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 24px 0 68px;
}

.public-nav,
.public-hero,
.public-panel,
.public-footer {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  background: rgba(11, 13, 16, 0.88);
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
}

.public-nav::before,
.public-hero::before,
.public-panel::before,
.public-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
}

.public-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 20px;
  margin-bottom: 24px;
  border-radius: var(--radius-xl);
}

.public-nav a,
.inline-link {
  color: inherit;
  text-decoration: none;
}

.public-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "Syne", sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.public-brand::before {
  content: none;
}

.public-brand img {
  display: block;
  width: 60px;
  height: 38px;
  object-fit: contain;
}

.public-brand-mark-only {
  gap: 0;
}

.public-nav-links,
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.public-nav-links a,
.footer-links a {
  font-family: "DM Mono", monospace;
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: color 0.18s ease;
}

.public-nav-links a:hover,
.footer-links a:hover,
.inline-link:hover {
  color: var(--text);
}

.public-hero {
  padding: 42px 40px;
  margin-bottom: 22px;
  border-radius: var(--radius-xl);
}

.public-hero::after {
  content: "";
  position: absolute;
  right: -90px;
  top: -80px;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(201, 168, 76, 0.16), transparent 68%);
  pointer-events: none;
}

.eyebrow {
  margin: 0 0 14px;
  font-family: "DM Mono", monospace;
  font-size: 10px;
  color: var(--gold);
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.public-hero h1,
.public-panel h2,
.public-card h3 {
  margin: 0;
}

.public-hero h1 {
  max-width: 820px;
  font-family: "DM Serif Display", serif;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.03em;
}

.public-copy,
.public-panel p,
.public-panel li {
  color: var(--muted);
  line-height: 1.8;
}

.public-copy {
  max-width: 800px;
  margin: 18px 0 0;
  font-size: 1rem;
}

.public-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-top: 22px;
}

.public-panel {
  border-radius: var(--radius-xl);
  padding: 28px;
}

.public-panel h2 {
  margin-bottom: 12px;
  font-family: "DM Serif Display", serif;
  font-size: clamp(1.7rem, 2.8vw, 2.3rem);
  font-weight: 400;
  letter-spacing: -0.02em;
}

.public-risk-notice {
  margin-top: 22px;
  border-color: rgba(201, 168, 76, 0.18);
  background:
    linear-gradient(135deg, rgba(201, 168, 76, 0.08), rgba(255, 255, 255, 0.02)),
    rgba(11, 13, 16, 0.9);
}

.public-risk-notice h2 {
  color: var(--text);
}

.public-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.public-card {
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: rgba(19, 23, 32, 0.95);
}

.public-card h3 {
  margin-bottom: 8px;
  font-family: "Syne", sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.public-list {
  display: grid;
  gap: 10px;
  margin: 14px 0 0;
  padding-left: 18px;
}

.public-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 24px;
  padding: 22px 24px;
  border-radius: var(--radius-xl);
}

.cta-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid rgba(201, 168, 76, 0.32);
  background: linear-gradient(135deg, rgba(201, 168, 76, 0.26), rgba(255, 255, 255, 0.05));
  color: var(--text);
  text-decoration: none;
  font-family: "DM Mono", monospace;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.cta-link:hover {
  transform: translateY(-1px);
  border-color: rgba(201, 168, 76, 0.46);
  background: linear-gradient(135deg, rgba(201, 168, 76, 0.34), rgba(255, 255, 255, 0.07));
}

strong {
  color: var(--text);
}

@media (max-width: 920px) {
  .public-shell {
    width: min(100% - 28px, 1180px);
  }

  .public-nav {
    flex-direction: column;
    align-items: flex-start;
  }

  .public-card-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .public-hero,
  .public-panel,
  .public-footer {
    border-radius: 24px;
  }

  .public-hero {
    padding: 30px 22px;
  }

  .public-panel {
    padding: 22px;
  }

  .public-grid {
    grid-template-columns: 1fr;
  }

  .public-footer {
    display: grid;
    justify-content: stretch;
  }
}
