/* QuintoAndar AI Hackathon — landing page */
@import url('design-system/tokens.css');

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--surface-2);
  color: var(--ink-1);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

:root {
  /* Accent — driven by Tweaks. Default = terracotta. Body bg = cream. */
  --accent: var(--azul-quinto);
  --accent-soft: var(--azul-quinto-soft);
  --bg: var(--creme);
  --bg-alt: var(--surface-2);
  --container: 1240px;
}

body { background: var(--bg); }

/* ---------- Header ---------- */
.qa-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 80%, transparent);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  border-bottom: 1px solid var(--line-1);
}
.qa-header-inner {
  max-width: var(--container); margin: 0 auto;
  padding: 14px 32px;
  display: flex; align-items: center; gap: 28px;
}
.qa-brand {
  display: flex; align-items: center; gap: 14px;
  text-decoration: none;
}
.qa-brand-logo {
  height: 22px; width: auto; display: block;
}
.qa-brand-tag {
  font-family: var(--font-body); font-weight: 500; font-size: 12px;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3);
  padding-left: 14px;
  border-left: 1px solid var(--line-2);
}

.qa-nav {
  flex: 1;
  display: flex; gap: 22px; justify-content: center;
}
.qa-nav a {
  font-size: 14px; font-weight: 500; color: var(--ink-2);
  padding: 6px 2px;
  transition: color 150ms var(--ease);
  position: relative;
}
.qa-nav a:hover { color: var(--ink-1); }
.qa-nav a.active { color: var(--ink-1); }
.qa-nav a.active::after {
  content: ""; position: absolute;
  left: 0; right: 0; bottom: -4px; height: 2px; background: var(--accent);
  border-radius: 2px;
}
.qa-header-actions { display: flex; align-items: center; gap: 12px; }

/* Language toggle — segmented control */
.qa-lang {
  display: inline-flex;
  background: var(--surface-1);
  border: 1px solid var(--line-1);
  border-radius: var(--r-pill);
  padding: 3px;
}
.qa-lang button {
  appearance: none; background: transparent; border: 0;
  font-size: 12px; font-weight: 600; color: var(--ink-3);
  padding: 5px 10px; border-radius: var(--r-pill);
  letter-spacing: 0.04em;
  transition: all 150ms var(--ease);
  min-width: 32px;
}
.qa-lang button:hover { color: var(--ink-1); }
.qa-lang button.active {
  background: var(--ink-1); color: var(--surface-1);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-body); font-weight: 600; font-size: 15px; line-height: 1.2;
  padding: 12px 20px; border-radius: var(--r-md); border: 1.5px solid transparent;
  transition: all 150ms var(--ease); cursor: pointer; background: transparent;
  white-space: nowrap;
}
.btn.primary { background: var(--ink-1); color: var(--branco-quinto); }
.btn.primary:hover { background: #000; transform: translateY(-1px); }
.btn.accent { background: var(--accent); color: #fff; }
.btn.accent:hover { filter: brightness(0.93); transform: translateY(-1px); }
.btn.secondary { background: transparent; color: var(--ink-1); border-color: var(--ink-1); }
.btn.secondary:hover { background: var(--ink-1); color: var(--branco-quinto); }
.btn.ghost { color: var(--ink-1); }
.btn.ghost:hover { background: rgba(0,0,0,0.04); }
.btn.sm { font-size: 13px; padding: 8px 14px; }
.btn.lg { font-size: 16px; padding: 14px 26px; }
.btn:focus-visible { outline: none; box-shadow: var(--shadow-focus); }
.btn svg { width: 16px; height: 16px; }

/* ---------- Layout helpers ---------- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}
section.block { padding: 96px 0; position: relative; }
section.block.alt { background: var(--surface-2); }
.section-head { display: flex; flex-direction: column; gap: 12px; margin-bottom: 48px; max-width: 760px; }
.eyebrow {
  font-size: 12px; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--accent);
  display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow::before {
  content: ""; width: 24px; height: 1.5px; background: var(--accent);
}
.section-title {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(32px, 4.2vw, 52px); line-height: 1.05; letter-spacing: -0.025em;
  color: var(--ink-1);
}
.section-lead {
  font-size: 18px; line-height: 1.55; color: var(--ink-2); max-width: 640px;
}
.section-divider {
  height: 1px; background: var(--line-1); margin: 0;
}

/* ---------- Hero ---------- */
.hero { padding: 88px 0 96px; position: relative; overflow: hidden; }
.hero .container { display: grid; grid-template-columns: 1fr; gap: 56px; }
.hero-eyebrow {
  font-size: 13px; font-weight: 600; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--ink-2);
  display: inline-flex; align-items: center; gap: 14px;
}
.hero-eyebrow .dot {
  width: 8px; height: 8px; border-radius: 99px; background: var(--accent);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 25%, transparent);
}
.hero-title {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(48px, 8vw, 112px);
  line-height: 0.98; letter-spacing: -0.035em;
  color: var(--ink-1);
  margin: 18px 0 0;
}
.hero-title em {
  font-style: normal; color: var(--accent);
  font-family: var(--font-display);
}
.hero-title .period { color: var(--accent); }
.hero-sub {
  font-size: 20px; line-height: 1.45;
  color: var(--ink-2); max-width: 620px;
  margin-top: 32px;
}
.hero-meta-row {
  margin-top: 56px; display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px; align-items: end;
}
.hero-meta-left { display: flex; flex-direction: column; gap: 32px; }
.hero-meta-right { display: flex; flex-direction: column; }
.hero-details {
  display: grid; grid-template-columns: repeat(3, auto);
  gap: 24px 36px; padding-top: 12px;
  border-top: 1px solid var(--line-1);
  margin-top: 4px;
}
.live-block {
  background: var(--ink-1); color: var(--branco-quinto);
  border-radius: var(--r-lg);
  padding: 24px 26px;
  display: flex; flex-direction: column; gap: 6px;
}
.live-block .lb-time {
  font-family: var(--font-mono); font-size: 12px;
  letter-spacing: 0.08em; color: rgba(250,250,247,0.55);
}
.live-block .lb-activity {
  font-family: var(--font-display); font-weight: 700;
  font-size: 28px; letter-spacing: -0.02em; line-height: 1.15;
}
.live-block .lb-detail {
  font-size: 14px; color: rgba(250,250,247,0.7);
}
.hero-cta-group {
  display: flex; gap: 14px; align-items: center; flex-wrap: wrap;
}
.hero-detail {
  display: flex; flex-direction: column; gap: 6px;
  font-size: 14px; color: var(--ink-2);
}
.hero-detail .key {
  font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-3); font-weight: 600;
}
.hero-detail .val { font-size: 16px; color: var(--ink-1); font-weight: 500; }

