/* Rebellion Digital — static, mobile-first. Brand from the original store: Assistant font,
   ink #121212 on white with #F3F3F3 panels; logo orange #F66A14 (decorative / buttons with dark text),
   darker orange #B84A06 for orange text on white (AA contrast). */
:root {
  --orange: #F66A14;
  --orange-text: #B84A06;
  --orange-soft: #FFF1E8;
  --ink: #121212;
  --ink-2: #3a3a3a;
  --panel: #F3F3F3;
  --line: #e4e4e4;
  --white: #ffffff;
  --radius: 14px;
  --font: "Assistant", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body { margin: 0; font-family: var(--font); font-size: 1.0625rem; line-height: 1.6; color: var(--ink); background: var(--white); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--orange-text); }
a:focus-visible, .btn:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 16px; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.1rem, 7vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 4.5vw, 2.3rem); font-weight: 800; }
h3 { font-size: 1.25rem; font-weight: 700; }
p { margin: 0 0 1em; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 12px; z-index: 10; }
.skip:focus { left: 8px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 5; background: rgba(255,255,255,.95); backdrop-filter: saturate(1.2) blur(6px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand-name { font-weight: 800; font-size: 1.15rem; }
.nav { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; }
.nav a { display: inline-block; padding: 10px 10px; color: var(--ink); text-decoration: none; font-weight: 600; border-radius: 8px; }
.nav a:hover { background: var(--panel); }
.nav li:not(:last-child) { display: none; }          /* phones: just Contact */
.nav-cta { background: var(--orange); color: var(--ink) !important; }
.nav-cta:hover { background: #ff7d2e !important; }
@media (min-width: 720px) { .nav li:not(:last-child) { display: block; } }

/* Buttons */
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 48px; padding: 12px 22px; border-radius: 999px; font-weight: 700; text-decoration: none; border: 2px solid transparent; transition: transform .15s ease, background .15s ease; }
.btn-primary { background: var(--orange); color: var(--ink); }
.btn-primary:hover { background: #ff7d2e; transform: translateY(-1px); }
.btn-ghost { background: var(--white); color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--panel); }

/* Hero */
.hero { padding: 48px 0 56px; background: linear-gradient(180deg, var(--orange-soft) 0%, var(--white) 100%); }
.hero-inner { display: grid; gap: 28px; align-items: center; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-weight: 700; font-size: .85rem; color: var(--orange-text); margin-bottom: .6em; }
.accent { color: var(--orange-text); }
.lead { font-size: 1.2rem; color: var(--ink-2); max-width: 36em; }
.hero-logo { width: 150px; justify-self: start; }
@media (min-width: 860px) {
  .hero { padding: 88px 0 96px; }
  .hero-inner { grid-template-columns: 1.4fr 1fr; }
  .hero-logo { width: 250px; justify-self: center; }
}

/* Sections */
.section { padding: 56px 0; }
.section-alt { background: var(--panel); }
.section-dark { background: var(--ink); color: #fff; }
.section-dark a:not(.btn) { color: #ffb27f; }
.section-lead { color: var(--ink-2); margin-bottom: 1.6em; }
@media (min-width: 860px) { .section { padding: 80px 0; } }

/* Product cards */
.cards { display: grid; gap: 20px; }
@media (min-width: 760px) { .cards { grid-template-columns: 1fr 1fr; } }
.card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: 0 6px 20px rgba(0,0,0,.05); }
.card-logo { display: flex; align-items: center; gap: 12px; min-height: 64px; margin-bottom: 12px; text-decoration: none; }
.card-logo img { width: 210px; }
.card-tag { font-weight: 700; color: var(--orange-text); font-size: .95rem; margin-bottom: .5em; }
.card-btn { margin-top: auto; align-self: flex-start; }
.muted { color: var(--ink-2); font-style: italic; }
.wordmark { font-size: 2.6rem; font-weight: 800; letter-spacing: -0.02em; color: var(--ink); line-height: 1; }
.badge { display: inline-block; background: var(--orange-soft); color: var(--orange-text); border: 1px solid #f9c6a3; font-weight: 700; font-size: .8rem; padding: 4px 10px; border-radius: 999px; text-transform: uppercase; letter-spacing: .06em; }

/* What we do */
.grid-3 { display: grid; gap: 16px; }
@media (min-width: 760px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }
.pillar { background: var(--white); border-radius: var(--radius); padding: 22px; border-top: 4px solid var(--orange); }

.about { max-width: 760px; }
.contact { max-width: 760px; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 20px 0; font-size: .95rem; color: var(--ink-2); }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; }
.site-footer p { margin: 0; }
.card-logo { flex-wrap: wrap; row-gap: 8px; }
.card-logo .badge { white-space: nowrap; }
.card-logo img.logo-horizontal { width: auto; height: 66px; }
/* Keep "Coming soon" beside the Oralogue logo on phones; it wraps underneath only below ~350px */
@media (max-width: 430px) {
  .card { padding: 24px 18px; }
  .card-logo:has(.logo-horizontal) { column-gap: 4px; }
  .card-logo img.logo-horizontal { margin-right: -7px; } /* overlaps only the SVG's empty right margin */
  .card-logo:has(.logo-horizontal) .badge { padding: 4px 8px; letter-spacing: .03em; }
}
@media (max-width: 380px) { .card-logo:has(.logo-horizontal) .badge { font-size: .74rem; } }
