@import url("https://fonts.googleapis.com/css2?family=Sora:wght@300;400;500;600;700;800&display=swap");

:root {
  --guild-ink: #121212;
  --guild-paper: #f5f5f1;
  --guild-panel: #ffffff;
  --guild-muted: #5f666d;
  --guild-line: rgba(18, 18, 18, 0.14);
  --guild-glass: rgba(237, 239, 236, 0.86);
  --guild-night: #050607;
  --guild-cyan: #6eddea;
  --guild-violet: #8f7dff;
  --primary: #121212;
  --primary-dark: #000000;
  --accent: #6eddea;
  --dark: #121212;
  --gray: #5f666d;
  --light: #f5f5f1;
  --white: #ffffff;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Sora", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  background: var(--guild-paper) !important;
  color: var(--guild-ink) !important;
  letter-spacing: 0;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
.logo,
.logo-text,
.section-header h2 {
  font-family: "Sora", system-ui, sans-serif !important;
  font-weight: 400 !important;
  letter-spacing: 0 !important;
}

p,
li,
input,
textarea,
button,
a {
  font-family: "Sora", system-ui, sans-serif;
}

nav {
  position: fixed !important;
  top: 18px !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 1000 !important;
  width: min(1280px, calc(100vw - 32px)) !important;
  margin: 0 auto !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

.nav-inner {
  max-width: none !important;
  min-height: 62px;
  padding: 9px 12px !important;
  background: var(--guild-glass) !important;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 8px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.logo {
  color: var(--guild-ink) !important;
  font-size: 1rem !important;
  font-weight: 500 !important;
  gap: 10px !important;
}

.logo-icon {
  width: 38px !important;
  height: 38px !important;
  border-radius: 8px !important;
  background:
    linear-gradient(135deg, rgba(110, 221, 234, 0.95), rgba(143, 125, 255, 0.92)) !important;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35);
  font-size: 18px !important;
}

.logo-text {
  color: var(--guild-ink) !important;
  font-size: 1rem !important;
  font-weight: 500 !important;
}

.logo-text span,
.logo span {
  color: var(--guild-ink) !important;
}

.nav-links {
  gap: 13px !important;
  align-items: center;
}

.nav-links a,
.nav-inner ul a {
  color: rgba(18, 18, 18, 0.76) !important;
  font-size: 0.78rem !important;
  font-weight: 500 !important;
  opacity: 1 !important;
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active,
.nav-inner ul a:hover {
  color: var(--guild-ink) !important;
}

.nav-cta,
.btn-primary,
.service-card .btn,
.contact-form button,
.cta,
.btn.primary {
  background: var(--guild-ink) !important;
  color: #ffffff !important;
  border: 1px solid var(--guild-ink) !important;
  border-radius: 8px !important;
  box-shadow: none !important;
  font-weight: 600 !important;
  text-decoration: none;
}

.btn-secondary,
.btn,
.service-card .btn.secondary {
  border: 1px solid currentColor !important;
  border-radius: 8px !important;
  box-shadow: none !important;
}

.hamburger span {
  background: var(--guild-ink) !important;
}

.home-page .hero {
  min-height: min(820px, 100svh);
  padding: 148px 24px 64px !important;
  display: flex;
  align-items: end;
  color: #ffffff;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.84) 0%, rgba(0, 0, 0, 0.52) 45%, rgba(0, 0, 0, 0.16) 100%),
    url("/assets/news/robot-workspace.jpg") center / cover no-repeat !important;
}

.home-page .hero-inner {
  max-width: 1120px !important;
  width: 100%;
  grid-template-columns: minmax(0, 1fr) !important;
  gap: 0 !important;
  align-items: end !important;
}

.home-page .hero-content {
  max-width: 780px;
  width: 100%;
}

.home-page .coming-soon {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 22px;
  padding: 8px 11px;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.82) !important;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
}

.home-page .hero-content h1 {
  max-width: 760px;
  margin-bottom: 22px !important;
  color: #ffffff !important;
  font-size: clamp(3rem, 7vw, 5.7rem) !important;
  line-height: 0.98 !important;
  font-weight: 400 !important;
}

.home-page .hero-content h1 span {
  color: #ffffff !important;
  background: none !important;
  -webkit-text-fill-color: currentColor !important;
}

.home-page .hero-content p {
  max-width: 650px !important;
  color: rgba(255, 255, 255, 0.82) !important;
  font-size: clamp(1rem, 2vw, 1.3rem) !important;
  line-height: 1.55 !important;
}

.home-page .hero-buttons {
  flex-wrap: wrap;
}

.home-page .btn-primary {
  background: #ffffff !important;
  color: var(--guild-ink) !important;
  border-color: #ffffff !important;
}

.home-page .btn-secondary {
  background: transparent !important;
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.78) !important;
}

.home-page .hero-image {
  display: none !important;
}

.home-page .where-today {
  border-top: 0 !important;
}

.about-hero,
body:not(.home-page):not(.showroom-page):not(.robot-specs-page):not(.gallery-page) .hero,
.page,
main {
  background: var(--guild-paper) !important;
  color: var(--guild-ink) !important;
}

.about-hero,
.page,
main,
.gallery .hero {
  padding-top: 150px !important;
}

.section-header h2,
.about-hero h1,
.hero h1,
h1 {
  color: var(--guild-ink);
  font-size: clamp(2.35rem, 5vw, 4.5rem);
  line-height: 1.05;
}

body:not(.home-page):not(.showroom-page):not(.robot-specs-page):not(.gallery-page) .hero h1 {
  color: var(--guild-ink) !important;
  background: none !important;
  -webkit-text-fill-color: currentColor !important;
}

.showroom-page,
.robot-specs-page,
.gallery-page {
  background: var(--guild-paper) !important;
}

.showroom-page .hero,
.robot-specs-page .hero,
.gallery-page .hero {
  position: relative;
  min-height: min(680px, 86svh);
  width: 100%;
  margin: 0 !important;
  padding: 150px clamp(20px, 5vw, 72px) 72px !important;
  display: flex !important;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  overflow: hidden;
  color: #ffffff !important;
  isolation: isolate;
}

.showroom-page .hero::before,
.robot-specs-page .hero::before,
.gallery-page .hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: var(--guild-night);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  transform: scale(1.02);
}

