.sm-home .wrap{width:min(1240px,calc(100% - 80px));max-width:none}
.sm-home .hero{display:grid;grid-template-columns:1.15fr 1fr;gap:72px;align-items:center;padding:62px 0 64px}
.hero-copy{min-width:0}
.sm-home h1{font-size:42px;line-height:1.1;margin:20px 0 22px;font-weight:400}
.display-word{display:block;font-size:clamp(100px,10vw,154px);line-height:.87;letter-spacing:-.045em;margin:0 0 18px}
.display-colon{color:var(--accent)}
.display-subtitle{display:block;max-width:550px}
.sm-home .hero .answer{background:transparent;border:0;padding:0;font-size:16px;line-height:1.9;margin-bottom:26px;max-width:560px}
.hero-actions{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin:0 0 18px}
.btn,button{display:inline-flex;align-items:center;justify-content:center;gap:14px;min-height:46px;border:1px solid var(--line);padding:12px 18px;border-radius:2px;color:var(--ink);font-family:var(--sans);font-size:12px;font-weight:700;line-height:1.5;background:transparent;cursor:pointer;text-decoration:none;transition:color .2s,background .2s,border-color .2s,transform .2s var(--ease)}
.hero-actions .btn::after{content:'↗';font-size:16px;font-weight:400;transition:transform .2s var(--ease)}
.btn:hover::after{transform:translate(2px,-2px)}
.btn.primary,button.primary{background:var(--ink);color:var(--paper);border-color:var(--ink)}
.btn:hover,button:hover{background:var(--panel);border-color:var(--ink);color:var(--ink)}
.btn.primary:hover,button.primary:hover{background:var(--accent);border-color:var(--accent);color:#fff}
.source-note{border:0;margin:0;max-width:550px}
.source-note summary{font-family:var(--mono);font-size:10px;font-weight:400;color:var(--muted);padding:10px 25px 10px 0}
.source-note summary::after{font-size:16px;top:7px}
.source-note .facts,.source-note .updated{font-size:11px;padding:10px 0 0;line-height:1.9;margin:0}
.spec-plate{height:484px;position:relative;border:1px solid var(--line);background-color:#efede4;background-image:linear-gradient(#25282007 1px,transparent 1px),linear-gradient(90deg,#25282007 1px,transparent 1px);background-size:24px 24px;overflow:hidden;display:flex;align-items:center;justify-content:center}
.plate-label{position:absolute;top:20px;left:22px;right:22px;display:flex;justify-content:space-between;font-family:var(--mono);font-size:9px;letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}
.plate-label::before,.plate-label::after{content:'+';position:absolute;top:28px;font-size:16px;font-weight:400;color:var(--accent)}
.plate-label::before{left:-8px}.plate-label::after{right:-8px}
.spec-art{position:relative;width:292px;height:316px;margin-top:14px;transform:rotate(-5deg)}
.spec-sheet{position:absolute;left:0;top:0;width:260px;height:266px;border:1px solid #b3b4a5;background:var(--paper);box-shadow:8px 12px 20px #25282008;padding:23px;display:flex;flex-direction:column;justify-content:space-between;transition:transform .5s var(--ease)}
.spec-sheet:nth-child(1){transform:translate(32px,32px);background:#dddecf}.spec-sheet:nth-child(2){transform:translate(22px,22px);background:#e6e5d8}.spec-sheet:nth-child(3){transform:translate(11px,11px);background:#efece2}
.spec-sheet:nth-child(4){transform:translate(0,0)}
.spec-plate:hover .spec-sheet:nth-child(1){transform:translate(44px,42px)}
.spec-plate:hover .spec-sheet:nth-child(2){transform:translate(30px,28px)}
.spec-plate:hover .spec-sheet:nth-child(3){transform:translate(15px,14px)}
.sheet-num{font-family:var(--mono);font-size:10px;color:var(--accent);letter-spacing:.06em}
.sheet-title{font-family:var(--display);font-size:43px;line-height:1.1;color:var(--ink)}
.sheet-line{display:block;border-top:1px solid #c9cabf;position:relative;margin-top:14px;width:100%}
.sheet-line.short{width:65%}
.sheet-lines{margin-top:16px}
.sheet-foot{font-family:var(--mono);font-size:9px;color:var(--muted);padding-top:16px;display:flex;justify-content:space-between}
.plate-key{position:absolute;bottom:22px;left:22px;right:22px;border-top:1px solid #c9cabf;padding-top:14px;font-family:var(--mono);font-size:9px;display:flex;justify-content:space-between;gap:8px;color:var(--muted)}
.plate-key strong{font-weight:400;color:var(--accent)}
.plate-path{position:absolute;right:-55px;top:54%;font-family:var(--mono);font-size:9px;letter-spacing:.1em;color:var(--muted);transform:rotate(-90deg)}
.section-index{font-family:var(--mono);font-size:10px;letter-spacing:.1em;color:var(--accent);display:block;margin-bottom:20px}
.sm-home .tool{display:grid;grid-template-columns:.85fr 1.15fr;gap:34px 64px;padding:48px;border:0;border-radius:3px;background:var(--ink);color:var(--paper);box-shadow:none;margin:0 0 68px;scroll-margin-top:110px}
.tool-intro h2{font-size:44px;line-height:1.1;max-width:330px;color:var(--paper)}
.tool-intro .section-index{color:#dba88d}
.tool-intro .note{font-size:13px;color:#d0d1c3;line-height:1.95;max-width:330px}
.tool-intro code{background:#45473d;color:#f5f2eb}
.tool-files{border-top:1px solid #53564a;margin-top:32px;padding-top:16px;font-family:var(--mono);font-size:10px;line-height:2.3;color:#c5c7b8;display:grid;grid-template-columns:1fr 1fr;gap:0 14px}
.tool-files span::before{content:'↳ ';color:#dba88d}
.tool-form{display:grid;grid-template-columns:1fr 1fr;column-gap:20px;align-content:start}
.form-field{min-width:0}
.form-field.full,.tool-form .actions{grid-column:1/-1}
.sm-home label{font-family:var(--mono);font-size:10px;font-weight:400;text-transform:uppercase;letter-spacing:.035em;color:#d7d8cb;margin:0 0 9px;display:block;line-height:1.8}
.sm-home input,.sm-home textarea{width:100%;border:1px solid #797b6f;border-radius:2px;background:#f5f2eb;color:var(--ink);font-family:var(--sans);font-size:13px;line-height:1.7;padding:13px 15px;margin:0 0 24px;transition:border-color .2s,box-shadow .2s}
.sm-home textarea{min-height:104px;resize:vertical}
.sm-home input:focus,.sm-home textarea:focus{border-color:#e4b597;box-shadow:0 0 0 3px #e4b59730;outline:0}
.tool .actions{display:flex;align-items:flex-start;flex-wrap:wrap;gap:12px 16px;margin:0}
.tool button.primary{background:#e6bea1;color:var(--ink);border-color:#e6bea1;min-height:46px}
.tool button.primary:hover{background:#f5dbc5;border-color:#f5dbc5;transform:translateY(-2px)}
.tool .actions .note{color:#c5c7b8;font-size:10px;line-height:1.7;padding-top:7px;max-width:170px}
.generator-feedback{flex-basis:100%;font-family:var(--mono);font-size:10px;color:#e6bea1}
.tool .out{grid-column:1/-1;margin:0;border-top:1px solid #53564a;padding-top:30px}
.tool .file{border:1px solid #53564a;border-radius:2px;margin-bottom:20px;background:#30332a}
.tool .file-head{display:flex;align-items:center;gap:12px;padding:12px 16px;flex-wrap:wrap;border-bottom:1px solid #53564a;background:#3b3e34}
.tool .fname{flex:1;min-width:140px;font-family:var(--mono);font-size:11px;color:#eeefdf;overflow-wrap:anywhere}
.tool .file button{min-height:32px;color:#eeefdf;font-size:10px;padding:5px 10px;border-color:#686d5b}
.tool .file button:hover{color:var(--ink)}
.tool pre{margin:0;padding:20px;background:transparent;font-size:11px}
.tool .msg{font-size:10px;color:#e6bea1}
.tool .ok{font-family:var(--mono);font-size:10px;color:#e6bea1}
.tool .out{scroll-margin-top:115px}
.tool-intro,.tool-form,.tool .out,.tool .file{min-width:0}
.tool .file pre{max-width:100%;overflow-x:auto}
.sm-home .library{padding:0 0 64px;border-top:0}
.library h2{font-size:60px;margin-bottom:16px}
.library>.kicker{margin-bottom:14px;color:var(--accent)}
.library>.lede{max-width:660px;margin-bottom:32px;font-size:14px}
.library-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);counter-reset:collection}
.library-card{padding:32px 30px 26px 0;border:0;border-right:1px solid var(--line);background:transparent;border-radius:0;counter-increment:collection}
.library-card:not(:first-child){padding-left:30px}
.library-card:last-child{border-right:0;padding-right:0}
.library-card::before{content:'0' counter(collection) ' / COLLECTION';font-family:var(--mono);font-size:10px;letter-spacing:.06em;color:var(--accent);display:block;margin-bottom:26px}
.library-card h3{font-family:var(--display);font-size:31px;line-height:1.2;margin:0 0 14px;font-weight:400;letter-spacing:-.02em}
.library-card p{font-size:12px;line-height:1.8;color:var(--muted);min-height:44px;margin:0 0 22px}
.library-card ul{list-style:none;padding:0;margin:0}
.library-card li{border-top:1px solid var(--line);padding:11px 0;margin:0;font-size:12px;line-height:1.8}
.library-card a{color:var(--ink);text-decoration:none;border-bottom:1px solid transparent}
.library-card a:hover{color:var(--accent);border-color:var(--accent)}
.library-card .new-label{font-size:8px;background:transparent;border-color:#c9b5a2;color:var(--accent);padding:1px 4px;white-space:nowrap;margin-left:3px}
.feature-note{display:grid;grid-template-columns:1fr 1.3fr;gap:40px;align-items:center;background:#eae7dc;border:1px solid var(--line);padding:30px 36px;margin:32px 0 0}
.feature-note .kicker{margin:0 0 12px}
.feature-note h3{font-family:var(--display);font-weight:400;font-size:34px;line-height:1.2;margin:0}
.feature-note p{font-size:13px;line-height:1.8;margin-bottom:12px;color:var(--muted)}
.feature-note a{font-size:12px;font-weight:700;text-decoration:none;color:var(--ink)}
.feature-note a:hover{color:var(--accent)}
.notebook-heading{display:flex;align-items:baseline;justify-content:space-between;gap:20px;border-bottom:1px solid var(--ink);padding:26px 0;margin-bottom:0}
.notebook-heading h2{font-size:60px;margin:0}
.notebook-heading .kicker{margin:0;color:var(--muted)}
.notebook-nav{display:flex;flex-wrap:wrap;gap:8px 28px;padding:14px 0 28px;font-family:var(--mono);font-size:10px;text-transform:uppercase;letter-spacing:.04em}
.notebook-nav a{display:inline-flex;align-items:center;min-height:38px;color:var(--ink);text-decoration:none}
.notebook-nav a::before{content:'↳';color:var(--accent);margin-right:10px}
.notebook-nav a:hover{color:var(--accent)}
.sm-home .info:not(.library){padding:40px 0 42px;max-width:840px;margin-left:auto;margin-right:auto}
.sm-home .info h2{font-size:34px}
.sm-home .info .grid{gap:16px}
.sm-home .info .card{padding:20px}
.sm-home .info .card h3{font-size:15px;margin:0 0 10px}
.sm-home .info .card p{font-size:13px}
.sm-home .steps{list-style:none;padding:0;counter-reset:step}
.sm-home .steps li{counter-increment:step;position:relative;padding:15px 0 15px 50px;border-bottom:1px solid var(--line);margin:0;font-size:14px}
.sm-home .steps li::before{content:'0' counter(step);position:absolute;left:0;top:17px;font-family:var(--mono);font-size:11px;color:var(--accent)}
.sm-home footer{max-width:840px;margin:30px auto 0}
@media(min-width:1800px){.sm-home .hero{gap:100px;padding-block:70px}.spec-plate{height:510px}}
@media(max-width:1080px){.sm-home .hero{gap:36px}.sm-home h1{font-size:34px}.display-word{font-size:110px}.spec-plate{height:444px}.sm-home .tool{gap:28px 40px;padding:36px}.tool-intro h2{font-size:38px}.tool-form{grid-template-columns:1fr}.form-field{grid-column:1/-1}.library-card h3{font-size:28px}}
@media(max-width:760px){.sm-home .wrap{width:calc(100% - 40px)}.sm-home .hero{display:block;padding:36px 0}.sm-home h1{font-size:31px;margin-top:14px}.display-word{font-size:98px;margin-bottom:16px}.display-subtitle{max-width:460px}.sm-home .hero .answer{font-size:14px;line-height:1.85;margin-bottom:22px}.hero-actions{gap:10px;align-items:stretch}.hero-actions .btn{font-size:11px;padding:11px 13px;gap:12px}.source-note summary{font-size:9px}.spec-plate{height:344px;margin-top:28px}.spec-art{transform:rotate(-5deg) scale(.82);margin-top:18px}.plate-key{font-size:8px;left:16px;right:16px}.plate-label{left:18px;right:18px;font-size:8px}.sm-home .tool{grid-template-columns:1fr;padding:26px 22px;gap:22px;margin-bottom:40px}.tool-intro h2{font-size:38px;max-width:none}.tool-intro .note{max-width:none;font-size:12px}.tool-files{margin-top:18px;padding-top:12px}.tool-form{grid-template-columns:1fr 1fr;gap:0 14px}.form-field{grid-column:auto}.form-field.full{grid-column:1/-1}.sm-home label{font-size:9px;min-height:32px}.sm-home input,.sm-home textarea{font-size:12px;margin-bottom:18px;padding:11px}.library h2{font-size:44px}.library-grid{grid-template-columns:1fr}.library-card,.library-card:not(:first-child),.library-card:last-child{padding:24px 0;border-right:0;border-bottom:1px solid var(--line)}.library-card:last-child{border-bottom:0}.library-card::before{margin-bottom:16px}.library-card p{min-height:0;margin-bottom:16px}.library-card h3{font-size:30px}.library-card li{font-size:13px}.feature-note{grid-template-columns:1fr;gap:18px;padding:24px;margin-top:24px}.feature-note h3{font-size:32px}.notebook-heading{align-items:flex-start;flex-direction:column;gap:12px;padding-top:0}.notebook-heading h2{font-size:44px}.sm-home .info:not(.library){padding-block:30px}.sm-home .info h2{font-size:30px}.sm-home .info .grid{grid-template-columns:1fr}.sm-home .library{padding-bottom:40px}}
@media(max-width:380px){.sm-home .wrap{width:calc(100% - 32px)}.display-word{font-size:84px}.sm-home h1{font-size:28px}.hero-actions .btn{width:100%;justify-content:space-between}.tool-form{grid-template-columns:1fr}.form-field{grid-column:1/-1}.sm-home label{min-height:0}.plate-key{font-size:7px}.spec-art{transform:rotate(-5deg) scale(.72)}.spec-plate{height:320px}.tool-intro h2{font-size:34px}}
@media(max-width:760px){.sm-home input,.sm-home textarea{font-size:16px}.tool .file button{min-height:44px}.source-note summary{min-height:44px;display:flex;align-items:center}.source-note summary::after{top:12px}}
.sm-home .library h2{font-size:60px;margin-bottom:16px}
.sm-home .library-card h3{font-size:31px;margin:0 0 14px}
.sm-home .feature-note h3{font-size:34px;margin:0}
.sm-home .faq summary{padding:20px 32px 20px 0;min-height:44px}
@media(max-width:760px){.sm-home .library h2{font-size:44px}.sm-home .library-card h3{font-size:30px}.sm-home .feature-note h3{font-size:32px}.sm-home header .topnav{gap:8px 18px;flex-wrap:wrap;font-size:11px;justify-content:flex-start}}

/* Homepage readability pass. Keep article styles, copy and generator logic intact. */
.sm-home{--muted:#56594e;--line:#d2d1c5}
.sm-home .hero{gap:64px;padding:56px 0}
.sm-home .display-word{font-size:clamp(92px,10vw,142px)}
.sm-home .display-subtitle{font-size:38px;line-height:1.16}
.sm-home .hero .answer{font-size:17px;line-height:1.75;margin-bottom:24px}
.sm-home .hero-actions .btn{min-height:48px;font-size:13px}
.sm-home .spec-plate{height:460px}
.sm-home .source-note summary{font-size:11px;line-height:1.7}
.sm-home .library-card p{font-size:14px;line-height:1.75}
.sm-home .library-card li{font-size:14px;line-height:1.7;padding-block:13px}
.sm-home .tool-intro .note{font-size:14px;line-height:1.75}
.sm-home .feature-note p{font-size:14px;line-height:1.75}

@media(max-width:1080px) and (min-width:761px){
  .sm-home .hero{gap:36px;padding-block:44px}
  .sm-home .display-subtitle{font-size:32px}
  .sm-home .hero .answer{font-size:16px}
  .sm-home .spec-plate{height:420px}
}

@media(max-width:760px){
  .sm-home .hero{padding:28px 0 32px}
  .sm-home .hero .kicker{font-size:10.5px;letter-spacing:.04em;margin-bottom:12px}
  .sm-home h1{margin:12px 0 18px}
  .sm-home .display-word{font-size:clamp(82px,24vw,106px);line-height:.9;margin-bottom:14px}
  .sm-home .display-subtitle{font-size:28px;line-height:1.16}
  .sm-home .hero .answer{font-size:15.5px;line-height:1.72;margin-bottom:22px}
  .sm-home .hero-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:12px}
  .sm-home .hero-actions .btn{min-width:0;min-height:56px;padding:10px 12px;font-size:12px;gap:8px;justify-content:space-between}
  .sm-home .source-note summary{font-size:10px;padding-right:24px}
  .sm-home .spec-plate{height:244px;margin-top:22px}
  .sm-home .spec-art{transform:rotate(-5deg) scale(.57);margin-top:0}
  .sm-home .plate-label{top:14px;font-size:8px}
  .sm-home .plate-path{display:none}
  .sm-home .plate-key{bottom:12px;padding-top:10px}
  .sm-home .tool{padding:26px 20px;gap:24px}
  .sm-home .tool-intro h2{font-size:34px;line-height:1.14}
  .sm-home .tool-intro .note{font-size:14px;line-height:1.75}
  .sm-home .tool-form{grid-template-columns:1fr;gap:0}
  .sm-home .form-field{grid-column:1/-1}
  .sm-home label{font-size:11px;min-height:0;line-height:1.6}
  .sm-home input,.sm-home textarea{font-size:16px;padding:12px 14px}
  .sm-home .tool .actions button{width:100%;min-height:48px;font-size:14px}
  .sm-home .tool .actions .note{max-width:none;padding-top:0;font-size:11px}
  .sm-home .library>.lede{font-size:15px;line-height:1.75}
  .sm-home .library-card p,.sm-home .feature-note p{font-size:14px;line-height:1.75}
  .sm-home .info .card p{font-size:14px;line-height:1.75}
}

@media(max-width:360px){
  .sm-home .display-word{font-size:82px}
  .sm-home .display-subtitle{font-size:26px}
  .sm-home .hero-actions{grid-template-columns:1fr}
  .sm-home .hero-actions .btn{min-height:48px}
  .sm-home .spec-plate{height:226px}
  .sm-home .spec-art{transform:rotate(-5deg) scale(.52)}
  .sm-home .tool{padding:24px 18px}
}

/* Homepage heading system: clear sans-serif hierarchy without compressed tracking. */
.sm-home h1,.sm-home h2,.sm-home h3{font-family:var(--sans);letter-spacing:0}
.sm-home h1{font-weight:700;line-height:1.15}
.sm-home .display-word{font-family:var(--sans);font-size:clamp(76px,8vw,104px);font-weight:700;line-height:1.08;letter-spacing:0;margin-bottom:18px;white-space:nowrap}
.sm-home .display-subtitle{font-family:var(--sans);font-size:28px;font-weight:400;line-height:1.3;letter-spacing:.01em;max-width:550px}
.sm-home h2{font-size:32px;font-weight:650;line-height:1.3}
.sm-home h3{font-weight:700;line-height:1.45}
.sm-home .tool-intro h2{font-size:32px;line-height:1.3;max-width:360px}
.sm-home .library h2,.sm-home .notebook-heading h2{font-size:40px;font-weight:700;line-height:1.25}
.sm-home .library-card h3{font-family:var(--sans);font-size:26px;font-weight:700;letter-spacing:0;line-height:1.35}
.sm-home .feature-note h3{font-family:var(--sans);font-size:28px;font-weight:650;letter-spacing:0;line-height:1.35}
.sm-home .info:not(.library) h2{font-size:30px;line-height:1.35}
.sm-home .info h3{letter-spacing:0;line-height:1.45}
.sm-home .info .card h3{font-size:17px;line-height:1.45}

@media(max-width:1080px) and (min-width:761px){
  .sm-home .display-word{font-size:clamp(48px,6.25vw,68px)}
  .sm-home .display-subtitle{font-size:24px}
  .sm-home .tool-intro h2{font-size:28px}
}

@media(max-width:760px){
  .sm-home .display-word{font-size:clamp(44px,15vw,82px);line-height:1.12;margin-bottom:16px}
  .sm-home .display-subtitle{font-size:22px;line-height:1.3;letter-spacing:.01em}
  .sm-home .library h2,.sm-home .notebook-heading h2{font-size:30px;line-height:1.3}
  .sm-home .tool-intro h2{font-size:28px;line-height:1.3}
  .sm-home .library-card h3,.sm-home .feature-note h3{font-size:24px;line-height:1.4}
  .sm-home .info:not(.library) h2{font-size:25px;line-height:1.4}
}

@media(max-width:360px){
  .sm-home .display-subtitle{font-size:21px}
  .sm-home .tool-intro h2,.sm-home .library h2,.sm-home .notebook-heading h2{font-size:26px}
}
