/* AI Make — /makes/* draft preview styles.
   Tokens and base components copied from the live aimaketech.com stylesheet
   (/assets/index-DMH2awGs.css, fetched read-only 30 Sep 2026): --background #0b0f14,
   --foreground #f4f7fa, --primary #2e6bff, --muted #aab4c0, --line #f4f7fa2e, Arial body,
   Courier New section labels, .shell 1120px, .site-header/.site-nav, .section-label,
   .content-card, .f1-table, blue button (= .suggestion-form button). New make-page
   components are built only from those tokens. */
:root{--background:#0b0f14;--foreground:#f4f7fa;--primary:#2e6bff;--primary-hover:#4b7fff;--muted:#aab4c0;--line:#f4f7fa2e;--surface:#121821;--panel:#18202b}
*{box-sizing:border-box}
html{scroll-behavior:smooth;background:var(--background)}
body{background:var(--background);color:var(--foreground);margin:0;font-family:Arial,Helvetica,sans-serif;-webkit-font-smoothing:antialiased}
img{max-width:100%;display:block}
a{color:inherit}
h1,h2,h3,p{margin-top:0}
.shell{width:min(1120px,100% - 48px);margin-inline:auto}

/* preview-only ribbon: NOT part of the page build */
.draft-ribbon{background:#1a1300;border-bottom:1px solid #ff9d00;color:#ffcf80;font:700 .8rem/1.4 "Courier New",ui-monospace,monospace;letter-spacing:.04em;padding:8px 24px;text-align:center}

/* live header */
.site-header{border-bottom:1px solid var(--line);justify-content:flex-end;align-items:center;min-height:92px;display:flex}
.site-nav{color:var(--foreground);letter-spacing:.02em;align-items:center;gap:.65rem;font-size:.95rem;font-weight:700;display:flex}
.site-nav a{text-decoration:none}
.site-nav a:hover,.site-nav a:focus-visible{color:var(--primary)}

.section-label{color:var(--primary);letter-spacing:.15em;text-transform:uppercase;margin-bottom:28px;font:700 .82rem/1.2 "Courier New",ui-monospace,monospace}

/* make hero */
.make-hero{padding-block:clamp(40px,5vw,64px) clamp(56px,7vw,88px);display:grid;gap:clamp(28px,3.4vw,40px)}
.make-hero .section-label{margin-bottom:0}
.make-hero h1{letter-spacing:-.06em;line-height:.95;margin:0;font-size:clamp(3.6rem,9vw,7.25rem);font-weight:700}
.make-hook{max-width:900px;color:var(--primary);letter-spacing:-.03em;margin:0;font-size:clamp(1.4rem,2.7vw,2.3rem);font-weight:700;line-height:1.2}
.make-sub{max-width:760px;color:var(--foreground);margin:0;font-size:clamp(1.06rem,1.6vw,1.25rem);line-height:1.6}
.hero-media{display:grid;grid-template-columns:minmax(0,1.62fr) minmax(300px,1fr);gap:clamp(24px,3vw,40px);align-items:stretch}

/* video slot */
.video-slot{position:relative;aspect-ratio:16/9;border:1px solid var(--line);border-top:3px solid var(--primary);background:#000;overflow:hidden;text-decoration:none;display:block}
.video-slot iframe{display:block;width:100%;height:100%;border:0}
.video-slot img.poster{width:100%;height:100%;object-fit:cover}
.video-slot .play{position:absolute;left:50%;top:50%;width:84px;transform:translate(-50%,-50%);filter:drop-shadow(0 4px 14px #0009)}
.placeholder-tag{position:absolute;left:12px;bottom:12px;border:1px dashed var(--primary);background:#0b0f14e6;color:var(--foreground);font:700 .75rem/1.3 "Courier New",ui-monospace,monospace;padding:6px 9px}
.video-meta{margin-top:14px;display:flex;align-items:center;gap:12px;color:var(--muted);font-size:.95rem}
.video-meta img{height:20px;width:auto}
.video-meta a{color:var(--foreground);font-weight:700;text-underline-offset:5px;text-decoration-color:var(--primary);text-decoration-thickness:2px}

/* primary CTA card */
.cta-card{border:1px solid var(--line);border-top:3px solid var(--primary);background:var(--surface);padding:clamp(22px,2.4vw,32px);display:flex;flex-direction:column;gap:18px;justify-content:center}
.cta-card .brand-plate{background:#000;align-self:flex-start;padding:10px 14px;border-radius:4px}
.cta-card .brand-plate img{height:34px;width:auto}
.cta-card h2{letter-spacing:-.04em;margin:0;font-size:clamp(1.6rem,2.4vw,2.2rem);line-height:1.05}
.cta-card p{margin:0;color:var(--muted);font-size:1.02rem;line-height:1.55}
.btn-primary{display:inline-flex;align-items:center;justify-content:center;gap:12px;background:var(--primary);color:#fff;min-height:56px;padding:0 26px;font-weight:700;font-size:1.12rem;text-decoration:none;border-radius:6px;letter-spacing:.005em}
.btn-primary:hover,.btn-primary:focus-visible{background:var(--primary-hover)}
.btn-primary img{height:22px;width:auto}
.btn-primary .arrow{font-size:1.2em;line-height:1}
.cta-fine{font:700 .78rem/1.4 "Courier New",ui-monospace,monospace!important;letter-spacing:.06em;text-transform:uppercase;color:var(--muted)!important}

/* sections */
.make-section{border-top:1px solid var(--line);padding-block:clamp(64px,8vw,104px)}
.split{display:grid;grid-template-columns:minmax(210px,.72fr) minmax(0,1.28fr);gap:clamp(40px,7vw,96px);align-items:start}
.make-section h2{color:var(--primary);letter-spacing:-.045em;margin:0 0 20px;font-size:clamp(2rem,3.8vw,3.5rem);line-height:1}
.make-section h3{letter-spacing:-.03em;margin:0 0 12px;font-size:clamp(1.25rem,1.9vw,1.6rem);line-height:1.15}
.lede{color:var(--muted);font-size:clamp(1.02rem,1.5vw,1.2rem);line-height:1.55;margin:0;max-width:420px}
.body-copy p{max-width:720px;font-size:clamp(1.06rem,1.6vw,1.25rem);line-height:1.62;margin:0 0 22px}
.body-copy p:last-child{margin-bottom:0}
.body-copy a,.text-link{color:var(--primary);font-weight:700;text-underline-offset:5px;text-decoration-thickness:1px}

/* figures: CAD renders are on white; show them on a clean light plate */
.figure{margin:0;border:1px solid var(--line);border-top:3px solid var(--primary);background:#fff}
.figure img{width:100%;height:auto}
.figure figcaption{background:var(--background);color:var(--muted);font-size:.95rem;line-height:1.45;padding:14px 16px;border-top:1px solid var(--line)}
.figure-wide{margin-top:clamp(40px,5vw,64px)}
.figure-row{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin-top:clamp(40px,5vw,64px)}

/* spec table (= live .f1-table) */
.table-wrap{border-top:2px solid var(--primary);border-bottom:1px solid var(--line);width:100%;overflow-x:auto}
.spec-table{border-collapse:collapse;text-align:left;width:100%;min-width:560px}
.spec-table th,.spec-table td{border-bottom:1px solid var(--line);vertical-align:top;padding:16px 14px;font-size:1rem;line-height:1.4}
.spec-table th{color:var(--primary);letter-spacing:.08em;text-transform:uppercase;font:700 .82rem/1.2 "Courier New",ui-monospace,monospace}
.spec-table tr:last-child td{border-bottom:0}
.spec-table td:first-child{font-family:"Courier New",ui-monospace,monospace;font-weight:700;white-space:nowrap}
.note{color:var(--muted);font-size:1rem;line-height:1.55;margin:18px 0 0}

/* chips / lists */
.chip-row{display:flex;flex-wrap:wrap;gap:10px;margin:0;padding:0;list-style:none}
.chip-row li{border:1px solid var(--line);background:var(--surface);padding:9px 13px;font-size:.98rem;line-height:1.3}
.chip-row.mono li{font:700 .86rem/1.3 "Courier New",ui-monospace,monospace;color:var(--foreground)}
.check-list{list-style:none;margin:0;padding:0;display:grid;gap:14px}
.check-list li{padding-left:28px;position:relative;font-size:clamp(1.02rem,1.5vw,1.18rem);line-height:1.5}
.check-list li::before{content:"";position:absolute;left:0;top:.5em;width:12px;height:12px;background:var(--primary)}
.two-col{display:grid;grid-template-columns:1fr 1fr;gap:clamp(28px,4vw,56px)}
.card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.cap-card{border-top:2px solid var(--primary);padding-top:22px}
.cap-card p{color:var(--muted);margin:0;font-size:1.02rem;line-height:1.55}
.tool-group{margin-bottom:26px}
.tool-group:last-child{margin-bottom:0}
.tool-group .section-label{margin-bottom:12px}

/* flow diagram (MCP) */
.flow{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;align-items:stretch;position:relative}
.flow-node{border:1px solid var(--primary);background:var(--surface);padding:18px 16px;position:relative}
.flow-node strong{display:block;font-size:1.1rem;letter-spacing:-.01em;margin-bottom:6px}
.flow-node span{color:var(--muted);font-size:.95rem;line-height:1.4}
.flow-node:not(:last-child)::after{content:"→";position:absolute;right:-14px;top:50%;transform:translate(50%,-50%);color:var(--primary);font-weight:700;font-size:1.2rem}
.flow-return{margin-top:14px;border:1px dashed var(--line);color:var(--muted);text-align:center;padding:10px;font:700 .8rem/1.3 "Courier New",ui-monospace,monospace;letter-spacing:.06em;text-transform:uppercase}
.steps{counter-reset:s;list-style:none;margin:0;padding:0;display:grid;gap:18px}
.steps li{counter-increment:s;display:grid;grid-template-columns:44px 1fr;gap:14px;align-items:start;font-size:clamp(1.02rem,1.5vw,1.18rem);line-height:1.5}
.steps li::before{content:counter(s,decimal-leading-zero);color:var(--primary);font:700 1rem/1.5 "Courier New",ui-monospace,monospace}

/* related card (= live .content-card) */
.content-card{border-top:2px solid var(--primary);padding-top:28px;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:32px;align-items:center}
.content-card h3{letter-spacing:-.04em;margin:0 0 16px;font-size:clamp(1.65rem,3vw,2.5rem);line-height:1.08}
.content-card p{margin:0 0 22px;font-size:clamp(1.06rem,1.6vw,1.25rem);line-height:1.55}
.content-card a.follow{color:var(--primary);font-size:clamp(1.1rem,1.8vw,1.3rem);font-weight:700;text-underline-offset:6px;text-decoration-thickness:2px}

/* closing CTA */
.closing{border-top:1px solid var(--line);padding-block:clamp(64px,8vw,104px)}
.closing-inner{border:1px solid var(--line);border-top:3px solid var(--primary);background:var(--surface);display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);align-items:center}
.closing-copy{padding:clamp(28px,4vw,56px);display:grid;gap:20px}
.closing-copy h2{color:var(--foreground);letter-spacing:-.05em;margin:0;font-size:clamp(2.2rem,4.4vw,4rem);line-height:1}
.closing-copy p{margin:0;color:var(--muted);font-size:clamp(1.02rem,1.5vw,1.2rem);line-height:1.55}
.closing-art{background:#fff;height:100%;display:flex;align-items:center}
.closing-art img{width:100%;height:auto}
.btn-row{display:flex;flex-wrap:wrap;gap:16px;align-items:center}

/* footer (= live .f1-footer) */
.make-footer{border-top:1px solid var(--line);color:var(--muted);padding-block:clamp(48px,6vw,80px);display:grid;gap:22px}
.make-footer .wordmark{width:180px;height:auto}
.make-footer .follow-row{display:flex;flex-wrap:wrap;align-items:center;gap:12px;color:var(--foreground);font-weight:700;font-size:1.05rem}
.make-footer .follow-row img{height:22px;width:auto}
.make-footer a{color:var(--primary);text-underline-offset:4px}
.make-footer .tm{font-size:.85rem;line-height:1.5;max-width:860px;margin:0}

@media (width<=900px){
  .hero-media{grid-template-columns:1fr}
  .card-grid{grid-template-columns:1fr 1fr}
  .flow{grid-template-columns:1fr 1fr}
  .flow-node:nth-child(2)::after{display:none}
}
@media (width<=760px){
  .shell{width:min(100% - 30px,1120px)}
  .site-header{min-height:76px}
  .site-nav{font-size:.9rem}
  .draft-ribbon{padding:8px 12px;font-size:.72rem}
  .make-hero{padding-block:30px 56px;gap:22px}
  .split,.two-col,.content-card,.closing-inner{grid-template-columns:1fr;gap:28px}
  .closing-inner{gap:0}
  .figure-row{grid-template-columns:1fr}
  .card-grid{grid-template-columns:1fr}
  .flow{grid-template-columns:1fr}
  .flow-node::after{display:none}
  .flow-node:not(:last-child)::after{content:"↓";display:block;right:auto;left:50%;top:auto;bottom:-14px;transform:translate(-50%,50%)}
  .btn-primary{width:100%}
  .video-slot .play{width:64px}
  .cta-card{padding:22px}
}
code{font:700 .92em "Courier New",ui-monospace,monospace;color:var(--foreground);background:var(--panel);padding:1px 6px;border-radius:3px}
.steps li span strong{color:var(--foreground)}

/* v2 hero grid: keeps the primary CTA above the fold on 1440x900 and 390x844 */
.hero-grid{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);grid-template-areas:"label label" "title title" "hook media" "sub media" "cta media";column-gap:clamp(28px,3.4vw,48px);row-gap:22px;align-items:start;padding-block:clamp(36px,4vw,56px) clamp(56px,7vw,88px)}
.hero-grid>.section-label{grid-area:label;margin:0}
.hero-grid>h1{grid-area:title;letter-spacing:-.06em;line-height:.95;margin:0 0 6px;font-size:clamp(3.4rem,8vw,6.5rem);font-weight:700}
.hero-grid>.make-hook{grid-area:hook;font-size:clamp(1.35rem,2.3vw,2rem)}
.hero-grid>.make-sub{grid-area:sub;font-size:clamp(1.02rem,1.4vw,1.15rem)}
.hero-grid>.hero-cta{grid-area:cta}
.hero-grid>.hero-visual{grid-area:media;align-self:start}
.hero-cta{display:grid;gap:14px;justify-items:start}
.hero-cta .brand-plate{background:#000;padding:9px 13px;border-radius:4px}
.hero-cta .brand-plate img{height:30px;width:auto}
.hero-cta .cta-fine{margin:0}
@media (width<=760px){
  .hero-grid{grid-template-columns:minmax(0,1fr);grid-template-areas:"label" "title" "hook" "media" "cta" "sub";row-gap:18px;padding-block:26px 56px}
  .hero-grid.cta-first{grid-template-areas:"label" "title" "hook" "cta" "sub" "media"}
  .hero-cta{justify-items:stretch}
  .hero-cta .brand-plate{justify-self:start}
  .split,.two-col,.content-card,.closing-inner,.card-grid,.flow,.figure-row{grid-template-columns:minmax(0,1fr)}
}
@media (width<=900px) and (width>760px){.hero-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}}

.figure-side{margin-top:32px}
.figure-wide img{max-height:560px;object-fit:contain;background:#fff}
.content-card .figure img{aspect-ratio:1/1;object-fit:contain}
@media (width<=760px){.figure-side{margin-top:24px}}

.figure{display:flex;flex-direction:column}
.figure figcaption{flex:1}
.make-section.no-rule{border-top:0;padding-top:0}
