/* Foundry Ops company home v2 (light A2). Institutional rhythm, A2 tokens. v1 uses home.css. */
:root {
  --bg: #FFFFFF; /* was #F7F6F1 (off-white); pure white per Arthur 2026-10-09 */
  --soft: #F5F5F5;
  --ink: #000000;
  --card: #FFFFFF;
  --muted: #4B5563;
  --faint: #6B7280;
  --amber: #F59E0B;
  --amber-ink: #B45309;
  --green: #22C55E;
  --red: #EF4444;
  --line: rgba(0, 0, 0, .14);
  --line-strong: #000;
  --max: 1152px;
  --gutter: 24px;
  --hh: 72px;
  --radius: 14px;
  --shadow: 6px 6px 0 #000;
  --font: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; }
h1, h2, h3, p, ul { margin: 0; }
ul { padding: 0; list-style: none; }
.wrap { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; border-radius: 4px; }

/* Header */
.v2-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .94);
  -webkit-backdrop-filter: saturate(1.2) blur(8px);
  backdrop-filter: saturate(1.2) blur(8px);
  border-bottom: 1px solid var(--line);
}
.v2-header .wrap { height: var(--hh); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-size: 17px; letter-spacing: -.01em; }
.mark { width: 20px; height: 20px; border-radius: 5px; background: #000; flex-shrink: 0; }
.header-right { display: flex; align-items: center; gap: 32px; }
.v2-nav { display: none; gap: 28px; }
.v2-nav a {
  text-decoration: none; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted); padding: 6px 0; border-bottom: 1px solid transparent; transition: color .2s, border-color .2s;
}
.v2-nav a:hover { color: var(--ink); border-bottom-color: var(--amber); }
.lang-switch {
  display: inline-flex; align-items: center; gap: 2px;
  border: 1px solid #000; border-radius: 999px; padding: 3px; background: #fff;
  font-size: 11px; font-weight: 800; letter-spacing: .1em;
}
.lang-switch a { text-decoration: none; padding: 5px 10px; border-radius: 999px; color: var(--muted); line-height: 1; }
.lang-switch a:hover { color: var(--ink); }
.lang-switch a[aria-current="page"] { background: #000; color: #fff; }
.lang-switch .sep { display: none; }

/* Type primitives */
.eyebrow {
  color: var(--amber-ink); font-size: 12px; font-weight: 700; letter-spacing: .24em; text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--amber); flex-shrink: 0; }
.display {
  font-size: clamp(42px, 7.2vw, 84px); font-weight: 900; line-height: 1.0; letter-spacing: -.04em;
  max-width: none;
}
.display .soft { color: var(--muted); }
h2.h2 { font-size: clamp(28px, 3.6vw, 42px); font-weight: 800; line-height: 1.1; letter-spacing: -.03em; margin-bottom: 20px; max-width: 24ch; }
h2.h2s { font-size: clamp(24px, 2.6vw, 30px); font-weight: 800; line-height: 1.2; letter-spacing: -.02em; margin-bottom: 16px; }
.intro { color: var(--muted); font-size: clamp(18px, 1.6vw, 21px); line-height: 1.6; max-width: 640px; }
.lead { font-size: clamp(19px, 1.8vw, 23px); font-weight: 600; line-height: 1.5; letter-spacing: -.01em; max-width: 680px; margin-bottom: 20px; }
.body { color: var(--muted); font-size: 17px; line-height: 1.7; max-width: 640px; }
.body p + p { margin-top: 14px; }
.rule { width: 48px; height: 3px; background: var(--amber); border-radius: 2px; margin: 36px 0 0; }