/* Hero — countdown */
.countdown {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 40px;
}
.countdown-cell {
  background: transparent;
  border: 1px solid var(--line-1);
  border-radius: var(--r-lg);
  padding: 22px 18px;
  display: flex; flex-direction: column; gap: 8px;
  position: relative;
  background: var(--surface-1);
}
.countdown-cell .num {
  font-family: var(--font-display);
  font-feature-settings: "tnum" 1;
  font-weight: 700;
  font-size: clamp(36px, 5.5vw, 72px);
  line-height: 0.95;
  letter-spacing: -0.035em;
  color: var(--ink-1);
}
.countdown-cell .lbl {
  font-size: 11px; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--ink-3);
}
.countdown.live .countdown-cell { background: var(--ink-1); color: var(--branco-quinto); border-color: var(--ink-1); }
.countdown.live .countdown-cell .num { color: var(--branco-quinto); }
.countdown.live .countdown-cell .lbl { color: rgba(250,250,247,0.65); }
.countdown-label {
  font-size: 12px; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--ink-3);
  margin-bottom: 4px;
}
.live-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px; border-radius: var(--r-pill);
  background: var(--accent); color: #fff;
  font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
}
.live-badge .pulse {
  width: 8px; height: 8px; border-radius: 99px; background: #fff;
  animation: pulse 1.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}

/* Hero variant: split */
.hero.split .container {
  grid-template-columns: 1.3fr 1fr;
  gap: 64px; align-items: center;
}
.hero.split .hero-title { font-size: clamp(44px, 6vw, 84px); }
.hero.split .hero-meta-row { grid-template-columns: 1fr; gap: 28px; }
.hero.split .countdown { margin-top: 0; }
.hero.split .countdown-cell .num { font-size: clamp(32px, 4vw, 52px); }

