/* Shared layout. Each client's brand.css sets the variables. */
:root {
  --bg: #ffffff;
  --panel-bg: #f4f4f5;
  --card-bg: #f4f4f5;
  --hero-bg: #18181b;
  --hero-ink: #ffffff;
  --hero-muted: #a1a1aa;
  --ink: #18181b;
  --text: #3f3f46;
  --muted: #71717a;
  --rule: #d4d4d8;
  --accent: #18181b;
  --accent-hover: #3f3f46;
  --accent-ink: #ffffff;
  --tag-bg: #ffffff;
  --tag-ink: #18181b;
  --radius: 6px;
  --f-body: "Helvetica Neue", Arial, sans-serif;
  --f-mono: "Courier New", Courier, monospace;
  --w-body: 400;
  --w-head: 600;
}

*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--f-body);
  font-weight: var(--w-body);
  font-size: 18px;
  line-height: 1.4;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
}

h1, h2 { color: var(--ink); font-weight: var(--w-head); margin: 0; }
p { margin: 0 0 16px; }
a { color: var(--ink); }

.split { min-height: 100vh; display: grid; grid-template-columns: 1fr; }

.hero {
  background: var(--hero-bg);
  color: var(--hero-ink);
  padding: 24px 20px;
  min-height: 44vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 40px;
}
.logo { display: inline-block; line-height: 0; }
.logo img { height: 26px; width: auto; }

.tags {
  font-size: clamp(44px, 12vw, 104px);
  line-height: 0.95;
  letter-spacing: -0.03em;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.2em;
}
.line { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 0.2em; }
.tag { background: var(--tag-bg); color: var(--tag-ink); padding: 0.2em; display: inline-block; }
.dot { width: 0.26em; height: 0.26em; border-radius: 50%; background: var(--accent); margin-bottom: 0.2em; }

.detail {
  font-family: var(--f-mono);
  font-size: 13px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0;
}
.hero .detail { color: var(--hero-muted); }

.panel { background: var(--panel-bg); display: flex; align-items: center; padding: 48px 20px 60px; }
.panel-inner { width: 100%; max-width: 440px; margin: 0 auto; }
.panel h2 { font-size: clamp(28px, 4vw, 36px); line-height: 1.05; letter-spacing: -0.02em; margin-bottom: 16px; }

.label {
  display: inline-block;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 12px;
  font-weight: var(--w-head);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 8px;
  margin: 0 0 24px;
  border-radius: var(--radius);
}

form { display: grid; gap: 10px; margin: 28px 0; }
label { font-family: var(--f-mono); font-size: 13px; letter-spacing: 0.03em; text-transform: uppercase; color: var(--ink); }

input[type="email"] {
  height: 52px;
  padding: 0 14px;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 17px;
  width: 100%;
}
input[type="email"]::placeholder { color: var(--muted); opacity: 0.7; }

.btn {
  height: 52px;
  padding: 0 20px;
  border: 0;
  border-radius: var(--radius);
  background: var(--accent);
  color: var(--accent-ink);
  font: inherit;
  font-size: 16px;
  font-weight: 400;
  cursor: pointer;
}
.btn:hover { background: var(--accent-hover); }

input:focus-visible, .btn:focus-visible, .btn-ghost:focus-visible, a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.btn:focus-visible { outline-color: var(--ink); }

.muted { color: var(--muted); font-size: 15px; }
.arrow { font-weight: var(--w-head); text-decoration: none; }
.arrow::after { content: " >"; }
a.arrow:hover, .card:hover .arrow { text-decoration: underline; }

.bar {
  background: var(--hero-bg);
  color: var(--hero-ink);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.bar form { display: flex; align-items: center; gap: 16px; margin: 0; }
.who {
  font-family: var(--f-mono);
  font-size: 13px;
  letter-spacing: 0.03em;
  color: var(--hero-muted);
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 46vw;
}
.btn-ghost {
  height: 36px;
  padding: 0 14px;
  background: transparent;
  color: var(--hero-ink);
  border: 1px solid var(--hero-ink);
  border-radius: var(--radius);
  font: inherit;
  font-size: 15px;
  font-weight: 400;
  cursor: pointer;
  white-space: nowrap;
}
.btn-ghost:hover { background: var(--hero-ink); color: var(--hero-bg); }

.hub { max-width: 960px; margin: 0 auto; padding: 48px 20px 90px; }
.hub h1 { font-size: clamp(36px, 6vw, 60px); line-height: 0.95; letter-spacing: -0.03em; margin-bottom: 40px; }
.cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.card {
  display: grid;
  gap: 10px;
  background: var(--card-bg);
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 28px;
  text-decoration: none;
}
.card:hover { border-color: var(--ink); }
.card-title { font-size: 26px; font-weight: var(--w-head); letter-spacing: -0.01em; line-height: 1.05; color: var(--ink); }
.card-text { color: var(--text); }
.card .arrow { color: var(--ink); margin-top: 6px; }
.empty { background: var(--card-bg); padding: 28px; color: var(--muted); }

@media (min-width: 900px) {
  .split { grid-template-columns: 1.15fr 1fr; }
  .hero { padding: 35px; min-height: 100vh; }
  .tags { font-size: clamp(64px, 7.4vw, 124px); }
  .panel { padding: 60px 35px; }
  .bar { padding: 18px 35px; }
  .hub { padding: 72px 35px 120px; }
}
