/* Modo OP · modoop.app — Approved Visual System (Stone Light, Soft Sage, Elegant Dark) */
*, *::before, *::after { box-sizing: border-box; }

:root {
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --shadow-sm: 0 1px 2px rgba(17, 18, 20, 0.03);
  --shadow-md: 0 6px 20px rgba(17, 18, 20, 0.05);
  --shadow-lg: 0 14px 36px rgba(17, 18, 20, 0.08);
}

body.theme-light {
  --bg: #F7F7F5;
  --card: #FFFFFF;
  --soft: #F1F0EC;
  --ink: #111214;
  --mut: #60636A;
  --bd: #E5E4DE;
  --accent: #111214;
  --accent-tx: #FFFFFF;
  --gold: #A97203;
  --gold-hi: #E5AE2B;
  --gold-bg: #FDF8E7;
  --gold-bd: #EED17F;
  --ok: #0F7655;
  --ok-bg: #E7F7F0;
  --ok-bd: #BCE6D4;
  --er: #C43232;
  --er-bg: #FDECEC;
  --er-bd: #F5C2C2;
  --code-bg: #141518;
  --code-tx: #F4F4F5;
  --glass: rgba(247, 247, 245, 0.84);
  --hero-glow: radial-gradient(640px 320px at 82% 8%, rgba(229, 174, 43, 0.12), transparent 70%);
  color-scheme: light;
}

body.theme-sage {
  --bg: #DCECE1;
  --card: #EFF7F2;
  --soft: #CEE3D5;
  --ink: #102118;
  --mut: #425E4F;
  --bd: #B5D2BF;
  --accent: #11231A;
  --accent-tx: #FFFFFF;
  --gold: #9A6600;
  --gold-hi: #DDA623;
  --gold-bg: #FBF4DA;
  --gold-bd: #DFC068;
  --ok: #0A6B4B;
  --ok-bg: #C7ECD9;
  --ok-bd: #9CD6BA;
  --er: #C43232;
  --er-bg: #FCE4E4;
  --er-bd: #F0BABA;
  --code-bg: #0F1D16;
  --code-tx: #EFF7F2;
  --glass: rgba(220, 236, 225, 0.86);
  --hero-glow: radial-gradient(640px 320px at 82% 8%, rgba(221, 166, 35, 0.14), transparent 70%);
  color-scheme: light;
}

body.theme-dark {
  --bg: #0C0D10;
  --card: #15171C;
  --soft: #1E2128;
  --ink: #F5F5F7;
  --mut: #9A9FA8;
  --bd: #282C35;
  --accent: #F5F5F7;
  --accent-tx: #111214;
  --gold: #F5C451;
  --gold-hi: #FFD86B;
  --gold-bg: #241E0F;
  --gold-bd: #5B4718;
  --ok: #34D399;
  --ok-bg: #0F2921;
  --ok-bd: #1E5442;
  --er: #F87171;
  --er-bg: #2E1518;
  --er-bd: #602A30;
  --code-bg: #08090B;
  --code-tx: #E5E7EB;
  --glass: rgba(12, 13, 16, 0.84);
  --hero-glow: radial-gradient(640px 320px at 82% 8%, rgba(245, 196, 81, 0.11), transparent 70%);
  --shadow-md: 0 14px 36px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.48);
  color-scheme: dark;
}

html {
  scroll-behavior: smooth;
  max-width: 100%;
  overflow-x: clip;
}

body {
  margin: 0;
  max-width: 100%;
  overflow-x: clip;
  background-color: var(--bg);
  background-image: var(--hero-glow);
  background-repeat: no-repeat;
  color: var(--ink);
  font: 15px/1.55 system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  transition: background-color 0.2s ease, color 0.2s ease;
}

a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
.hidden { display: none !important; }

.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--glass);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--bd);
}

.translate-alert {
  background: var(--gold-bg);
  border-bottom: 1px solid var(--gold-bd);
  color: var(--gold);
  font-size: 12.5px;
  font-weight: 650;
  padding: 9px 16px;
  text-align: center;
}