/* Buttons */
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 0 24px; border-radius: 999px;
  font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; text-decoration: none;
  border: 1.5px solid #000; transition: transform .12s ease, box-shadow .12s ease, background .2s, color .2s;
}
.btn-primary { background: #000; color: #fff; box-shadow: 4px 4px 0 var(--amber); }
.btn-primary:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--amber); }
.btn-ghost { background: transparent; color: #000; }
.btn-ghost:hover { background: #000; color: #fff; }
.btn .arr { font-weight: 700; letter-spacing: 0; }

/* Sections */
.hero { padding: 72px 0 72px; }
.hero .eyebrow { margin-bottom: 28px; }
.hero .display { margin-bottom: 28px; }
.sec { border-top: 1px solid var(--line); padding: 64px 0; scroll-margin-top: var(--hh); }
.split { display: grid; grid-template-columns: 1fr; gap: 20px; }
.split .label { padding-top: 4px; }
.split + .full { margin-top: 48px; }

/* Method rows */
.modes { margin-top: 36px; border-bottom: 1px solid var(--line); max-width: 760px; }
.modes li { display: grid; grid-template-columns: 1fr; gap: 6px; padding: 22px 0; border-top: 1px solid var(--line); }
.mode-name { display: inline-flex; align-items: center; gap: 12px; font-weight: 800; font-size: 18px; letter-spacing: -.01em; }
.mode-name.amber { color: var(--ink); }
.modes p { color: var(--muted); font-size: 16px; line-height: 1.6; }
.dot { width: 12px; height: 12px; border-radius: 50%; border: 1.5px solid #000; flex-shrink: 0; display: inline-block; }
.dot.green { background: var(--green); }
.dot.amber { background: var(--amber); }
.dot.red { background: var(--red); }

/* Audience */
.audience { display: grid; gap: 0; margin-top: 28px; max-width: 760px; }
.audience li { display: flex; gap: 16px; align-items: baseline; padding: 16px 0; border-top: 1px solid var(--line); font-size: 18px; font-weight: 500; }
.audience li:last-child { border-bottom: 1px solid var(--line); }
.audience .n { font-size: 12px; font-weight: 800; letter-spacing: .14em; color: var(--amber-ink); min-width: 28px; }

/* Solution cards */
.cards { display: grid; grid-template-columns: 1fr; gap: 24px; }
.card {
  position: relative; display: flex; flex-direction: column; gap: 14px;
  background: var(--card); border: 2px solid #000; border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 28px 26px 26px; text-decoration: none; color: inherit; min-height: 260px;
  transition: transform .12s ease, box-shadow .12s ease;
}
a.card:hover { transform: translate(-2px, -2px); box-shadow: 8px 8px 0 #000; }
.card-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.card-num { font-size: 12px; font-weight: 800; letter-spacing: .14em; color: var(--faint); }
.badge {
  display: inline-flex; align-items: center; gap: 7px; padding: 5px 10px; border-radius: 999px;
  border: 1.5px solid #000; background: #fff; font-size: 10.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; line-height: 1.25;
}
.badge .dot { width: 8px; height: 8px; border-width: 1.5px; }
.badge.live { background: #ECFDF3; }
.badge.soon { background: #FFF7E6; }
.card h3 { font-size: 24px; font-weight: 800; letter-spacing: -.02em; line-height: 1.15; margin-top: 8px; }
.card p { color: var(--muted); font-size: 16px; line-height: 1.6; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 4px 9px; background: var(--soft); }
.card-cta { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; display: flex; justify-content: space-between; align-items: center; line-height: 20px; min-height: 35px; }
.card-cta .arr { color: var(--amber-ink); font-size: 16px; line-height: 1; letter-spacing: 0; transition: transform .12s ease; }
a.card:hover .card-cta .arr { transform: translateX(3px); }
.card.muted-card { background: var(--soft); }
.card.muted-card .card-cta { color: var(--faint); }

/* Credibility strip */

/* Contact band */
.cta-sec { border-top: 1px solid var(--line); padding: 72px 0 88px; scroll-margin-top: var(--hh); }
.cta-band {
  background: var(--card); border: 2px solid #000; border-radius: 18px; box-shadow: var(--shadow);
  padding: 56px 28px; text-align: center; display: flex; flex-direction: column; align-items: center;
}
.cta-band .eyebrow { margin-bottom: 20px; }
.cta-band h2 { font-size: clamp(30px, 4vw, 46px); font-weight: 900; letter-spacing: -.035em; line-height: 1.05; margin-bottom: 14px; }
.cta-band p:not(.eyebrow) { color: var(--muted); font-size: 18px; max-width: 520px; }
.cta-band .actions { justify-content: center; margin-top: 32px; }
.cta-band .email-btn { text-transform: none; letter-spacing: 0; font-size: 15px; }

/* Footer */
.v2-footer { border-top: 1px solid var(--line-strong); }
.foot-top { display: grid; grid-template-columns: 1fr; gap: 28px; padding: 48px 0 40px; }
.foot-blurb { color: var(--muted); font-size: 15px; line-height: 1.6; max-width: 380px; margin-top: 14px; }
.foot-nav { display: flex; flex-wrap: wrap; gap: 14px 28px; align-content: flex-start; }
.foot-nav a { text-decoration: none; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.foot-nav a:hover { color: var(--ink); }
.foot-bottom { border-top: 1px solid var(--line); padding: 22px 0 40px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: 13px; color: var(--faint); }
.foot-bottom a { text-decoration: none; color: var(--ink); font-weight: 600; }
.foot-bottom a:hover { color: var(--amber-ink); }
.foot-legal { margin: -24px 0 0; padding: 0 0 28px; font-size: 12px; line-height: 1.4; color: var(--muted); }
.foot-legal a { color: inherit; text-decoration: none; }

/* Desktop */
@media (min-width: 760px) {
  :root { --gutter: 48px; }
  .v2-nav { display: flex; }
  .hero { padding: 112px 0 96px; }
  .sec { padding: 88px 0; }
  .split { grid-template-columns: 280px 1fr; gap: 48px; }
  .modes li { grid-template-columns: 200px 1fr; gap: 24px; align-items: baseline; }
  .cards { grid-template-columns: repeat(3, 1fr); }
  .cta-band { padding: 72px 48px; }
  .foot-top { grid-template-columns: 1fr auto; }
}
@media (min-width: 760px) and (max-width: 960px) {
  .cards { grid-template-columns: 1fr; }
  .v2-nav { gap: 18px; }
  .v2-nav a.opt { display: none; }
}
@media (max-width: 420px) {
  :root { --gutter: 20px; }
  .actions .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .card, .card-cta .arr { transition: none; }
}

/* Hide Netlify badge / HUD if injected */
a[href*="netlify.com"][style*="position: fixed"],
a[href*="netlify.com"][style*="position:fixed"],
#netlify-badge, .netlify-badge, [data-nf-variant] { display: none !important; }

/* 2026-10-17: FO logo, main solution card, secondary row, demo strip */
.brand .logo { display: block; height: 28px; width: auto; }
.card.main-card { border-width: 2px; }
.card.main-card h3 { font-size: 28px; }
.main-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 8px; }
.main-actions .text-link { color: #000; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.cards.secondary { margin-top: 24px; grid-template-columns: 1fr; gap: 16px; }
.cards.secondary .card { background: var(--soft); box-shadow: none; padding: 20px; }
.cards.secondary .card h3 { font-size: 18px; }
.cards.secondary .card p { font-size: 14px; }
@media (min-width: 768px) { .cards.secondary { grid-template-columns: repeat(2, 1fr); } }
.demo-wrap { margin-top: 32px; }
.demo { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; padding: 8px 2px 16px; }
.demo img { flex: 0 0 72%; max-width: 280px; width: 72%; height: auto; aspect-ratio: 4 / 5; scroll-snap-align: start; border: 1px solid var(--line); border-radius: 12px; background: var(--soft); }
.cards.full { grid-template-columns: 1fr !important; }
.cards.secondary .card { min-height: 0; }
@media (min-width: 768px) { .cards.secondary { grid-template-columns: repeat(2, 1fr) !important; } }

/* 2026-10-17: Sobre/About page link. Mobile only text link next to the PT/EN toggle (the nav is hidden below 760px). */
.about-m { text-decoration: none; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); padding: 6px 0; }
.about-m:hover, .about-m[aria-current="page"] { color: var(--ink); }
@media (max-width: 759px) { .header-right { gap: 14px; } .v2-header .wrap { gap: 12px; } }
@media (max-width: 420px) { .header-right { gap: 8px; } .v2-header .wrap { gap: 8px; } .about-m { letter-spacing: .06em; } }
@media (min-width: 760px) { .about-m { display: none; } }
.about-hero .display { margin-bottom: 20px; }