.showroom-page .hero::after,
.robot-specs-page .hero::after,
.gallery-page .hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.82) 0%, rgba(0, 0, 0, 0.54) 48%, rgba(0, 0, 0, 0.16) 100%),
    linear-gradient(0deg, rgba(5, 6, 7, 0.82) 0%, rgba(5, 6, 7, 0.08) 42%, rgba(5, 6, 7, 0.36) 100%);
}

.showroom-page .hero::before {
  background-image: url("/darrylbots-showroom.png");
}

.robot-specs-page .hero::before {
  background-image: url("/assets/news/robot-comparison.jpg");
}

.gallery-page .hero::before {
  background-image: url("/gallery/robot-kitchen-flowers.jpg");
}

.showroom-page .hero h1,
.robot-specs-page .hero h1,
.gallery-page .hero h1 {
  max-width: 860px;
  margin: 0 0 20px !important;
  color: #ffffff !important;
  background: none !important;
  -webkit-text-fill-color: currentColor !important;
  text-align: left !important;
  text-shadow: none !important;
  font-size: clamp(3rem, 7vw, 5.8rem) !important;
  line-height: 0.98 !important;
}

.showroom-page .hero p,
.robot-specs-page .hero p,
.gallery-page .hero p {
  max-width: 680px;
  margin: 0 !important;
  color: rgba(255, 255, 255, 0.82) !important;
  text-align: left !important;
  font-size: clamp(1rem, 2vw, 1.25rem) !important;
  line-height: 1.55 !important;
}

