/* ---------------------------------------------------------------------------
   RDTS Suite brand.

   Tokens lifted verbatim from ~/rdts-redesign/site/tailwind.config.mjs so this
   store and the main site are the same company at a glance. If a value here
   drifts from that file, that file wins.
   --------------------------------------------------------------------------- */

@font-face{font-family:Geist;src:url(../fonts/geist-sans-latin-400-normal.woff2)format('woff2');font-weight:400;font-display:swap}
@font-face{font-family:Geist;src:url(../fonts/geist-sans-latin-500-normal.woff2)format('woff2');font-weight:500;font-display:swap}
@font-face{font-family:Geist;src:url(../fonts/geist-sans-latin-600-normal.woff2)format('woff2');font-weight:600;font-display:swap}
@font-face{font-family:Geist;src:url(../fonts/geist-sans-latin-700-normal.woff2)format('woff2');font-weight:700;font-display:swap}
@font-face{font-family:'Geist Mono';src:url(../fonts/geist-mono-latin-400-normal.woff2)format('woff2');font-weight:400;font-display:swap}
@font-face{font-family:'Geist Mono';src:url(../fonts/geist-mono-latin-500-normal.woff2)format('woff2');font-weight:500;font-display:swap}

:root{
  --ink:#0E1116; --ink-deep:#070A0E; --ink-card:#161B22; --ink-border:#1F262F;
  --cream:#F5EFE0; --cream-light:#FAF6EB; --cream-deep:#ECE3CE; --cream-border:#E2D8BE;
  --saffron:#FFC83D; --saffron-light:#FFD970; --saffron-deep:#E5A700; --saffron-shadow:#7A5A00;
  --bone:#F5EFE0; --bone-dim:#C5BFAE; --bone-mute:#9DA0A6;
  --coal:#1A1410; --coal-dim:#5A4F42; --coal-mute:#7A6E5E;
  --r-card:14px; --r-soft:10px;
  --shell:min(1180px,100% - 3rem);
}

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

/* Anchor targets must clear the sticky pill, otherwise jumping to a section lands with its heading
   hidden underneath the nav. */
html{scroll-padding-top:5.5rem;scroll-behavior:smooth}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

body{
  margin:0; background:var(--ink); color:var(--bone);
  font-family:Geist,system-ui,-apple-system,sans-serif;
  font-size:17px; line-height:1.65;
  -webkit-font-smoothing:antialiased;
}

img{max-width:100%;height:auto;display:block}
a{color:inherit}

.shell{width:var(--shell);margin-inline:auto}

/* Sections alternate ink and cream. `.on-cream` flips every text token rather
   than restating colours per element, so a section can be recoloured by
   changing one class. */
section{padding:clamp(3.5rem,9vw,7rem) 0}
.on-cream{background:var(--cream);color:var(--coal)}
.on-cream .muted{color:var(--coal-dim)}
.on-cream .eyebrow{border-color:var(--cream-border);color:var(--saffron-shadow)}
.on-cream .card{background:var(--cream-light);border-color:var(--cream-border);box-shadow:0 1px 0 0 rgba(255,255,255,.6) inset,0 8px 32px -20px rgba(26,20,16,.18)}
.on-deep{background:var(--ink-deep)}
.muted{color:var(--bone-dim)}

/* --- type ---------------------------------------------------------------- */

.display{
  font-size:clamp(2.6rem,7vw,5.2rem); line-height:1.02;
  letter-spacing:-.035em; font-weight:700; margin:0 0 1.5rem;
}
.display .accent{color:var(--saffron)}

h2{font-size:clamp(1.9rem,3.6vw,3rem);line-height:1.08;letter-spacing:-.03em;font-weight:700;margin:0 0 1rem}
h3{font-size:1.22rem;letter-spacing:-.02em;font-weight:600;margin:0 0 .5rem}
p{margin:0 0 1.1rem;max-width:62ch}
.lead{font-size:1.12rem}

/* The blinking underscore from the main site's hero. */
.cursor{
  display:inline-block;width:.5em;height:.09em;margin-left:.12em;
  background:var(--saffron);vertical-align:baseline;
  animation:blink 1.05s steps(2,jump-none) infinite;
}
@keyframes blink{0%,50%{opacity:1}51%,100%{opacity:0}}

/* Mono eyebrow label in a bordered pill with a saffron dot. */
.eyebrow{
  display:inline-flex;align-items:center;gap:.55rem;
  font-family:'Geist Mono',ui-monospace,monospace;
  font-size:.72rem;letter-spacing:.16em;text-transform:uppercase;
  color:var(--saffron);
  border:1px solid var(--ink-border);border-radius:999px;
  padding:.42rem .95rem;margin-bottom:1.5rem;
}
.eyebrow i{width:6px;height:6px;border-radius:50%;background:var(--saffron);flex:none}

/* --- buttons ------------------------------------------------------------- */

.btn{
  display:inline-flex;align-items:center;gap:.5rem;
  padding:.8rem 1.5rem;border-radius:999px;
  font-weight:600;font-size:.97rem;text-decoration:none;
  border:1px solid transparent;transition:background .15s,border-color .15s,transform .15s;
}
.btn-primary{background:var(--saffron);color:var(--coal)}
.btn-primary:hover{background:var(--saffron-deep);transform:translateY(-1px)}
.btn-ghost{border-color:var(--ink-border);color:var(--bone)}
.btn-ghost:hover{border-color:var(--saffron);color:var(--saffron)}
.on-cream .btn-ghost{border-color:var(--cream-border);color:var(--coal)}
.on-cream .btn-ghost:hover{border-color:var(--saffron-deep);color:var(--saffron-shadow)}
.btn-row{display:flex;flex-wrap:wrap;gap:.75rem;margin-top:2rem}

