/* FeeBee marketing site - shared styles (MS-1). Tokens from the Figma file. */
:root {
  --bg: #1a1612;
  --bg-deep: #161310;
  --surface: #26221d;
  --surface-warm: #261400;
  --line: #332e29;
  --line-strong: #663600;
  --text: #ffffff;
  --muted: #a39b92;
  --subtle: #827a71;
  --brand: #ff8800;
  --brand-600: #b56100;
  --brand-700: #804400;
  --brand-800: #663600;
  --teal: #77c7af;
  --gold: #e0bf70;
  --blue: #4c63d9;
  --radius: 16px;
  --max: 1280px;
  --gutter: 80px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: "Inter", system-ui, sans-serif; font-size: 16px; line-height: 1.5;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
.wrap { max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.inner { padding: 0 32px; }
section { padding: 64px 0; position: relative; }
.h40 { font-size: 40px; line-height: 1.8; font-weight: 600; }
.h48 { font-size: 48px; line-height: 1.25; font-weight: 400; }
.h32 { font-size: 32px; line-height: 1.75; font-weight: 600; }
.h24 { font-size: 24px; line-height: 1.8; font-weight: 600; }
.lead { font-size: 20px; line-height: 1.4; }
.body16 { font-size: 16px; line-height: 1.5; color: var(--muted); }
.eyebrow { font-size: 14px; color: var(--subtle); }
.sec-head { max-width: 720px; display: grid; gap: 16px; margin-bottom: 32px; }
.sec-head p { color: var(--muted); }
.center { text-align: center; margin-left: auto; margin-right: auto; }
.media { border-radius: 32px; overflow: hidden; width: 100%; }
.media img { width: 100%; height: auto; }

/* Buttons (Internal Only Canvas: Brand / Secondary / Tertiary / TertiaryNeutral) */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 40px; padding: 0 12px; border-radius: 8px; font: 600 14px/1 "Inter", sans-serif;
  border: 1px solid transparent; cursor: pointer; transition: background .15s, border-color .15s, color .15s;
  white-space: nowrap;
}
.btn-lg { height: 48px; padding: 0 16px; font-size: 16px; }
.btn svg { width: 16px; height: 16px; }
.btn-lg svg { width: 20px; height: 20px; }
.btn-brand { background: var(--brand); color: #fff; }
.btn-brand:hover { background: var(--brand-600); }
.btn-brand:active { background: var(--brand-700); }
.btn-brand.dark { background: var(--brand-600); }
.btn-brand.dark:hover { background: var(--brand-700); }
.btn-secondary { background: var(--surface); border-color: var(--brand); color: var(--brand); }
.btn-secondary:hover { background: var(--surface-warm); }
.btn-tertiary { background: transparent; color: var(--brand); }
.btn-tertiary:hover { background: var(--surface-warm); }
.btn-neutral { background: transparent; color: var(--text); }
.btn-neutral:hover { background: var(--surface); }
.btn:focus-visible, a:focus-visible, button:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(26, 22, 18, .92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.site-header .bar { display: flex; align-items: center; gap: 24px; height: 72px; padding: 0 32px; }
.logo { display: inline-flex; align-items: center; gap: 12px; font-weight: 600; font-size: 18px; }
.logo svg { width: 28px; height: 28px; }
.nav { display: flex; gap: 4px; align-items: center; flex: 1; }
.nav > li, .nav { list-style: none; margin: 0; padding: 0; }
.nav > li { position: relative; }
.nav-link { display: inline-flex; align-items: center; gap: 4px; padding: 8px 12px; border-radius: 8px; font-size: 12px; color: var(--text); background: none; border: 0; font-family: inherit; cursor: pointer; }
.nav-link:hover, .nav > li:focus-within > .nav-link { background: var(--surface); }
.nav-link svg { width: 16px; height: 16px; }
.dropdown { display: none; position: absolute; top: 100%; left: 0; min-width: 220px; padding: 8px; margin: 0; list-style: none; background: var(--bg-deep); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 16px 40px rgba(0,0,0,.4); }
.nav > li:hover > .dropdown, .nav > li:focus-within > .dropdown { display: block; }
.dropdown a { display: block; padding: 8px 12px; border-radius: 8px; font-size: 14px; }
.dropdown a:hover { background: var(--surface); }
.menu-toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--line); color: var(--text); border-radius: 8px; width: 40px; height: 40px; cursor: pointer; }

/* Home hero */
.hero { padding-top: 64px; overflow: hidden; }
.hero-bg::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 50% at 50% 0%, rgba(255,136,0,.18), transparent 70%), repeating-linear-gradient(90deg, rgba(255,255,255,.03) 0 1px, transparent 1px 80px), repeating-linear-gradient(0deg, rgba(255,255,255,.03) 0 1px, transparent 1px 80px); pointer-events: none; }
.hero .inner { position: relative; display: grid; gap: 24px; }
.hero-title { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; }
.hero-title .nw { display: inline-flex; align-items: center; gap: 16px; white-space: nowrap; } /* avatar + ", Made" never split: no line starts with the comma */
.avatar { width: 80px; height: 80px; border-radius: 50%; border: 1.4px solid #fff; padding: 12px; display: inline-grid; place-items: center; }
.avatar img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
.hero .lead { max-width: 1015px; }
.hero .media { margin-top: 40px; }

/* Asset vertical / industry hero */
.vhero { text-align: center; padding: 96px 0 64px; overflow: hidden; }
.vhero .inner { position: relative; display: grid; gap: 24px; justify-items: center; }
.vhero .lead { max-width: 660px; color: var(--muted); }
.vhero .deco { position: absolute; color: var(--brand-700); opacity: .55; pointer-events: none; }
.vhero .deco.a { width: 120px; left: -40px; top: -60px; }
.vhero .deco.b { width: 280px; right: -60px; top: 40px; }
.vhero .media { margin-top: 32px; }
.ihero { padding: 96px 0 0; overflow: hidden; }
.ihero .inner { display: grid; gap: 24px; justify-items: center; text-align: center; position: relative; }
.ihero .h48 { max-width: 960px; }
.ihero .banner { position: relative; margin-top: 40px; }
.ihero .banner img { width: 100%; height: auto; }
.badge { display: inline-flex; align-items: center; gap: 8px; padding: 4px 12px; border-radius: 8px; font-size: 14px; font-weight: 600; background: var(--brand-700); border: 1px solid var(--brand-800); }
.ihero .badge { position: absolute; right: 24px; bottom: 24px; }
.badge-gold { background: var(--gold); border-color: var(--gold); color: #3d2a00; }

/* Light-ish panels (white frames in Figma, rendered dark - see README) */
.panel { background: linear-gradient(180deg, var(--surface-warm), var(--bg)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.origin .row { display: flex; align-items: center; gap: 48px; margin: 24px 0 40px; }
.origin .row img { width: 151px; height: auto; }
.quote-card { display: grid; grid-template-columns: 320px 1fr; gap: 40px; align-items: center; padding: 32px; border: 1px solid var(--line-strong); border-radius: 60px; background: var(--bg-deep); }
.quote-card img { width: 320px; height: 320px; border-radius: 40px; object-fit: cover; }
.quote-card blockquote { margin: 0; font-size: 20px; line-height: 1.4; }
.quote-card cite { display: block; margin-top: 24px; font-style: normal; font-size: 14px; color: var(--subtle); }
.story p { font-size: 20px; line-height: 1.4; max-width: 1216px; }
.story p + p { margin-top: 32px; color: var(--muted); }

/* Cards and grids */
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card { border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-deep); }
.feature { padding: 0 0 24px; overflow: hidden; }
.feature .vis { height: 220px; display: grid; place-items: center; background: radial-gradient(circle at 30% 30%, rgba(255,136,0,.18), transparent 60%); color: var(--brand); }
.feature .vis svg { width: 96px; height: 96px; }
.feature h3 { font-size: 16px; font-weight: 600; padding: 16px 24px 8px; }
.feature p { font-size: 16px; color: var(--muted); padding: 0 24px; }

.tile { display: grid; grid-template-columns: 140px 1fr; gap: 16px; padding: 16px; transition: border-color .15s, transform .15s; }
.tile:hover { border-color: var(--brand); transform: translateY(-2px); }
.tile .t-title { font-weight: 600; font-size: 16px; }
.tile .glyph { width: 140px; height: 120px; color: var(--brand); display: grid; place-items: center; }
.tile .glyph svg { width: 80px; height: 80px; }
.tile ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.tile li { display: flex; align-items: center; gap: 8px; font-size: 12px; line-height: 20px; color: var(--muted); }
.tile li svg { width: 16px; height: 16px; color: var(--teal); flex: none; }
.tile li.off { color: var(--subtle); text-decoration: line-through; }
.tile li.off svg { color: var(--subtle); }
.after-media { margin-top: 32px; }

.industries { display: grid; grid-template-columns: repeat(7, 1fr); gap: 16px; }
.ind { display: grid; gap: 16px; justify-items: center; padding: 24px 8px; font-size: 14px; text-align: center; }
.ind svg { width: 56px; height: 56px; color: var(--brand); }
.ind:hover { border-color: var(--brand); }

/* Faults / mechanism */
.fault { padding: 24px; display: grid; gap: 8px; }
.fault .k { font-size: 14px; color: var(--subtle); }
.fault .n { font-size: 14px; color: var(--brand); }
.fault q { font-size: 20px; font-weight: 600; line-height: 1.4; margin-top: 24px; quotes: none; }
.mech { display: grid; grid-template-columns: 340px 1fr; gap: 32px; align-items: start; margin-bottom: 40px; }
.step-card { padding: 24px; display: grid; gap: 8px; margin-bottom: 24px; }
.step-card .s { font-size: 14px; color: var(--subtle); }
.step-card .m { font-size: 24px; }
.step-card .d { font-size: 14px; color: var(--teal); }
.mech .lead { color: var(--muted); }

/* Carousel (Elevator) */
.carousel .top { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 32px; }
.carousel .arrows { display: flex; gap: 8px; }
.carousel .arrows button { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--text); cursor: pointer; display: grid; place-items: center; }
.carousel .arrows svg { width: 20px; height: 20px; }
.slides { display: flex; gap: 32px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.slides::-webkit-scrollbar { display: none; }
.slide { flex: 0 0 min(1080px, 100%); scroll-snap-align: start; }
.slide h3 { font-size: 24px; font-weight: 600; margin-bottom: 8px; }
.slide p { color: var(--muted); font-size: 20px; line-height: 1.4; margin-bottom: 24px; }
.slide img { border-radius: 32px; width: 100%; }

/* Pricing (MS-5) */
.price-top { display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: 24px; padding: 24px; margin-bottom: 24px; }
.price-top .lbl { font-size: 14px; margin-bottom: 16px; }
.platform { display: flex; gap: 32px; align-items: center; flex-wrap: wrap; }
.big { font-size: 40px; font-weight: 600; line-height: 1.8; }
.big small, .plan .amt small { font-size: 20px; font-weight: 400; }
.ilist { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; font-size: 14px; }
.ilist li { display: flex; align-items: center; gap: 12px; }
.ilist svg { width: 20px; height: 20px; color: var(--brand); flex: none; }
.ilist b { font-size: 16px; }
.note { display: flex; gap: 16px; align-items: center; padding: 16px; border-radius: 12px; background: rgba(119,199,175,.12); border: 1px solid var(--teal); color: var(--teal); font-size: 14px; margin-bottom: 40px; }
.note svg { width: 24px; height: 24px; flex: none; }
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.plan { position: relative; padding: 24px; background: linear-gradient(180deg, var(--bg-deep), var(--bg)); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; }
.plan + .plan { border-left: 0; }
.plan:first-child { border-radius: var(--radius) 0 0 var(--radius); }
.plan:last-child { border-radius: 0 var(--radius) var(--radius) 0; }
.plan.featured { border-color: var(--brand); z-index: 1; margin-left: -1px; border-left: 1px solid var(--brand); }
.plan .badge { position: absolute; top: -17px; left: 50%; transform: translateX(-50%); }
.plan .name { font-size: 14px; }
.plan .amt { font-size: 32px; font-weight: 600; line-height: 1.75; }
.plan .terms { font-size: 14px; color: var(--muted); }
.plan .who { font-size: 14px; min-height: 60px; margin: 16px 0 24px; }
.plan .btn { width: 100%; }
.plan hr { border: 0; border-top: 1px solid var(--line-strong); margin: 24px 0; }
.plan .inc { font-size: 14px; margin-bottom: 8px; }
.plan ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; font-size: 14px; }
.plan li { display: flex; gap: 8px; }
.plan li svg { width: 20px; height: 20px; color: var(--teal); flex: none; }
.all-features { display: flex; justify-content: center; margin-top: 32px; }

/* CTA */
.cta { overflow: hidden; text-align: center; background: radial-gradient(70% 120% at 50% 0%, rgba(255,136,0,.25), transparent 70%), var(--surface-warm); border-top: 1px solid var(--line-strong); }
.cta .inner { position: relative; display: grid; gap: 16px; justify-items: center; padding: 32px; }
.cta .lead { color: var(--muted); }
.cta .btns { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin: 24px 0; }
.cta .small { font-size: 12px; color: var(--muted); }
.cta .media-sq { position: absolute; left: -66px; top: 18px; width: 360px; opacity: .35; pointer-events: none; }

/* Footer */
.site-footer { padding: 64px 0 0; border-top: 1px solid var(--line); overflow: hidden; }
.f-top { display: grid; grid-template-columns: 288px 1fr; gap: 64px; padding: 0 32px; }
.f-brand { display: grid; gap: 4px; align-content: start; }
.f-brand .tag { font-size: 12px; color: var(--muted); }
.f-brand .partner { font-size: 14px; }
.fenzi { margin-top: 48px; display: flex; align-items: center; gap: 12px; padding: 16px; border: 1px solid var(--line-strong); border-radius: 12px; font-weight: 600; font-size: 20px; line-height: 1.2; }
.fenzi img { width: 120px; }
.f-cols { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.f-cols h4 { margin: 0 0 16px; font-size: 14px; font-weight: 600; color: var(--subtle); }
.f-cols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; font-size: 14px; }
.f-cols a:hover { color: var(--brand); }
.soon { font-size: 8px; font-weight: 700; padding: 2px 4px; margin-left: 4px; border-radius: 4px; background: var(--brand-700); vertical-align: middle; }
.divider { border: 0; border-top: 1px solid var(--line-strong); margin: 24px 32px; }
.f-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 8px 32px; font-size: 14px; color: var(--subtle); flex-wrap: wrap; }
.socials { display: flex; gap: 16px; }
.socials svg { width: 24px; height: 24px; color: var(--text); }
.human { display: flex; gap: 12px; align-items: center; padding: 12px 16px; border-radius: 12px; background: var(--brand-700); border: 1px solid var(--brand-800); }
.human b { display: block; color: var(--text); font-size: 16px; }
.human span { color: #ffd9b0; }
.human svg { width: 20px; height: 20px; color: #fff; }
.legal { display: grid; gap: 8px; }
.legal h4 { margin: 0; font-size: 14px; }
.legal nav { display: flex; gap: 12px; color: var(--text); }
.wordmark { font-size: clamp(64px, 17vw, 232px); font-weight: 600; line-height: 1; letter-spacing: -.04em; text-align: center; color: var(--surface); padding: 24px 0 40px; user-select: none; }

/* 404 */
.nf { display: grid; grid-template-columns: 1fr 574px; gap: 48px; align-items: center; padding: 96px 0; }
.nf .code { font-size: 160px; font-weight: 600; line-height: 1; color: var(--brand); }
.nf p { font-size: 20px; color: var(--muted); margin: 32px 0; max-width: 560px; }
.nf img { border-radius: 32px; }

/* Responsive (MS-7, own judgement) */
@media (max-width: 1100px) {
  :root { --gutter: 32px; }
  .grid3 { grid-template-columns: repeat(2, 1fr); }
  .industries { grid-template-columns: repeat(4, 1fr); }
  .plans { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .plan, .plan + .plan, .plan:first-child, .plan:last-child { border: 1px solid var(--line); border-radius: var(--radius); margin: 0; }
  .plan.featured { border-color: var(--brand); }
  .price-top { grid-template-columns: 1fr 1fr; }
  .f-top { grid-template-columns: 1fr; }
  .f-cols { grid-template-columns: repeat(3, 1fr); row-gap: 32px; }
  .mech { grid-template-columns: 1fr; }
  .nf { grid-template-columns: 1fr; }
  .tile { grid-template-columns: 100px 1fr; }
  .tile .glyph { width: 100px; }
}
@media (max-width: 860px) {
  .menu-toggle { display: grid; place-items: center; }
  .site-header .bar { padding: 0; }
  .site-header .bar > .btn { display: none; }
  .nav { display: none; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: stretch; padding: 16px var(--gutter); background: var(--bg-deep); border-bottom: 1px solid var(--line); max-height: calc(100vh - 72px); overflow-y: auto; }
  .nav.open { display: flex; }
  .nav-link { font-size: 16px; width: 100%; justify-content: space-between; }
  .dropdown { position: static; display: block; border: 0; box-shadow: none; background: none; padding: 0 0 8px 12px; }
  .nav .mobile-cta { display: block; margin-top: 12px; }
  .quote-card { grid-template-columns: 1fr; border-radius: 32px; }
  .quote-card img { width: 100%; height: auto; max-width: 320px; }
  .origin .row { flex-direction: column; align-items: flex-start; gap: 16px; }
}
.nav .mobile-cta { display: none; }
@media (max-width: 640px) {
  :root { --gutter: 16px; }
  .inner { padding: 0; }
  section { padding: 48px 0; }
  .h40 { font-size: 30px; line-height: 1.3; }
  .h48 { font-size: 32px; }
  .h32 { font-size: 24px; line-height: 1.4; }
  .lead, .story p { font-size: 17px; }
  .grid3, .plans, .price-top { grid-template-columns: 1fr; }
  .industries { grid-template-columns: repeat(2, 1fr); }
  .f-cols { grid-template-columns: repeat(2, 1fr); }
  .f-top, .f-row { padding-left: 0; padding-right: 0; }
  .divider { margin: 24px 0; }
  .avatar { width: 56px; height: 56px; padding: 6px; }
  .avatar img { width: 42px; height: 42px; }
  .ihero .badge { position: static; margin-top: 16px; }
  .vhero .deco.b { width: 160px; right: -60px; }
  .nf .code { font-size: 112px; }
  .media, .slide img { border-radius: 16px; }
  .carousel .top { flex-direction: column; align-items: flex-start; }
  .cta .media-sq { display: none; }
  .tile { grid-template-columns: 1fr; }
  .tile .glyph { width: 100%; height: 88px; justify-items: start; }
  .feature .vis { height: 140px; }
}
@media (max-width: 640px) { .nf img { max-width: 320px; } }

/* Figma-check fixes (rows 2,5,6,9-12,15; rows 7+8 withdrawn) */
.site-header .btn.hdr { background: transparent; border-color: var(--brand-600); color: var(--brand-600); }
.site-header .btn.hdr:hover { background: rgba(181, 97, 0, .15); }
.legal h4, .human b { font-weight: 600; }
.ilist b, .plan .amt { font-weight: 600; }
.cta .btns .btn { font-size: 16px; }
.badge-gold { color: #8f6c1a; }
.tm20 p { font-size: 20px; }
.origin-line, .origin-line b { font-weight: 600; }
.fault q { color: rgba(181, 97, 0, .8); }
.nf .code { color: #fff; }
.nf .code .w6 { font-weight: 600; }
.nf .code .w4 { font-weight: 400; }
