/* ---------- Fonts ---------- */
@font-face {
  font-family: 'Geist';
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/geist-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Geist';
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/geist-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Instrument Serif';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/instrument-serif-italic.woff2') format('woff2');
}

/* ---------- Colors ---------- */
:root {
  --accent: #C2410C;
  --accent-soft: #FFF1E7;
  --accent-dark: #9A3412;
  --peach: #FDBA74;
  --black: #0A0A0A;
  --white: #FFFFFF;
  --gray-50: #FAFAFA;
  --gray-100: #F5F5F5;
  --gray-200: #EDEDED;
  --gray-300: #E5E5E5;
  --gray-400: #D4D4D4;
  --gray-500: #A3A3A3;
  --gray-600: #737373;
  --gray-700: #525252;
  --gray-800: #404040;
  --green: #15803D;
  --green-soft: #DCFCE7;
  --green-dark: #166534;
  --error: #DC2626;
}

/* ---------- Base ---------- */
* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Geist', system-ui, -apple-system, 'Segoe UI', sans-serif;
  background: var(--white);
  color: var(--black);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main { flex: 1; }
a { color: var(--black); text-decoration: none; }
a:hover { color: var(--accent); }
ul, ol { list-style: none; }
h1, h2, h3 { letter-spacing: -0.04em; line-height: 1.05; font-weight: 700; }

.container {
  width: 100%;
  max-width: 1248px;
  margin: 0 auto;
  padding: 0 24px;
}
.section { padding-top: 128px; }
.section--sm { padding-top: 96px; }
.section--center { text-align: center; }

.serif {
  font-family: 'Instrument Serif', Georgia, serif;
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.02em;
}
.serif--accent { color: var(--accent); }
.serif--peach { color: var(--peach); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 52px;
  padding: 0 24px;
  border-radius: 12px;
  border: 1px solid transparent;
  font: inherit;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
}
.btn--sm { height: 44px; padding: 0 20px; border-radius: 10px; font-size: 15px; }
.btn--lg { height: 56px; padding: 0 28px; font-size: 17px; }
.btn--dark, .btn { background: var(--black); color: var(--white); }
.btn--dark:hover, .btn:hover { color: var(--white); opacity: 0.88; }
.btn--outline { background: var(--white); color: var(--black); border-color: var(--gray-400); }
.btn--outline:hover { color: var(--black); border-color: var(--black); opacity: 1; }
.btn--light { background: var(--white); color: var(--black); }
.btn--light:hover { color: var(--black); }
.btn--ghost { background: transparent; color: var(--white); border-color: var(--gray-700); }
.btn--ghost:hover { color: var(--white); border-color: var(--white); opacity: 1; }

.button-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

/* ---------- Header ---------- */
.site-header { border-bottom: 1px solid var(--gray-200); background: var(--white); }
.site-header__inner {
  max-width: 1440px;
  margin: 0 auto;
  height: 72px;
  padding: 0 80px;
  display: flex;
  align-items: center;
  gap: 56px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand span { font-size: 22px; font-weight: 700; letter-spacing: -0.03em; }
.brand:hover { color: var(--black); }

.site-menu { flex: 1; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-nav { display: flex; gap: 32px; font-size: 15px; }
.site-nav a { color: var(--gray-800); }
.site-nav a:hover { color: var(--accent); }
.site-actions { display: flex; align-items: center; gap: 12px; }
.login-link { font-size: 15px; padding: 10px 16px; }

.menu-toggle {
  display: none;
  margin-left: auto;
  width: 44px;
  height: 44px;
  border: 1px solid var(--gray-200);
  border-radius: 10px;
  background: var(--white);
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
}
.menu-toggle span { display: block; width: 18px; height: 2px; background: var(--black); border-radius: 2px; }

/* ---------- Hero ---------- */
.hero {
  padding-top: 104px;
  padding-bottom: 64px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 28px;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px 6px 6px;
  border: 1px solid var(--gray-200);
  border-radius: 999px;
  font-size: 14px;
  color: var(--gray-800);
}
.pill__tag {
  padding: 4px 10px;
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: 999px;
  font-weight: 600;
}
.hero h1 {
  max-width: 1000px;
  font-size: clamp(44px, 7vw, 84px);
  line-height: 1.02;
  letter-spacing: -0.045em;
}
.hero__lead { max-width: 700px; font-size: clamp(17px, 2vw, 21px); line-height: 1.55; color: var(--gray-700); }
.hero .button-row { margin-top: 8px; }
.checks { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 28px; font-size: 14px; color: var(--gray-700); }
.checks li { display: flex; align-items: center; gap: 6px; }
.checks svg { color: var(--green); }

/* ---------- Dashboard preview ---------- */
.preview {
  max-width: 1200px;
  margin: 0 auto;
  border: 1px solid var(--gray-300);
  border-radius: 20px;
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.18);
  overflow: hidden;
  background: var(--white);
}
.preview__bar {
  height: 44px;
  padding: 0 18px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--gray-200);
  background: var(--gray-50);
}
.dot { width: 11px; height: 11px; border-radius: 50%; background: var(--gray-300); }
.preview__url {
  margin-left: 16px;
  padding: 4px 14px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 6px;
  font-size: 12px;
  color: var(--gray-600);
}
.preview__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; padding: 28px; }

