@font-face {
  font-family: "The Bold Font";
  src: url("/assets/fonts/theboldfont.ttf") format("truetype");
  font-display: swap;
}

:root {
  color-scheme: dark;
  --bg: #070b10;
  --panel: #101821;
  --panel-strong: #151f2a;
  --text: #f7f9fc;
  --muted: #9ba8b8;
  --line: rgba(255, 255, 255, 0.11);
  --cyan: #18c7e5;
  --orange: #ff6a32;
  --green: #39daa0;
}

* { box-sizing: border-box; }
html { min-width: 320px; background: var(--bg); }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at 10% 8%, rgba(24, 199, 229, 0.12), transparent 30rem),
    radial-gradient(circle at 90% 12%, rgba(255, 106, 50, 0.12), transparent 28rem),
    var(--bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a { color: inherit; }
.agent-shell { width: min(1080px, calc(100% - 32px)); margin: 0 auto; padding: 24px 0 48px; }
.agent-nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 54px; }
.agent-brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 900; }
.agent-brand img { width: 34px; height: 34px; border-radius: 7px; object-fit: cover; }
.agent-nav-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.agent-nav-links a, .agent-button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  text-decoration: none;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.035);
}
.agent-button.is-primary { color: #061018; border-color: transparent; background: linear-gradient(110deg, var(--cyan), #69e2ff 48%, var(--orange)); }
.agent-hero { min-height: 560px; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr); align-items: center; gap: 48px; padding: 64px 0; }
.agent-kicker { margin: 0 0 12px; color: var(--cyan); font-size: 13px; font-weight: 950; text-transform: uppercase; }
.agent-hero h1, .legal-agent h1 { margin: 0; font-family: "The Bold Font", Impact, sans-serif; letter-spacing: 0; line-height: 0.92; text-transform: uppercase; }
.agent-hero h1 { max-width: 760px; font-size: clamp(54px, 8vw, 112px); }
.agent-lead { max-width: 680px; margin: 24px 0; color: #cad3de; font-size: clamp(18px, 2.1vw, 23px); line-height: 1.55; }
.agent-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.agent-visual { position: relative; min-height: 390px; display: grid; place-items: center; }
.agent-mark {
  width: min(320px, 76vw);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px solid rgba(24, 199, 229, 0.28);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(24, 199, 229, 0.13), rgba(255, 106, 50, 0.11)), #0a1017;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.38);
}
.agent-mark img { width: 58%; height: 58%; object-fit: cover; border-radius: 12px; }
.agent-status { position: absolute; right: 0; bottom: 30px; display: flex; align-items: center; gap: 8px; padding: 10px 12px; border: 1px solid rgba(57, 218, 160, 0.35); border-radius: 6px; background: #0c1716; font-weight: 800; }
.agent-status::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--green); box-shadow: 0 0 14px rgba(57, 218, 160, 0.6); }
.agent-section { padding: 54px 0; border-top: 1px solid var(--line); }
.agent-section h2 { margin: 0 0 24px; font-size: clamp(30px, 4vw, 48px); }
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.feature-grid article { padding: 22px; border: 1px solid var(--line); border-radius: 7px; background: rgba(16, 24, 33, 0.86); }
.feature-grid strong { display: block; margin-bottom: 8px; font-size: 18px; }
.feature-grid p { margin: 0; color: var(--muted); line-height: 1.55; }
.agent-footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 28px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.agent-footer nav { display: flex; flex-wrap: wrap; gap: 16px; }

.legal-agent { width: min(860px, calc(100% - 32px)); margin: 0 auto; padding: 28px 0 60px; }
.legal-agent > header { padding: 48px 0 30px; }
.legal-agent h1 { font-size: clamp(45px, 8vw, 82px); }
.legal-agent .updated { color: var(--muted); }
.legal-content { padding: clamp(20px, 4vw, 42px); border: 1px solid var(--line); border-radius: 7px; background: rgba(16, 24, 33, 0.94); }
.legal-content section + section { margin-top: 32px; padding-top: 26px; border-top: 1px solid var(--line); }
.legal-content h2 { margin: 0 0 10px; font-size: 23px; }
.legal-content p, .legal-content li { color: #c4ced9; line-height: 1.7; }
.legal-content a { color: #74e8ff; }

@media (max-width: 760px) {
  .agent-shell { width: min(100% - 22px, 1080px); padding-top: 12px; }
  .agent-nav { align-items: flex-start; }
  .agent-brand span { display: none; }
  .agent-nav-links a { min-height: 38px; padding: 0 10px; font-size: 13px; }
  .agent-hero { min-height: auto; grid-template-columns: 1fr; gap: 24px; padding: 48px 0; }
  .agent-visual { min-height: 280px; order: -1; }
  .agent-mark { width: 240px; }
  .agent-status { right: 8px; bottom: 8px; }
  .feature-grid { grid-template-columns: 1fr; }
  .agent-footer { padding-bottom: 18px; }
}