.robot-specs-page .container {
  width: 100% !important;
  max-width: none !important;
  padding: 0 !important;
}

.robot-specs-page .content,
.showroom-page .robots-grid,
.showroom-page .comparison-section,
.showroom-page .cta-section,
.gallery-page .gallery {
  background: var(--guild-paper) !important;
  color: var(--guild-ink) !important;
}

.robot-specs-page .content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 64px 24px !important;
}

.showroom-page .showroom-image {
  display: none !important;
}

.robot-card,
.comparison-card,
.gallery-card,
.table-container,
.intro {
  background: var(--guild-panel) !important;
  border: 1px solid var(--guild-line) !important;
  border-radius: 8px !important;
  box-shadow: none !important;
  color: var(--guild-ink) !important;
}

.robot-name,
.robot-card h3,
.comparison-card h3,
.gallery-card h3,
.intro h2,
.table-container th,
.table-container td {
  color: var(--guild-ink) !important;
  -webkit-text-fill-color: currentColor !important;
}

.showroom-page .robots-grid h2,
.showroom-page .comparison-section h2 {
  color: var(--guild-ink) !important;
  -webkit-text-fill-color: currentColor !important;
}

.robot-specs-page table {
  color: var(--guild-ink) !important;
}

.robot-specs-page .back-button {
  background: var(--guild-ink) !important;
  color: #ffffff !important;
  border: 1px solid var(--guild-ink) !important;
  border-radius: 8px !important;
  box-shadow: none !important;
}

.section-header p,
.about-hero p,
.hero p,
.hero-copy,
.subtitle,
.card p,
.service-card p,
.trust-card p,
.intent-card p,
.field-note-card p,
.security-card p,
.architecture-card li,
.agent-card p,
.agent-card li,
.robot-desc,
.robot-maker,
.spec-label,
.cta-section p {
  color: var(--guild-muted) !important;
}

.services,
.why-us,
.trust,
.seo-intent,
.field-notes,
.architecture,
.founder,
.book-section,
.cta-section,
.news,
.newsletter,
.where-today {
  background: var(--guild-paper) !important;
}

.why-us {
  color: var(--guild-ink) !important;
}

.why-us-inner {
  align-items: center !important;
}

.why-us-content h2,
.why-us-content p,
.features-list,
.features-list li,
.features-list li span,
.features-list li strong,
.founder-info h3 {
  color: var(--guild-ink) !important;
  -webkit-text-fill-color: currentColor !important;
}

.why-us-content p,
.features-list li span {
  color: #3f464c !important;
  -webkit-text-fill-color: currentColor !important;
}

.features-list li strong {
  color: var(--guild-ink) !important;
  font-weight: 700 !important;
}

.features-list .feature-check {
  background: var(--guild-ink) !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  border-radius: 999px !important;
  font-weight: 700 !important;
}

.founder-card {
  background: var(--guild-panel) !important;
  border: 1px solid var(--guild-line) !important;
  border-radius: 8px !important;
  box-shadow: none !important;
}

.founder-info span {
  color: var(--guild-muted) !important;
  -webkit-text-fill-color: currentColor !important;
}

.why-us-image img {
  border-radius: 8px !important;
  box-shadow: none !important;
}

.services,
.services-inner,
.services .section-header,
.service-card,
.service-card h3,
.service-card .price,
.service-deliverables,
.service-deliverables li {
  color: var(--guild-ink) !important;
  -webkit-text-fill-color: currentColor !important;
}

.services .section-header p,
.service-card p {
  color: var(--guild-muted) !important;
  -webkit-text-fill-color: currentColor !important;
}

.card,
.service-card,
.trust-card,
.intent-card,
.field-note-card,
.security-card,
.architecture-card,
.agent-card,
.book,
.manifest,
.chapter-card,
.panel,
.toc a,
.toc .locked,
.news-card,
.contact-method,
.contact-form,
.bot-card,
.spec-card {
  background: var(--guild-panel) !important;
  border: 1px solid var(--guild-line) !important;
  border-radius: 8px !important;
  box-shadow: none !important;
}

