/* Ratin Special — brand layer (logo yellow). Design only: no JS / IDs / API touched.
   Loaded LAST on every page. Change the brand colour here. */
:root { --brand: #ffca0a; --brand-2: #ffd60a; --brand-rgb: 255,202,10; --brand-ink: #111100; }
::selection { background: var(--brand); color: var(--brand-ink); }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }

/* nav: clear, active-looking links, clear main button */
.nav-links a { color: rgba(245,245,247,.85); font-size: 13px; font-weight: 500; padding: 8px 14px; border-radius: 980px; transition: background .2s, color .2s; }
.nav-links a:hover, .nav-links a.active { color: var(--brand-ink); background: var(--brand); }
.nav-actions .btn-primary { height: 34px; font-size: 13px; font-weight: 600; }
.nav-actions .btn-ghost { color: var(--brand-2); border: 1px solid rgba(var(--brand-rgb), .4); }
.nav-actions .btn-ghost:hover { background: rgba(var(--brand-rgb), .12); text-decoration: none; }

/* buttons: pill, soft glow, tactile */
.btn-primary, .co-btn { background: linear-gradient(100deg, #ffd60a, #ffca0a 60%, #efb800); color: var(--brand-ink); font-weight: 600; box-shadow: 0 8px 26px -8px rgba(var(--brand-rgb), .55); transition: transform .15s, filter .2s, box-shadow .2s; }
.btn-primary:hover:not(:disabled), .co-btn:hover:not(:disabled) { filter: brightness(1.06); transform: translateY(-1px); box-shadow: 0 12px 30px -8px rgba(var(--brand-rgb), .65); }
.btn-ghost { border-color: rgba(255,255,255,.24); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand-2); background: rgba(var(--brand-rgb), .08); }

/* headings & small labels */
.eyebrow { color: var(--brand-2); }
.hero h1 em, .grad { background: linear-gradient(100deg, #ffe45c, #ffca0a 55%, #efb800); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.section-head { margin-bottom: 44px; }
.section { padding: 96px 0; }

/* cards: clean, consistent, gentle hover */
.feat, .tab-card, .review, .faq details, .community { border-radius: 22px; }
.feat-ico { background: rgba(var(--brand-rgb), .14); color: var(--brand); }
.faq details[open] { border-color: rgba(var(--brand-rgb), .45); }
.faq summary { cursor: pointer; }
.stars, .star, .rating { color: var(--brand); }
a { text-decoration-color: rgba(var(--brand-rgb), .5); }
input:focus, textarea:focus, select:focus { border-color: var(--brand) !important; box-shadow: 0 0 0 3px rgba(var(--brand-rgb), .2) !important; }

/* progress bar & footer links */
.progress { background: linear-gradient(90deg, #ffd60a, #ffca0a); }
.foot a:hover { color: var(--brand-2); }

@media (max-width: 700px) {
  .section { padding: 64px 0; }
  .nav-links a { color: #e6e6e8; border: 1px solid rgba(255,255,255,.2); }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

/* ---------- Features cards (01-10): static, no animation ---------- */
.tab-grid, .tab-grid .wrap, #features .wrap { perspective: none !important; }
.js .tab-grid .reveal, .js .tab-grid .reveal:not(.in), .js .tab-grid .reveal.in, .js .tab-grid .reveal.in.done,
.tab-grid .tab-card, .tab-grid .tab-card:hover {
  opacity: 1 !important; transform: none !important; transition: none !important; animation: none !important;
  will-change: auto !important; box-shadow: none !important; }
.tab-grid .tab-card:hover { border-color: var(--line); }
.tab-grid .tab-card .glare { display: none !important; }
.tab-grid .tab-card .feat-ico { box-shadow: none !important; }

/* ---------- Product cards (#buy): static, no animation ---------- */
#buy .wrap, #buy .pricing-grid { perspective: none !important; }
.js #buy .reveal, .js #buy .reveal:not(.in), .js #buy .reveal.in, .js #buy .reveal.in.done,
#buy .pricing-grid > .buy, #buy .pricing-grid > .buy:hover, #buy .buy, #buy .buy:hover {
  opacity: 1 !important; transform: none !important; transition: none !important; animation: none !important;
  will-change: auto !important; }
#buy .buy:hover { border-color: inherit; }
#buy .buy .glare { display: none !important; }
#buy .buy .btn, #buy .buy .btn:hover { transform: none !important; transition: none !important; box-shadow: none !important; }

/* ---------- Dark / White mode button (landing page nav + My account) ---------- */
.js-theme-btn { white-space: nowrap; width: 40px; min-width: 40px; justify-content: center; padding: 0 !important; font-size: 19px !important; line-height: 1; }
.nav-actions .js-theme-btn { height: 34px; color: var(--brand-2); }
.nav-actions { flex-shrink: 0; gap: 6px; }
.nav-links a { padding: 8px 9px; }
/* phones: site.css hides ghost buttons in the nav; keep the Dark / White button visible but compact */
@media (max-width: 960px) {
  .nav-actions .btn-ghost.js-theme-btn { display: inline-flex; width: 40px; min-width: 40px; padding: 0; font-size: 19px; }
}
@media (max-width: 430px) {
  .nav .brand { font-size: 17px; gap: 8px; }
  .nav-actions { gap: 5px; }
  .nav-actions .btn-primary { font-size: 12.5px; padding: 0 11px; }
  .nav-actions .btn-ghost.js-theme-btn { width: 34px; min-width: 34px; padding: 0; font-size: 19px; }
  .nav-actions .btn-ghost.js-theme-btn::before { content: none; }
}

/* At laptop widths, keep the centered section links on their own row so they
   cannot collide with the account and purchase buttons. */
@media (min-width: 961px) and (max-width: 1180px) {
  .nav-in {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: auto auto;
    height: auto;
    min-height: 64px;
    padding: 8px 24px 0;
    gap: 4px 16px;
  }
  .nav-in > .brand { grid-column: 1; grid-row: 1; min-width: 0; }
  .nav-in > .nav-actions { grid-column: 2; grid-row: 1; }
  .nav-in > .nav-links {
    position: static;
    grid-column: 1 / -1;
    grid-row: 2;
    justify-self: center;
    transform: none;
    max-width: 100%;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .nav-in > .nav-links::-webkit-scrollbar { display: none; }
}
