@font-face {
  font-family: "SF New Republic";
  src: url("../assets/sf-new-republic-bold-italic.ttf") format("truetype");
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

:root {
  --bg: #050705;
  --bg-elevated: rgba(17, 22, 17, 0.88);
  --bg-panel: rgba(11, 15, 11, 0.92);
  --bg-soft: rgba(20, 27, 20, 0.72);
  --line: rgba(126, 158, 126, 0.18);
  --line-strong: rgba(126, 158, 126, 0.28);
  --text: #f3f6f0;
  --muted: #b6c1b4;
  --accent: #39ff14;
  --accent-soft: rgba(57, 255, 20, 0.12);
  --accent-glow: rgba(57, 255, 20, 0.22);
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.42);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --max: 1180px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(57, 255, 20, 0.08), transparent 28%),
    radial-gradient(circle at top right, rgba(57, 255, 20, 0.05), transparent 22%),
    linear-gradient(180deg, #070a07 0%, #040604 45%, #050705 100%);
  color: var(--text);
  font-family: "Trebuchet MS", "Avenir Next", "Segoe UI", sans-serif;
  line-height: 1.55;
}

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

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

img {
  display: block;
  max-width: 100%;
}

button,
input,
textarea,
select {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 24px;
  border-bottom: 1px solid var(--line);
  background: rgba(4, 6, 4, 0.82);
  backdrop-filter: blur(18px);
}

.logo-title {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.logo-link {
  flex: 0 0 auto;
}

.logo {
  width: auto;
  height: 58px;
  filter: brightness(1.4) contrast(1.1) drop-shadow(0 0 14px rgba(57, 255, 20, 0.18));
}

.brand-text {
  min-width: 0;
}

.brand-name {
  margin: 0;
  color: var(--text);
  font-family: "SF New Republic", "Trebuchet MS", sans-serif;
  font-size: 1.32rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.knwit-word {
  display: inline-flex;
  align-items: baseline;
}

.knwit-w {
  display: inline;
}

.brand-tagline,
.tagline {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.84rem;
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--muted);
  transition: border-color 160ms ease, background 160ms ease, color 160ms ease, transform 160ms ease;
}

.nav-link:hover,
.nav-link:focus-visible {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
}

.nav-link.active {
  border-color: rgba(57, 255, 20, 0.24);
  background: var(--accent-soft);
  color: var(--text);
}

.nav-link-icon {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

main {
  overflow: hidden;
}

.hero,
.page-hero {
  padding: 40px 20px 20px;
}

.hero-panel,
.page-hero-panel {
  max-width: var(--max);
  margin: 0 auto;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(180deg, rgba(14, 18, 14, 0.92), rgba(8, 10, 8, 0.96)),
    radial-gradient(circle at top right, rgba(57, 255, 20, 0.1), transparent 26%);
  box-shadow: var(--shadow);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 420px);
  gap: 40px;
  align-items: center;
}

.hero-copy {
  min-width: 0;
}

.hero-kicker,
.section-kicker {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero h1,
.page-hero h1 {
  margin: 0;
  max-width: 11ch;
  font-size: clamp(2.6rem, 6vw, 4.9rem);
  line-height: 0.96;
  letter-spacing: -0.04em;
}

.hero-support {
  margin: 18px 0 0;
  max-width: 38rem;
  color: var(--muted);
  font-size: 1.08rem;
}

.hero-quote {
  margin: 22px 0 0;
  padding-left: 16px;
  border-left: 2px solid rgba(57, 255, 20, 0.36);
  color: var(--text);
  font-size: 1.02rem;
}

.hero-actions,
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.hero-badge,
.meta-pill {
  display: inline-flex;
  align-items: center;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.02);
  color: var(--muted);
  font-size: 0.84rem;
}

.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.btn-primary {
  background: var(--accent);
  color: #041004;
  font-weight: 700;
  box-shadow: 0 14px 34px rgba(57, 255, 20, 0.18);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  transform: translateY(-1px);
  color: #041004;
  box-shadow: 0 16px 38px rgba(57, 255, 20, 0.24);
}

.btn-secondary {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(57, 255, 20, 0.32);
  background: rgba(57, 255, 20, 0.06);
  color: var(--text);
}

.device-frame {
  width: min(100%, 420px);
  margin: 0 auto;
  padding: 14px;
  border: 1px solid rgba(57, 255, 20, 0.14);
  border-radius: 34px;
  background:
    linear-gradient(180deg, rgba(20, 26, 20, 0.96), rgba(10, 14, 10, 0.96)),
    radial-gradient(circle at top, rgba(57, 255, 20, 0.12), transparent 38%);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.38);
}