.demo-progress {
  height: 4px;
  background: var(--soft);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 11px;
}

.demo-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--gold-hi), var(--ok));
  border-radius: 999px;
  transition: width 0.25s ease;
}

.demo-summary {
  text-align: center;
  padding: 20px 10px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.demo-score-ring {
  width: 72px;
  height: 72px;
  border-radius: 999px;
  background: var(--gold-bg);
  border: 2px solid var(--gold-bd);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.5px;
}

.demo-summary h4 {
  margin: 0;
  font-size: 17px;
  font-weight: 850;
}

.demo-summary p {
  margin: 0;
  font-size: 13.5px;
  color: var(--mut);
  max-width: 340px;
  line-height: 1.5;
}

.demo-summary-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 4px;
}

.hd-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 66px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex: none;
}

.brand-logo {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: block;
  object-fit: cover;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.22);
}

.brand-name {
  font-weight: 850;
  font-size: 16px;
  letter-spacing: -0.35px;
  line-height: 1.1;
}

.brand-tag {
  font-size: 11px;
  color: var(--mut);
  font-weight: 600;
  letter-spacing: 0.15px;
}

.hd-nav {
  display: none;
  align-items: center;
  gap: 6px;
}

.hd-nav a {
  font-size: 13.5px;
  font-weight: 650;
  color: var(--mut);
  padding: 7px 12px;
  border-radius: 999px;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.hd-nav a:hover {
  color: var(--ink);
  background: var(--soft);
}

.hd-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.lang-seg {
  display: inline-flex;
  align-items: center;
  background: var(--soft);
  border: 1px solid var(--bd);
  border-radius: 999px;
  padding: 2px;
}

.lang-seg button,
.lang-seg a {
  display: inline-flex;
  align-items: center;
  border: none;
  background: transparent;
  color: var(--mut);
  font-size: 12px;
  font-weight: 750;
  padding: 5px 9px;
  border-radius: 999px;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.lang-seg button:hover,
.lang-seg a:hover {
  color: var(--ink);
}

.lang-seg button.on,
.lang-seg a.on {
  background: var(--card);
  color: var(--ink);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
}

/* ---------- Buttons & Pills ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border-radius: 8px;
  padding: 11px 17px;
  font-size: 13.5px;
  font-weight: 750;
  border: 1px solid transparent;
  transition: transform 0.12s ease, opacity 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}

.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--accent);
  color: var(--accent-tx);
}

.btn-primary:hover { opacity: 0.9; }

.btn-gold {
  background: linear-gradient(135deg, #F0BF4B, #C88A07);
  color: #111214;
  border-color: rgba(169, 114, 3, 0.25);
}

.btn-gold:hover { filter: brightness(1.03); }

.btn-soft {
  background: var(--card);
  color: var(--ink);
  border-color: var(--bd);
}

.btn-soft:hover {
  background: var(--soft);
}

.btn-sm {
  padding: 8px 13px;
  font-size: 13px;
  border-radius: 10px;
}

.hd-cta {
  display: none;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 9px;
  border-radius: 6px;
  font-size: 11.5px;
  font-weight: 750;
  letter-spacing: 0.15px;
  border: 1px solid var(--bd);
  background: var(--soft);
  color: var(--ink);
}

.pill-gold {
  background: var(--gold-bg);
  border-color: var(--gold-bd);
  color: var(--gold);
}

.pill-ok {
  background: var(--ok-bg);
  border-color: var(--ok-bd);
  color: var(--ok);
}

/* ---------- Hero ---------- */
.hero {
  padding: 40px 0 48px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.9px;
  text-transform: uppercase;
  color: var(--gold);
  user-select: none;
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  border-radius: 999px;
  background: var(--gold-hi);
  display: inline-block;
}

.breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--mut);
  margin-bottom: 14px;
}

