﻿:root {
      --ink: #0e2841;
      --accent: #156082;
      --accent-soft: rgba(21, 96, 130, 0.42);
      --accent-mid: rgba(21, 96, 130, 0.55);
      --accent-deep: rgba(14, 40, 65, 0.72);
      --warm: #e97132;
      --paper: #f3f6f8;
      --line: rgba(14, 40, 65, 0.12);
      --text: #0e2841;
      --text-soft: rgba(14, 40, 65, 0.78);
      --white: #ffffff;
      --max: 920px;
      --font: "Manrope", "Segoe UI", sans-serif;
      --serif: "Source Serif 4", Georgia, serif;
    }

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

    html { scroll-behavior: smooth; }

    body {
      font-family: var(--font);
      color: var(--text);
      background:
        radial-gradient(1200px 600px at 10% -10%, rgba(21, 96, 130, 0.14), transparent 55%),
        radial-gradient(900px 500px at 100% 0%, rgba(233, 113, 50, 0.08), transparent 45%),
        linear-gradient(180deg, #eef3f6 0%, var(--paper) 40%, #e7eef3 100%);
      min-height: 100vh;
      line-height: 1.45;
    }

    a { color: inherit; }

    .page {
      width: min(var(--max), calc(100% - 2rem));
      margin: 0 auto;
      padding: 1.25rem 0 2.5rem;
    }

    /* —— Header —— */
    .top {
      display: grid;
      grid-template-columns: 1.2fr 0.8fr;
      gap: 1rem;
      margin-bottom: 0.85rem;
      opacity: 0;
      animation: rise 0.7s ease forwards;
    }

    .brand-block,
    .hooks,
    .hero,
    .why,
    .founder {
      background: var(--accent-soft);
      backdrop-filter: blur(6px);
    }

    .brand-block {
      display: flex;
      align-items: center;
      justify-content: center;
      min-height: 4.5rem;
      padding: 0.9rem 1.25rem;
    }

    .brand {
      font-size: clamp(1.55rem, 3.2vw, 2.15rem);
      font-weight: 700;
      letter-spacing: -0.03em;
      color: var(--ink);
      text-decoration: none;
    }

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

    .hooks {
      display: flex;
      flex-direction: column;
      justify-content: center;
      gap: 0.35rem;
      padding: 0.85rem 1.1rem;
      font-size: 0.78rem;
      font-weight: 500;
      color: var(--text-soft);
      list-style: none;
    }

    .hooks li {
      display: flex;
      gap: 0.45rem;
      align-items: baseline;
    }

    .hooks li::before {
      content: "•";
      color: var(--accent);
      font-weight: 700;
    }

    /* —— Hero —— */
    .hero {
      padding: clamp(1.4rem, 3vw, 2rem) clamp(1.2rem, 3vw, 2rem) 1.6rem;
      margin-bottom: 0.85rem;
      opacity: 0;
      animation: rise 0.7s ease 0.12s forwards;
    }

    .lead {
      font-size: clamp(1.2rem, 2.5vw, 1.55rem);
      font-weight: 700;
      letter-spacing: -0.02em;
      margin-bottom: 1.15rem;
      max-width: 38ch;
    }

    .lead em {
      font-style: normal;
      font-weight: 500;
      color: var(--text-soft);
    }

    .problems {
      list-style: none;
      margin: 0 0 1.15rem;
      display: grid;
      gap: 0.4rem;
    }

    .problems li {
      font-size: 1rem;
      font-weight: 600;
      padding-left: 1rem;
      position: relative;
    }

    .problems li::before {
      content: "•";
      position: absolute;
      left: 0;
      color: var(--warm);
    }

    .promise {
      font-size: clamp(1.1rem, 2.2vw, 1.35rem);
      font-weight: 700;
      margin-bottom: 0.85rem;
    }

    .flow {
      list-style: none;
      display: grid;
      gap: 0.65rem;
      margin-bottom: 1.35rem;
    }

    .flow li {
      font-size: 0.95rem;
      color: var(--text-soft);
      padding-left: 1.6rem;
      position: relative;
    }

    .flow li::before {
      content: "→";
      position: absolute;
      left: 0;
      color: var(--accent);
      font-weight: 700;
    }

    .flow strong {
      color: var(--ink);
      font-weight: 700;
    }

    .flow q {
      quotes: "«" "»";
      color: var(--ink);
      font-weight: 500;
    }

    .cta {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      gap: 0.85rem 1.1rem;
      padding-top: 0.25rem;
    }

    .cta-label {
      font-size: 0.95rem;
      font-weight: 600;
      color: var(--ink);
    }

    .cta-label small {
      display: block;
      font-size: 0.8rem;
      font-weight: 500;
      color: var(--text-soft);
      margin-top: 0.15rem;
    }

    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      background: var(--ink);
      color: var(--white);
      text-decoration: none;
      font-weight: 600;
      font-size: 0.9rem;
      padding: 0.72rem 1.25rem;
      border: 0;
      cursor: pointer;
      transition: transform 0.25s ease, background 0.25s ease;
    }

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

    /* —— Why CorporatAI —— */
    .why {
      padding: clamp(1.3rem, 2.8vw, 1.75rem) clamp(1.2rem, 3vw, 1.9rem);
      margin-bottom: 0.85rem;
      opacity: 0;
      animation: rise 0.7s ease 0.18s forwards;
    }

    .why-title {
      font-size: clamp(1.05rem, 2.2vw, 1.28rem);
      font-weight: 700;
      letter-spacing: -0.02em;
      line-height: 1.35;
      margin-bottom: 1.15rem;
      max-width: none;
      width: 100%;
    }

    .why-list {
      list-style: none;
      display: grid;
      gap: 1rem;
    }

    .why-list li {
      font-size: 0.95rem;
      line-height: 1.5;
      color: var(--text-soft);
    }

    .why-lead {
      display: inline;
      font-size: clamp(1.05rem, 2vw, 1.18rem);
      font-weight: 700;
      letter-spacing: -0.015em;
      color: var(--ink);
      line-height: 1.35;
    }

    .why-text {
      color: var(--text-soft);
    }

    /* —— Founder —— */
    .founder {
      padding: clamp(1.2rem, 2.5vw, 1.6rem) clamp(1.2rem, 3vw, 1.8rem);
      opacity: 0;
      animation: rise 0.7s ease 0.3s forwards;
    }

    .quote {
      font-family: var(--serif);
      font-size: clamp(1.05rem, 2.1vw, 1.28rem);
      font-weight: 500;
      line-height: 1.4;
      color: var(--ink);
      margin-bottom: 1.1rem;
      width: 100%;
      max-width: none;
    }

    .founder-row {
      display: grid;
      grid-template-columns: 88px 1fr;
      gap: 1rem;
      align-items: center;
      margin-bottom: 1rem;
    }

    .photo {
      width: 88px;
      height: 88px;
      flex-shrink: 0;
      background: transparent;
      margin-top: 3mm;
    }

    .photo img {
      display: block;
      width: 100%;
      height: 100%;
      object-fit: contain;
    }

    .bio {
      font-size: 0.82rem;
      color: var(--text-soft);
      line-height: 1.5;
      transform: translateY(-1.5mm);
    }

    .bio strong {
      color: var(--ink);
      font-weight: 700;
      font-size: 0.92rem;
    }

    .site-link {
      display: flex;
      justify-content: flex-end;
    }

    .site-link a {
      display: inline-block;
      background: var(--accent-deep);
      color: var(--white);
      text-decoration: none;
      font-size: 0.88rem;
      font-weight: 600;
      padding: 0.45rem 1.1rem;
      transition: background 0.25s ease, transform 0.25s ease;
    }

    .site-link a:hover {
      background: var(--accent);
      transform: translateY(-1px);
    }

    @keyframes rise {
      from { opacity: 0; transform: translateY(14px); }
      to { opacity: 1; transform: translateY(0); }
    }

    @media (max-width: 720px) {
      .top {
        grid-template-columns: 1fr;
      }

      .hooks {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 0.35rem 1rem;
      }

      .founder-row {
        grid-template-columns: 72px 1fr;
        gap: 0.85rem;
      }

      .photo {
        width: 72px;
        height: 72px;
      }

      .site-link {
        justify-content: center;
      }

      .cta {
        flex-direction: column;
        align-items: stretch;
      }

      .btn {
        width: 100%;
      }
    }

    /* —— Signup modal —— */
    .modal-overlay {
      position: fixed;
      inset: 0;
      background: rgba(14, 40, 65, 0.55);
      display: grid;
      place-items: center;
      padding: 1rem;
      z-index: 100;
      opacity: 0;
      visibility: hidden;
      transition: opacity 0.2s ease, visibility 0.2s ease;
    }

    .modal-overlay.is-open {
      opacity: 1;
      visibility: visible;
    }

    .modal {
      width: min(420px, 100%);
      background: var(--white);
      padding: 1.4rem 1.35rem 1.25rem;
      box-shadow: 0 18px 40px rgba(14, 40, 65, 0.22);
    }

    .modal h2 {
      font-size: 1.15rem;
      margin-bottom: 0.35rem;
    }

    .modal p {
      font-size: 0.85rem;
      color: var(--text-soft);
      margin-bottom: 1rem;
    }

    .field {
      display: grid;
      gap: 0.35rem;
      margin-bottom: 0.85rem;
    }

    .field label {
      font-size: 0.8rem;
      font-weight: 600;
    }

    .field input {
      font: inherit;
      font-size: 0.95rem;
      padding: 0.65rem 0.75rem;
      border: 1px solid var(--line);
      background: #f7fafb;
      color: var(--ink);
      outline: none;
    }

    .field input:focus {
      border-color: var(--accent);
      background: var(--white);
    }

    .field-error {
      font-size: 0.75rem;
      color: #b42318;
      min-height: 1em;
    }

    .modal-actions {
      display: flex;
      gap: 0.6rem;
      margin-top: 0.4rem;
    }

    .modal-actions .btn {
      flex: 1;
    }

    .btn-ghost {
      background: transparent;
      color: var(--ink);
      border: 1px solid var(--line);
    }

    .btn-ghost:hover {
      background: #eef3f6;
      color: var(--ink);
      transform: none;
    }

    .form-success {
      display: none;
      font-size: 0.95rem;
      color: var(--ink);
      padding: 0.5rem 0 0.25rem;
    }

    .form-success.is-visible {
      display: block;
    }

    .signup-form.is-hidden {
      display: none;
    }