:root {
    --dl-charcoal: #171716;
    --dl-charcoal-soft: #24231F;
    --dl-brass: #C79A2B;
    --dl-brass-hover: #D8AA3A;
    --dl-cream: #F6F0E4;
    --dl-ivory: #FFF4DF;
    --dl-stone: #EDE4D3;
    --dl-border: #DED6C7;
    --dl-text: #2B2924;
    --dl-muted: #6F675A;
    --dl-white: #FFFFFF;
  }
  
  * {
    box-sizing: border-box;
  }
  
  html {
    scroll-behavior: smooth;
  }
  
  body {
    margin: 0;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--dl-text);
    background: var(--dl-cream);
  }
  
  a {
    color: inherit;
    text-decoration: none;
  }
  
  .container {
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto;
  }
  
  .site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: #000000;
    border-bottom: 1px solid rgba(199, 154, 43, 0.28);
  }
  
  .header-inner {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
  }
  
  .brand {
    display: flex;
    align-items: center;
    flex-shrink: 0;
  }
  
  .brand-logo {
    display: block;
    width: auto;
    max-width: min(360px, 62vw);
    height: 52px;
    object-fit: contain;
    object-position: left center;
  }
  
  .header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
  }
  
  .nav-link {
    color: var(--dl-stone);
    font-size: 0.95rem;
  }
  
  .login-button,
  .primary-button,
  .secondary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 18px;
    border-radius: 999px;
    font-weight: 700;
    transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
  }
  
  .login-button,
  .primary-button {
    background: var(--dl-brass);
    color: var(--dl-charcoal);
    border: 1px solid var(--dl-brass);
  }
  
  .login-button:hover,
  .primary-button:hover {
    background: var(--dl-brass-hover);
    transform: translateY(-1px);
  }
  
  .secondary-button {
    background: rgba(255, 244, 223, 0.08);
    color: var(--dl-ivory);
    border: 1px solid rgba(255, 244, 223, 0.24);
  }
  
  .secondary-button:hover {
    border-color: rgba(199, 154, 43, 0.65);
    transform: translateY(-1px);
  }
  
  .beta-teaser {
    background:
      radial-gradient(circle at top left, rgba(199, 154, 43, 0.1), transparent 42%),
      var(--dl-ivory);
    border-bottom: 1px solid var(--dl-border);
    padding: clamp(40px, 5vw, 64px) 0;
  }

  .beta-teaser-inner {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    align-items: center;
    gap: clamp(24px, 4vw, 40px);
  }

  .beta-teaser-copy {
    min-width: 0;
  }

  .beta-badge {
    display: inline-flex;
    align-items: center;
    margin-bottom: 14px;
    padding: 6px 12px;
    border: 1px solid rgba(199, 154, 43, 0.45);
    border-radius: 999px;
    background: rgba(199, 154, 43, 0.12);
    color: var(--dl-brass);
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
  }

  .beta-teaser-title {
    margin-bottom: 14px;
    font-size: clamp(1.85rem, 4.5vw, 3rem);
    line-height: 1.05;
    letter-spacing: -0.05em;
    color: var(--dl-text);
  }

  .beta-teaser-subtitle {
    margin: 0;
    max-width: 32rem;
    color: var(--dl-muted);
    font-size: 1.05rem;
    line-height: 1.65;
  }

  .beta-teaser-video-wrap {
    position: relative;
    margin: 0;
    min-width: 0;
    padding: 8px;
    border: 1px solid rgba(199, 154, 43, 0.42);
    border-radius: 20px;
    background: var(--dl-charcoal-soft);
    box-shadow: 0 18px 56px rgba(23, 23, 22, 0.18);
    overflow: hidden;
    transition: opacity 480ms ease, box-shadow 480ms ease;
  }

  .beta-teaser-video-wrap.is-ended {
    opacity: 0.9;
    box-shadow: 0 10px 32px rgba(23, 23, 22, 0.12);
  }

  .beta-teaser-video {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: min(52vh, 400px);
    border-radius: 14px;
    object-fit: cover;
    vertical-align: middle;
    background: var(--dl-charcoal);
    transition: opacity 480ms ease;
  }

  .beta-teaser-video-wrap.is-ended .beta-teaser-video {
    opacity: 0.94;
  }

  .beta-teaser-sound-button {
    position: absolute;
    right: 18px;
    bottom: 18px;
    z-index: 2;
    min-height: 36px;
    padding: 0 14px;
    border: 1px solid rgba(199, 154, 43, 0.55);
    border-radius: 999px;
    background: rgba(23, 23, 22, 0.78);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    color: var(--dl-cream);
    font-family: inherit;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    cursor: pointer;
    transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
  }

  .beta-teaser-sound-button:hover {
    background: rgba(36, 35, 31, 0.92);
    border-color: var(--dl-brass);
    transform: translateY(-1px);
  }

  .beta-teaser-sound-button:focus-visible {
    outline: 2px solid var(--dl-brass);
    outline-offset: 2px;
  }

  .hero {
    position: relative;
    overflow: hidden;
    background:
      radial-gradient(circle at top right, rgba(199, 154, 43, 0.18), transparent 34%),
      linear-gradient(135deg, var(--dl-charcoal), #22211d 58%, var(--dl-charcoal));
    padding: 86px 0 92px;
    color: var(--dl-ivory);
  }
  
  .hero-pyramids {
    position: absolute;
    left: 50%;
    bottom: -8%;
    width: min(920px, 115%);
    max-width: none;
    height: auto;
    transform: translateX(-50%);
    opacity: 0.22;
    pointer-events: none;
    user-select: none;
    mask-image: linear-gradient(to top, rgba(0, 0, 0, 0.55) 0%, transparent 72%);
    -webkit-mask-image: linear-gradient(to top, rgba(0, 0, 0, 0.55) 0%, transparent 72%);
  }
  
  .hero .container {
    position: relative;
    z-index: 1;
  }
  
  .hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    align-items: center;
    gap: clamp(28px, 4vw, 48px);
  }
  
  .hero-copy {
    justify-self: start;
    text-align: left;
    max-width: 34rem;
  }
  
  .eyebrow {
    margin: 0 0 12px;
    color: var(--dl-brass);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.16em;
    text-transform: uppercase;
  }
  
  h1,
  h2,
  h3,
  p {
    margin-top: 0;
  }
  
  h1 {
    margin-bottom: 22px;
    font-size: clamp(2.7rem, 6vw, 5.2rem);
    line-height: 0.94;
    letter-spacing: -0.07em;
  }
  
  .hero-text {
    max-width: 630px;
    color: var(--dl-stone);
    font-size: 1.15rem;
    line-height: 1.75;
  }
  
  .hero-actions,
  .cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 30px;
  }
  
  .trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 28px;
  }
  
  .trust-row span {
    padding: 8px 12px;
    border: 1px solid rgba(255, 244, 223, 0.14);
    border-radius: 999px;
    color: var(--dl-stone);
    background: rgba(255, 255, 255, 0.04);
    font-size: 0.82rem;
  }
  
  .hero-preview {
    margin: 0;
    justify-self: end;
    width: 100%;
    max-width: 100%;
    padding: 10px;
    border: 1px solid rgba(199, 154, 43, 0.42);
    border-radius: 22px;
    background: rgba(255, 244, 223, 0.06);
    box-shadow: 0 26px 90px rgba(0, 0, 0, 0.35);
    overflow: hidden;
  }
  
  .hero-preview img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 14px;
    object-fit: contain;
    object-position: center top;
  }
  
  .feature-card,
  .workflow-card {
    border: 1px solid var(--dl-border);
    background: var(--dl-ivory);
    border-radius: 18px;
  }
  
  .problem-section,
  .workflow-section,
  .showcase-section,
  .ai-section,
  .features-section,
  .cta-section {
    padding: 86px 0;
  }
  
  .ai-section {
    background: var(--dl-ivory);
  }
  
  .section-intro {
    margin: 0;
    max-width: 720px;
    color: var(--dl-muted);
    line-height: 1.72;
    font-size: 1.05rem;
  }
  
  .ai-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
  }
  
  .ai-card {
    padding: 24px;
    border: 1px solid var(--dl-border);
    background: var(--dl-cream);
    border-radius: 18px;
    box-shadow: 0 14px 42px rgba(43, 41, 36, 0.08);
  }
  
  .ai-card h3 {
    margin-bottom: 10px;
    font-size: 1.1rem;
  }
  
  .ai-card p {
    margin: 0;
    color: var(--dl-muted);
    line-height: 1.65;
    font-size: 0.95rem;
  }
  
  .ai-card--emphasis {
    grid-column: 1 / -1;
    border-color: rgba(199, 154, 43, 0.45);
    background: var(--dl-ivory);
  }
  
  .showcase-section {
    background: var(--dl-ivory);
  }
  
  .showcase-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
    align-items: start;
  }
  
  .showcase-card {
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-width: 0;
  }
  
  .showcase-card--wide {
    grid-column: 1 / -1;
  }
  
  .showcase-media {
    margin: 0;
    overflow: hidden;
    border: 1px solid var(--dl-border);
    border-radius: 18px;
    background: var(--dl-charcoal-soft);
    box-shadow: 0 14px 42px rgba(43, 41, 36, 0.12);
  }
  
  .showcase-card--square .showcase-media {
    max-width: 100%;
    margin-inline: auto;
    width: 100%;
  }
  
  .showcase-card img {
    display: block;
    width: 100%;
    height: auto;
    vertical-align: middle;
    object-fit: contain;
    object-position: center top;
  }
  
  .showcase-card h3 {
    margin-bottom: 0;
    font-size: 1.1rem;
  }
  
  .showcase-card p {
    margin: 0;
    color: var(--dl-muted);
    line-height: 1.65;
    font-size: 0.95rem;
  }
  
  .problem-section {
    background: var(--dl-ivory);
  }
  
  .split {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 48px;
    align-items: start;
  }
  
  h2 {
    font-size: clamp(2rem, 4vw, 3.4rem);
    line-height: 1.03;
    letter-spacing: -0.055em;
    margin-bottom: 20px;
  }
  
  .split p,
  .feature-card p,
  .workflow-card p,
  .cta-card p,
  .site-footer p {
    color: var(--dl-muted);
    line-height: 1.72;
    font-size: 1rem;
  }
  
  .section-heading {
    max-width: 720px;
    margin-bottom: 34px;
  }
  
  .workflow-section {
    background: var(--dl-cream);
  }
  
  .workflow-grid,
  .features-grid {
    display: grid;
    gap: 18px;
  }
  
  .workflow-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .workflow-card,
  .feature-card {
    padding: 24px;
    box-shadow: 0 14px 42px rgba(43, 41, 36, 0.08);
  }
  
  .workflow-card span {
    display: inline-flex;
    margin-bottom: 18px;
    color: var(--dl-brass);
    font-weight: 900;
  }
  
  .workflow-card h3,
  .feature-card h3 {
    margin-bottom: 10px;
    font-size: 1.1rem;
  }
  
  .features-section {
    background: var(--dl-charcoal);
    color: var(--dl-ivory);
  }
  
  .features-section .feature-card {
    background: var(--dl-charcoal-soft);
    border-color: rgba(199, 154, 43, 0.32);
  }
  
  .features-section .feature-card p {
    color: var(--dl-stone);
  }
  
  .cta-section {
    background:
      linear-gradient(135deg, rgba(23, 23, 22, 0.96), rgba(36, 35, 31, 0.98)),
      var(--dl-charcoal);
  }
  
  .cta-card {
    padding: 46px;
    border: 1px solid rgba(199, 154, 43, 0.36);
    border-radius: 28px;
    background: var(--dl-ivory);
    text-align: center;
    box-shadow: 0 26px 80px rgba(0, 0, 0, 0.22);
  }
  
  .cta-card p {
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
  }
  
  .cta-actions {
    justify-content: center;
  }
  
  .cta-section .secondary-button {
    color: var(--dl-text);
    border-color: var(--dl-border);
    background: var(--dl-cream);
  }
  
  .site-footer {
    background: var(--dl-charcoal);
    color: var(--dl-ivory);
    padding: 34px 0;
  }
  
  .footer-inner {
    display: flex;
    justify-content: space-between;
    gap: 28px;
    align-items: center;
  }
  
  .footer-brand {
    max-width: 320px;
  }
  
  .footer-logo {
    display: block;
    width: auto;
    max-width: 180px;
    height: auto;
    max-height: 88px;
    object-fit: contain;
    object-position: left top;
    margin-bottom: 10px;
  }
  
  .site-footer p {
    margin: 6px 0 0;
    color: var(--dl-stone);
  }
  
  .footer-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 16px;
    text-align: right;
  }
  
  .footer-contact p,
  .contact-block p {
    margin: 0 0 6px;
    color: var(--dl-muted);
    font-size: 0.95rem;
    line-height: 1.5;
  }
  
  .cta-card .contact-block {
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid var(--dl-border);
  }
  
  .cta-card .contact-block p {
    color: var(--dl-muted);
  }
  
  .contact-block a,
  .footer-contact a,
  .legal-card a {
    color: var(--dl-brass);
    text-decoration: underline;
    text-underline-offset: 2px;
  }
  
  .contact-block a:hover,
  .footer-contact a:hover,
  .legal-card a:hover {
    color: var(--dl-brass-hover);
  }
  
  .site-footer .footer-contact p {
    color: var(--dl-stone);
    font-size: 0.9rem;
  }
  
  .site-footer .footer-contact a {
    color: var(--dl-stone);
  }
  
  .site-footer .footer-contact a:hover {
    color: var(--dl-brass);
  }
  
  .footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    color: var(--dl-stone);
  }
  
  .footer-links a:hover {
    color: var(--dl-brass);
  }
  
  .legal-main {
    padding: 64px 0 86px;
    background: var(--dl-cream);
  }
  
  .legal-card {
    max-width: 720px;
    margin: 0 auto;
    padding: 40px 36px;
    border: 1px solid var(--dl-border);
    border-radius: 22px;
    background: var(--dl-ivory);
    box-shadow: 0 14px 42px rgba(43, 41, 36, 0.08);
  }
  
  .legal-card h1 {
    margin-bottom: 10px;
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    line-height: 1.1;
    letter-spacing: -0.04em;
  }
  
  .legal-updated {
    margin: 0 0 28px;
    color: var(--dl-muted);
    font-size: 0.9rem;
  }
  
  .legal-card h2 {
    margin: 28px 0 12px;
    font-size: 1.2rem;
    letter-spacing: -0.02em;
  }
  
  .legal-card p,
  .legal-card li {
    color: var(--dl-muted);
    line-height: 1.72;
    font-size: 1rem;
  }
  
  .legal-card ul {
    margin: 0 0 16px;
    padding-left: 1.25rem;
  }
  
  .legal-card li {
    margin-bottom: 8px;
  }
  
  .legal-back {
    display: inline-block;
    margin-top: 28px;
    font-weight: 700;
    color: var(--dl-text);
  }
  
  .legal-back:hover {
    color: var(--dl-brass);
  }
  
  @media (max-width: 900px) {
    .beta-teaser-inner {
      grid-template-columns: 1fr;
      gap: 28px;
    }

    .beta-teaser-copy {
      text-align: left;
    }

    .hero-grid {
      grid-template-columns: 1fr;
      gap: 36px;
    }
    
    .hero-copy {
      max-width: none;
    }
    
    .hero-copy h1 {
      max-width: none;
    }
    
    .hero-preview {
      justify-self: stretch;
    }
    
    .split {
      grid-template-columns: 1fr;
    }
  
    .workflow-grid,
    .features-grid,
    .ai-grid,
    .showcase-grid {
      grid-template-columns: 1fr 1fr;
    }
  
    .hero {
      padding-top: 64px;
    }
  }
  
  @media (max-width: 640px) {
    .container {
      width: min(100% - 24px, 1120px);
    }
  
    .header-inner {
      height: 72px;
    }
  
    .brand-logo {
      max-width: min(280px, 72vw);
      height: 44px;
    }
    
    .hero-pyramids {
      width: 140%;
      opacity: 0.16;
      bottom: -4%;
    }
  
    .nav-link {
      display: none;
    }
  
    .beta-teaser {
      padding: 36px 0 44px;
    }

    .beta-teaser-video {
      max-height: min(48vh, 320px);
    }

    .beta-teaser-sound-button {
      right: 14px;
      bottom: 14px;
      min-height: 40px;
      padding: 0 16px;
      font-size: 0.8rem;
    }

    .hero {
      padding: 56px 0 72px;
    }
  
    h1 {
      font-size: clamp(2.45rem, 13vw, 4rem);
    }
  
    .hero-actions,
    .cta-actions {
      flex-direction: column;
    }
  
    .primary-button,
    .secondary-button,
    .login-button {
      width: 100%;
    }
  
    .header-actions .login-button {
      width: auto;
    }
  
    .workflow-grid,
    .features-grid,
    .ai-grid,
    .showcase-grid {
      grid-template-columns: 1fr;
    }
  
    .problem-section,
    .workflow-section,
    .showcase-section,
    .ai-section,
    .features-section,
    .cta-section {
      padding: 64px 0;
    }
    
  
    .cta-card {
      padding: 30px 20px;
    }
    
    .legal-card {
      padding: 28px 20px;
    }
  
    .footer-inner {
      flex-direction: column;
      align-items: flex-start;
    }
    
    .footer-meta {
      align-items: flex-start;
      text-align: left;
    }
  }