/* ==========================================================================
   IziForge — landing page
   Same stylesheet as izibuddy.com, unchanged except for the IziForge block
   at the very bottom.
   ========================================================================== */

:root {
  --accent: #f5b23c;
  --accent-strong: #f0a92c;
  --accent-fg: #1a1200;

  --container: 960px;
  --radius-pill: 999px;

  --font-sans: "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto,
    "Helvetica Neue", Arial, "Noto Sans", sans-serif;

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

/* Dark is the default theme. */
:root,
:root[data-theme="dark"] {
  --bg: #0a0a0a;
  --bg-alt: #141414;
  --bg-header: rgba(10, 10, 10, 0.82);
  --fg: #f2f2f2;
  --fg-strong: #ffffff;
  --muted: #8f8f8f;
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.18);
  --surface: rgba(255, 255, 255, 0.04);
}

:root[data-theme="light"] {
  --bg: #ffffff;
  --bg-alt: #fafafa;
  --bg-header: rgba(255, 255, 255, 0.85);
  --fg: #1c1c1c;
  --fg-strong: #0d0d0d;
  --muted: #6f6f6f;
  --border: rgba(0, 0, 0, 0.09);
  --border-strong: rgba(0, 0, 0, 0.16);
  --surface: rgba(0, 0, 0, 0.02);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-sans);
  font-size: 0.875rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3 {
  margin: 0;
  font-weight: 700;
  color: var(--fg-strong);
}

p {
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

ul,
dl,
dd {
  margin: 0;
  padding: 0;
}

ul {
  list-style: none;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 10px 16px;
  background: var(--accent);
  color: var(--accent-fg);
  font-weight: 600;
}

.skip-link:focus {
  left: 12px;
  top: 12px;
}

/* --------------------------------------------------------------- header -- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--bg-header);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 82px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
}

.brand-by {
  font-size: 0.6875rem;
  letter-spacing: 0.04em;
  color: var(--muted);
  white-space: nowrap;
  transition: color 0.18s var(--ease);
}

.brand-by:hover {
  color: var(--accent);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 13px;
}

.logo-mark {
  display: block;
  width: 4px;
  height: 21px;
  background: var(--accent);
  border-radius: 2px;
}

.logo-text {
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-strong);
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav > a {
  font-size: 0.875rem;
  color: var(--muted);
  transition: color 0.18s var(--ease);
}

.nav > a:hover {
  color: var(--fg-strong);
}

.nav-pill {
  padding: 6px 16px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-pill);
  color: var(--fg-strong) !important;
  font-weight: 600;
  transition: border-color 0.18s var(--ease), background-color 0.18s var(--ease);
}

.nav-pill:hover {
  background: var(--surface);
  border-color: var(--accent);
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transition: color 0.18s var(--ease), background-color 0.18s var(--ease);
}

.theme-toggle:hover {
  color: var(--fg-strong);
  background: var(--surface);
}

.theme-toggle .icon-moon {
  display: none;
}

:root[data-theme="light"] .theme-toggle .icon-sun {
  display: none;
}

:root[data-theme="light"] .theme-toggle .icon-moon {
  display: block;
}

/* ----------------------------------------------------------------- hero -- */

.hero {
  padding: 72px 0 172px;
}

.hero h1 {
  font-size: clamp(2.25rem, 6.4vw, 3.625rem);
  line-height: 1.14;
  letter-spacing: -0.022em;
}

.lede {
  max-width: 545px;
  margin-top: 26px;
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.62;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 38px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 22px;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  font-size: 0.8125rem;
  font-weight: 700;
  white-space: nowrap;
  transition: transform 0.18s var(--ease), background-color 0.18s var(--ease),
    border-color 0.18s var(--ease), color 0.18s var(--ease);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--accent);
  color: var(--accent-fg);
}

.btn-primary:hover {
  background: var(--accent-strong);
}

.btn-ghost {
  border-color: var(--border-strong);
  color: var(--fg-strong);
}

:root[data-theme="light"] .btn-ghost {
  background: #fff;
}

.btn-ghost:hover {
  border-color: var(--accent);
  background: var(--surface);
}

.problems {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
  margin-top: 112px;
}

.problems p {
  line-height: 1.65;
  color: var(--muted);
}