.device-frame img {
  width: 100%;
  height: auto;
  border-radius: 24px;
}

.creator-hero h1 {
  max-width: 15ch;
  font-size: clamp(2.25rem, 4.4vw, 3.35rem);
  line-height: 0.98;
}

.creator-hero {
  padding: 24px 20px 12px;
}

.creator-hero-panel {
  overflow: hidden;
  padding: 28px;
}

.creator-visual {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(92px, 0.55fr);
  gap: 14px;
  align-items: center;
  max-width: 380px;
  margin-left: auto;
}

.creator-phone {
  overflow: hidden;
  padding: 10px;
  border: 1px solid rgba(57, 255, 20, 0.16);
  border-radius: 30px;
  background: linear-gradient(180deg, rgba(18, 24, 18, 0.96), rgba(7, 10, 7, 0.98));
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
}

.creator-phone img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 22px;
}

.creator-phone-main {
  max-width: 220px;
  justify-self: end;
}

.creator-phone-main img {
  max-height: 420px;
}

.creator-phone-stack {
  display: grid;
  gap: 12px;
}

.creator-phone-small {
  max-width: 118px;
}

.creator-phone-small img {
  max-height: 205px;
}

.creator-hero .hero-badges {
  margin-top: 18px;
}

.creator-hero .hero-badge {
  padding: 8px 12px;
}

.creator-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.creator-strip div {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.02);
}

.creator-strip strong {
  display: block;
  margin-bottom: 6px;
  color: var(--accent);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.creator-strip span {
  color: var(--muted);
}

.creator-section-header {
  margin-bottom: 0;
}

.creator-assets {
  align-self: start;
}

.creator-cta-panel .button-row {
  justify-content: center;
}

.creator-contact-form {
  display: grid;
  gap: 16px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(15, 19, 15, 0.94), rgba(10, 13, 10, 0.96));
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
}

.creator-contact-form--cta {
  max-width: 780px;
  margin: 30px auto 0;
  text-align: left;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.form-field {
  display: grid;
  gap: 8px;
}

.form-field label {
  color: var(--text);
  font-weight: 700;
}

.form-field label span {
  color: var(--muted);
  font-weight: 400;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: rgba(4, 7, 4, 0.78);
  color: var(--text);
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.form-field textarea {
  resize: vertical;
}

.form-field textarea.form-textarea-large {
  min-height: 180px;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: rgba(182, 193, 180, 0.68);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: rgba(57, 255, 20, 0.46);
  background: rgba(5, 9, 5, 0.94);
  box-shadow: 0 0 0 4px rgba(57, 255, 20, 0.08);
}

.form-check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--muted);
  line-height: 1.35;
}

.form-check input {
  flex: 0 0 auto;
  margin-top: 3px;
  accent-color: var(--accent);
}

.form-check a {
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: rgba(57, 255, 20, 0.34);
  text-underline-offset: 3px;
}

.form-submit {
  justify-self: start;
  cursor: pointer;
}

.device-frame--light {
  background:
    linear-gradient(180deg, rgba(31, 37, 31, 0.96), rgba(15, 19, 15, 0.96)),
    radial-gradient(circle at top, rgba(235, 242, 234, 0.12), transparent 38%);
}

.device-frame--compact {
  width: min(100%, 340px);
}

.section,
.section-muted {
  padding: 28px 20px 76px;
}

.section-muted {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.01), rgba(255, 255, 255, 0));
}

.section-inner {
  max-width: var(--max);
  margin: 0 auto;
}

.section-header {
  max-width: 760px;
  margin-bottom: 28px;
}

.section-title {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
}

.section-intro,
.section-header p,
.page-hero p,
.page-copy p,
.content-card p,
.support-card p,
.feature-card p,
.copy-card p,
.text-list,
.release-note {
  color: var(--muted);
}

.page-hero h1 {
  max-width: none;
  font-size: clamp(2.2rem, 4.8vw, 3.8rem);
}

.page-hero p {
  max-width: 52rem;
  margin: 14px 0 0;
}

.split-layout,
.philosophy-grid,
.modularity-grid,
.support-grid,
.page-columns,
.legal-grid,
.contact-grid,
.summary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.contact-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.copy-stack,
.media-stack {
  display: grid;
  gap: 18px;
}

.copy-card,
.feature-card,
.support-card,
.content-card,
.legal-card,
.contact-card,
.gallery-panel,
.callout-panel {
  height: 100%;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(15, 19, 15, 0.94), rgba(10, 13, 10, 0.96));
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
}