.service-card:hover,
.news-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 48px rgba(18, 18, 18, 0.08) !important;
}

.service-icon,
.news-tag,
.hero-badge,
.pill,
.status,
.eyebrow {
  border-radius: 8px !important;
  letter-spacing: 0 !important;
}

.service-icon,
.news-tag {
  background: var(--guild-ink) !important;
  color: #ffffff !important;
}

.founder-badge,
.robot-price {
  background: var(--guild-ink) !important;
  color: #ffffff !important;
  border-radius: 8px !important;
}

.status-badge {
  background: transparent !important;
  border: 1px solid var(--guild-line) !important;
  color: var(--guild-ink) !important;
}

.eyebrow,
.price,
.book-price {
  color: var(--guild-ink) !important;
}

.security,
.credentials,
footer {
  background: var(--guild-ink) !important;
}

footer,
footer p,
footer a,
footer .logo,
footer .logo-text,
footer .logo span,
footer .logo-text span,
.security h2,
.security h3,
.credentials h2,
.credentials h3 {
  color: #ffffff !important;
  -webkit-text-fill-color: currentColor !important;
}

footer .footer-col a,
footer .footer-bottom,
footer .footer-brand p {
  color: rgba(255, 255, 255, 0.72) !important;
  -webkit-text-fill-color: currentColor !important;
}

footer .footer-col a:hover {
  color: #ffffff !important;
}

.gallery-page .generator-badge,
.news-tag,
.robot-price,
.showroom-page .cta-btn,
.robot-specs-page .back-button,
.contact-form button {
  background: var(--guild-ink) !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  border-color: var(--guild-ink) !important;
}

.bot-articles-page .cover,
body:not(.home-page) .cover {
  color: #ffffff !important;
  -webkit-text-fill-color: currentColor !important;
}

.bot-articles-page .chapter-number,
body:not(.home-page) .chapter-number {
  color: #9a3b13 !important;
  -webkit-text-fill-color: currentColor !important;
}

.showroom-page .cta-section a:not(.cta-btn),
.video-credit,
.robot-specs-page .source,
.robot-specs-page .source p,
.robot-specs-page .source strong {
  color: #3f464c !important;
  -webkit-text-fill-color: currentColor !important;
}

.home-page .newsletter,
.home-page .newsletter h2,
.home-page .newsletter p,
.home-page .newsletter label {
  color: var(--guild-ink) !important;
  -webkit-text-fill-color: currentColor !important;
}

.home-page .newsletter p {
  opacity: 1 !important;
  color: #3f464c !important;
}

.home-page .newsletter-form input,
.home-page .newsletter-form select,
.home-page .newsletter-form textarea {
  background: #ffffff !important;
  color: var(--guild-ink) !important;
  -webkit-text-fill-color: currentColor !important;
  border: 1px solid var(--guild-line) !important;
}

.home-page .newsletter-form input::placeholder,
.home-page .newsletter-form textarea::placeholder {
  color: #4b535a !important;
  -webkit-text-fill-color: #4b535a !important;
}