/* Hero variant: centered */
.hero.centered .container { text-align: center; }
.hero.centered .hero-eyebrow,
.hero.centered .hero-title,
.hero.centered .hero-sub { margin-left: auto; margin-right: auto; }
.hero.centered .hero-sub { max-width: 720px; }
.hero.centered .hero-meta-row { grid-template-columns: 1fr; justify-items: center; gap: 36px; }
.hero.centered .hero-cta-group { justify-content: center; }
.hero.centered .countdown { max-width: 880px; margin-left: auto; margin-right: auto; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 64px; align-items: start; }
.about-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 32px; }
.stat {
  border-left: 2px solid var(--accent);
  padding: 6px 0 6px 18px;
}
.stat .num {
  font-family: var(--font-display); font-weight: 700;
  font-size: 36px; line-height: 1; letter-spacing: -0.025em; color: var(--ink-1);
}
.stat .lbl {
  font-size: 13px; color: var(--ink-2); margin-top: 6px;
}

/* ---------- Rules grid ---------- */
.rules-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: var(--line-1);
  border: 1px solid var(--line-1); border-radius: var(--r-xl);
  overflow: hidden;
}
.rule {
  background: var(--surface-1);
  padding: 32px 28px;
  display: flex; flex-direction: column; gap: 14px;
  min-height: 220px;
  transition: background 200ms var(--ease);
}
.rule:hover { background: color-mix(in srgb, var(--accent-soft) 50%, var(--surface-1)); }
.rule-num {
  font-family: var(--font-display); font-weight: 700;
  font-size: 14px; color: var(--accent);
  letter-spacing: 0.02em;
}
.rule h3 {
  font-family: var(--font-display); font-weight: 700;
  font-size: 22px; letter-spacing: -0.02em; color: var(--ink-1);
  line-height: 1.2;
}
.rule p {
  font-size: 15px; color: var(--ink-2); line-height: 1.55;
}
.rule-icon { width: 28px; height: 28px; color: var(--ink-1); }

