@import url("../opendesign/design-systems/recebora-product/tokens/colors_and_type.css");

:root { color: var(--rc-ink); background: var(--rc-paper); font-family: var(--rc-font-body); }
* { box-sizing: border-box; }
body { min-width: 320px; margin: 0; }
header { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 12px max(22px, calc((100vw - 1160px) / 2)); border-bottom: 1px solid var(--rc-line); background: #fff; }
header img { display: block; width: 166px; height: 44px; }
header span { color: var(--rc-muted); font-size: 12px; font-weight: 750; }
main { width: min(1160px, calc(100% - 36px)); margin: auto; }
.eyebrow { margin: 0; color: var(--rc-green); font-size: 11px; font-weight: 800; text-transform: uppercase; }
.hero-brand { padding: 76px 0 64px; }
.hero-brand h1 { margin: 10px 0 14px; font-family: var(--rc-font-display); font-size: 72px; line-height: 1; letter-spacing: 0; }
.hero-brand > p:last-of-type { max-width: 780px; color: var(--rc-muted); font-size: 19px; line-height: 1.65; }
.logo-stage { display: grid; place-items: center; min-height: 270px; margin-top: 42px; border: 1px solid var(--rc-line); border-radius: 8px; background: #fff; }
.logo-stage img { width: min(560px, 78%); }
.meaning, .palette, .rules { display: grid; grid-template-columns: 0.75fr 1.25fr; gap: 70px; padding: 72px 0; border-top: 1px solid var(--rc-line); }
h2 { margin: 8px 0 0; font-family: var(--rc-font-display); font-size: 42px; line-height: 1.1; letter-spacing: 0; }
.meaning dl { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; margin: 0; border-top: 1px solid var(--rc-line); }
.meaning dl div { padding: 20px 20px 20px 0; border-bottom: 1px solid var(--rc-line); }
.meaning dl div:nth-child(odd) { border-right: 1px solid var(--rc-line); }
.meaning dl div:nth-child(even) { padding-left: 20px; }
.meaning dt { font-weight: 800; }
.meaning dd { margin: 8px 0 0; color: var(--rc-muted); line-height: 1.5; }
.palette > div > p:last-child { color: var(--rc-muted); line-height: 1.6; }
.swatches { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--rc-line); border-left: 1px solid var(--rc-line); }
.swatches article { min-height: 140px; display: flex; flex-direction: column; justify-content: space-between; padding: 18px; border-right: 1px solid var(--rc-line); border-bottom: 1px solid var(--rc-line); }
.swatches span { font-size: 12px; }
.green { background: var(--rc-green); color: #fff; }
.blue { background: var(--rc-blue); color: #fff; }
.amber { background: var(--rc-amber); color: var(--rc-ink); }
.ink { background: var(--rc-ink); color: #fff; }
.paper { background: var(--rc-paper); }
.coral { background: var(--rc-coral); color: #fff; }
.rule-grid { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--rc-line); }
.rule-grid article { padding: 20px 20px 20px 0; border-bottom: 1px solid var(--rc-line); }
.rule-grid article:nth-child(odd) { border-right: 1px solid var(--rc-line); }
.rule-grid article:nth-child(even) { padding-left: 20px; }
.rule-grid p { margin-bottom: 0; color: var(--rc-muted); line-height: 1.5; }
.legal-note { margin: 0 calc(50% - 50vw); padding: 44px max(calc((100vw - 1160px) / 2), 18px); border-top: 4px solid var(--rc-amber); background: #fff; }
.legal-note p { max-width: 980px; color: var(--rc-muted); line-height: 1.6; }

@media (max-width: 760px) {
  main { width: min(100% - 28px, 1160px); }
  .hero-brand { padding-top: 52px; }
  .hero-brand h1 { font-size: 50px; }
  .logo-stage { min-height: 190px; }
  .meaning, .palette, .rules { grid-template-columns: 1fr; gap: 28px; padding: 54px 0; }
  h2 { font-size: 34px; }
  .meaning dl, .rule-grid, .swatches { grid-template-columns: 1fr; }
  .meaning dl div, .meaning dl div:nth-child(odd), .meaning dl div:nth-child(even), .rule-grid article, .rule-grid article:nth-child(odd), .rule-grid article:nth-child(even) { padding: 18px 0; border-right: 0; }
  .swatches article { min-height: 110px; }
}
