    :root {
      --bg: #090806;
      --bg-soft: #100e0a;
      --surface: rgba(27, 23, 16, .82);
      --surface-solid: #1b1710;
      --surface-raised: #252017;
      --surface-light: #30281b;
      --text: #fff8e9;
      --muted: #c6bba8;
      --muted-2: #9f9586;
      --amber: #e7ae45;
      --amber-bright: #ffd98a;
      --amber-dark: #7c561a;
      --green: #7ed49a;
      --blue: #87c5e7;
      --red: #ff927e;
      --line: rgba(255, 217, 138, .16);
      --line-strong: rgba(231, 174, 69, .38);
      --shadow: 0 24px 72px rgba(0, 0, 0, .48);
      --shadow-soft: 0 12px 30px rgba(0, 0, 0, .28);
      --radius: 18px;
      --radius-sm: 11px;
      --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
      --mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
    }

    * { box-sizing: border-box; }
    html { scroll-behavior: smooth; }
    body {
      margin: 0;
      min-width: 320px;
      overflow-x: hidden;
      background:
        radial-gradient(circle at 78% 0%, rgba(231, 174, 69, .13), transparent 30rem),
        radial-gradient(circle at 5% 30%, rgba(124, 86, 26, .12), transparent 25rem),
        var(--bg);
      color: var(--text);
      font-family: var(--sans);
      line-height: 1.55;
    }

    body::before {
      position: fixed;
      inset: 0;
      z-index: -2;
      background-image:
        linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
      background-size: 48px 48px;
      mask-image: linear-gradient(to bottom, black, transparent 78%);
      content: "";
      pointer-events: none;
    }

    body::after {
      position: fixed;
      inset: 0;
      z-index: -1;
      opacity: .22;
      background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.08'/%3E%3C/svg%3E");
      content: "";
      pointer-events: none;
    }

    button, input, textarea, select { font: inherit; }
    button, a { -webkit-tap-highlight-color: transparent; }
    button { color: inherit; }
    a { color: inherit; }
    img, svg { display: block; max-width: 100%; }
    [hidden] { display: none !important; }

    :focus-visible {
      outline: 3px solid var(--amber-bright);
      outline-offset: 3px;
    }

    ::selection { background: var(--amber); color: #110d06; }

    .skip-link {
      position: fixed;
      top: .75rem;
      left: .75rem;
      z-index: 500;
      transform: translateY(-180%);
      padding: .7rem 1rem;
      border-radius: 8px;
      background: var(--amber-bright);
      color: #100b03;
      font-weight: 850;
      text-decoration: none;
    }
    .skip-link:focus { transform: translateY(0); }

    .icon {
      width: 18px;
      height: 18px;
      flex: 0 0 auto;
      stroke: currentColor;
      stroke-width: 1.8;
      fill: none;
      stroke-linecap: round;
      stroke-linejoin: round;
    }

    .site-header {
      position: sticky;
      top: 0;
      z-index: 100;
      display: flex;
      min-height: 68px;
      align-items: center;
      justify-content: space-between;
      gap: .8rem;
      padding: .75rem clamp(1rem, 4vw, 3rem);
      border-bottom: 1px solid var(--line);
      background: rgba(9, 8, 6, .76);
      box-shadow: 0 8px 32px rgba(0,0,0,.18);
      backdrop-filter: blur(20px) saturate(140%);
    }

    .brand {
      display: flex;
      min-width: 0;
      align-items: center;
      gap: .7rem;
      color: var(--text);
      font-size: .9rem;
      font-weight: 900;
      letter-spacing: -.02em;
      text-decoration: none;
      white-space: nowrap;
    }

    .brand-mark {
      position: relative;
      display: grid;
      width: 38px;
      height: 38px;
      flex: 0 0 auto;
      place-items: center;
      border: 1px solid var(--line-strong);
      border-radius: 12px;
      background:
        linear-gradient(145deg, rgba(255,255,255,.12), transparent 50%),
        rgba(231,174,69,.12);
      color: var(--amber-bright);
      box-shadow: inset 0 1px rgba(255,255,255,.12), 0 8px 22px rgba(0,0,0,.25);
    }

    .brand-mark::after {
      position: absolute;
      right: -2px;
      bottom: -2px;
      width: 9px;
      height: 9px;
      border: 2px solid var(--bg);
      border-radius: 50%;
      background: var(--green);
      content: "";
    }

    .brand-sub {
      display: none;
      color: var(--muted-2);
      font-size: .68rem;
      font-weight: 700;
      letter-spacing: .04em;
    }

    .header-actions { display: flex; align-items: center; gap: .45rem; }
    .nav-link {
      display: none;
      color: var(--muted);
      font-size: .78rem;
      font-weight: 750;
      text-decoration: none;
      transition: color .2s;
    }
    .nav-link:hover { color: var(--amber-bright); }

    .button, .icon-button, .chip, .tab, .template-card, .history-item, .file-tab {
      transition: border-color .2s ease, background .2s ease, color .2s ease, transform .2s ease, box-shadow .2s ease;
    }

    .button {
      display: inline-flex;
      min-height: 42px;
      align-items: center;
      justify-content: center;
      gap: .48rem;
      padding: .65rem .9rem;
      border: 1px solid var(--amber);
      border-radius: 10px;
      background: linear-gradient(180deg, var(--amber-bright), var(--amber));
      color: #140e04;
      box-shadow: inset 0 1px rgba(255,255,255,.32), 0 8px 20px rgba(231,174,69,.12);
      cursor: pointer;
      font-size: .76rem;
      font-weight: 900;
      letter-spacing: .02em;
      text-decoration: none;
    }
    .button:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(231,174,69,.2); }
    .button:active { transform: translateY(0); }
    .button.secondary {
      border-color: var(--line-strong);
      background: rgba(255,255,255,.035);
      color: var(--text);
      box-shadow: inset 0 1px rgba(255,255,255,.06);
    }
    .button.secondary:hover { border-color: var(--amber); background: rgba(231,174,69,.11); }
    .button.ghost { border-color: transparent; background: transparent; color: var(--muted); box-shadow: none; }
    .button.ghost:hover { background: rgba(255,255,255,.06); color: var(--text); }
    .button.small { min-height: 36px; padding: .48rem .68rem; font-size: .7rem; }
    .button[disabled] { cursor: not-allowed; opacity: .62; transform: none; }

    .icon-button {
      display: grid;
      width: 38px;
      height: 38px;
      flex: 0 0 auto;
      place-items: center;
      border: 1px solid var(--line);
      border-radius: 10px;
      background: rgba(255,255,255,.035);
      color: var(--muted);
      cursor: pointer;
    }
    .icon-button:hover { border-color: var(--line-strong); background: rgba(231,174,69,.1); color: var(--amber-bright); transform: translateY(-1px); }

    .hero {
      position: relative;
      overflow: hidden;
      padding: clamp(3.2rem, 8vw, 7rem) 1rem clamp(2.2rem, 5vw, 4rem);
    }

    .hero::before {
      position: absolute;
      top: -18rem;
      left: 50%;
      width: min(900px, 120vw);
      height: 560px;
      transform: translateX(-50%);
      border-radius: 50%;
      background: radial-gradient(circle, rgba(231,174,69,.19), rgba(231,174,69,.04) 42%, transparent 70%);
      filter: blur(12px);
      content: "";
      pointer-events: none;
    }

    .hero-inner {
      position: relative;
      display: grid;
      width: min(1200px, 100%);
      margin: auto;
      gap: 2rem;
      text-align: center;
    }

    .eyebrow {
      display: inline-flex;
      width: fit-content;
      align-items: center;
      gap: .55rem;
      margin-inline: auto;
      padding: .38rem .65rem;
      border: 1px solid var(--line-strong);
      border-radius: 999px;
      background: rgba(231,174,69,.07);
      color: var(--amber-bright);
      font-size: .67rem;
      font-weight: 900;
      letter-spacing: .12em;
      text-transform: uppercase;
    }

    .eyebrow-dot {
      width: 7px;
      height: 7px;
      border-radius: 50%;
      background: var(--green);
      box-shadow: 0 0 0 4px rgba(126,212,154,.1);
    }

    h1, h2, h3, p { margin-top: 0; }
    h1 {
      max-width: 950px;
      margin: .9rem auto 1rem;
      font-size: clamp(2.65rem, 8.8vw, 6.7rem);
      font-weight: 850;
      line-height: .94;
      letter-spacing: -.07em;
    }

    .gradient-text {
      color: transparent;
      background: linear-gradient(90deg, var(--amber-bright), var(--amber), #fff0c9, var(--amber-bright));
      background-size: 220% auto;
      -webkit-background-clip: text;
      background-clip: text;
      animation: shimmer 7s linear infinite;
    }

    .hero-copy {
      max-width: 690px;
      margin: auto;
      color: var(--muted);
      font-size: clamp(.98rem, 2vw, 1.16rem);
    }

    .hero-actions {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: .7rem;
      margin-top: 1.35rem;
    }

    .social-strip {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: .55rem 1.1rem;
      color: var(--muted-2);
      font-size: .7rem;
      font-weight: 800;
    }
    .social-strip span { display: inline-flex; align-items: center; gap: .38rem; }
    .social-strip strong { color: var(--text); }

    .workspace-wrap {
      position: relative;
      width: min(1540px, calc(100% - 1rem));
      margin: 0 auto clamp(4rem, 8vw, 7rem);
    }

    .workspace-shell {
      overflow: hidden;
      border: 1px solid var(--line-strong);
      border-radius: 20px;
      background: rgba(17,14,10,.82);
      box-shadow: var(--shadow), inset 0 1px rgba(255,255,255,.07);
      backdrop-filter: blur(18px);
    }

    .workspace-topbar {
      display: flex;
      min-height: 56px;
      align-items: center;
      justify-content: space-between;
      gap: .75rem;
      padding: .65rem .75rem;
      border-bottom: 1px solid var(--line);
      background: rgba(255,255,255,.025);
    }

    .window-controls { display: none; gap: .38rem; }
    .window-controls span { width: 10px; height: 10px; border-radius: 50%; }
    .window-controls span:nth-child(1) { background: #ee7867; }
    .window-controls span:nth-child(2) { background: var(--amber); }
    .window-controls span:nth-child(3) { background: var(--green); }

    .workspace-title {
      display: flex;
      min-width: 0;
      align-items: center;
      gap: .55rem;
      font-size: .75rem;
      font-weight: 850;
    }
    .workspace-title span:last-child {
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }

    .status {
      display: inline-flex;
      align-items: center;
      gap: .4rem;
      color: var(--muted);
      font-size: .68rem;
      font-weight: 750;
      white-space: nowrap;
    }
    .status::before {
      width: 7px;
      height: 7px;
      border-radius: 50%;
      background: var(--green);
      box-shadow: 0 0 0 4px rgba(126,212,154,.1);
      content: "";
    }

    .workspace-layout { display: grid; min-height: 720px; }

    .sidebar {
      display: none;
      min-width: 0;
      border-right: 1px solid var(--line);
      background: rgba(8,7,5,.36);
    }

    .sidebar-section { padding: .9rem; border-bottom: 1px solid var(--line); }
    .sidebar-label {
      display: flex;
      align-items: center;
      justify-content: space-between;
      margin-bottom: .65rem;
      color: var(--muted-2);
      font-size: .63rem;
      font-weight: 900;
      letter-spacing: .12em;
      text-transform: uppercase;
    }

    .history-list { display: grid; gap: .35rem; }
    .history-item {
      width: 100%;
      padding: .65rem;
      border: 1px solid transparent;
      border-radius: 9px;
      background: transparent;
      color: var(--muted);
      cursor: pointer;
      text-align: left;
    }
    .history-item strong {
      display: block;
      overflow: hidden;
      color: var(--text);
      font-size: .72rem;
      text-overflow: ellipsis;
      white-space: nowrap;
    }
    .history-item span { display: block; margin-top: .15rem; font-size: .62rem; }
    .history-item:hover, .history-item.active { border-color: var(--line); background: rgba(231,174,69,.075); transform: translateX(2px); }

    .workspace-main { min-width: 0; }
    .workspace-tabs {
      display: flex;
      overflow-x: auto;
      border-bottom: 1px solid var(--line);
      scrollbar-width: none;
    }
    .workspace-tabs::-webkit-scrollbar { display: none; }

    .tab {
      position: relative;
      min-width: max-content;
      flex: 1 0 auto;
      padding: .78rem .9rem;
      border: 0;
      border-right: 1px solid var(--line);
      background: rgba(255,255,255,.018);
      color: var(--muted);
      cursor: pointer;
      font-size: .7rem;
      font-weight: 850;
    }
    .tab::after {
      position: absolute;
      right: 20%;
      bottom: 0;
      left: 20%;
      height: 2px;
      transform: scaleX(0);
      background: var(--amber);
      content: "";
      transition: transform .2s;
    }
    .tab.active { background: rgba(231,174,69,.07); color: var(--amber-bright); }
    .tab.active::after { transform: scaleX(1); }
    .tab:hover { color: var(--text); }

    .prompt-panel {
      padding: .8rem;
      border-bottom: 1px solid var(--line);
      background: linear-gradient(180deg, rgba(255,255,255,.025), transparent);
    }

    .prompt-label {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: .6rem;
      margin-bottom: .55rem;
      color: var(--muted);
      font-size: .68rem;
      font-weight: 800;
    }

    .shortcut {
      display: none;
      padding: .16rem .38rem;
      border: 1px solid var(--line);
      border-radius: 5px;
      background: rgba(255,255,255,.04);
      color: var(--muted-2);
      font-family: var(--mono);
      font-size: .6rem;
    }

    .prompt-box {
      display: grid;
      gap: .6rem;
      padding: .65rem;
      border: 1px solid var(--line-strong);
      border-radius: 13px;
      background: rgba(7,6,4,.62);
      box-shadow: inset 0 1px rgba(255,255,255,.05);
    }

    #prompt {
      width: 100%;
      min-height: 86px;
      padding: .15rem;
      border: 0;
      outline: 0;
      resize: vertical;
      background: transparent;
      color: var(--text);
      font-size: .88rem;
      line-height: 1.55;
    }
    #prompt::placeholder { color: #8f877b; }

    .prompt-actions {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      justify-content: space-between;
      gap: .55rem;
    }

    .mode-select {
      min-height: 38px;
      max-width: 150px;
      padding: .45rem 1.8rem .45rem .65rem;
      border: 1px solid var(--line);
      border-radius: 9px;
      background: var(--surface-solid);
      color: var(--muted);
      font-size: .68rem;
      font-weight: 800;
    }

    .response-bar {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: .75rem;
      padding: .62rem .8rem;
      border-bottom: 1px solid var(--line);
      background: rgba(255,255,255,.018);
    }

    .response-info { min-width: 0; }
    .response-info strong { display: block; font-size: .72rem; }
    .response-info span { display: block; color: var(--muted-2); font-size: .62rem; }
    .response-actions { display: flex; gap: .4rem; }

    .split-pane { display: grid; min-height: 440px; }
    .pane { min-width: 0; min-height: 0; background: #0d0c09; }
    .pane + .pane { border-top: 1px solid var(--line); }

    .pane-header {
      display: flex;
      min-height: 44px;
      align-items: center;
      justify-content: space-between;
      gap: .6rem;
      padding: .5rem .7rem;
      border-bottom: 1px solid var(--line);
      background: rgba(255,255,255,.025);
    }
    .pane-title {
      display: inline-flex;
      align-items: center;
      gap: .45rem;
      color: var(--muted);
      font-size: .67rem;
      font-weight: 850;
      letter-spacing: .03em;
    }

    .file-tabs { display: flex; min-width: 0; overflow: hidden; }
    .file-tab {
      min-width: 0;
      padding: .38rem .55rem;
      border: 0;
      border-radius: 6px;
      background: rgba(231,174,69,.1);
      color: var(--amber-bright);
      font-family: var(--mono);
      font-size: .62rem;
      cursor: pointer;
    }

    .editor-wrap {
      position: relative;
      height: 394px;
      overflow: hidden;
      background:
        linear-gradient(90deg, rgba(255,255,255,.025) 42px, transparent 42px),
        #0c0b08;
    }

    #code-editor {
      width: 100%;
      height: 100%;
      padding: 1rem 1rem 1rem 3.4rem;
      border: 0;
      outline: 0;
      resize: none;
      background: transparent;
      color: #f8e9c8;
      caret-color: var(--amber-bright);
      font: 12.5px/1.65 var(--mono);
      tab-size: 2;
      white-space: pre;
      overflow: auto;
      scrollbar-color: var(--amber-dark) #0c0b08;
    }

    .line-numbers {
      position: absolute;
      inset: 0 auto 0 0;
      z-index: 1;
      width: 42px;
      padding-top: 1rem;
      overflow: hidden;
      color: #6f675c;
      font: 12.5px/1.65 var(--mono);
      text-align: right;
      pointer-events: none;
      user-select: none;
    }
    .line-numbers span { display: block; padding-right: .65rem; }

    .preview-toolbar {
      display: flex;
      align-items: center;
      gap: .35rem;
    }

    .device-button {
      display: grid;
      width: 30px;
      height: 30px;
      place-items: center;
      border: 1px solid transparent;
      border-radius: 7px;
      background: transparent;
      color: var(--muted-2);
      cursor: pointer;
    }
    .device-button:hover, .device-button.active { border-color: var(--line); background: rgba(231,174,69,.1); color: var(--amber-bright); }

    .preview-stage {
      display: grid;
      height: 394px;
      place-items: center;
      padding: .7rem;
      overflow: auto;
      background:
        radial-gradient(circle at center, rgba(231,174,69,.08), transparent 48%),
        repeating-conic-gradient(rgba(255,255,255,.018) 0 25%, transparent 0 50%) 0 / 18px 18px;
    }

    #preview-frame {
      width: 100%;
      height: 100%;
      border: 1px solid var(--line);
      border-radius: 10px;
      background: white;
      box-shadow: 0 16px 38px rgba(0,0,0,.3);
      transition: width .28s ease;
    }
    #preview-frame.tablet { width: min(768px, 100%); }
    #preview-frame.mobile { width: min(375px, 100%); }

    .generating {
      position: absolute;
      inset: 0;
      z-index: 5;
      display: grid;
      place-items: center;
      background: rgba(9,8,6,.82);
      backdrop-filter: blur(8px);
    }

    .loader-card {
      display: grid;
      justify-items: center;
      gap: .75rem;
      color: var(--muted);
      font-size: .75rem;
      text-align: center;
    }
    .loader {
      width: 38px;
      height: 38px;
      border: 3px solid rgba(231,174,69,.18);
      border-top-color: var(--amber);
      border-radius: 50%;
      animation: spin .8s linear infinite;
    }

    .section {
      padding: clamp(4rem, 8vw, 7rem) 1rem;
    }
    .section.alt {
      border-block: 1px solid var(--line);
      background:
        radial-gradient(circle at 10% 20%, rgba(231,174,69,.06), transparent 22rem),
        rgba(16,14,10,.72);
    }
    .section-inner { width: min(1200px, 100%); margin: auto; }

    .section-heading {
      display: grid;
      gap: .8rem;
      margin-bottom: 2rem;
    }
    .section-heading .eyebrow { margin-inline: 0; }
    .section-heading h2 {
      max-width: 760px;
      margin: .2rem 0 0;
      font-size: clamp(2rem, 6vw, 4.6rem);
      font-weight: 850;
      line-height: .98;
      letter-spacing: -.055em;
    }
    .section-heading p { max-width: 600px; margin: 0; color: var(--muted); }

    .bento {
      display: grid;
      gap: 1rem;
    }

    .feature-card {
      position: relative;
      min-height: 240px;
      overflow: hidden;
      padding: 1.25rem;
      border: 1px solid var(--line);
      border-radius: var(--radius);
      background:
        linear-gradient(145deg, rgba(255,255,255,.055), transparent 38%),
        var(--surface);
      box-shadow: inset 0 1px rgba(255,255,255,.07);
      transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
    }
    .feature-card:hover {
      transform: translateY(-5px);
      border-color: var(--line-strong);
      box-shadow: var(--shadow-soft), inset 0 1px rgba(255,255,255,.1);
    }

    .feature-icon {
      display: grid;
      width: 42px;
      height: 42px;
      place-items: center;
      margin-bottom: 1.1rem;
      border: 1px solid var(--line-strong);
      border-radius: 12px;
      background: rgba(231,174,69,.1);
      color: var(--amber-bright);
    }

    .feature-card h3 { margin-bottom: .45rem; font-size: 1.05rem; letter-spacing: -.02em; }
    .feature-card p { margin: 0; color: var(--muted); font-size: .82rem; }
    .feature-card.large { min-height: 330px; }
    .feature-card.accent {
      background:
        radial-gradient(circle at 100% 0, rgba(255,217,138,.2), transparent 45%),
        linear-gradient(145deg, rgba(231,174,69,.14), rgba(27,23,16,.92));
    }

    .mini-code {
      position: absolute;
      right: -1rem;
      bottom: -1rem;
      left: 1.2rem;
      padding: 1rem;
      border: 1px solid var(--line);
      border-radius: 13px 0 0 0;
      background: rgba(8,7,5,.9);
      color: #e8d6ae;
      font: 11px/1.65 var(--mono);
      box-shadow: var(--shadow-soft);
    }
    .mini-code .gold { color: var(--amber-bright); }
    .mini-code .blue { color: var(--blue); }
    .mini-code .green { color: var(--green); }

    .stats-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      margin-top: 1rem;
      border: 1px solid var(--line);
      border-radius: 16px;
      overflow: hidden;
      background: rgba(255,255,255,.025);
    }
    .stat {
      padding: 1.2rem .8rem;
      border-right: 1px solid var(--line);
      border-bottom: 1px solid var(--line);
      text-align: center;
    }
    .stat:nth-child(2n) { border-right: 0; }
    .stat:nth-last-child(-n+2) { border-bottom: 0; }
    .stat strong { display: block; color: var(--amber-bright); font-size: clamp(1.5rem, 4vw, 2.35rem); letter-spacing: -.05em; }
    .stat span { color: var(--muted-2); font-size: .63rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }

    .logo-cloud {
      overflow: hidden;
      border-block: 1px solid var(--line);
      background: rgba(255,255,255,.018);
    }
    .logo-track {
      display: flex;
      width: max-content;
      animation: marquee 24s linear infinite;
    }
    .logo-set { display: flex; align-items: center; }
    .logo {
      display: flex;
      min-width: 175px;
      align-items: center;
      justify-content: center;
      gap: .55rem;
      padding: 1.2rem;
      color: var(--muted);
      font-size: .76rem;
      font-weight: 900;
      letter-spacing: .04em;
    }
    .logo span {
      display: grid;
      width: 25px;
      height: 25px;
      place-items: center;
      border: 1px solid var(--line-strong);
      border-radius: 8px;
      color: var(--amber-bright);
    }

    .template-grid, .testimonial-grid, .pricing-grid { display: grid; gap: 1rem; }

    .template-card {
      padding: 1rem;
      border: 1px solid var(--line);
      border-radius: var(--radius);
      background: var(--surface);
      cursor: pointer;
      text-align: left;
      box-shadow: inset 0 1px rgba(255,255,255,.06);
    }
    .template-card:hover { transform: translateY(-4px); border-color: var(--line-strong); box-shadow: var(--shadow-soft); }
    .template-preview {
      display: grid;
      min-height: 145px;
      margin-bottom: 1rem;
      place-items: center;
      overflow: hidden;
      border: 1px solid var(--line);
      border-radius: 12px;
      background:
        radial-gradient(circle at 75% 20%, rgba(231,174,69,.17), transparent 30%),
        #0e0c09;
    }
    .template-window {
      width: 80%;
      padding: .65rem;
      border: 1px solid var(--line-strong);
      border-radius: 9px;
      background: rgba(255,255,255,.055);
      box-shadow: var(--shadow-soft);
    }
    .template-window span { display: block; height: 6px; margin: .32rem 0; border-radius: 10px; background: rgba(255,255,255,.13); }
    .template-window span:first-child { width: 42%; background: var(--amber); }
    .template-window span:nth-child(3) { width: 70%; }
    .template-card h3 { margin-bottom: .3rem; font-size: .95rem; }
    .template-card p { margin: 0; color: var(--muted); font-size: .76rem; }

    .testimonial {
      display: grid;
      gap: 1.2rem;
      padding: 1.3rem;
      border: 1px solid var(--line);
      border-radius: var(--radius);
      background: var(--surface);
      box-shadow: inset 0 1px rgba(255,255,255,.06);
    }
    .stars { color: var(--amber-bright); letter-spacing: .13em; }
    .testimonial blockquote { margin: 0; color: var(--text); font-size: .9rem; }
    .person { display: flex; align-items: center; gap: .7rem; }
    .avatar {
      display: grid;
      width: 40px;
      height: 40px;
      place-items: center;
      border: 1px solid var(--line-strong);
      border-radius: 50%;
      background: linear-gradient(145deg, var(--amber-dark), var(--surface-light));
      color: var(--text);
      font-size: .75rem;
      font-weight: 900;
    }
    .person strong { display: block; font-size: .76rem; }
    .person span { display: block; color: var(--muted-2); font-size: .65rem; }

    .price-card {
      position: relative;
      display: flex;
      min-height: 390px;
      flex-direction: column;
      padding: 1.35rem;
      border: 1px solid var(--line);
      border-radius: var(--radius);
      background: var(--surface);
      box-shadow: inset 0 1px rgba(255,255,255,.06);
    }
    .price-card.featured {
      border-color: var(--amber);
      background:
        radial-gradient(circle at 100% 0, rgba(231,174,69,.17), transparent 42%),
        var(--surface);
      box-shadow: 0 20px 60px rgba(231,174,69,.09), inset 0 1px rgba(255,255,255,.09);
    }
    .popular {
      position: absolute;
      top: 1rem;
      right: 1rem;
      padding: .27rem .5rem;
      border-radius: 999px;
      background: var(--amber);
      color: #130d04;
      font-size: .58rem;
      font-weight: 950;
      letter-spacing: .06em;
      text-transform: uppercase;
    }
    .price-card h3 { margin-bottom: .2rem; font-size: 1rem; }
    .price-card > p { color: var(--muted); font-size: .75rem; }
    .price { margin: .6rem 0 1.2rem; font-size: 2.35rem; font-weight: 900; letter-spacing: -.06em; }
    .price span { color: var(--muted-2); font-size: .7rem; font-weight: 700; letter-spacing: 0; }
    .price-list { display: grid; gap: .65rem; margin: 0 0 1.4rem; padding: 0; list-style: none; color: var(--muted); font-size: .76rem; }
    .price-list li { display: flex; gap: .5rem; }
    .price-list li::before { color: var(--green); content: "✓"; font-weight: 950; }
    .price-card .button { width: 100%; margin-top: auto; }

    .faq-list { display: grid; gap: .65rem; }
    details {
      border: 1px solid var(--line);
      border-radius: 13px;
      background: var(--surface);
      overflow: hidden;
    }
    summary {
      display: flex;
      min-height: 58px;
      align-items: center;
      justify-content: space-between;
      gap: 1rem;
      padding: .9rem 1rem;
      cursor: pointer;
      font-size: .82rem;
      font-weight: 850;
      list-style: none;
    }
    summary::-webkit-details-marker { display: none; }
    summary::after {
      color: var(--amber-bright);
      content: "+";
      font-size: 1.15rem;
      transition: transform .2s;
    }
    details[open] summary::after { transform: rotate(45deg); }
    details p { margin: 0; padding: 0 1rem 1rem; color: var(--muted); font-size: .78rem; }

    .cta {
      position: relative;
      overflow: hidden;
      padding: clamp(2rem, 6vw, 4rem);
      border: 1px solid var(--line-strong);
      border-radius: 24px;
      background:
        radial-gradient(circle at 100% 0, rgba(255,217,138,.24), transparent 38%),
        radial-gradient(circle at 0 100%, rgba(124,86,26,.24), transparent 40%),
        var(--surface-solid);
      box-shadow: var(--shadow);
      text-align: center;
    }
    .cta::before {
      position: absolute;
      inset: 0;
      opacity: .25;
      background-image:
        linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
      background-size: 28px 28px;
      content: "";
      mask-image: radial-gradient(circle at center, black, transparent 78%);
    }
    .cta > * { position: relative; }
    .cta h2 { max-width: 780px; margin: .5rem auto .8rem; font-size: clamp(2rem, 6vw, 4.3rem); line-height: .98; letter-spacing: -.055em; }
    .cta p { max-width: 610px; margin-inline: auto; color: var(--muted); }

    footer {
      padding: 2.5rem 1rem;
      border-top: 1px solid var(--line);
      color: var(--muted);
    }
    .footer-inner {
      display: grid;
      width: min(1200px, 100%);
      margin: auto;
      gap: 1.5rem;
    }
    .footer-brand p { max-width: 400px; margin: .7rem 0 0; font-size: .75rem; }
    .footer-links { display: flex; flex-wrap: wrap; gap: .65rem 1.2rem; }
    .footer-links a { color: var(--muted); font-size: .72rem; font-weight: 750; text-decoration: none; }
    .footer-links a:hover { color: var(--amber-bright); }
    .footer-bottom {
      display: flex;
      flex-direction: column;
      gap: .7rem;
      padding-top: 1.3rem;
      border-top: 1px solid var(--line);
      font-size: .68rem;
    }

    .toast {
      position: fixed;
      right: 1rem;
      bottom: 1rem;
      z-index: 400;
      max-width: calc(100% - 2rem);
      padding: .75rem 1rem;
      border: 1px solid var(--line-strong);
      border-radius: 11px;
      background: rgba(28,24,17,.96);
      color: var(--text);
      box-shadow: var(--shadow);
      font-size: .75rem;
      font-weight: 800;
      transform: translateY(130%);
      opacity: 0;
      transition: transform .25s, opacity .25s;
    }
    .toast.show { transform: translateY(0); opacity: 1; }

    .reveal {
      transform: translateY(18px);
      opacity: 0;
      transition: transform .6s ease, opacity .6s ease;
    }
    .reveal.visible { transform: translateY(0); opacity: 1; }

    @keyframes shimmer { to { background-position: -220% center; } }
    @keyframes spin { to { transform: rotate(360deg); } }
    @keyframes marquee { to { transform: translateX(-50%); } }

    @media (min-width: 480px) {
      .shortcut, .window-controls { display: flex; }
      .prompt-box { padding: .8rem; }
      .workspace-wrap { width: min(1540px, calc(100% - 2rem)); }
      .brand-sub { display: inline; }
    }

    @media (min-width: 640px) {
      .bento, .template-grid, .testimonial-grid { grid-template-columns: repeat(2, 1fr); }
      .pricing-grid { grid-template-columns: repeat(3, 1fr); align-items: stretch; }
      .stats-grid { grid-template-columns: repeat(4, 1fr); }
      .stat { border-bottom: 0; }
      .stat:nth-child(2n) { border-right: 1px solid var(--line); }
      .stat:last-child { border-right: 0; }
      .footer-bottom { flex-direction: row; justify-content: space-between; }
    }

    @media (min-width: 800px) {
      .nav-link { display: inline; }
      .split-pane { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
      .pane + .pane { border-top: 0; border-left: 1px solid var(--line); }
      .editor-wrap, .preview-stage { height: 500px; }
      .workspace-layout { min-height: auto; }
      .feature-card.large { grid-row: span 2; }
      .bento { grid-template-columns: 1.15fr .85fr; }
      .bento .wide { grid-column: 1 / -1; }
      .section-heading { grid-template-columns: 1.15fr .85fr; align-items: end; }
      .section-heading > p { justify-self: end; }
      .template-grid, .testimonial-grid { grid-template-columns: repeat(3, 1fr); }
    }

    @media (min-width: 1100px) {
      .workspace-layout { grid-template-columns: 220px minmax(0, 1fr); }
      .sidebar { display: block; }
      .hero-inner { gap: 2.5rem; }
      .feature-card { padding: 1.5rem; }
      .bento { grid-template-columns: 1.2fr .8fr .8fr; }
      .bento .large { grid-row: span 2; }
      .bento .wide { grid-column: span 2; }
      .footer-inner { grid-template-columns: 1fr auto; align-items: start; }
      .footer-bottom { grid-column: 1 / -1; }
    }

    @media (max-width: 380px) {
      .site-header { padding-inline: .65rem; }
      .brand-sub, .header-actions .button span { display: none; }
      .hero { padding-inline: .75rem; }
      .workspace-wrap { width: calc(100% - .5rem); }
      .workspace-shell { border-radius: 14px; }
      .response-info span { display: none; }
      .button { padding-inline: .7rem; }
      .prompt-actions .mode-select { max-width: 126px; }
      .preview-stage { padding: .35rem; }
    }

    @media (prefers-reduced-motion: reduce) {
      *, *::before, *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
      }
      .reveal { transform: none; opacity: 1; }
    }