.problems strong {
  color: var(--fg-strong);
  font-weight: 700;
}

/* ------------------------------------------------------------- sections -- */

.section {
  padding: 88px 0 92px;
}

.section-rule {
  border-top: 1px solid var(--border);
  padding-top: 22px;
}

.section-alt {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-title {
  font-size: 2rem;
  line-height: 1.25;
  letter-spacing: -0.015em;
  color: var(--accent);
}

/* What it does */

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 38px;
  margin-top: 40px;
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--border);
  border-radius: 13px;
  background: var(--surface);
  color: var(--fg-strong);
}

.feature h3 {
  margin-top: 20px;
  font-size: 0.9375rem;
}

.feature p {
  margin-top: 12px;
  line-height: 1.65;
  color: var(--muted);
}

/* Built for the way you work */

.scales {
  max-width: 690px;
  margin: 62px auto 0;
}

.scale {
  display: grid;
  grid-template-columns: 168px 1fr;
  align-items: start;
}

.scale + .scale {
  padding-top: 34px;
}

.scale dt {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--fg-strong);
}

.scale dd {
  line-height: 1.65;
  color: var(--muted);
  padding-bottom: 34px;
  border-bottom: 1px solid var(--border);
}

.scale:last-child dd {
  padding-bottom: 0;
  border-bottom: 0;
}

/* Where you already are */

.channels {
  max-width: 690px;
  margin-top: 52px;
}

.channels li {
  position: relative;
  padding: 21px 0 21px 20px;
  color: var(--muted);
}

.channels li + li {
  border-top: 1px solid var(--border);
}

.channels li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 30px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}

.channel-name {
  font-weight: 700;
  color: var(--fg-strong);
}

.channel-desc {
  margin-left: 9px;
}

/* Principles */

.principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 38px;
  margin-top: 40px;
}

.principles h3 {
  font-size: 0.9375rem;
}

.principles p {
  margin-top: 12px;
  line-height: 1.65;
  color: var(--muted);
}

/* Early access */

.cta {
  padding: 126px 0 138px;
  text-align: center;
}

.cta-title {
  font-size: 2rem;
  letter-spacing: -0.015em;
  color: var(--accent);
}

.cta-text {
  max-width: 620px;
  margin: 20px auto 0;
  font-size: 1rem;
  color: var(--muted);
}

.cta .btn {
  margin-top: 36px;
}

/* --------------------------------------------------------------- footer -- */

.site-footer {
  padding: 0 0 84px;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 38px;
  padding-top: 34px;
  border-top: 1px solid var(--border);
  color: var(--muted);
}

.footer-inner a:hover {
  color: var(--accent);
}

/* ------------------------------------------------------------ responsive -- */

@media (max-width: 900px) {
  .scales,
  .channels {
    max-width: none;
  }
}

@media (max-width: 720px) {
  /* Let the headline reflow naturally instead of keeping the desktop line breaks. */
  .br-lg {
    display: none;
  }

  .nav {
    gap: 18px;
  }

  .nav > a:not(.nav-pill) {
    display: none;
  }

  .header-inner {
    height: 68px;
  }

  .hero {
    padding: 52px 0 104px;
  }

  .lede {
    font-size: 0.9375rem;
  }

  .problems,
  .features,
  .principles {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .problems {
    margin-top: 72px;
  }

  .section {
    padding: 64px 0 72px;
  }

  .scale {
    grid-template-columns: 1fr;
    gap: 10px;
    padding-bottom: 28px;
  }

  .scale + .scale {
    padding-top: 28px;
  }

  .scale dd {
    padding-bottom: 28px;
  }

  .cta {
    padding: 88px 0 96px;
  }

  .cta-text {
    font-size: 0.9375rem;
  }
}

@media (max-width: 385px) {
  /* Not enough room next to the nav — the footer keeps the InZeMobile link. */
  .brand-by {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ========================================================================== */
/* IziForge only — the "in development" pill above the headline. Nothing      */
/* above this line depends on it.                                             */
/* ========================================================================== */

.badge {
  display: inline-block;
  margin-bottom: 26px;
  padding: 6px 16px;
  border: 1px solid var(--accent);
  border-radius: var(--radius-pill);
  color: var(--accent);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
