/* LII shared stylesheet.
 *
 * Every rule here was duplicated across two or more pages. A link-hover fix
 * once missed two of them; that is what this file prevents.
 *
 * WHAT IS DELIBERATELY NOT HERE, AND WHY
 *
 * A rule shared by some pages is not automatically safe to make global --
 * moving it also applies it to pages that never had it. Extracting everything
 * shared by 2+ pages changed all seven pages: `header` gained a 60px bottom
 * margin, the footer dropped from 16px to 12px.
 *
 * "The page defines the same selector" is not a sufficient guard either.
 * Overriding requires the page to set the same PROPERTY. Every page defines
 * `.lede`, but the blog's sets font-size, colour and margin and no max-width,
 * so a shared `max-width: 640px` reached it anyway and narrowed the page.
 *
 * A rule is here only when, for every page that lacks it, that page either
 * sets every property this rule sets, or the selector matches no element on
 * that page -- checked in a browser rather than assumed.
 *
 * Verified by pixel-diffing all seven pages at 375px and 1280px with
 * animations disabled: every page byte-identical before and after.
 *
 * Loaded before each page's inline <style>, so page rules still override.
 */

/* Chrome, motion and shared components */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

.aurora {
      position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden;
      filter: blur(70px); opacity: 0.32;
    }

.aurora::before, .aurora::after {
      content: ''; position: absolute; width: 55vw; height: 55vw; border-radius: 50%;
      will-change: transform; animation: drift 60s linear infinite;
    }

.aurora::before {
      background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
      top: -25vw; left: -15vw;
    }

.aurora::after {
      background: radial-gradient(circle, var(--accent-3) 0%, transparent 70%);
      bottom: -30vw; right: -20vw;
      animation-direction: reverse; animation-duration: 75s;
    }

@keyframes drift {
      0%   { transform: translate(0, 0)         scale(1); }
      33%  { transform: translate(15vw, 12vh)  scale(1.06); }
      66%  { transform: translate(-12vw, 16vh) scale(0.96); }
      100% { transform: translate(0, 0)         scale(1); }
    }

.grain {
      position: fixed; inset: 0; z-index: 1; pointer-events: none;
      opacity: 0.035;
      mix-blend-mode: overlay;
      background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.6 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
    }

.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: -0.02em; font-size: 17px; text-decoration: none; color: var(--text); }

footer .powered strong { color: var(--text-dim); }

/* Shared, first defined in for */
header { padding: 24px 0; border-bottom: 1px solid var(--panel-stroke); }

header .container { display: flex; align-items: center; justify-content: space-between; }

.brand-mark {
      width: 28px; height: 28px; border-radius: 8px;
      background: linear-gradient(135deg, var(--accent), var(--accent-2));
      display: flex; align-items: center; justify-content: center;
      font-weight: 800; font-size: 13px; color: var(--bg);
    }

.back-link { color: var(--text-dim); text-decoration: none; font-size: 13px; }

.back-link:hover { color: var(--text); }

footer a { color: var(--muted); text-decoration: none; }

/* Shared, first defined in for/small-business */
.hero { padding: 64px 0 40px; }