/* --- nav ----------------------------------------------------------------- */

/* The wrapper is a positioning shell and nothing else. It used to paint a full-width
   linear-gradient band, which read as a dark rectangle sliced across whatever was scrolling
   underneath, and looked especially broken over the cream sections. The pill carries its own
   blurred background, so the band was pure damage.

   pointer-events:none on the shell stops its invisible full-width box from swallowing clicks on
   the content behind it; the pill turns them back on for itself. */
.nav-wrap{position:sticky;top:0;z-index:50;padding:.9rem 0;pointer-events:none;background:none}

.nav{
  pointer-events:auto;
  display:flex;align-items:center;gap:1.5rem;
  border:1px solid var(--ink-border);border-radius:999px;
  padding:.55rem .65rem .55rem 1.15rem;
  /* Opaque enough to stay legible over both ink and cream, since it floats over both. */
  background:rgba(14,17,22,.86);
  backdrop-filter:blur(14px) saturate(140%);
  -webkit-backdrop-filter:blur(14px) saturate(140%);
  box-shadow:0 8px 24px -8px rgba(0,0,0,.45),0 2px 4px -2px rgba(0,0,0,.5);
}
.nav .brand{display:flex;align-items:center;gap:.6rem;font-weight:700;letter-spacing:-.02em;text-decoration:none;font-size:1.05rem}
.nav .brand img{width:30px;height:30px;border-radius:6px}
.nav .links{display:flex;gap:1.4rem;margin-left:auto;font-size:.95rem}
.nav .links a{text-decoration:none;color:var(--bone-dim)}
.nav .links a:hover{color:var(--saffron)}
.nav .btn{padding:.55rem 1.15rem;font-size:.9rem}

/* --- cards / grids ------------------------------------------------------- */

.grid{display:grid;gap:1.25rem}
.grid-2{grid-template-columns:repeat(auto-fit,minmax(320px,1fr))}
.grid-3{grid-template-columns:repeat(auto-fit,minmax(270px,1fr))}

.card{
  background:var(--ink-card);border:1px solid var(--ink-border);
  border-radius:var(--r-card);padding:1.6rem;
  box-shadow:0 1px 0 0 rgba(255,255,255,.04) inset,0 8px 32px -16px rgba(0,0,0,.6);
  display:flex;flex-direction:column;
}
.card p{font-size:.96rem}

/* --- pricing ------------------------------------------------------------- */

.price{font-size:2.9rem;font-weight:700;letter-spacing:-.035em;line-height:1;margin:.4rem 0 .1rem}
.price small{font-size:.92rem;font-weight:400;letter-spacing:0;color:var(--bone-mute)}
.on-cream .price small{color:var(--coal-mute)}

.featured{border-color:var(--saffron);box-shadow:0 0 0 4px rgba(255,200,61,.18)}
.tag{
  position:absolute;top:-.7rem;left:1.6rem;
  background:var(--saffron);color:var(--coal);
  font-family:'Geist Mono',monospace;font-size:.66rem;letter-spacing:.16em;text-transform:uppercase;
  padding:.28rem .7rem;border-radius:999px;font-weight:500;
}
.card.featured{position:relative}

.features{list-style:none;margin:1.2rem 0 0;padding:0;display:grid;gap:.6rem;font-size:.95rem}
.features li{display:flex;gap:.65rem;align-items:flex-start;color:var(--bone-dim)}
.on-cream .features li{color:var(--coal-dim)}
.features li::before{content:"";flex:none;width:16px;height:16px;margin-top:.28rem;border-radius:50%;background:var(--saffron);opacity:.22}
.card .btn-row{margin-top:auto;padding-top:1.6rem}

/* --- footer -------------------------------------------------------------- */

/* Named rdts-footer, NOT site-footer. Hello Elementor owns `.site-footer` and styles it in both
   theme.css and header-footer.css, so using that name meant inheriting the parent's layout on top
   of ours. The footer came out 500px wide and centred inside a 721px viewport while every other
   band spanned edge to edge.

   width/max-width are stated outright rather than left to inherit, because the parent's rules are
   what caused this and a child theme should not depend on them staying put across updates. */
.rdts-footer{
  display:block;width:100%;max-width:none;margin-inline:0;
  background:var(--ink-deep);border-top:1px solid var(--ink-border);
  padding:3rem 0;font-size:.9rem;color:var(--bone-mute);
}
.rdts-footer .row{display:flex;flex-wrap:wrap;gap:1.5rem;align-items:center;justify-content:space-between}
.rdts-footer a{color:var(--bone-dim);text-decoration:none}
.rdts-footer a:hover{color:var(--saffron)}

/* --- misc ---------------------------------------------------------------- */

.spec{font-family:'Geist Mono',monospace;font-size:.85rem;color:var(--bone-mute)}
.on-cream .spec{color:var(--coal-mute)}
.center{text-align:center}
.center p{margin-inline:auto}
.stack-sm > * + *{margin-top:.4rem}

@media (max-width:640px){
  .nav .links{display:none}
  body{font-size:16px}
}
