/* Bottega: the workshop at golden hour. Gold leaf, parchment, sfumato light. Nothing sits in a plain box:
   panels are torn leaves of parchment, buttons are gilded, prices are wax seals, and something is always moving. */
@font-face { font-family: "Cormorant"; src: url(../fonts/cormorant-garamond-latin-wght-normal.woff2) format("woff2"); font-weight: 300 700; font-display: swap; }
@font-face { font-family: "Cormorant"; src: url(../fonts/cormorant-garamond-latin-wght-italic.woff2) format("woff2"); font-weight: 300 700; font-style: italic; font-display: swap; }
@font-face { font-family: "Spectral"; src: url(../fonts/spectral-latin-300-normal.woff2) format("woff2"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Spectral"; src: url(../fonts/spectral-latin-300-italic.woff2) format("woff2"); font-weight: 300; font-style: italic; font-display: swap; }
@font-face { font-family: "Spectral"; src: url(../fonts/spectral-latin-400-normal.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Spectral"; src: url(../fonts/spectral-latin-500-normal.woff2) format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Pinyon"; src: url(../fonts/pinyon-script-latin-400-normal.woff2) format("woff2"); font-display: swap; }

:root {
  --bg: #efe0bf; --ink: #33210f; --ink2: #4a3219; --dim: #5e4325; --faint: #6f5233; --line: rgba(120, 80, 30, .22);
  --teal: #3f7f5f; --teal-l: #cfe0c8; --peri: #2c4f8c; --peri-l: #c9d4ea; --peach: #b8432f; --peach-l: #f0cdb8;
  --good: #3f7f5f; --bad: #b8432f;
  --gold: #b9893a; --gold-hi: #fff1c4; --gold-lo: #7a5520; --umber: #2a1a0c; --lapis: #2c4f8c; --seal: #8e1f1a;
  --gilt: linear-gradient(180deg, #fff1c4 0%, #e8c06a 44%, #b9893a 55%, #efcd7d 100%);
  --sans: "Spectral", Georgia, serif; --display: "Cormorant", Georgia, serif; --hand: "Pinyon", cursive;
  --r: 6px; --leaf: polygon(1% 3%, 18% 0, 46% 2%, 74% 0, 99% 2%, 100% 34%, 98% 68%, 100% 97%, 72% 100%, 44% 98%, 16% 100%, 0 97%, 2% 64%, 0 30%);
}
body { font: 400 18px/1.6 var(--sans); color: var(--ink);
  background:
    radial-gradient(120% 70% at 50% 0%, rgba(255, 246, 222, .9), transparent 60%),
    radial-gradient(90% 60% at 100% 100%, rgba(150, 100, 40, .25), transparent 60%),
    radial-gradient(90% 60% at 0% 80%, rgba(150, 100, 40, .18), transparent 60%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .45 0 0 0 0 .3 0 0 0 0 .12 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"),
    #efe0bf; }
h1, h2, h3 { font-family: var(--display); font-weight: 500; letter-spacing: -.01em; }
h1 { font-size: clamp(54px, 8.4vw, 116px); line-height: .92; }
h2 { font-size: clamp(40px, 5.2vw, 70px); line-height: .98; }
h3 { font-size: 27px; font-weight: 600; letter-spacing: 0; }
code, pre, .mono { font-family: "Geist Mono", ui-monospace, monospace; }
a { color: var(--lapis); } a:hover { color: #1b3566; }
:focus-visible { outline: 2px solid var(--lapis); outline-offset: 3px; }

/* ambient: gold dust drifting up every page, and a warm candle-glow that follows the pointer */
.ambient { filter: none; opacity: 1; z-index: 0; overflow: hidden; }
.ambient i:nth-child(n) { top: 100%; width: var(--s, 5px); height: var(--s, 5px); border-radius: 50%; background: radial-gradient(circle, #fff3cf, rgba(232, 192, 106, .6) 45%, rgba(255, 214, 130, 0) 70%); animation-name: mote; animation-timing-function: linear; animation-iteration-count: infinite; }
.ambient i:nth-child(1) { left: 32%; animation-duration: 23s; animation-delay: -3s; --s: 6px; }
.ambient i:nth-child(2) { left: 63%; animation-duration: 18s; animation-delay: -2s; --s: 3px; }
.ambient i:nth-child(3) { left: 4%; animation-duration: 26s; animation-delay: -17s; --s: 5px; }
.ambient i:nth-child(4) { left: 9%; animation-duration: 21s; animation-delay: -16s; --s: 8px; }
.ambient i:nth-child(5) { left: 48%; animation-duration: 22s; animation-delay: -24s; --s: 4px; }
.ambient i:nth-child(6) { left: 15%; animation-duration: 22s; animation-delay: -6s; --s: 3px; }
.ambient i:nth-child(7) { left: 84%; animation-duration: 22s; animation-delay: -25s; --s: 5px; }
.ambient i:nth-child(8) { left: 26%; animation-duration: 19s; animation-delay: -9s; --s: 5px; }
.ambient i:nth-child(9) { left: 82%; animation-duration: 25s; animation-delay: -2s; --s: 8px; }
.ambient i:nth-child(10) { left: 45%; animation-duration: 26s; animation-delay: -16s; --s: 4px; }
.ambient i:nth-child(11) { left: 24%; animation-duration: 21s; animation-delay: -15s; --s: 5px; }
.ambient i:nth-child(12) { left: 13%; animation-duration: 23s; animation-delay: -0s; --s: 5px; }
.ambient i:nth-child(13) { left: 75%; animation-duration: 23s; animation-delay: -27s; --s: 8px; }
.ambient i:nth-child(14) { left: 26%; animation-duration: 27s; animation-delay: -13s; --s: 8px; }
@keyframes mote { from { transform: translate(0, 0); opacity: 0; } 12% { opacity: 1; } 50% { transform: translate(40px, -55vh); } 88% { opacity: .9; } to { transform: translate(-20px, -110vh); opacity: 0; } }
.glow { background: radial-gradient(closest-side, rgba(255, 220, 150, .35), rgba(255, 200, 120, .1) 55%, transparent); z-index: 0; mix-blend-mode: soft-light; }
main, .foot { position: relative; z-index: 1; }
.top { position: sticky; z-index: 30; }

/* parchment leaves instead of glass boxes */
.glass { background: radial-gradient(140% 100% at 30% 0%, #fdf6e3, #f0dfba 70%, #e6d0a1); -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: none; border-radius: 0;
  clip-path: var(--leaf); filter: drop-shadow(0 18px 22px rgba(80, 45, 10, .22)); }
.glass::after { border-radius: 0; background: radial-gradient(300px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 238, 190, .75), transparent 60%); mix-blend-mode: soft-light; }
.glass::before { content: ""; position: absolute; inset: 8px; pointer-events: none; border: 1px solid rgba(185, 137, 58, .35); clip-path: var(--leaf); }

/* header: the workshop sign */
.top { padding: 16px 0; }
.mark { font-family: var(--display); font-weight: 600; font-size: 30px; letter-spacing: .01em; color: var(--ink); }
.mark span { text-transform: capitalize; }
.mark img { width: 38px; height: 38px; filter: drop-shadow(0 4px 8px rgba(80, 45, 10, .3)); animation: sway 9s ease-in-out infinite; }
@keyframes sway { 50% { transform: rotate(-6deg); } }
.top nav.glass { clip-path: polygon(0 50%, 3% 0, 97% 0, 100% 50%, 97% 100%, 3% 100%); border-radius: 0; padding: 6px 22px; filter: drop-shadow(0 8px 14px rgba(80, 45, 10, .2)); }
.top nav.glass::before { inset: 4px 14px; border-left: 0; border-right: 0; clip-path: none; }
.top nav a { font-family: var(--display); font-size: 19px; font-weight: 600; color: var(--ink2); border-radius: 999px; }
.top nav a[aria-current="page"] { background: var(--gilt); color: #2b1a08; box-shadow: 0 0 0 1px var(--gold-lo) inset; }

/* gilded buttons with a light that sweeps across on hover */
.btn { font-family: var(--display); font-weight: 600; font-size: 19px; letter-spacing: .01em; }
.btn.primary { color: #2b1a08; background: var(--gilt); box-shadow: 0 0 0 1px var(--gold-lo) inset, 0 0 0 1px #fff1c4, 0 14px 30px -10px rgba(90, 55, 10, .55); }
.btn.primary::after { content: ""; position: absolute; inset: 0 auto 0 -60%; width: 40%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .8), transparent); transform: skewX(-18deg); transition: left .7s cubic-bezier(.2, .8, .2, 1); z-index: 1; }
.btn.primary:hover { color: #2b1a08; filter: brightness(1.06); box-shadow: 0 0 0 1px var(--gold-lo) inset, 0 0 0 1px #fff1c4, 0 20px 40px -12px rgba(90, 55, 10, .65); }
.btn.primary:hover::after { left: 130%; }
.btn.ghost { color: var(--ink); background: rgba(253, 246, 227, .72); box-shadow: 0 0 0 1px rgba(185, 137, 58, .7) inset; }
.btn.ghost:hover { background: #fdf6e3; color: var(--ink); }
.btn.ink { color: #fdf3da; background: linear-gradient(180deg, #4a2e14, #2a1a0c); box-shadow: 0 0 0 1px #b9893a inset, 0 12px 26px -12px rgba(42, 26, 12, .8); }
.btn.ink:hover { color: #fff1c4; background: linear-gradient(180deg, #5a3a1a, #2a1a0c); }
.btn.danger { background: linear-gradient(180deg, #c4473c, #8e1f1a); }

/* hero: the painting, with the armillary sphere turning in its light */
.hero { min-height: min(980px, 100svh); isolation: isolate; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: -4%; z-index: -3; background: url(../img/heavens.jpg) center 30% / cover; filter: blur(1.5px) saturate(1.05); animation: kb 50s ease-in-out infinite alternate; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -2; background:
  radial-gradient(70% 70% at 30% 45%, rgba(40, 22, 8, .55), rgba(40, 22, 8, .15) 60%, transparent),
  linear-gradient(180deg, rgba(42, 26, 12, .35), transparent 22%, transparent 70%, #efe0bf 100%); }
@keyframes kb { from { transform: scale(1.04); } to { transform: scale(1.14) translate(-1.5%, -2%); } }
.hero-copy { color: #fffaf0; }
.hero h1 { color: #fffaf0; text-shadow: 0 4px 40px rgba(40, 20, 5, .6); }
.hero .lede { color: #fbefd6; font-weight: 300; font-size: 22px; text-shadow: 0 2px 16px rgba(40, 20, 5, .6); }
.pill-live { font-family: var(--hand); font-size: 26px; color: #fff1c4; background: radial-gradient(closest-side, rgba(42, 26, 12, .55), transparent); clip-path: none; filter: none; padding: 6px 26px 6px 4px; text-shadow: 0 2px 10px rgba(40, 20, 5, .6); }
.pill-live::before { display: none; }
.pill-live .dot { background: #f4d68c; box-shadow: 0 0 0 0 rgba(244, 214, 140, .6); }
@keyframes ping { 70% { box-shadow: 0 0 0 12px rgba(244, 214, 140, 0); } 100% { box-shadow: 0 0 0 0 rgba(244, 214, 140, 0); } }
.try p { color: #fbefd6; font-family: var(--hand); font-size: 24px; }
.chip { font-family: var(--display); font-weight: 600; font-size: 18px; color: var(--ink); border-radius: 0;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .55) 50%, transparent 65%) -150% 0 / 250% 100% no-repeat, linear-gradient(180deg, #fbf1d8, #ead39f); clip-path: polygon(0 0, 100% 0, 94% 50%, 100% 100%, 0 100%, 6% 50%); padding: 0 24px; box-shadow: none; filter: drop-shadow(0 6px 10px rgba(40, 20, 5, .35)); animation: glint 7s ease-in-out infinite; }
.chip:nth-child(2n) { animation-delay: -2s; } .chip:nth-child(3n) { animation-delay: -4s; }
@keyframes glint { 0%, 60% { background-position: -150% 0, 0 0; } 100% { background-position: 250% 0, 0 0; } }
.chip:hover { transform: translateY(-3px); box-shadow: none; }
.chip i { background: radial-gradient(circle at 35% 30%, #fff, var(--c) 60%); box-shadow: 0 0 0 1.5px #d9b062; }
.chip[aria-pressed="true"] { background: var(--gilt); animation: none; color: #2b1a08; }
.agent-card { clip-path: none; filter: drop-shadow(0 20px 30px rgba(40, 20, 5, .45)); background: radial-gradient(140% 100% at 30% 0%, #fdf6e3, #ecd9ae); }
.agent-card::before { display: none; }
.agent-card::after { content: ""; position: absolute; right: -22px; top: -26px; width: 64px; height: 64px; border-radius: 47% 53% 49% 51%; opacity: 1;
  background: radial-gradient(circle at 38% 32%, #c4473c, #8e1f1a 60%, #5e1210); box-shadow: 0 6px 12px rgba(60, 10, 5, .45), inset 0 -3px 8px rgba(0, 0, 0, .3); mix-blend-mode: normal; animation: seal 7s ease-in-out infinite; }
@keyframes seal { 50% { transform: rotate(-12deg); } }
.agent-card { overflow: visible; }
.agent-card .row { font-family: var(--hand); font-size: 20px; color: var(--faint); }
.agent-card b { font-family: var(--display); font-size: 40px; }
.scan { background: rgba(185, 137, 58, .25); height: 3px; }
.scan::after { background: linear-gradient(90deg, transparent, #f4d68c, transparent); }

/* ribbon ticker */
.ticker { background: linear-gradient(180deg, #f6e7c4, #e5cc95); clip-path: polygon(0 0, 100% 0, 99% 50%, 100% 100%, 0 100%, 1% 50%); box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; filter: drop-shadow(0 8px 12px rgba(80, 45, 10, .2)); margin: 0 12px; }
.ticker .row { font-family: var(--display); font-size: 19px; color: var(--ink2); }
.ticker .row span::before { content: "✦"; color: var(--gold); }

/* stats as gilded medallions */
.stats.glass { clip-path: none; filter: none; background: none; gap: 28px; overflow: visible; }
.stats.glass::before, .stats.glass::after { display: none; }
.stats > div { position: relative; aspect-ratio: 1; display: grid; place-content: center; text-align: center; border-radius: 50%; padding: 18px;
  background: radial-gradient(circle at 50% 35%, #fdf6e3, #ecd9ae 70%); box-shadow: 0 0 0 6px #e8c06a, 0 0 0 7px #7a5520, 0 0 0 12px rgba(253, 246, 227, .5), 0 22px 40px -12px rgba(80, 45, 10, .45); max-width: 230px; margin: 0 auto; width: 100%; }
.stats > div::after { content: ""; position: absolute; inset: 14px; border-radius: 50%; border: 1px dashed rgba(185, 137, 58, .55); animation: turn 60s linear infinite; }
@keyframes turn { to { transform: rotate(360deg); } }
.stats span { font-family: var(--hand); font-size: 20px; color: var(--faint); }
.stats b { font-family: var(--display); font-weight: 600; color: var(--ink); }

/* steps: floating leaves at different heights, a pigment medallion on each */
.steps { gap: 26px; align-items: start; }
.steps li { padding: 34px 28px; text-align: center; animation: float 7s ease-in-out infinite; }
.steps li:nth-child(2) { margin-top: 56px; animation-delay: -2s; } .steps li:nth-child(3) { margin-top: 12px; animation-delay: -4s; } .steps li:nth-child(4) { margin-top: 70px; animation-delay: -6s; }
@keyframes float { 50% { transform: translateY(-10px) rotate(-.5deg); } }
.steps li:hover { transform: translateY(-14px); }
.steps li::before { content: counter(s, upper-roman); display: block; font: 600 34px var(--display); color: var(--gold); }
.steps .orb, .cards3 .orb, .tile .orb, .cart-hero .orb { margin-left: auto; margin-right: auto; background: radial-gradient(circle at 35% 30%, #fffaf0, var(--c) 48%, color-mix(in srgb, var(--c), #1a0f05 45%)); box-shadow: 0 0 0 3px #e8c06a, 0 0 0 4px #7a5520, 0 14px 24px -10px rgba(60, 30, 5, .6); }
.steps p { color: var(--dim); }
@media (max-width: 960px) { .steps li:nth-child(n) { margin-top: 0; } }

/* the demo reel: a framed canvas on an easel */
.reel.glass { clip-path: none; filter: drop-shadow(0 30px 40px rgba(80, 45, 10, .35)); padding: 64px 34px 34px; border-radius: 50% 50% 12px 12px / 90px 90px 12px 12px; background: radial-gradient(140% 100% at 30% 0%, #fdf6e3, #ecd9ae);
  box-shadow: 0 0 0 10px #c9963f, 0 0 0 11px #7a5520, 0 0 0 16px #e8c06a, 0 0 0 17px #7a5520; margin: 20px auto; }
.reel.glass::before { display: none; }
.reel .name { font-family: var(--display); font-size: 30px; font-weight: 600; }
.badge { font-family: var(--hand); font-size: 18px; color: #fbe2c4; background: radial-gradient(circle at 38% 32%, #c4473c, #8e1f1a 70%); border-radius: 47% 53% 49% 51%; padding: 6px 14px; }
.io { border-radius: 0; font-size: 13.5px; }
.io.in-box { background: rgba(255, 250, 238, .7); color: var(--dim); box-shadow: inset 0 0 0 1px rgba(185, 137, 58, .35); }
.io.out-box { background: #2a1a0c; color: #f4dfae; }
.io small { font-family: var(--hand); font-size: 17px; color: #9a7a4a; }
.dots i { background: rgba(122, 85, 32, .3); } .dots i.on { background: var(--gold); }
.typing::after { color: var(--gold); }

/* code: an old ledger page in ink */
.tabs [role="tablist"].glass { clip-path: polygon(0 50%, 4% 0, 96% 0, 100% 50%, 96% 100%, 4% 100%); padding: 6px 20px; }
.tabs [role="tablist"].glass::before { display: none; }
.tabs [role="tab"] { font-family: var(--display); font-size: 18px; font-weight: 600; color: var(--ink2); }
.tabs [role="tab"][aria-selected="true"] { background: var(--gilt); color: #2b1a08; }
pre.code { border-radius: 0; background: linear-gradient(180deg, #2f1f10, #20140a); color: #f0dcb0; clip-path: polygon(0 1%, 30% 0, 70% 1%, 100% 0, 99% 50%, 100% 100%, 60% 99%, 25% 100%, 0 99%, 1% 50%);
  box-shadow: none; filter: drop-shadow(0 26px 30px rgba(42, 26, 12, .45)); }
pre.code .k { color: #f4c86a; } pre.code .s { color: #b9d3a0; } pre.code .c { color: #a28763; font-style: italic; } pre.code .o { color: #f0a58c; }

/* holder cards, truths as scrolls */
.cards3 > * { text-align: center; }
.truths li strong { font-family: var(--display); font-size: 24px; color: var(--ink); }
.fine { font-style: italic; color: var(--faint); }
.finale h2 { font-family: var(--display); }
.ca.glass { clip-path: polygon(0 50%, 4% 0, 96% 0, 100% 50%, 96% 100%, 4% 100%); padding: 12px 30px; }
.ca.glass::before { display: none; }
.ca span { font-family: var(--display); font-weight: 600; font-size: 18px; color: var(--seal); }
.ca em { color: var(--lapis); font-family: var(--display); font-weight: 600; font-size: 17px; }

/* gallery tiles: framed canvases with a wax-seal price */
.tiles { gap: 44px; }
.tile a.glass { clip-path: none; filter: none; padding: 54px 28px 30px; border-radius: 50% 50% 10px 10px / 70px 70px 10px 10px; background: radial-gradient(140% 100% at 30% 0%, #fdf6e3, #ecd9ae);
  box-shadow: 0 0 0 8px #c9963f, 0 0 0 9px #7a5520, 0 0 0 13px #e8c06a, 0 0 0 14px #7a5520, 0 30px 40px -18px rgba(80, 45, 10, .5); margin: 14px; height: calc(100% - 28px); }
.tile a.glass::before { display: none; }
.tile a:hover { transform: translateY(-8px) rotate(-.6deg); box-shadow: 0 0 0 8px #d9a94a, 0 0 0 9px #7a5520, 0 0 0 13px #f4d68c, 0 0 0 14px #7a5520, 0 40px 50px -18px rgba(80, 45, 10, .6); }
.tile .name { font-family: var(--display); font-size: 29px; font-weight: 600; }
.tile .meta { font-family: var(--sans); font-style: italic; font-size: 15px; }
.tile .meta b { font-style: normal; font-family: var(--display); font-weight: 600; font-size: 19px; color: var(--seal); }
.search.glass { clip-path: polygon(0 50%, 3% 0, 97% 0, 100% 50%, 97% 100%, 3% 100%); padding: 0 34px; }
.search.glass::before { display: none; }
.search input { font-family: var(--sans); font-size: 18px; }
.select { border-radius: 0; clip-path: polygon(0 50%, 8% 0, 92% 0, 100% 50%, 92% 100%, 8% 100%); padding-left: 26px; padding-right: 30px; background: linear-gradient(180deg, #fbf1d8, #ead39f); box-shadow: 0 0 0 1px rgba(185, 137, 58, .7) inset; font-family: var(--display); font-weight: 600; font-size: 18px; }
.page-head h1 { color: var(--ink); }
.page-head p { color: var(--dim); }
.page-head::before { content: attr(data-hand); display: block; font-family: var(--hand); font-size: 30px; color: var(--gold-lo); }

/* skill page */
.cart-hero.glass { clip-path: none; border-radius: 50% 50% 12px 12px / 90px 90px 12px 12px; padding-top: 60px; filter: drop-shadow(0 24px 34px rgba(80, 45, 10, .35)); background: radial-gradient(140% 100% at 30% 0%, #fdf6e3, #ecd9ae);
  box-shadow: 0 0 0 8px #c9963f, 0 0 0 9px #7a5520, 0 0 0 13px #e8c06a, 0 0 0 14px #7a5520; margin: 14px; }
.cart-hero.glass::before { display: none; }
.cart-hero .orb { box-shadow: 0 0 0 5px #e8c06a, 0 0 0 6px #7a5520, 0 0 0 14px rgba(232, 192, 106, .25), 0 30px 50px -20px rgba(60, 30, 5, .6); }
.cart-hero h1 { font-size: 44px; }
.kv dt { font-family: var(--hand); font-size: 19px; color: var(--faint); }
.panel h2 { font-family: var(--display); font-size: 34px; }
.testgrid i { border-radius: 50%; background: radial-gradient(circle at 35% 30%, #d6efc9, #3f7f5f); box-shadow: 0 0 0 1px #2f5f47; }
.testgrid i.x { background: radial-gradient(circle at 35% 30%, #f6c9bd, #b8432f); box-shadow: 0 0 0 1px #8e1f1a; }
.uses li { border-top: 1px dashed var(--line); }

/* forms */
.field { font-family: var(--hand); font-size: 21px; color: var(--faint); }
.field input, .field textarea, .field select { border-radius: 0; background: rgba(255, 252, 244, .85); box-shadow: inset 0 0 0 1px rgba(185, 137, 58, .55), inset 0 2px 6px rgba(120, 80, 30, .08); font-family: var(--sans); font-size: 17px; }
.field textarea { font-family: "Geist Mono", ui-monospace, monospace; font-size: 13.5px; }
.field input:focus, .field textarea:focus, .field select:focus { box-shadow: inset 0 0 0 2px var(--gold), 0 0 0 4px rgba(244, 214, 140, .45); }
.note { border-radius: 0; background: rgba(44, 79, 140, .08); border-left: 0; clip-path: polygon(0 4%, 100% 0, 99% 96%, 1% 100%); font-style: italic; }
.note.warn { background: rgba(184, 67, 47, .1); }
.account.glass { clip-path: polygon(0 50%, 4% 0, 96% 0, 100% 50%, 96% 100%, 4% 100%); padding: 8px 18px 8px 30px; }
.account.glass::before { display: none; }
.account .on.live { background: var(--good); }
.mine li { border-radius: 40px 6px 40px 6px; background: rgba(255, 252, 244, .6); box-shadow: inset 0 0 0 1px rgba(185, 137, 58, .4); }
.mine .t b { font-family: var(--display); font-size: 22px; }

/* docs */
.doc.glass { clip-path: polygon(0 0.4%, 50% 0, 100% 0.5%, 99.5% 50%, 100% 99.6%, 50% 100%, 0 99.5%, 0.4% 50%); }
.doc h2 { font-size: 42px; }
.doc h3 { font-size: 26px; }

/* footer and toasts */
.foot { border-top: 0; background: linear-gradient(180deg, transparent, rgba(42, 26, 12, .06)); }
.foot .mark span { font-size: 28px; }
.foot p { font-style: italic; }
.toast { border-radius: 0; background: radial-gradient(140% 100% at 30% 0%, #fdf6e3, #ecd9ae); clip-path: var(--leaf); box-shadow: none; filter: drop-shadow(0 14px 18px rgba(80, 45, 10, .35)); font-family: var(--sans); }
.toast.good, .toast.bad { box-shadow: none; }
.toast.good::before, .toast.bad::before { content: ""; display: inline-block; width: 12px; height: 12px; margin-right: 10px; border-radius: 50%; background: var(--good); vertical-align: middle; }
.toast.bad::before { background: var(--bad); }

/* the cursor leaves a faint trail of gold */
.trail { position: fixed; left: 0; top: 0; width: 8px; height: 8px; margin: -4px 0 0 -4px; border-radius: 50%; pointer-events: none; z-index: 70;
  background: radial-gradient(circle, rgba(255, 241, 196, .95), rgba(232, 192, 106, 0)); animation: trail .9s ease-out forwards; }
@keyframes trail { to { transform: translateY(14px) scale(.2); opacity: 0; } }

@media (prefers-reduced-motion: reduce) { .hero::before, .mark img, .chip, .steps li, .stats > div::after, .agent-card::after { animation: none !important; } }
@media (max-width: 900px) { .agent-card { position: relative; } .agent-card::after { right: -10px; top: -22px; width: 52px; height: 52px; } .stats.glass { gap: 18px; } }