.panel {
  border: 1px solid var(--gray-200);
  border-radius: 14px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.panel__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.label { font-size: 12px; font-weight: 600; letter-spacing: 0.06em; color: var(--gray-600); }
.panel__title { font-size: 24px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.25; }
.panel__note { font-size: 13px; color: var(--gray-700); }
.panel__head .panel__note { font-size: 12px; color: var(--gray-600); }

.badge { font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.badge--green { background: var(--green-soft); color: var(--green-dark); }
.badge--orange { background: var(--accent-soft); color: var(--accent-dark); }

.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags span { font-size: 13px; padding: 5px 10px; border-radius: 8px; background: var(--gray-100); }

.figures { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; padding-top: 6px; }
.figures div { display: flex; flex-direction: column; gap: 4px; }
.figures span { font-size: 12px; color: var(--gray-600); }
.figures strong { font-size: 20px; font-weight: 600; }

.progress { height: 8px; border-radius: 999px; background: var(--gray-100); overflow: hidden; }
.progress div { height: 100%; background: var(--accent); }

.matches li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--gray-100);
}
.avatar {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 600;
}
.matches__who { flex: 1; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.matches__who strong { font-size: 15px; font-weight: 500; }
.matches__who span { font-size: 13px; color: var(--gray-600); }

/* ---------- Stats ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
}
.stat { padding: 40px 32px; display: flex; flex-direction: column; gap: 8px; border-right: 1px solid var(--gray-200); }
.stat:last-child { border-right: none; }
.stat strong { font-size: 48px; font-weight: 700; letter-spacing: -0.04em; line-height: 1.1; }
.stat span { font-size: 15px; color: var(--gray-700); }

/* ---------- Section headings ---------- */
.section-head { display: flex; flex-direction: column; gap: 16px; max-width: 760px; margin-bottom: 56px; }
.section--center .section-head { align-items: center; margin: 0 auto 48px; }
.section-head h2 { font-size: clamp(36px, 5vw, 56px); }
.section-head p { font-size: 19px; line-height: 1.5; color: var(--gray-700); max-width: 620px; }
.section-head--split { max-width: none; flex-direction: row; justify-content: space-between; align-items: flex-end; }
.section-head--split > div { display: flex; flex-direction: column; gap: 16px; }
.eyebrow { font-size: 14px; font-weight: 600; letter-spacing: 0.08em; color: var(--accent); }
.text-link { font-size: 17px; font-weight: 500; white-space: nowrap; }

/* ---------- For businesses / for investors ---------- */
.audiences { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.audience {
  padding: 44px;
  border-radius: 20px;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
}
.audience__label { font-size: 14px; font-weight: 600; color: var(--gray-700); }
.audience h3 { font-size: 32px; font-weight: 600; letter-spacing: -0.03em; line-height: 1.15; }
.audience .btn { margin-top: 8px; }
.audience--dark { background: var(--black); border-color: var(--black); color: var(--gray-50); }
.audience--dark .audience__label { color: var(--gray-500); }

.arrow-list { display: flex; flex-direction: column; gap: 14px; font-size: 17px; color: var(--gray-800); }
.arrow-list li::before { content: '→'; margin-right: 12px; }
.audience--dark .arrow-list { color: var(--gray-400); }

/* ---------- Industries ---------- */
.industries { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; max-width: 1120px; margin: 0 auto; }
.industries li {
  padding: 12px 20px;
  border: 1px solid var(--gray-300);
  border-radius: 999px;
  font-size: 16px;
  color: #262626;
}

/* ---------- How it works ---------- */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.steps li { padding-top: 28px; border-top: 2px solid var(--black); display: flex; flex-direction: column; gap: 14px; }
.steps__num { font-size: 15px; font-weight: 600; color: var(--accent); }
.steps h3 { font-size: 26px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.2; }
.steps p { font-size: 17px; line-height: 1.55; color: var(--gray-700); }

/* ---------- Call to action ---------- */
.cta {
  padding: 96px 80px;
  border-radius: 28px;
  background: var(--black);
  color: var(--white);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  text-align: center;
}
.cta h2 { font-size: clamp(40px, 6vw, 64px); line-height: 1.02; letter-spacing: -0.045em; max-width: 900px; }
.cta p { font-size: 20px; line-height: 1.5; color: var(--gray-400); max-width: 620px; }

/* ---------- Footer ---------- */
.site-footer { margin-top: 96px; padding: 56px 0 48px; border-top: 1px solid var(--gray-200); }
.site-footer__top { display: flex; justify-content: space-between; gap: 48px; margin-bottom: 48px; }
.site-footer__about { display: flex; flex-direction: column; gap: 14px; max-width: 320px; }
.site-footer__about p { font-size: 15px; color: var(--gray-700); }
.site-footer__links { display: flex; gap: 96px; font-size: 15px; }
.site-footer__links div { display: flex; flex-direction: column; gap: 12px; }
.site-footer__links h4 { font-size: 15px; font-weight: 600; }
.site-footer__links a { color: var(--gray-700); }
.site-footer__links a:hover { color: var(--accent); }
.site-footer__bottom { display: flex; justify-content: space-between; gap: 16px; font-size: 13px; color: var(--gray-600); }
.site-footer__bottom a { color: var(--gray-600); }

/* ---------- Inner pages (about, contact, 404) ---------- */
.page { max-width: 760px; margin: 0 auto; padding: 80px 24px 0; }
.page h1 { font-size: clamp(40px, 6vw, 56px); margin-bottom: 20px; }
.page h2 { font-size: 28px; letter-spacing: -0.03em; }
.page p { font-size: 17px; color: var(--gray-700); margin-bottom: 16px; }

.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.card { border: 1px solid var(--gray-200); border-radius: 14px; padding: 24px; background: var(--gray-50); }
.card h3 { font-size: 20px; font-weight: 600; letter-spacing: -0.02em; margin-bottom: 4px; }
.card p { margin: 0; font-size: 15px; }

form { display: grid; gap: 18px; margin-top: 24px; }
label { display: grid; gap: 6px; font-size: 15px; font-weight: 500; }
input, textarea {
  font: inherit;
  font-size: 16px;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--gray-400);
  background: var(--white);
  color: var(--black);
}
input:focus, textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: transparent; }
textarea { min-height: 140px; resize: vertical; }
form .btn { justify-self: start; }
.error { color: var(--error); font-weight: 400; font-size: 14px; }
.notice {
  margin-top: 16px;
  padding: 14px 18px;
  border-radius: 10px;
  background: var(--green-soft);
  color: var(--green-dark);
  font-weight: 500;
}