.gradient-text { background: linear-gradient(135deg, var(--accent), var(--accent-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }

.price-card {
      background: linear-gradient(180deg, rgba(94,179,255,0.06), rgba(255,255,255,0.02));
      border: 1px solid var(--accent);
      border-radius: 16px;
      padding: 32px;
      margin: 32px 0;
      box-shadow: 0 0 0 1px var(--accent), 0 0 32px -12px var(--accent);
    }

.price-card .ribbon { display: inline-block; padding: 4px 12px; border-radius: 100px; background: var(--accent); color: var(--bg); font-size: 12px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 12px; }

.price-card .name { font-size: 24px; font-weight: 700; margin-bottom: 8px; }

.price-card .price { font-size: 36px; font-weight: 800; margin-bottom: 4px; }

.price-card .price-sub { color: var(--text-dim); font-size: 14px; margin-bottom: 20px; }

.price-card .setup { background: rgba(94,179,255,0.08); padding: 12px 16px; border-radius: 8px; font-size: 15px; margin-bottom: 16px; }

.price-card ul { list-style: none; margin: 16px 0 24px; }

.price-card li { padding: 8px 0; padding-left: 24px; position: relative; color: var(--text); font-size: 15px; }

.price-card li::before { content: '✓'; position: absolute; left: 0; color: var(--accent-3); font-weight: 700; }

.price-card .cta { display: inline-block; padding: 14px 28px; background: var(--accent); color: var(--bg); border-radius: 10px; font-weight: 700; text-decoration: none; font-size: 15px; transition: background 200ms var(--ease-out), transform 160ms var(--ease-out); cursor: pointer; border: 0; }

.price-card .cta:hover { background: #7ec0ff; }

.price-card .cta:active { transform: scale(0.97); }

.section { padding: 48px 0; }

.section h2 { font-size: 28px; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 20px; }

.section p { font-size: 16px; margin-bottom: 16px; color: var(--text); }

.section ul { list-style: none; margin: 16px 0; }

.section li { padding: 10px 0; padding-left: 28px; position: relative; color: var(--text); font-size: 16px; }

.section li::before { content: '→'; position: absolute; left: 0; color: var(--accent); font-weight: 700; }

.compare-card { background: var(--panel); border: 1px solid var(--panel-stroke); border-radius: 12px; padding: 24px; margin: 0; }

.compare-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 24px; }

.compare-card h3 { font-size: 18px; font-weight: 600; margin-bottom: 8px; }

.compare-card .price { color: var(--accent); font-weight: 700; font-size: 20px; margin: 8px 0; }

.compare-card p { color: var(--text-dim); font-size: 14px; }

.compare-card a { color: var(--accent); text-decoration: none; font-weight: 600; }

.compare-card a:hover { color: var(--text); }

/* Shared, first defined in blog */
footer .powered { font-size: 11px; letter-spacing: 0.04em; text-transform: uppercase; font-family: 'JetBrains Mono', monospace; }


/* Locale picker. Moved here for T1-B: the picker now appears in every
   page's header, not just the landing page's. */
.locale-picker { position: relative; }

.locale-picker[hidden] { display: none; }

.locale-btn {
      display: inline-flex; align-items: center; gap: 8px;
      padding: 9px 12px; border-radius: 8px;
      background: var(--panel); border: 1px solid var(--panel-stroke);
      color: var(--text); font: inherit; font-size: 13px; font-weight: 600;
      cursor: pointer;
      transition: background-color 200ms var(--ease-out), border-color 200ms var(--ease-out), transform 100ms var(--ease-out);
    }

.locale-btn:hover { background: rgba(255,255,255,0.06); border-color: var(--panel-stroke-2); }

.locale-btn:active { transform: scale(0.97); }

.locale-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.locale-btn .chev { transition: transform 200ms var(--ease-out); opacity: 0.7; }

.locale-btn[aria-expanded="true"] .chev { transform: rotate(180deg); opacity: 1; }

.locale-current-code {
      padding: 1px 6px; border-radius: 4px;
      background: var(--bg-2); color: var(--text-dim);
      font-size: 11px; font-weight: 700; letter-spacing: 0.04em;
    }

.locale-menu {
      position: absolute; right: 0; top: calc(100% + 8px);
      min-width: 240px;
      background: var(--bg-2);
      border: 1px solid var(--panel-stroke);
      border-radius: 12px;
      box-shadow: 0 16px 40px rgba(0,0,0,0.45);
      padding: 6px;
      z-index: 60;
    }

.locale-menu[hidden] { display: none; }

.locale-menu-head {
      display: flex; align-items: center; gap: 8px;
      padding: 10px 10px 8px;
      border-bottom: 1px solid var(--panel-stroke);
      margin-bottom: 4px;
      color: var(--text-dim); font-size: 12px;
    }

.usd-chip {
      padding: 2px 7px; border-radius: 4px;
      background: var(--bg); color: var(--accent);
      border: 1px solid var(--panel-stroke);
      font-size: 10px; font-weight: 800; letter-spacing: 0.06em;
    }

.locale-menu-list { list-style: none; margin: 0; padding: 0; }

.locale-menu-list li { margin: 0; padding: 0; }

.locale-item {
      display: grid;
      grid-template-columns: 14px 1fr auto;
      align-items: center;
      gap: 10px;
      width: 100%; padding: 8px 10px;
      border-radius: 7px;
      background: transparent; border: 1px solid transparent;
      color: var(--text); font: inherit; font-size: 13px;
      cursor: pointer;
      transition: background-color 150ms var(--ease-out), border-color 150ms var(--ease-out), color 150ms var(--ease-out);
      text-align: left;
    }

.locale-item:hover { background: var(--panel); }

.locale-item:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }

.locale-item[aria-current="true"] {
      border-color: var(--accent);
      box-shadow: 0 0 0 1px rgba(126, 192, 255, 0.18) inset;
    }

.locale-item .locale-name { color: var(--text); font-weight: 500; }

.locale-item .locale-dot {
      width: 6px; height: 6px; border-radius: 50%;
      background: transparent; border: 1px solid var(--text-dim);
      transition: background-color 200ms var(--ease-out), border-color 200ms var(--ease-out);
    }

.locale-item .locale-dot.is-active {
      background: var(--accent);
      border-color: var(--accent);
      box-shadow: 0 0 6px rgba(126, 192, 255, 0.5);
    }

.locale-item .locale-code {
      padding: 2px 7px; border-radius: 4px;
      background: var(--bg); color: var(--text-dim);
      border: 1px solid var(--panel-stroke);
      font-size: 10px; font-weight: 700; letter-spacing: 0.04em;
    }

.locale-item[aria-current="true"] .locale-code { color: var(--accent); border-color: rgba(126, 192, 255, 0.3); }
