/* Shared by every ActionCheese page: the site header, and the cheese details (colours match the app icon). */
:root {
  --cheese-light: #ffe08a;
  --cheese-deep: #e9a21a;
  --cheese-hole: #d98f0b;
  --wedge: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 48'%3E%3Cpath d='M4 26 22 7q3-3 6-1l32 20Z' fill='%23ffe08a'/%3E%3Cpath d='M4 26h56v16q0 3-3 3H7q-3 0-3-3Z' fill='%23ffc83d'/%3E%3Cg fill='%23d98f0b'%3E%3Ccircle cx='16' cy='35' r='4.5'/%3E%3Ccircle cx='33' cy='39' r='2.8'/%3E%3Ccircle cx='47' cy='33' r='5'/%3E%3C/g%3E%3Cg fill='%23f1b433'%3E%3Cellipse cx='27' cy='17' rx='3.4' ry='1.7'/%3E%3Cellipse cx='39' cy='21' rx='2.4' ry='1.2'/%3E%3C/g%3E%3C/svg%3E");
}

/* A small wedge before every eyebrow label */
.eyebrow::before {
  content: ""; display: inline-block; width: 1.5em; height: 1.1em; margin-right: 0.6em;
  vertical-align: -0.2em; background: var(--wedge) center / contain no-repeat;
}

/* Swiss-cheese headline word: cheese yellow with holes punched through */
.holey {
  color: var(--cheese);
  background:
    radial-gradient(circle at 28% 34%, var(--cheese-hole) 0 0.075em, transparent 0.08em) 0 0 / 1.2em 0.95em,
    radial-gradient(circle at 74% 72%, var(--cheese-hole) 0 0.05em, transparent 0.055em) 0 0 / 1.2em 0.95em,
    radial-gradient(circle at 60% 18%, var(--cheese-hole) 0 0.03em, transparent 0.035em) 0 0 / 0.8em 0.7em,
    var(--cheese);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Faint holes in the top corner of a card */
.holes-corner {
  background-image:
    radial-gradient(circle at calc(100% - 34px) 30px, rgba(255, 200, 61, 0.10) 0 11px, transparent 12px),
    radial-gradient(circle at calc(100% - 64px) 18px, rgba(255, 200, 61, 0.07) 0 5px, transparent 6px),
    radial-gradient(circle at calc(100% - 18px) 62px, rgba(255, 200, 61, 0.07) 0 6px, transparent 7px);
}

/* A slab of cheese: holes around the edges and a bite out of the top-right corner */
.slab { position: relative; isolation: isolate; }
.slab::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none;
  background:
    radial-gradient(circle at 6% 88%, var(--cheese-deep) 0 26px, transparent 27px),
    radial-gradient(circle at 0% 52%, var(--cheese-deep) 0 14px, transparent 15px),
    radial-gradient(circle at 46% 96%, var(--cheese-deep) 0 16px, transparent 17px),
    radial-gradient(circle at 58% 8%, var(--cheese-deep) 0 9px, transparent 10px),
    radial-gradient(circle at 97% 60%, var(--cheese-deep) 0 20px, transparent 21px),
    radial-gradient(circle at 88% 94%, var(--cheese-deep) 0 8px, transparent 9px);
  opacity: 0.55;
}
.bitten {
  --bite: radial-gradient(circle at calc(100% - 34px) -6px, #0000 30px, #000 31px),
          radial-gradient(circle at calc(100% + 6px) 32px, #0000 30px, #000 31px),
          radial-gradient(circle at calc(100% - 2px) 2px, #0000 34px, #000 35px);
  -webkit-mask: var(--bite); -webkit-mask-composite: source-in;
  mask: var(--bite); mask-composite: intersect;
}

/* The wedge sitting on top of the Mac monitor like a webcam */
.cheese-cam { position: absolute; width: 74px; top: -40px; right: 26px; filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.35)); }
.cheese-cam .lens { animation: blink 1.4s steps(2, jump-none) infinite; }

/* Plan art: a slice for Free, the whole wheel for Pro (the art replaces the label's wedge) */
.plan-art { width: 58px; height: auto; flex: none; }
.plan-head .eyebrow::before { display: none; }

/* Say cheese: a camera flash when the word is clicked */
.say-cheese { cursor: pointer; }
.flash { position: fixed; inset: 0; background: #fff; opacity: 0; pointer-events: none; z-index: 50; }
.flash.go { animation: flash 0.45s ease-out; }
@keyframes flash { 0% { opacity: 0.85; } 100% { opacity: 0; } }

/* Footer sign-off */
.signoff { display: inline-flex; align-items: center; gap: 8px; }
.signoff::before { content: ""; width: 26px; height: 20px; background: var(--wedge) center / contain no-repeat; }

@media (max-width: 640px) {
  .cheese-cam { width: 58px; top: -32px; }
}
@media (prefers-reduced-motion: reduce) {
  .flash.go { animation: none; }
}

/* Site header: the same on every page */
.site-top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 10; margin-inline: -20px; padding: 12px 20px;
  background: color-mix(in srgb, var(--ink) 90%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line); }
.site-top-inner { max-width: 1140px; margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 8px 24px; flex-wrap: wrap; }
.site-brand { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 800; font-size: 20px; letter-spacing: -0.01em; color: var(--text); text-decoration: none; }
.site-brand img { width: 34px; height: 34px; border-radius: 8px; }
.site-nav { display: flex; gap: 4px; }
.site-nav a { padding: 6px 12px; border-radius: 99px; color: var(--muted); text-decoration: none; font: 500 15px var(--body); white-space: nowrap; }
.site-nav a:hover { color: var(--text); background: var(--panel); }
.site-nav a[aria-current="page"] { color: var(--ink); background: var(--cheese); }
@media (max-width: 720px) {
  .site-top-inner { display: grid; grid-template-columns: minmax(0, 1fr); }
  .site-nav { min-width: 0; overflow-x: auto; margin-inline: -20px; padding-inline: 14px; scrollbar-width: none; }
  .site-nav::-webkit-scrollbar { display: none; }
}
html { scroll-padding-top: 76px; }
@media (max-width: 720px) { html { scroll-padding-top: 112px; } }

/* Company identification line in every footer (required on Romanian commercial sites) */
.legal-id { flex-basis: 100%; font-size: 13px; color: var(--muted); }