/* ---------- Tracks ---------- */
.tracks {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.track {
  border-radius: var(--r-xl);
  padding: 32px 28px;
  min-height: 320px;
  display: flex; flex-direction: column; justify-content: space-between;
  cursor: default;
  transition: transform 200ms var(--ease), box-shadow 200ms var(--ease);
  position: relative; overflow: hidden;
}
.track:hover { transform: translateY(-2px); box-shadow: var(--shadow-2); }
.track-num {
  font-family: var(--font-display); font-weight: 700;
  font-size: 13px; opacity: 0.7; letter-spacing: 0.06em;
}
.track h3 {
  font-family: var(--font-display); font-weight: 700;
  font-size: 26px; line-height: 1.15; letter-spacing: -0.02em;
  margin: 20px 0 14px;
}
.track p { font-size: 14px; line-height: 1.55; opacity: 0.8; }
.track .track-key {
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.06em; opacity: 0.6;
}
.track.azul     { background: var(--azul-quinto); color: var(--branco-quinto); }
.track.terra    { background: var(--terracotta); color: #fff; }
.track.sage     { background: var(--sage); color: #fff; }
.track.mostarda { background: var(--mostarda); color: var(--ink-1); }
.track .glyph {
  width: 36px; height: 36px; opacity: 0.85;
}

/* ---------- Schedule ---------- */
.schedule { display: flex; flex-direction: column; }
.sch-row {
  display: grid; grid-template-columns: 180px 1fr auto;
  gap: 32px; align-items: center;
  padding: 22px 0;
  border-top: 1px solid var(--line-1);
  position: relative;
  transition: padding 200ms var(--ease);
}
.sch-row:first-of-type { border-top: 0; }
.sch-row .time {
  font-family: var(--font-display); font-feature-settings: "tnum" 1;
  font-weight: 600; font-size: 18px; letter-spacing: -0.01em;
  color: var(--ink-1);
}
.sch-row .activity {
  font-size: 18px; color: var(--ink-1); font-weight: 500;
}
.sch-row .detail {
  font-size: 13px; color: var(--ink-3);
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
}
.sch-row.active {
  background: linear-gradient(90deg, color-mix(in srgb, var(--accent) 10%, transparent), transparent);
  border-left: 3px solid var(--accent);
  padding-left: 20px;
  margin-left: -20px;
}
.sch-row.active .time { color: var(--accent); }
.sch-row.active::before {
  content: "NOW";
  position: absolute; left: -20px; top: 22px;
  background: var(--accent); color: #fff;
  font-size: 9px; font-weight: 700; letter-spacing: 0.1em;
  padding: 3px 6px; border-radius: var(--r-xs);
}
.sch-row.past { opacity: 0.4; }

/* ---------- Team finder ---------- */
.finder-search {
  display: flex; align-items: center; gap: 12px;
  background: var(--surface-1);
  border: 1.5px solid var(--line-2);
  border-radius: var(--r-pill);
  padding: 6px 6px 6px 24px;
  max-width: 640px;
  transition: border-color 150ms var(--ease), box-shadow 150ms var(--ease);
}
.finder-search:focus-within { border-color: var(--ink-1); box-shadow: var(--shadow-focus); }
.finder-search svg { width: 18px; height: 18px; color: var(--ink-3); flex: 0 0 18px; }
.finder-search input {
  flex: 1; border: 0; outline: none; background: transparent;
  font-family: var(--font-body); font-size: 16px; color: var(--ink-1);
  padding: 12px 0;
}
.finder-search input::placeholder { color: var(--ink-3); }
.finder-clear {
  background: var(--line-1); color: var(--ink-1);
  border: 0; border-radius: var(--r-pill);
  padding: 8px 14px; font-size: 13px; font-weight: 500;
  transition: background 150ms var(--ease);
}
.finder-clear:hover { background: var(--line-2); }

.finder-meta {
  display: flex; gap: 16px; align-items: center;
  margin-top: 20px;
  font-size: 13px; color: var(--ink-3);
}
.finder-meta .count { font-family: var(--font-mono); }
.finder-filters { display: flex; gap: 8px; }
.finder-chip {
  background: transparent; border: 1px solid var(--line-2);
  color: var(--ink-2);
  padding: 5px 12px; border-radius: var(--r-pill);
  font-size: 12px; font-weight: 500;
  transition: all 150ms var(--ease);
}
.finder-chip:hover { border-color: var(--ink-2); color: var(--ink-1); }
.finder-chip.active { background: var(--ink-1); color: #fff; border-color: var(--ink-1); }

.teams-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 16px; margin-top: 32px;
}
.team-card {
  background: var(--surface-1);
  border: 1px solid var(--line-1);
  border-radius: var(--r-lg);
  padding: 24px;
  display: flex; flex-direction: column; gap: 14px;
  transition: border-color 200ms var(--ease), box-shadow 200ms var(--ease);
  position: relative;
}
.team-card.matched {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 18%, transparent);
}
.team-card-head {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding-bottom: 10px; border-bottom: 1px solid var(--line-1);
}
.team-num {
  font-family: var(--font-display); font-weight: 700;
  font-size: 28px; letter-spacing: -0.02em; color: var(--ink-1);
  line-height: 1;
}
.team-card.matched .team-num { color: var(--accent); }
.team-count-lbl {
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--ink-3);
}
.team-name {
  font-family: var(--font-display); font-weight: 700; font-size: 22px;
  letter-spacing: -0.02em; color: var(--ink-1);
}
.team-track {
  font-family: var(--font-mono); font-size: 10px;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 4px 8px; border-radius: var(--r-xs);
  flex-shrink: 0;
}
.team-track.azul     { background: var(--azul-quinto-soft); color: var(--azul-quinto); }
.team-track.terra    { background: var(--terracotta-soft); color: var(--terracotta); }
.team-track.sage     { background: var(--sage-soft); color: #4d6342; }
.team-track.mostarda { background: var(--mostarda-soft); color: #8a6510; }
.team-members { display: flex; flex-direction: column; gap: 6px; }
.team-member {
  display: flex; flex-direction: column; gap: 3px;
  padding: 8px 0;
  border-bottom: 1px dashed var(--line-1);
}
.team-member:last-child { border-bottom: 0; padding-bottom: 4px; }
.team-member .nm { color: var(--ink-1); font-weight: 500; font-size: 15px; }
.team-member .nm.is-you { color: var(--accent); font-weight: 600; }
.team-member .pos { color: var(--ink-3); font-size: 12px; }
.team-card-foot {
  display: flex; justify-content: flex-end; align-items: center;
  margin-top: 4px;
}
.team-chatbtn {
  display: inline-flex; align-items: center; gap: 6px;
  background: transparent; border: 1px solid var(--line-2);
  color: var(--ink-1); border-radius: var(--r-md);
  padding: 8px 12px; font-size: 13px; font-weight: 500;
  transition: all 150ms var(--ease);
}
.team-chatbtn:hover { background: var(--ink-1); color: #fff; border-color: var(--ink-1); }
.team-chatbtn svg { width: 14px; height: 14px; }
.team-chatbtn.copied { background: var(--success); color: #fff; border-color: var(--success); }

.finder-empty {
  margin-top: 40px;
  padding: 56px 32px;
  background: var(--surface-1);
  border: 1.5px dashed var(--line-2);
  border-radius: var(--r-xl);
  text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 14px;
}
.finder-empty h3 {
  font-family: var(--font-display); font-weight: 700; font-size: 22px; letter-spacing: -0.02em;
}
.finder-empty p { color: var(--ink-2); font-size: 15px; max-width: 420px; }
.finder-empty .ill {
  width: 80px; height: 80px; color: var(--accent); opacity: 0.6;
}

/* ---------- Tools ---------- */
.tools-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px;
}
.tool-card {
  background: var(--surface-1);
  border: 1px solid var(--line-1);
  border-radius: var(--r-xl);
  padding: 32px;
  display: flex; flex-direction: column; gap: 18px;
  transition: all 200ms var(--ease);
}
.tool-card:hover { box-shadow: var(--shadow-3); transform: translateY(-2px); border-color: var(--line-2); }
.tool-head { display: flex; align-items: center; gap: 16px; }
.tool-logo {
  width: 56px; height: 56px; border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-family: var(--font-display); font-weight: 700; font-size: 26px;
}
.tool-logo.cursor { background: var(--ink-1); color: #fff; }
.tool-logo.claude { background: #D97757; color: #fff; }
.tool-name {
  font-family: var(--font-display); font-weight: 700; font-size: 24px;
  letter-spacing: -0.02em; color: var(--ink-1);
}
.tool-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--success-soft); color: var(--success);
  font-size: 11px; font-weight: 600; letter-spacing: 0.04em;
  padding: 3px 8px; border-radius: var(--r-pill);
  margin-top: 4px;
}
.tool-card p { font-size: 15px; color: var(--ink-2); line-height: 1.6; }
.tool-card .tool-actions { display: flex; gap: 12px; margin-top: 6px; }
.tools-note {
  margin-top: 24px;
  padding: 20px 24px;
  background: color-mix(in srgb, var(--accent-soft) 60%, var(--surface-1));
  border: 1px solid color-mix(in srgb, var(--accent) 25%, var(--line-1));
  border-radius: var(--r-lg);
  font-size: 15px; color: var(--ink-2);
  display: flex; gap: 14px; align-items: flex-start;
}
.tools-note .icn {
  width: 22px; height: 22px; color: var(--accent); flex-shrink: 0; margin-top: 1px;
}
.tools-note strong { color: var(--ink-1); font-weight: 600; }

/* ---------- Deliverables ---------- */
.deliverables-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.deliv {
  background: var(--surface-1);
  border-radius: var(--r-xl);
  padding: 32px;
  border: 1px solid var(--line-1);
  display: flex; flex-direction: column; gap: 14px;
  position: relative;
  min-height: 260px;
}
.deliv .num {
  font-family: var(--font-display); font-weight: 700;
  font-size: 56px; line-height: 1; letter-spacing: -0.03em;
  color: var(--accent);
}
.deliv h3 {
  font-family: var(--font-display); font-weight: 700; font-size: 22px;
  letter-spacing: -0.02em;
}
.deliv p { font-size: 15px; color: var(--ink-2); line-height: 1.55; }
.deliv .req {
  margin-top: auto;
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--ink-3);
}
.deliv .req .pill {
  background: var(--ink-1); color: var(--branco-quinto);
  padding: 3px 7px; border-radius: var(--r-xs);
  margin-left: 4px;
}

/* ---------- Materials ---------- */
.materials-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.mat {
  background: var(--surface-1);
  border: 1px solid var(--line-1);
  border-radius: var(--r-lg);
  padding: 24px;
  display: flex; flex-direction: column; gap: 12px;
  transition: all 200ms var(--ease);
  text-decoration: none; color: inherit;
  position: relative;
}
.mat:hover {
  transform: translateY(-2px); box-shadow: var(--shadow-2);
  border-color: var(--ink-3);
}
.mat .icn {
  width: 32px; height: 32px; color: var(--ink-1);
}
.mat h3 {
  font-family: var(--font-display); font-weight: 700; font-size: 18px;
  letter-spacing: -0.01em; color: var(--ink-1);
}
.mat p { font-size: 14px; color: var(--ink-2); line-height: 1.5; }
.mat .arrow {
  position: absolute; top: 22px; right: 22px;
  width: 18px; height: 18px; color: var(--ink-3);
  transition: transform 150ms var(--ease);
}
.mat:hover .arrow { transform: translate(2px, -2px); color: var(--ink-1); }

/* ---------- Idea bank ---------- */
.idea-bank {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.idea {
  background: var(--surface-1);
  border: 1px solid var(--line-1);
  border-radius: var(--r-lg);
  padding: 24px;
  display: flex; flex-direction: column; gap: 12px;
  transition: all 200ms var(--ease);
}
.idea:hover { border-color: var(--accent); box-shadow: var(--shadow-2); }
.idea .track-pill {
  align-self: flex-start;
  font-family: var(--font-mono); font-size: 10px;
  letter-spacing: 0.06em; text-transform: uppercase;
  padding: 3px 8px; border-radius: var(--r-xs);
  background: var(--accent-soft); color: var(--accent);
}
.idea h3 {
  font-family: var(--font-display); font-weight: 600; font-size: 18px;
  line-height: 1.3; letter-spacing: -0.01em;
}
.idea p { font-size: 14px; color: var(--ink-2); line-height: 1.5; }
.idea .by {
  font-size: 12px; color: var(--ink-3); margin-top: auto;
  display: flex; align-items: center; gap: 8px;
}
.idea .by .av {
  width: 22px; height: 22px; border-radius: 99px;
  background: var(--accent-soft); color: var(--accent);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 10px; font-weight: 700;
}

/* ---------- FAQ ---------- */
.faq { display: flex; flex-direction: column; }
.faq-item { border-top: 1px solid var(--line-1); }
.faq-item:last-child { border-bottom: 1px solid var(--line-1); }
.faq-q {
  width: 100%;
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 26px 4px;
  background: transparent; border: 0;
  font-family: var(--font-display); font-weight: 600; font-size: 20px;
  letter-spacing: -0.01em; color: var(--ink-1);
  text-align: left;
  transition: padding 150ms var(--ease);
}
.faq-q:hover { color: var(--accent); }
.faq-q .toggle {
  width: 28px; height: 28px; border-radius: 99px;
  border: 1.5px solid var(--ink-2);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: all 200ms var(--ease);
}
.faq-item.open .faq-q .toggle {
  background: var(--accent); border-color: var(--accent); color: #fff;
  transform: rotate(45deg);
}
.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height 250ms var(--ease);
  font-size: 16px; line-height: 1.6; color: var(--ink-2);
}
.faq-item.open .faq-a { max-height: 600px; padding: 0 4px 28px; }

/* ---------- Conduct ---------- */
.conduct {
  background: var(--surface-1);
  border-radius: var(--r-xl);
  padding: 48px 56px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 32px;
  align-items: start;
  border: 1px solid var(--line-1);
}
.conduct .ico {
  width: 56px; height: 56px;
  background: var(--accent-soft);
  border-radius: var(--r-pill);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
}
.conduct .ico svg { width: 28px; height: 28px; }
.conduct h3 {
  font-family: var(--font-display); font-weight: 700; font-size: 22px;
  letter-spacing: -0.02em; margin-bottom: 10px;
}
.conduct p { font-size: 16px; line-height: 1.6; color: var(--ink-2); max-width: 720px; }

/* ---------- Footer ---------- */
.qa-footer {
  background: var(--ink-1);
  color: var(--branco-quinto);
  padding: 80px 0 32px;
  margin-top: 96px;
}
.qa-footer-inner {
  max-width: var(--container); margin: 0 auto; padding: 0 32px;
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 56px;
}
.qa-footer .brand-block { display: flex; flex-direction: column; gap: 18px; }
.qa-footer .brand-block .lockup {
  display: flex; align-items: center; gap: 14px;
}
.qa-footer .footer-logo {
  height: 22px; width: auto; display: block;
  filter: brightness(0) invert(1);
}
.qa-footer .lockup-sep {
  color: rgba(250,250,247,0.3); font-size: 18px;
}
.qa-footer .lockup-tag {
  font-family: var(--font-body); font-weight: 500; font-size: 12px;
  letter-spacing: 0.08em; text-transform: uppercase; color: rgba(250,250,247,0.6);
}
.qa-footer .brand-block .blurb {
  font-size: 14px; line-height: 1.55; color: rgba(250,250,247,0.7);
  max-width: 380px;
}
.qa-footer-col h4 {
  font-family: var(--font-body); font-weight: 600; font-size: 12px;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(250,250,247,0.5);
  margin: 0 0 16px;
}
.qa-footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.qa-footer-col a {
  font-size: 14px; color: rgba(250,250,247,0.85);
  transition: color 150ms var(--ease);
  display: inline-flex; align-items: center; gap: 6px;
}
.qa-footer-col a:hover { color: #fff; }
.qa-footer-bottom {
  max-width: var(--container); margin: 56px auto 0; padding: 24px 32px 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12px; color: rgba(250,250,247,0.5);
  flex-wrap: wrap; gap: 16px;
}
.qa-footer .qa-lang {
  background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.1);
}
.qa-footer .qa-lang button { color: rgba(250,250,247,0.6); }
.qa-footer .qa-lang button:hover { color: #fff; }
.qa-footer .qa-lang button.active { background: var(--branco-quinto); color: var(--ink-1); }

/* ---------- Modal ---------- */
.modal-backdrop {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(14, 14, 16, 0.55);
  backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  padding: 32px;
  animation: fadeIn 200ms var(--ease);
}
.modal {
  background: var(--surface-1);
  border-radius: var(--r-xl);
  width: 100%; max-width: 720px;
  max-height: calc(100vh - 64px);
  overflow: auto;
  box-shadow: var(--shadow-4);
  animation: modalIn 250ms var(--ease);
}
@keyframes modalIn {
  from { opacity: 0; transform: translateY(16px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.modal-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 24px 32px;
  border-bottom: 1px solid var(--line-1);
}
.modal-head h2 {
  font-family: var(--font-display); font-weight: 700; font-size: 22px;
  letter-spacing: -0.02em;
}
.modal-close {
  width: 36px; height: 36px; border-radius: 99px;
  background: transparent; border: 0; color: var(--ink-2);
  display: flex; align-items: center; justify-content: center;
  transition: background 150ms var(--ease);
}
.modal-close:hover { background: var(--line-1); color: var(--ink-1); }
.modal-body { padding: 28px 32px 32px; }
.modal-body h3 {
  font-family: var(--font-display); font-weight: 700; font-size: 17px;
  margin-bottom: 8px; margin-top: 24px;
}
.modal-body h3:first-child { margin-top: 0; }
.modal-body p { font-size: 14px; color: var(--ink-2); line-height: 1.55; margin-bottom: 10px; }
.modal-body ol { padding-left: 18px; font-size: 14px; color: var(--ink-2); line-height: 1.65; }
.modal-body code {
  background: var(--surface-3); padding: 2px 6px; border-radius: var(--r-xs);
  font-size: 13px; color: var(--ink-1);
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .tracks { grid-template-columns: repeat(2, 1fr); }
  .teams-grid { grid-template-columns: repeat(2, 1fr); }
  .rules-grid { grid-template-columns: repeat(2, 1fr); }
  .deliverables-grid { grid-template-columns: 1fr; }
  .materials-grid { grid-template-columns: repeat(2, 1fr); }
  .idea-bank { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .qa-footer-inner { grid-template-columns: 1fr 1fr; }
  .hero.split .container { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .qa-header-inner { padding: 12px 20px; gap: 12px; flex-wrap: wrap; }
  .qa-nav { display: none; }
  .container { padding: 0 20px; }
  section.block { padding: 64px 0; }
  .hero { padding: 56px 0 64px; }
  .tracks { grid-template-columns: 1fr; }
  .teams-grid { grid-template-columns: 1fr; }
  .rules-grid { grid-template-columns: 1fr; }
  .materials-grid { grid-template-columns: 1fr; }
  .countdown { grid-template-columns: repeat(2, 1fr); }
  .sch-row { grid-template-columns: 100px 1fr; gap: 16px; padding: 16px 0; }
  .sch-row .detail { grid-column: 2; font-size: 12px; }
  .qa-footer-inner { grid-template-columns: 1fr; gap: 40px; }
  .conduct { padding: 32px 24px; grid-template-columns: 1fr; }
  .hero-meta-row { grid-template-columns: 1fr; gap: 32px; }
}