/* ---------- Tablet ---------- */
@media (max-width: 1100px) {
  .site-header__inner { padding: 0 24px; gap: 32px; }
  .site-nav { gap: 20px; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat:nth-child(2) { border-right: none; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--gray-200); }
  .site-footer__links { gap: 48px; }
}

/* ---------- Mobile menu ---------- */
@media (max-width: 960px) {
  .site-header { position: relative; }
  .menu-toggle { display: flex; }
  .site-menu {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    z-index: 10;
    padding: 16px 24px 24px;
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    box-shadow: 0 16px 32px -16px rgba(0, 0, 0, 0.15);
    flex-direction: column;
    align-items: stretch;
  }
  .site-menu.is-open { display: flex; }
  .site-nav { flex-direction: column; gap: 0; }
  .site-nav a { padding: 12px 0; border-bottom: 1px solid var(--gray-100); font-size: 16px; }
  .site-actions { justify-content: space-between; padding-top: 8px; }
}

/* ---------- Phone ---------- */
@media (max-width: 760px) {
  .container { padding: 0 16px; }
  .site-header__inner { padding: 0 16px; }
  .section { padding-top: 88px; }
  .section--sm { padding-top: 64px; }
  .hero { padding-top: 64px; padding-bottom: 48px; }
  .button-row .btn { flex: 1 1 100%; }

  .preview__grid { grid-template-columns: 1fr; padding: 16px; gap: 16px; }
  .panel { padding: 20px; }
  .figures strong { font-size: 17px; }

  .stat { padding: 28px 16px; }
  .stat strong { font-size: 34px; }

  .section-head { margin-bottom: 40px; }
  .section-head--split { flex-direction: column; align-items: flex-start; }
  .audiences, .steps { grid-template-columns: 1fr; }
  .audience { padding: 28px; }
  .audience h3 { font-size: 26px; }
  .industries li { padding: 10px 16px; font-size: 15px; }
  .cta { padding: 56px 20px; border-radius: 20px; }
  .cta p { font-size: 17px; }

  .site-footer { margin-top: 72px; }
  .site-footer__top { flex-direction: column; }
  .site-footer__links { flex-wrap: wrap; gap: 32px 48px; }
  .site-footer__bottom { flex-direction: column; }
  .page { padding-top: 56px; }
}