.copy-card h3,
.feature-card h3,
.support-card h3,
.content-card h3,
.legal-card h3,
.contact-card h3,
.gallery-panel h3 {
  margin: 0 0 10px;
  font-size: 1.28rem;
}

.copy-card p,
.feature-card p,
.support-card p,
.content-card p,
.legal-card p,
.contact-card p,
.gallery-panel p {
  margin: 0;
}

.feature-system {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.feature-card strong,
.support-card strong {
  display: block;
  margin-bottom: 8px;
  color: var(--accent);
  font-size: 0.84rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.media-pair,
.shot-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.screen-note,
.inline-note,
.release-note {
  margin-top: 10px;
  font-size: 0.92rem;
}

.callout-panel {
  display: grid;
  gap: 12px;
}

.callout-panel h3,
.callout-panel p {
  margin: 0;
}

.text-list {
  margin: 14px 0 0;
  padding-left: 18px;
}

.text-list li + li {
  margin-top: 8px;
}

.support-card .device-frame,
.gallery-panel .device-frame,
.content-card .device-frame {
  margin-bottom: 18px;
}

.final-cta {
  padding-bottom: 84px;
}

.final-cta .hero-panel {
  text-align: center;
}

.final-cta .hero-panel h2 {
  margin: 0;
  font-size: clamp(2.2rem, 4.4vw, 3.4rem);
  line-height: 1;
  letter-spacing: -0.03em;
}

.final-cta .hero-panel p {
  max-width: 40rem;
  margin: 16px auto 0;
  color: var(--muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 14px;
  margin-top: 8px;
}

.site-footer {
  padding: 24px 20px 34px;
  border-top: 1px solid var(--line);
  background: rgba(5, 7, 5, 0.9);
  color: var(--muted);
  text-align: center;
  font-size: 0.92rem;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--muted);
}

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

.inline-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin-top: 16px;
}

.inline-links a {
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: rgba(57, 255, 20, 0.34);
  text-underline-offset: 3px;
}

.card-link {
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: rgba(57, 255, 20, 0.34);
  text-underline-offset: 3px;
}

.app-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.app-meta-row span {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  color: var(--muted);
  font-size: 0.84rem;
}

.page-wrap {
  min-height: 60vh;
}

.ideas-hero .lead {
  max-width: 42rem;
  margin-top: 12px;
}

.ideas-hero-top {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}

.ideas-mark {
  display: flex;
  justify-content: center;
}

.ideas-mark-logo {
  width: 84px;
  height: auto;
}

.ideas-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 18px;
}

.ideas-cta-note,
.ideas-footer-note {
  color: var(--muted);
}

.ideas-cards {
  margin-top: 24px;
}

.ideas-divider {
  width: 120px;
  height: 2px;
  margin: 0 auto 18px;
  border-radius: 999px;
  background: rgba(57, 255, 20, 0.28);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 1080px) {
  .hero-grid,
  .split-layout,
  .philosophy-grid,
  .modularity-grid,
  .support-grid,
  .page-columns,
  .legal-grid,
  .summary-grid {
    grid-template-columns: 1fr;
  }

  .contact-grid,
  .feature-system,
  .creator-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero h1 {
    max-width: none;
  }
}

@media (max-width: 760px) {
  .site-header {
    padding: 16px 18px;
  }

  .hero,
  .page-hero {
    padding: 24px 16px 16px;
  }

  .section,
  .section-muted {
    padding: 20px 16px 60px;
  }

  .hero-panel,
  .page-hero-panel {
    padding: 24px;
    border-radius: 26px;
  }

  .media-pair,
  .shot-grid,
  .contact-grid,
  .feature-system,
  .creator-strip,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .ideas-hero-top {
    grid-template-columns: 1fr;
  }

  .ideas-mark {
    justify-content: flex-start;
  }
}

@media (max-width: 560px) {
  .site-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .logo {
    height: 50px;
  }

  .brand-name {
    font-size: 1.18rem;
  }

  .main-nav {
    width: 100%;
    justify-content: flex-start;
  }

  .nav-link {
    padding: 9px 12px;
  }

  .hero-panel,
  .page-hero-panel,
  .copy-card,
  .feature-card,
  .support-card,
  .content-card,
  .legal-card,
  .contact-card,
  .gallery-panel,
  .callout-panel,
  .creator-contact-form {
    padding: 20px;
  }

  .hero-actions,
  .button-row {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
  }

  .form-submit {
    justify-self: stretch;
  }

  .creator-visual {
    grid-template-columns: 1fr;
    max-width: 300px;
    margin: 24px auto 0;
  }

  .creator-phone-main,
  .creator-phone-small {
    max-width: none;
    justify-self: stretch;
  }

  .creator-phone-stack {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