.home-page .newsletter-form button {
  background: var(--guild-ink) !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

.security .section-header p,
.security .security-card p,
.security .security-card li,
.credentials p {
  color: rgba(255, 255, 255, 0.72) !important;
  -webkit-text-fill-color: currentColor !important;
}

.security .security-card {
  background: rgba(255, 255, 255, 0.075) !important;
  border-color: rgba(255, 255, 255, 0.18) !important;
  color: #ffffff !important;
  -webkit-text-fill-color: currentColor !important;
}

.security .security-card h3 {
  color: #ffffff !important;
  -webkit-text-fill-color: currentColor !important;
}

.security .security-card ul {
  color: rgba(255, 255, 255, 0.72) !important;
}

@media (max-width: 980px) {
  nav {
    top: 12px !important;
    width: min(100vw - 20px, 720px) !important;
  }

  .nav-inner {
    min-height: 58px;
  }

  .nav-links {
    background: rgba(245, 245, 241, 0.96) !important;
    border: 1px solid var(--guild-line) !important;
    border-radius: 8px !important;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.16) !important;
  }

  .home-page .hero {
    min-height: 760px;
    padding-top: 132px !important;
  }

  .home-page .hero-inner {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .home-page .hero-content h1 {
    font-size: clamp(2.15rem, 8vw, 3.35rem) !important;
    line-height: 1.08 !important;
    max-width: 100% !important;
  }
}

@media (min-width: 981px) and (max-width: 1260px) {
  .nav-links {
    gap: 10px !important;
  }

  .nav-links a,
  .nav-inner ul a {
    font-size: 0.72rem !important;
  }
}

@media (max-width: 768px) {
  nav {
    left: 10px !important;
    right: 10px !important;
    width: auto !important;
    max-width: none !important;
    margin: 0 !important;
  }

  .nav-links {
    display: none !important;
  }

  .nav-inner {
    overflow: hidden;
  }

  .nav-cta {
    display: none !important;
  }

  .logo,
  .logo-text {
    font-size: 0.92rem !important;
  }

  .home-page .hero {
    min-height: 720px;
    padding: 128px 18px 42px !important;
  }

  .home-page .hero-inner {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .home-page .hero-content h1 {
    font-size: clamp(2rem, 9.2vw, 2.4rem) !important;
    line-height: 1.08 !important;
    max-width: 100% !important;
    overflow-wrap: break-word;
  }

  .home-page .hero-content p {
    font-size: 0.96rem !important;
    line-height: 1.5 !important;
    max-width: 100% !important;
  }

  .showroom-page .hero,
  .robot-specs-page .hero,
  .gallery-page .hero {
    min-height: 680px;
    padding: 128px 24px 48px !important;
  }

  .showroom-page .hero h1,
  .robot-specs-page .hero h1,
  .gallery-page .hero h1 {
    font-size: clamp(2.25rem, 12vw, 3.1rem) !important;
    line-height: 1.05 !important;
    width: 100% !important;
    max-width: calc(100vw - 48px) !important;
    overflow-wrap: break-word;
  }

  .showroom-page .hero p,
  .robot-specs-page .hero p,
  .gallery-page .hero p {
    font-size: 0.96rem !important;
    line-height: 1.5 !important;
    width: 100% !important;
    max-width: calc(100vw - 48px) !important;
    overflow-wrap: break-word;
  }

  .showroom-page .robots-grid,
  .showroom-page .comparison-section,
  .showroom-page .cta-section,
  .gallery-page .gallery,
  .robot-specs-page .content {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 18px !important;
    padding-right: 18px !important;
  }

  .showroom-page .grid,
  .gallery-page .gallery-grid {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .robot-card,
  .gallery-item,
  .intro,
  .table-container {
    max-width: 100% !important;
  }

  .robot-card {
    padding: 24px !important;
  }

  .showroom-page .robots-grid h2,
  .showroom-page .comparison-section h2 {
    max-width: 100% !important;
    font-size: 1.55rem !important;
    white-space: normal !important;
    overflow-wrap: break-word;
  }

  .robot-header,
  .robot-status {
    gap: 12px !important;
    flex-wrap: wrap !important;
  }

  .robot-header {
    display: block !important;
  }

  .robot-price {
    display: inline-block !important;
    margin-top: 12px !important;
  }

  .section-header h2,
  .about-hero h1,
  .hero h1,
  h1 {
    font-size: clamp(2rem, 9.5vw, 2.45rem) !important;
    line-height: 1.1 !important;
  }

  .hero-buttons,
  .home-page .hero-buttons {
    display: grid !important;
    grid-template-columns: 1fr;
  }

  .btn-primary,
  .btn-secondary {
    justify-content: center;
    width: 100%;
    text-align: center;
  }
}