.breadcrumb a {
  color: var(--mut);
  transition: color 0.15s ease;
}

.breadcrumb a:hover {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.hero-slogan {
  margin: 0 0 12px;
  font-size: clamp(16px, 2.2vw, 20px);
  line-height: 1.25;
  font-weight: 850;
  letter-spacing: -0.35px;
  color: var(--ink);
}

.hero-title {
  margin: 0 0 14px;
  font-size: clamp(29px, 4.3vw, 43px);
  line-height: 1.1;
  font-weight: 900;
  letter-spacing: -1px;
}

.gold-accent {
  display: inline-block;
  background: linear-gradient(
    112deg,
    #AD7606 0%,
    #DFAC2C 26%,
    #FBE28A 47%,
    #D69B14 68%,
    #9F6B04 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 1px 0 rgba(122, 81, 0, 0.24));
}

body.theme-dark .gold-accent {
  background: linear-gradient(
    112deg,
    #D59B1D 0%,
    #F6CE62 28%,
    #FFF3B8 50%,
    #E6AD24 72%,
    #BA810E 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 2px 12px rgba(246, 206, 98, 0.22));
}

.hero-lead {
  margin: 0 0 24px;
  font-size: 16.5px;
  line-height: 1.6;
  color: var(--mut);
  max-width: 520px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  font-size: 13px;
  color: var(--mut);
  font-weight: 600;
}

.hero-facts span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* ---------- Interactive Live Preview Card (Estilo 3) ---------- */
.demo-shell {
  background: var(--card);
  border: 1px solid var(--bd);
  border-top: 2px solid var(--gold-hi);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.demo-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 11px 14px;
  background: var(--soft);
  border-bottom: 1px solid var(--bd);
}

.demo-dots {
  display: flex;
  align-items: center;
  gap: 6px;
}

.demo-dots i {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  display: inline-block;
  background: var(--bd);
}

.demo-dots i:nth-child(1) { background: #E9786E; }
.demo-dots i:nth-child(2) { background: #E9B949; }
.demo-dots i:nth-child(3) { background: #46B987; }

.demo-caption {
  font-size: 12px;
  font-weight: 700;
  color: var(--mut);
  display: flex;
  align-items: center;
  gap: 6px;
}

.demo-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--bd);
  background: var(--card);
}

.demo-tab {
  border: 1px solid var(--bd);
  background: var(--soft);
  color: var(--mut);
  border-radius: 10px;
  padding: 7px 8px;
  font-size: 12px;
  font-weight: 750;
  text-align: center;
  transition: all 0.15s ease;
}

.demo-tab:hover { color: var(--ink); }

.demo-tab.on {
  background: var(--accent);
  color: var(--accent-tx);
  border-color: var(--accent);
}

.demo-body {
  padding: 16px 16px 18px;
  min-height: 360px;
}

.demo-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 11.5px;
  color: var(--mut);
  font-weight: 700;
  margin-bottom: 10px;
}

.demo-q-text {
  font-size: 14px;
  font-weight: 750;
  line-height: 1.45;
  margin: 0 0 10px;
}

.code-block {
  background: var(--code-bg);
  color: var(--code-tx);
  border-radius: 11px;
  padding: 11px 13px;
  font: 12px/1.5 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  overflow-x: auto;
  margin: 0 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.tok-k { color: #7DD3FC; } /* YAML key */
.tok-v { color: #FDE68A; } /* string / value */
.tok-b { color: #FCA5A5; } /* boolean / flag */
.tok-c { color: #94A3B8; font-style: italic; } /* comment */
.tok-fn { color: #86EFAC; } /* keyword */

.demo-opts {
  display: grid;
  grid-template-columns: 1fr;
  gap: 7px;
}

.demo-opt {
  width: 100%;
  text-align: left;
  background: var(--soft);
  border: 1.5px solid var(--bd);
  border-radius: 11px;
  padding: 9px 11px;
  font-size: 12.5px;
  line-height: 1.38;
  font-weight: 600;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  transition: border-color 0.14s ease, background-color 0.14s ease;
}

.demo-opt:hover:not(:disabled) {
  border-color: var(--gold-hi);
}

.demo-opt .opt-l {
  flex: none;
  width: 20px;
  height: 20px;
  border-radius: 6px;
  background: var(--card);
  border: 1px solid var(--bd);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
}

.demo-opt.good {
  background: var(--ok-bg);
  border-color: var(--ok);
}

.demo-opt.good .opt-l {
  background: var(--ok);
  color: #fff;
  border-color: var(--ok);
}

.demo-opt.bad {
  background: var(--er-bg);
  border-color: var(--er);
}

.demo-opt.bad .opt-l {
  background: var(--er);
  color: #fff;
  border-color: var(--er);
}

.demo-fb {
  margin-top: 11px;
  padding: 11px 12px;
  border-radius: 12px;
  background: var(--soft);
  border: 1px solid var(--bd);
  font-size: 12.5px;
  line-height: 1.48;
}

.demo-fb-head {
  font-weight: 850;
  margin-bottom: 5px;
}

.demo-fb-head.ok { color: var(--ok); }
.demo-fb-head.bad { color: var(--er); }

.demo-trap {
  margin-top: 7px;
  padding-top: 7px;
  border-top: 1px solid var(--bd);
  font-size: 12px;
  color: var(--mut);
}

.demo-fb-foot {
  margin-top: 8px;
  display: flex;
  justify-content: flex-end;
}

.link-btn {
  background: none;
  border: none;
  padding: 3px 6px;
  font-size: 12px;
  font-weight: 750;
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Demo Tab 2: Study Card */
.card-mini-box {
  background: var(--soft);
  border: 1px solid var(--bd);
  border-radius: 12px;
  padding: 11px 12px;
  margin-bottom: 10px;
  font-size: 13px;
}

.card-mini-label {
  font-size: 10.5px;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--gold);
  margin-bottom: 4px;
}

.card-mini-list {
  margin: 0;
  padding-left: 17px;
  font-size: 12.5px;
  line-height: 1.5;
}

.card-mini-list li { margin-bottom: 4px; }

/* Demo Tab 3: Visual Calendar */
.cal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  font-size: 12.5px;
  font-weight: 800;
}

.cal-dow {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
  margin-bottom: 6px;
  text-align: center;
  font-size: 11px;
  font-weight: 750;
  color: var(--mut);
}

.cal-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
  margin-bottom: 12px;
}

.cal-cell {
  border: 1.5px solid var(--bd);
  background: var(--soft);
  border-radius: 11px;
  padding: 8px 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  font-size: 11.5px;
  font-weight: 750;
  transition: all 0.14s ease;
}

.cal-cell:hover { border-color: var(--gold-hi); }

.cal-cell.done {
  background: var(--ok-bg);
  border-color: var(--ok-bd);
}

.cal-cell.selected {
  border-color: var(--ink);
  background: var(--card);
  box-shadow: 0 0 0 2px var(--gold-hi);
}

.cal-cell .cal-ico { font-size: 14px; line-height: 1; }
.cal-cell .cal-tag { font-size: 9.5px; color: var(--mut); font-weight: 800; }
.cal-cell.done .cal-tag { color: var(--ok); }

.cal-focus {
  background: var(--soft);
  border: 1px solid var(--bd);
  border-radius: 13px;
  padding: 12px 13px;
}

.cal-focus-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 6px;
}

.cal-focus-title {
  font-weight: 850;
  font-size: 13.5px;
}

.cal-focus-desc {
  margin: 0;
  font-size: 12.5px;
  color: var(--mut);
  line-height: 1.5;
}

/* ---------- Sections ---------- */
.section {
  padding: 56px 0;
}

.section-alt {
  border-top: 1px solid var(--bd);
}

.sec-head {
  max-width: 640px;
  margin-bottom: 28px;
}

.sec-kicker {
  font-size: 11.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.75px;
  color: var(--gold);
  margin-bottom: 8px;
}

.sec-title {
  margin: 0 0 10px;
  font-size: clamp(24px, 3.6vw, 34px);
  line-height: 1.15;
  font-weight: 900;
  letter-spacing: -0.7px;
}

.sec-sub {
  margin: 0;
  color: var(--mut);
  font-size: 15.5px;
  line-height: 1.6;
}

/* ---------- Method Grid ---------- */
.method-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.method-card {
  background: var(--card);
  border: 1px solid var(--bd);
  border-radius: var(--radius-md);
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: border-color 0.15s ease;
}

.method-card:hover {
  border-color: var(--gold-bd);
}

.method-icon {
  font-size: 11.5px;
  font-weight: 850;
  letter-spacing: 0.9px;
  text-transform: uppercase;
  color: var(--gold);
  font-variant-numeric: tabular-nums;
}

.method-card h3 {
  margin: 2px 0 0;
  font-size: 16.5px;
  font-weight: 850;
  letter-spacing: -0.25px;
}

.method-card p {
  margin: 0;
  font-size: 14px;
  color: var(--mut);
  line-height: 1.55;
}

.traffic-dots {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 2px;
}

.traffic-dots i {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  display: inline-block;
}

/* ---------- Apps Showcase ---------- */
.apps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.app-card {
  background: var(--card);
  border: 1px solid var(--bd);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
}

.app-card-featured {
  border-color: var(--gold-bd);
}

.app-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.app-card h3 {
  margin: 12px 0 8px;
  font-size: 21px;
  font-weight: 900;
  letter-spacing: -0.45px;
}

.app-card p {
  margin: 0;
  font-size: 14.5px;
  color: var(--mut);
  line-height: 1.58;
}

.stat-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 14px;
}

.stat-pill {
  font-size: 11.5px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 6px;
  background: var(--soft);
  border: 1px solid var(--bd);
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.app-card-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--bd);
}

.app-card-note {
  font-size: 12.5px;
  color: var(--mut);
  font-weight: 600;
}

/* ---------- Reviews Section (Hidden until real reviews exist) ---------- */
.reviews-preview-banner {
  margin-bottom: 16px;
  padding: 10px 14px;
  border-radius: 12px;
  background: var(--gold-bg);
  border: 1px dashed var(--gold-bd);
  color: var(--gold);
  font-size: 13px;
  font-weight: 700;
}

.reviews-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.review-card {
  background: var(--card);
  border: 1px solid var(--bd);
  border-radius: var(--radius-md);
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  box-shadow: var(--shadow-sm);
}

.review-stars {
  color: var(--gold-hi);
  font-size: 14px;
  letter-spacing: 2px;
}

.review-quote {
  margin: 8px 0 0;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--ink);
}

.review-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  padding-top: 12px;
  border-top: 1px solid var(--bd);
}

.review-author {
  font-size: 13px;
  font-weight: 800;
}

.review-tag {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--mut);
}

/* ---------- Suggest / Interest Card ---------- */
.suggest-card {
  background: var(--card);
  border: 1px solid var(--bd);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: var(--shadow-md);
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.suggest-promise {
  margin-top: 16px;
  padding: 13px 15px;
  border-radius: 12px;
  background: var(--soft);
  border: 1px solid var(--bd);
  font-size: 13.5px;
  color: var(--ink);
  line-height: 1.5;
}

.suggest-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.field-label {
  display: block;
  font-size: 12.5px;
  font-weight: 800;
  margin-bottom: 7px;
  color: var(--ink);
}

.chip-group {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.chip {
  border: 1.5px solid var(--bd);
  background: var(--soft);
  color: var(--ink);
  border-radius: 999px;
  padding: 7px 13px;
  font-size: 12.5px;
  font-weight: 700;
  transition: all 0.14s ease;
}

.chip:hover { border-color: var(--gold-hi); }

.chip.on {
  background: var(--accent);
  color: var(--accent-tx);
  border-color: var(--accent);
}

.input-box {
  width: 100%;
  padding: 11px 13px;
  border-radius: 11px;
  border: 1.5px solid var(--bd);
  background: var(--soft);
  color: var(--ink);
  font-size: 14px;
  outline: none;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.input-box:focus {
  border-color: var(--gold-hi);
  background: var(--card);
}

.field-hint {
  margin: 5px 0 0;
  font-size: 12px;
  color: var(--mut);
}

.form-status {
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 13.5px;
  font-weight: 650;
  line-height: 1.5;
}

.form-status.ok {
  background: var(--ok-bg);
  border: 1px solid var(--ok-bd);
  color: var(--ok);
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--bd);
  padding: 30px 0 42px;
  margin-top: 16px;
}

.foot-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
}

.foot-left {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.foot-group {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--mut);
  font-weight: 650;
}

.theme-seg {
  display: inline-flex;
  background: var(--soft);
  border: 1px solid var(--bd);
  border-radius: 999px;
  padding: 2px;
  gap: 2px;
}

.theme-seg button {
  border: none;
  background: transparent;
  color: var(--mut);
  font-size: 12px;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 999px;
}

.theme-seg button.on {
  background: var(--card);
  color: var(--ink);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
}

.foot-contact {
  font-size: 13px;
  font-weight: 750;
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.foot-legal {
  margin: 0;
  font-size: 12.5px;
  color: var(--mut);
  line-height: 1.6;
}

/* ---------- Exam Details, Formats & FAQ (/dbt/ and /en/dbt/) ---------- */
.stats-strip {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 26px;
}

.stat-box {
  background: var(--card);
  border: 1px solid var(--bd);
  border-radius: var(--radius-md);
  padding: 16px;
  box-shadow: var(--shadow-sm);
}

.stat-box-num {
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.5px;
  line-height: 1.15;
  color: var(--ink);
}

.stat-box-lbl {
  margin-top: 4px;
  font-size: 12.5px;
  color: var(--mut);
  font-weight: 650;
}

.formats-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.format-card {
  background: var(--card);
  border: 1px solid var(--bd);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.format-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.format-card h3 {
  margin: 0;
  font-size: 15.5px;
  font-weight: 850;
  letter-spacing: -0.2px;
}

.format-card p {
  margin: 0;
  font-size: 13.5px;
  color: var(--mut);
  line-height: 1.55;
}

.topics-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.topic-row {
  background: var(--card);
  border: 1px solid var(--bd);
  border-radius: var(--radius-md);
  padding: 15px 18px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  box-shadow: var(--shadow-sm);
}

.topic-num {
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 6px;
  background: var(--soft);
  border: 1px solid var(--bd);
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* ---------- Metallic 4-Rank Bar (Gamified Modo OP Signature) ---------- */
.rank-strip {
  border-top: 1px solid var(--bd);
  background: var(--soft);
  padding: 12px 16px 14px;
}

.rank-strip-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
  font-size: 11.5px;
  font-weight: 800;
}

.rank-strip-label {
  color: var(--mut);
  letter-spacing: 0.3px;
  text-transform: uppercase;
  font-size: 10.5px;
}

.rank-current {
  font-size: 12px;
  font-weight: 850;
  color: var(--ink);
}

.rank-bar-track {
  position: relative;
  height: 8px;
  border-radius: 999px;
  background: var(--bd);
  overflow: hidden;
  margin-bottom: 9px;
}

.rank-bar-fill {
  height: 100%;
  border-radius: 999px;
  transition: width 0.35s cubic-bezier(0.22, 1, 0.36, 1), background 0.3s ease;
}

.rank-bar-fill.tier-bronze {
  background: linear-gradient(90deg, #8B5733 0%, #C68652 55%, #9B6139 100%);
}

.rank-bar-fill.tier-silver {
  background: linear-gradient(90deg, #767E8A 0%, #CBD5E1 52%, #8A93A2 100%);
}

.rank-bar-fill.tier-titanium {
  background: linear-gradient(90deg, #3B608C 0%, #93C5FD 50%, #4E78A8 100%);
}

.rank-bar-fill.tier-gold {
  background: linear-gradient(90deg, #B77908 0%, #F7CE5B 42%, #FFF0AE 54%, #D99B16 78%, #9A6604 100%);
  background-size: 220% 100%;
  animation: metalGlint 3.2s linear infinite;
}

@keyframes metalGlint {
  0% { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}

.rank-tiers {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 5px;
}

.rank-tier-btn {
  border: 1px solid var(--bd);
  background: var(--card);
  color: var(--mut);
  border-radius: 6px;
  padding: 5px 4px;
  font-size: 10.5px;
  font-weight: 750;
  line-height: 1.25;
  text-align: center;
  transition: border-color 0.15s ease, color 0.15s ease, transform 0.12s ease;
}

.rank-tier-btn strong {
  display: block;
  font-size: 11px;
  color: var(--ink);
  font-weight: 850;
}

.rank-tier-btn.active {
  border-color: var(--gold-hi);
  background: var(--gold-bg);
  color: var(--gold);
}

.rank-tier-btn.active strong {
  color: var(--gold);
}

.rank-tier-note {
  margin: 7px 0 0;
  font-size: 11.5px;
  color: var(--mut);
  line-height: 1.4;
}

/* ---------- Convenient Pre-filled Email & Copy Actions ---------- */
.invite-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.copy-feedback {
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  font-weight: 750;
  color: var(--ok);
  margin-left: 4px;
}

.format-card code,
.topic-row code,
.faq-answer code {
  font: 12.5px/1.3 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  background: var(--soft);
  border: 1px solid var(--bd);
  border-radius: 4px;
  padding: 1px 5px;
  color: var(--ink);
}

.topic-row h3 {
  margin: 0 0 3px;
  font-size: 15px;
  font-weight: 850;
}

.topic-row p {
  margin: 0;
  font-size: 13.5px;
  color: var(--mut);
  line-height: 1.5;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 820px;
}

.faq-item {
  background: var(--card);
  border: 1px solid var(--bd);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: border-color 0.15s ease;
}

.faq-item[open] {
  border-color: var(--gold-bd);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 17px 20px;
  font-size: 15.5px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  line-height: 1.4;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  flex: none;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: var(--soft);
  border: 1px solid var(--bd);
  color: var(--mut);
  font-size: 16px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.15s ease, background-color 0.15s ease, color 0.15s ease;
}

.faq-item[open] summary::after {
  content: "−";
  background: var(--gold-bg);
  border-color: var(--gold-bd);
  color: var(--gold);
}

.faq-answer {
  padding: 0 20px 18px;
  font-size: 14.5px;
  color: var(--mut);
  line-height: 1.62;
}

.faq-answer p {
  margin: 0;
}

.faq-answer p + p {
  margin-top: 8px;
}

.foot-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-bottom: 14px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--mut);
}

.foot-links a:hover {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- Responsive Breakpoints ---------- */
@media (min-width: 720px) {
  .hd-cta { display: inline-flex; }
  .method-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .apps-grid { grid-template-columns: repeat(2, 1fr); }
  .reviews-grid { grid-template-columns: repeat(3, 1fr); }
  .suggest-card { grid-template-columns: 1fr 1.1fr; padding: 34px; gap: 34px; align-items: start; }
  .stats-strip { grid-template-columns: repeat(4, 1fr); }
  .formats-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .topics-list { grid-template-columns: repeat(2, 1fr); gap: 12px; }
}

@media (min-width: 900px) {
  .hd-nav { display: flex; }
  .hero { padding: 54px 0 64px; }
  .hero-grid { grid-template-columns: 1.05fr 0.95fr; gap: 40px; }
}
