html { scroll-behavior: smooth; }
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: #F0EEE6;
  color: #141413;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
.serif { font-family: Georgia, "Iowan Old Style", "Palatino Linotype", "Times New Roman", serif; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 28px; }
a { color: inherit; text-decoration: none; }
::selection { background: #F4C9B6; }

/* nav */
nav { position: sticky; top: 0; z-index: 60; background: rgba(240,238,230,0.82); backdrop-filter: saturate(1.3) blur(12px); border-bottom: 1px solid #E4E1D6; }
nav .row { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; cursor: pointer; }
.brandimg { height: 24px; width: auto; display: block; }
.brand .dot { color: #D97757; }
.navlinks { display: flex; gap: 26px; font-size: 14.5px; color: #57544E; align-items: center; }
.navlinks a { transition: color 0.2s; }
.navlinks a:hover { color: #141413; }
.navlinks a.active { color: #141413; font-weight: 600; }
.navcta { border: 1px solid #141413; padding: 8px 16px; border-radius: 999px; font-weight: 600; color: #141413; transition: all 0.2s; }
.navcta:hover { background: #141413; color: #F0EEE6; }
.navtoggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.navtoggle span { width: 22px; height: 2px; background: #141413; display: block; border-radius: 2px; }
@media (max-width: 760px) {
  .navtoggle { display: flex; }
  .navlinks { position: absolute; top: 100%; left: 0; right: 0; background: rgba(240,238,230,0.98); backdrop-filter: blur(12px); border-bottom: 1px solid #E4E1D6; flex-direction: column; align-items: stretch; gap: 0; padding: 6px 28px 14px; display: none; }
  .navlinks.open { display: flex; }
  .navlinks a { padding: 13px 0; width: 100%; border-top: 1px solid #E4E1D6; }
  .navlinks a:first-child { border-top: none; }
  .navcta { border: none; padding: 13px 0; border-radius: 0; }
  .navcta:hover { background: none; color: #141413; }
}

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 9px; font-weight: 600; font-size: 15.5px; padding: 14px 26px; border-radius: 999px; cursor: pointer; border: none; transition: transform 0.15s, box-shadow 0.2s, background 0.2s; }
.btn.primary { background: #D97757; color: #fff; box-shadow: 0 10px 24px rgba(217,119,87,0.32); }
.btn.primary:hover { transform: translateY(-2px); box-shadow: 0 16px 30px rgba(217,119,87,0.42); background: #CE6B4C; }
.btn.ghost { background: transparent; color: #141413; border: 1px solid #CFCBBE; }
.btn.ghost:hover { border-color: #141413; transform: translateY(-2px); }
.arrow { transition: transform 0.2s; }
.btn:hover .arrow { transform: translateX(4px); }

/* hero */
.hero { padding: 104px 0 86px; position: relative; }
.hero:before { content: ""; position: absolute; top: -140px; right: -160px; width: 620px; height: 620px; background: radial-gradient(circle, rgba(217,119,87,0.20), rgba(217,119,87,0) 62%); pointer-events: none; }
.eyebrow { font-size: 13px; letter-spacing: 2.5px; text-transform: uppercase; color: #C15F3C; font-weight: 700; }
.hero h1 { font-size: 68px; line-height: 1.0; margin: 20px 0 0; font-weight: 700; letter-spacing: -1px; }
.hero h1 .u { color: #D97757; position: relative; }
.hero .lead { font-size: 21px; color: #4B4840; max-width: 630px; margin-top: 24px; }
.hero .cta { margin-top: 34px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero .proof { margin-top: 26px; font-size: 14px; color: #7C7A6F; }
.hero .proof b { color: #4B4840; }
@media (max-width: 900px) { .hero h1 { font-size: 44px; } .hero .lead { font-size: 18px; } }

/* animated 369 chip in hero */
.pill369 { display: inline-flex; align-items: center; gap: 0; border: 1px solid #E4E1D6; background: #FAF9F5; border-radius: 999px; padding: 6px; margin-top: 30px; font-family: Georgia, serif; font-weight: 700; }
.pill369 .p { width: 15px; height: 15px; border-radius: 999px; background: #E4E1D6; transition: all 0.5s; }
.pill369 .p.on { background: #D97757; transform: scale(1.12); }
.pill369 .sep { width: 26px; height: 2px; background: #E4E1D6; }
.pill369 .sep.on { background: #E8B49F; }
.pill369 .lbl { padding: 0 18px 0 14px; font-family: system-ui; font-weight: 600; font-size: 14px; color: #4B4840; letter-spacing: 0.2px; min-width: 210px; }

section { padding: 74px 0; position: relative; }
.sec-head { max-width: 700px; margin-bottom: 44px; }
.sec-head .kicker { font-size: 13px; letter-spacing: 2px; text-transform: uppercase; color: #C15F3C; font-weight: 700; }
.sec-head h2 { font-size: 40px; margin-top: 12px; font-weight: 700; letter-spacing: -0.6px; line-height: 1.08; }
.sec-head p { color: #57544E; margin-top: 14px; font-size: 18px; }

/* the shift */
.shift { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 800px) { .shift { grid-template-columns: 1fr; } }
.shift .col { border-radius: 16px; padding: 30px; }
.shift .before { background: #EAE7DD; border: 1px solid #E0DCD0; }
.shift .after { background: linear-gradient(160deg, #FBEDE5, #FAF9F5); border: 1px solid #F0D3C3; }
.shift .tagc { font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; font-weight: 700; }
.shift .before .tagc { color: #8A867B; }
.shift .after .tagc { color: #C15F3C; }
.shift h3 { font-size: 22px; margin: 8px 0 16px; font-weight: 700; }
.shift ul { list-style: none; }
.shift li { padding: 9px 0; font-size: 15.5px; display: flex; gap: 11px; align-items: flex-start; }
.shift .before li { color: #6E6A5F; }
.shift .after li { color: #3C3930; }
.mark { min-width: 18px; font-weight: 800; }
.before .mark { color: #B4AF9E; }
.after .mark { color: #D97757; }

/* journey animated */
.journey { background: #FAF9F5; border: 1px solid #E4E1D6; border-radius: 22px; overflow: hidden; }
.jtabs { display: flex; border-bottom: 1px solid #E4E1D6; }
.jtab { flex: 1; padding: 20px 16px; cursor: pointer; text-align: center; background: transparent; border: none; border-right: 1px solid #E4E1D6; transition: background 0.25s; position: relative; }
.jtab:last-child { border-right: none; }
.jtab:hover { background: #F2EFE7; }
.jtab .jn { font-family: Georgia, serif; font-size: 22px; font-weight: 700; color: #C6C1B2; transition: color 0.3s; }
.jtab .jm { display: block; font-size: 12.5px; letter-spacing: 1.5px; text-transform: uppercase; color: #8A867B; margin-top: 2px; transition: color 0.3s; font-weight: 600; }
.jtab.on .jn { color: #D97757; }
.jtab.on .jm { color: #3C3930; }
.jtab .bar { position: absolute; left: 0; bottom: -1px; height: 3px; width: 0; background: #D97757; transition: width 4s linear; }
.jtab.on .bar { width: 100%; }
.jbody { display: grid; grid-template-columns: 260px 1fr; gap: 0; min-height: 320px; }
@media (max-width: 800px) { .jbody { grid-template-columns: 1fr; } }
.jbig { background: linear-gradient(165deg, #1A1915, #262219); color: #fff; display: grid; place-items: center; position: relative; overflow: hidden; }
.jbig .huge { font-family: Georgia, serif; font-size: 200px; font-weight: 700; line-height: 1; color: #fff; }
.jbig .glow { position: absolute; width: 300px; height: 300px; background: radial-gradient(circle, rgba(217,119,87,0.5), transparent 62%); }
.jpanel { padding: 34px 38px; }
.jpanel .jmove { font-size: 13px; letter-spacing: 2px; text-transform: uppercase; color: #C15F3C; font-weight: 700; }
.jpanel h3 { font-size: 28px; font-weight: 700; margin: 6px 0 6px; }
.jpanel .jsub { color: #57544E; font-size: 16.5px; }
.jpanel .jrow { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 22px; }
@media (max-width: 620px) { .jpanel .jrow { grid-template-columns: 1fr; } }
.jpanel .jlab { font-size: 12px; letter-spacing: 1px; text-transform: uppercase; color: #A8A395; font-weight: 700; margin-bottom: 7px; }
.jpanel .jlist { list-style: none; }
.jpanel .jlist li { font-size: 14.5px; color: #3C3930; padding: 4px 0; }
.jpanel .win { background: #FBEDE5; border-left: 3px solid #D97757; padding: 10px 14px; border-radius: 0 8px 8px 0; font-size: 14.5px; color: #7A3F27; margin-top: 4px; }
.fade-swap { animation: fadeSwap 0.5s ease; }
@keyframes fadeSwap { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.pop { animation: pop 0.5s cubic-bezier(0.2,0.9,0.3,1.3); }
@keyframes pop { 0% { opacity: 0; transform: scale(0.6); } 100% { opacity: 1; transform: scale(1); } }

/* accordion path */
.acc { border: 1px solid #E4E1D6; border-radius: 16px; overflow: hidden; background: #FAF9F5; }
.acc-item { border-top: 1px solid #E4E1D6; }
.acc-item:first-child { border-top: none; }
.acc-head { width: 100%; text-align: left; background: transparent; border: none; cursor: pointer; padding: 22px 26px; display: flex; align-items: center; gap: 18px; transition: background 0.2s; }
.acc-head:hover { background: #F2EFE7; }
.acc-head .an { font-family: Georgia, serif; font-size: 26px; font-weight: 700; color: #D97757; min-width: 34px; }
.acc-head .at { flex: 1; }
.acc-head .at .am { font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; color: #A8A395; font-weight: 700; }
.acc-head .at h3 { font-size: 20px; font-weight: 700; }
.acc-head .plus { width: 30px; height: 30px; border-radius: 999px; border: 1px solid #CFCBBE; display: flex; align-items: center; justify-content: center; font-size: 22px; line-height: 1; flex: 0 0 auto; margin-left: auto; color: #57544E; transition: transform 0.3s, background 0.2s, color 0.2s; }
.acc-item.open .plus { transform: rotate(45deg); background: #D97757; color: #fff; border-color: #D97757; }
.acc-panel { max-height: 0; overflow: hidden; transition: max-height 0.45s ease; }
.acc-item.open .acc-panel { max-height: 640px; }
.acc-inner { padding: 4px 26px 26px 78px; }
.cap { display: flex; gap: 12px; padding: 10px 0; border-top: 1px dashed #E7E3D7; }
.cap:first-child { border-top: none; }
.cap .cdot { min-width: 8px; height: 8px; border-radius: 999px; background: #D97757; margin-top: 8px; }
.cap b { font-weight: 650; font-size: 15px; }
.cap span { color: #57544E; font-size: 14px; }

/* demos */
.demo { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: center; }
@media (max-width: 860px) { .demo { grid-template-columns: 1fr; } }
.demo.flip .demo-copy { order: 2; }
.demo-copy h3 { font-size: 26px; font-weight: 700; letter-spacing: -0.3px; }
.demo-copy p { color: #57544E; font-size: 16.5px; margin-top: 12px; }
.demo-copy .mini { font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: #C15F3C; font-weight: 700; }

/* skill terminal */
.term { background: #1A1915; border-radius: 16px; padding: 22px; box-shadow: 0 20px 50px rgba(20,20,19,0.28); font-family: "SF Mono", ui-monospace, Menlo, Consolas, monospace; min-height: 300px; }
.term .dots { display: flex; gap: 7px; margin-bottom: 18px; }
.term .dots i { width: 11px; height: 11px; border-radius: 999px; display: block; }
.term .prompt { color: #E8E4D8; font-size: 14.5px; }
.term .prompt .cue { color: #D97757; }
.term .cursor { display: inline-block; width: 8px; background: #D97757; margin-left: 1px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.term .out { margin-top: 16px; background: none; border: none; padding: 0; border-radius: 0; }
.term .oline { color: #C9C4B6; font-size: 13px; opacity: 0; transform: translateY(6px); padding: 3px 0; }
.term .oline.show { opacity: 1; transform: none; transition: all 0.35s; }
.term .oline .tag { color: #7FB08A; }
.term .badge { display: inline-block; margin-bottom: 10px; font-family: system-ui; font-size: 11px; letter-spacing: 1px; text-transform: uppercase; color: #E8B49F; border: 1px solid #43392f; border-radius: 999px; padding: 3px 10px; opacity: 0; transition: opacity 0.4s; }
.term .badge.show { opacity: 1; }

/* connectors svg */
.connbox { background: linear-gradient(160deg, #FBEDE5, #FAF9F5); border: 1px solid #F0D3C3; border-radius: 16px; padding: 10px; }
.connbox svg { width: 100%; height: auto; display: block; }
.flow { stroke-dasharray: 4 8; animation: flow 1.4s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -24; } }
.node-pulse { transform-origin: center; animation: nodepulse 2.6s ease-in-out infinite; }
@keyframes nodepulse { 0%,100% { opacity: 0.85; } 50% { opacity: 1; } }
.center-ring { animation: ring 3s ease-in-out infinite; transform-origin: center; }
@keyframes ring { 0%,100% { r: 40; opacity: 0.5; } 50% { r: 48; opacity: 0.15; } }

/* saas replace */
.saas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.chip { border: 1px solid #E4E1D6; background: #FAF9F5; border-radius: 999px; padding: 9px 16px; font-size: 14px; font-weight: 600; color: #57544E; transition: all 0.5s; }
.chip.gone { color: #B4AF9E; text-decoration: line-through; border-style: dashed; opacity: 0.6; }
.chip.ciao { background: #D97757; color: #fff; border-color: #D97757; }

/* courses: inside each course */
.courses-acc { display: flex; flex-direction: column; gap: 14px; }
.course-item { background: #FAF9F5; border: 1px solid #E4E1D6; border-radius: 16px; overflow: hidden; }
.course-item > summary { list-style: none; cursor: pointer; padding: 22px 26px; display: flex; align-items: center; gap: 16px; }
.course-item > summary::-webkit-details-marker { display: none; }
.course-num { font-family: Georgia, serif; font-size: 27px; font-weight: 700; color: #D97757; min-width: 32px; }
.course-h-t { flex: 1; }
.course-h-t .cs { font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; color: #A8A395; font-weight: 700; }
.course-h-t h3 { font-size: 21px; font-weight: 700; }
.course-h-t .cout { font-size: 13.5px; color: #57544E; margin-top: 3px; }
.course-item > summary .cplus { width: 30px; height: 30px; border-radius: 999px; border: 1px solid #CFCBBE; display: flex; align-items: center; justify-content: center; font-size: 22px; line-height: 1; flex: 0 0 auto; margin-left: auto; color: #57544E; transition: transform 0.3s, background 0.2s, color 0.2s; }
.course-item[open] > summary .cplus { transform: rotate(45deg); background: #D97757; color: #fff; border-color: #D97757; }
.course-body { padding: 0 26px 24px 78px; }
@media (max-width: 620px) { .course-body { padding: 0 22px 22px 22px; } }
.module { border-top: 1px solid #EFEBE0; padding: 15px 0; }
.module .mt { font-size: 11px; letter-spacing: 1px; text-transform: uppercase; color: #C15F3C; font-weight: 700; margin-bottom: 9px; }
.lesson { display: grid; grid-template-columns: 18px 1fr; gap: 10px; padding: 5px 0; }
.lesson .ld { width: 7px; height: 7px; border-radius: 999px; background: #D9B8A8; margin-top: 8px; }
.lesson b { font-size: 14.5px; font-weight: 600; }
.lesson span { color: #57544E; font-size: 13.5px; }
.cgate { margin-top: 16px; background: #FBEDE5; border-left: 3px solid #D97757; border-radius: 0 8px 8px 0; padding: 12px 16px; }
.cgate .gl { font-size: 11px; letter-spacing: 1px; text-transform: uppercase; color: #C15F3C; font-weight: 700; }
.cgate p { font-size: 14px; color: #7A3F27; margin-top: 4px; }

/* setup: with and without ciao */
.setup-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 20px; margin-bottom: 22px; }
@media (max-width: 860px) { .setup-grid { grid-template-columns: 1fr; } }
.profcard { background: #FAF9F5; border: 1px solid #E4E1D6; border-radius: 16px; padding: 24px; }
.profcard .pc-h { display: flex; align-items: center; gap: 11px; margin-bottom: 14px; }
.profcard .pc-av { width: 34px; height: 34px; border-radius: 999px; background: #FBF4EF; border: 1px solid #F0D3C3; display: grid; place-items: center; flex: 0 0 auto; }
.profcard .pc-av img { width: 21px; height: 21px; display: block; }
.profcard .pc-name { font-family: Georgia, serif; font-weight: 700; font-size: 17px; }
.profcard .pc-role { font-size: 13px; color: #8A867B; }
.prow { display: grid; grid-template-columns: 122px 1fr; gap: 12px; padding: 8px 0; border-top: 1px solid #EFEBE0; font-size: 13.5px; }
.prow:first-of-type { border-top: none; }
.prow .pk { color: #C15F3C; font-weight: 700; font-size: 11px; letter-spacing: 0.5px; text-transform: uppercase; }
.prow .pv { color: #3C3930; }
.stack { display: flex; flex-direction: column; gap: 14px; }
.stackgroup { background: #FAF9F5; border: 1px solid #E4E1D6; border-radius: 16px; padding: 18px 20px; }
.stackgroup .sg-lab { font-size: 11px; letter-spacing: 1.2px; text-transform: uppercase; color: #A8A395; font-weight: 700; margin-bottom: 11px; }
.schips { display: flex; flex-wrap: wrap; gap: 8px; }
.schip { border: 1px solid #E4E1D6; background: #F4F1E9; border-radius: 999px; padding: 7px 13px; font-size: 13px; font-weight: 600; color: #4B4840; }
.schip.plug { background: #EFE7F0; border-color: #E0CDE2; color: #5A3E63; }
.schip.conn { background: #FBEDE5; border-color: #F0D3C3; color: #7A3F27; }
.schip.conn { display: inline-flex; align-items: center; gap: 6px; }
.schip.conn img { width: 15px; height: 15px; display: block; }
.compare { border: 1px solid #E4E1D6; border-radius: 18px; overflow: hidden; }
.cprompt { background: #1A1915; color: #E8E4D8; font-family: "SF Mono", ui-monospace, Menlo, Consolas, monospace; font-size: 14px; padding: 15px 20px; }
.cprompt .cue { color: #D97757; }
.ccur { display: inline-block; width: 8px; background: #D97757; margin-left: 1px; animation: blink 1s steps(1) infinite; }
.cpanels { display: grid; grid-template-columns: 1fr 1fr; }
@media (max-width: 720px) { .cpanels { grid-template-columns: 1fr; } }
.cpanel { padding: 22px; }
.cpanel.plain { background: #EAE7DD; }
.cpanel.ciao { background: #FAF9F5; border-left: 3px solid #D97757; }
.cpanel .cp-lab { font-size: 11px; letter-spacing: 1.2px; text-transform: uppercase; font-weight: 700; margin-bottom: 12px; }
.cpanel.plain .cp-lab { color: #8A867B; }
.cpanel.ciao .cp-lab { color: #C15F3C; }
.cline { font-size: 13.5px; opacity: 0; transform: translateY(6px); transition: all 0.4s; padding: 3px 0; }
.cline.show { opacity: 1; transform: none; }
.cpanel.plain .cline { color: #6E6A5F; }
.cpanel.ciao .cline { color: #3C3930; }
.syco { background: #E4C4B4; color: #8A4A2E; border-radius: 4px; padding: 0 4px; font-weight: 600; }
.cbul { display: flex; gap: 8px; }
.cbul .d { color: #D97757; font-weight: 700; }
.mcq { margin-top: 12px; opacity: 0; transition: opacity 0.5s; }
.mcq.show { opacity: 1; }
.mcq .q { font-size: 13px; color: #57544E; margin-bottom: 8px; }
.mcopts { display: flex; flex-wrap: wrap; gap: 7px; }
.mcopt { border: 1px solid #E0C7B9; background: #FBEDE5; border-radius: 999px; padding: 6px 12px; font-size: 12.5px; font-weight: 600; color: #7A3F27; }
.mcopt.rec { background: #D97757; color: #fff; border-color: #D97757; }
.crec { font-size: 12.5px; color: #7A3F27; margin-top: 9px; font-style: italic; }
.draftbadge { display: inline-block; font-size: 11px; letter-spacing: 0.8px; text-transform: uppercase; color: #6E8C57; border: 1px solid #CDE0C0; border-radius: 999px; padding: 3px 9px; margin-bottom: 10px; }

/* currency band */
.band { background: #1A1915; color: #F0EEE6; border-radius: 22px; padding: 48px; }
.band .kicker { color: #E0987A; font-size: 13px; letter-spacing: 2px; text-transform: uppercase; font-weight: 700; }
.band h2 { font-family: Georgia, serif; font-size: 34px; font-weight: 700; margin-top: 10px; }
.band .bsub { color: #B9B4A8; margin: 12px 0 28px; max-width: 640px; font-size: 16.5px; }
.layer { display: flex; gap: 20px; align-items: flex-start; padding: 22px 0; border-top: 1px solid #2C2A24; }
.layer:first-of-type { border-top: none; }
.layer .lnum { font-family: Georgia, serif; font-size: 30px; color: #D97757; font-weight: 700; min-width: 46px; }
.layer h3 { font-size: 18px; color: #FAF9F5; }
.layer p { color: #B9B4A8; font-size: 15px; margin-top: 4px; }

/* outcomes */
.outs { display: grid; grid-template-columns: repeat(2,1fr); gap: 16px; }
@media (max-width: 760px) { .outs { grid-template-columns: 1fr; } }
.out { background: #FAF9F5; border: 1px solid #E4E1D6; border-radius: 14px; padding: 24px; transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s; }
.out:hover { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(20,20,19,0.08); border-color: #F0D3C3; }
.out .oq { font-family: Georgia, serif; font-size: 21px; font-weight: 700; line-height: 1.3; }
.out .od { color: #57544E; font-size: 14.5px; margin-top: 8px; }

/* proof */
.built { display: grid; grid-template-columns: repeat(2,1fr); gap: 14px; }
@media (max-width: 720px) { .built { grid-template-columns: 1fr; } }
.item { display: flex; gap: 14px; align-items: flex-start; background: #FAF9F5; border: 1px solid #E4E1D6; border-radius: 12px; padding: 16px 18px; }
.item .tick { color: #6E8C57; font-weight: 800; font-size: 16px; }
.item .tick.v { color: #C15F3C; }
.item b { font-weight: 650; font-size: 15.5px; }
.item p { color: #57544E; font-size: 13.5px; margin-top: 2px; }

/* close cta */
.close { text-align: center; padding: 30px 0 10px; }
.close h2 { font-family: Georgia, serif; font-size: 44px; font-weight: 700; letter-spacing: -0.5px; }
.close p { color: #57544E; font-size: 18px; margin: 14px auto 28px; max-width: 540px; }

footer { padding: 54px 0 70px; border-top: 1px solid #E4E1D6; margin-top: 40px; }
footer .cols { display: flex; flex-wrap: wrap; gap: 40px; justify-content: space-between; }
footer .k { font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; color: #C15F3C; font-weight: 700; }
footer .v { margin-top: 6px; color: #454239; font-size: 15px; }
footer .fine { margin-top: 34px; color: #8A867B; font-size: 13px; }

.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.95s ease, transform 0.95s ease; }
.reveal.in { opacity: 1; transform: none; }


/* four-layer model */
.model { display: flex; flex-direction: column; }
.layer4 { display: grid; grid-template-columns: 54px 1fr 140px; gap: 18px; align-items: center; background: #FAF9F5; border: 1px solid #E4E1D6; border-radius: 16px; padding: 22px 24px; position: relative; }
.layer4 + .layer4 { margin-top: 34px; }
.layer4 + .layer4:before { content: ""; position: absolute; top: -30px; left: 40px; width: 2px; height: 30px; background: #E0A98F; }
.layer4 + .layer4:after { content: "\2193"; position: absolute; top: -32px; left: 34px; color: #D97757; font-size: 17px; font-weight: 700; }
.layer4 .l4n { font-family: Georgia, serif; font-size: 26px; font-weight: 700; color: #D97757; }
.layer4 h3 { font-size: 19px; font-weight: 700; }
.layer4 p { font-size: 14px; color: #57544E; margin-top: 3px; }
.rev { text-align: right; }
.rev .rtag { display: inline-block; font-size: 11px; letter-spacing: 0.8px; text-transform: uppercase; font-weight: 700; border-radius: 999px; padding: 5px 11px; }
.rev .one { background: #F0ECE2; color: #8A867B; border: 1px solid #E0DCD0; }
.rev .eng { background: #EFE7F0; color: #5A3E63; border: 1px solid #E0CDE2; }
.rev .rec { background: #D97757; color: #fff; }
@media (max-width: 640px) { .layer4 { grid-template-columns: 1fr; } .rev { text-align: left; } }


/* expandable lesson material */
.lesson-item { border-top: 1px dashed #E7E3D7; }
.lesson-item:first-of-type { border-top: none; }
.lesson-item > summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 18px 1fr 16px; gap: 10px; padding: 10px 0; align-items: start; }
.lesson-item > summary::-webkit-details-marker { display: none; }
.lesson-item .ld { width: 7px; height: 7px; border-radius: 999px; background: #D9B8A8; margin-top: 8px; }
.lesson-item b { font-size: 14.5px; font-weight: 600; }
.lesson-item .lobj { color: #57544E; font-size: 13.5px; }
.lesson-item .lchev { color: #C0BBAD; font-size: 13px; margin-top: 4px; transition: transform 0.25s, color 0.2s; }
.lesson-item[open] > summary .lchev { transform: rotate(90deg); color: #D97757; }
.lesson-item[open] > summary .ld { background: #D97757; }
.lesson-item .lbody { padding: 2px 0 14px 28px; font-size: 14px; color: #3C3930; line-height: 1.65; }
.lesson-item .lbody .do { color: #C15F3C; font-weight: 600; }


/* founders view */
.statusstrip { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; }
.ss { font-size: 12px; font-weight: 600; border-radius: 999px; padding: 6px 12px; }
.ss.ok { background: #E8F0E4; color: #4A6B3A; border: 1px solid #CDE0C0; }
.ss.open { background: #FBEDE5; color: #C15F3C; border: 1px solid #F0D3C3; }
.pricingnote { margin-top: 22px; font-size: 14.5px; color: #57544E; background: #FAF9F5; border-left: 3px solid #E0A98F; border-radius: 0 8px 8px 0; padding: 14px 18px; }
.statwrap { display: flex; align-items: center; gap: 22px; background: #1A1915; color: #F0EEE6; border-radius: 16px; padding: 28px 30px; }
@media (max-width: 620px) { .statwrap { flex-direction: column; align-items: flex-start; } }
.statbig { font-family: Georgia, serif; font-size: 60px; font-weight: 700; color: #D97757; line-height: 1; }
.statlabel { font-size: 16px; color: #B9B4A8; }


/* hero device mockup */
.hero-grid { display: grid; grid-template-columns: 1fr 300px; gap: 40px; align-items: center; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } .heroside { justify-self: center; margin-top: 26px; } }
.device-phone { width: 280px; justify-self: center; border: 12px solid #1A1915; border-radius: 44px; background: #1A1915; box-shadow: 0 30px 60px rgba(217,119,87,0.18); position: relative; }
.device-phone:before { content: ""; position: absolute; top: 10px; left: 50%; transform: translateX(-50%); width: 90px; height: 20px; background: #1A1915; border-radius: 0 0 14px 14px; z-index: 2; }
.device-phone .screen { background: #F0EEE6; border-radius: 32px; height: 500px; overflow: hidden; display: flex; flex-direction: column; }
.chat-top { display: flex; align-items: center; gap: 9px; padding: 30px 18px 12px; border-bottom: 1px solid #E4E1D6; background: #FAF9F5; }
.ct-av { width: 26px; height: 26px; border-radius: 999px; background: #FBF4EF; border: 1px solid #F0D3C3; display: grid; place-items: center; }
.ct-name { font-family: Georgia, serif; font-weight: 700; font-size: 15px; }
.chat-body { padding: 16px 14px; display: flex; flex-direction: column; gap: 10px; overflow: hidden; }
.bub { font-size: 13px; padding: 10px 13px; border-radius: 14px; max-width: 88%; line-height: 1.5; }
.bub.user { align-self: flex-end; background: #D97757; color: #fff; border-bottom-right-radius: 4px; }
.bub.claude { align-self: flex-start; background: #fff; border: 1px solid #E4E1D6; color: #3C3930; border-bottom-left-radius: 4px; }
.memchip { align-self: flex-start; font-size: 10.5px; letter-spacing: 0.5px; text-transform: uppercase; color: #C15F3C; background: #FBEDE5; border: 1px solid #F0D3C3; border-radius: 999px; padding: 3px 9px; font-weight: 700; }
.bub.hide, .memchip.hide { opacity: 0; transform: translateY(8px); }
.bub.show, .memchip.show { opacity: 1; transform: none; transition: all 0.4s; }


/* phone differentiator tag */
.phtag { align-self: flex-start; margin-top: 6px; font-size: 10px; letter-spacing: 0.8px; text-transform: uppercase; color: #8A867B; font-weight: 700; }
.phtag.hide { opacity: 0; }
.phtag.show { opacity: 1; transition: opacity 0.4s; }

/* small-screen tuning: no overflow, no oversized text */
@media (max-width: 640px) {
  section { padding: 50px 0; }
  .hero { padding: 64px 0 44px; }
  .hero h1 { font-size: 34px; }
  .hero .lead { font-size: 16.5px; }
  .sec-head h2 { font-size: 28px; }
  .close h2 { font-size: 30px; }
  .band { padding: 30px 22px; }
  .wrap { padding: 0 20px; }
  .statbig { font-size: 46px; }
  .jpanel { padding: 24px 22px; }
}


/* ============ Pass 3: device mockups and animated diagrams ============ */

@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }

/* laptop frame (wraps the skill terminal) */
.device-laptop { max-width: 480px; margin: 0 auto; animation: floaty 7s ease-in-out infinite; }
.device-laptop .lid { background: #23201B; border-radius: 14px 14px 0 0; padding: 14px 10px 10px; position: relative; box-shadow: 0 26px 52px rgba(20,20,19,0.30); }
.device-laptop .lid:before { content: ""; position: absolute; top: 6px; left: 50%; transform: translateX(-50%); width: 42px; height: 4px; border-radius: 999px; background: #3A352D; }
.device-laptop .screen { border-radius: 6px; overflow: hidden; background: #1A1915; }
.device-laptop .term { border-radius: 0; box-shadow: none; min-height: 290px; }
.device-laptop .base { width: 118%; margin-left: -9%; height: 13px; background: linear-gradient(#CFCABC,#B3AE9F); border-radius: 0 0 13px 13px; position: relative; box-shadow: inset 0 2px 4px rgba(0,0,0,0.18); }
.device-laptop .base:before { content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 80px; height: 6px; background: #A7A294; border-radius: 0 0 9px 9px; }

/* tablet frame (wraps the artifact scene) */
.device-tablet { max-width: 440px; margin: 0 auto; border: 13px solid #1A1915; border-radius: 26px; background: #1A1915; box-shadow: 0 30px 60px rgba(217,119,87,0.16); position: relative; animation: floaty 7.5s ease-in-out infinite; }
.device-tablet:before { content: ""; position: absolute; top: 50%; right: -8px; transform: translateY(-50%); width: 5px; height: 5px; border-radius: 999px; background: #3A352D; }
.device-tablet .screen { background: #F0EEE6; border-radius: 14px; overflow: hidden; min-height: 330px; }

/* artifact building scene */
.art-top { display: flex; align-items: center; gap: 8px; padding: 13px 15px; border-bottom: 1px solid #E4E1D6; background: #FAF9F5; }
.art-top .au { font-size: 12px; background: #D97757; color: #fff; border-radius: 13px 13px 13px 4px; padding: 7px 12px; line-height: 1.35; }
.art-board { padding: 18px 16px 22px; }
.art-title { height: 13px; width: 56%; background: #E4E1D6; border-radius: 6px; opacity: 0; transform: translateY(6px); transition: all 0.65s; }
.art-title.show { opacity: 1; transform: none; }
.art-tiles { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; margin-top: 18px; }
.art-tile { background: #FAF9F5; border: 1px solid #E4E1D6; border-radius: 11px; padding: 13px 12px; opacity: 0; transform: translateY(9px); transition: all 0.6s; }
.art-tile.show { opacity: 1; transform: none; }
.art-tile .tv { font-family: Georgia, serif; font-size: 25px; font-weight: 700; color: #D97757; line-height: 1; }
.art-tile .tl { font-size: 10px; letter-spacing: 0.5px; text-transform: uppercase; color: #8A867B; font-weight: 700; margin-top: 5px; }
.art-bars { margin-top: 18px; display: flex; align-items: flex-end; gap: 10px; height: 92px; }
.art-bar { flex: 1; background: linear-gradient(#E8B49F,#D97757); border-radius: 6px 6px 0 0; height: 0; transition: height 1.15s cubic-bezier(0.2,0.8,0.3,1); }
.art-chip { display: inline-block; margin-top: 15px; font-size: 10.5px; letter-spacing: 0.8px; text-transform: uppercase; color: #6E8C57; border: 1px solid #CDE0C0; border-radius: 999px; padding: 3px 11px; opacity: 0; transition: opacity 0.4s; }
.art-chip.show { opacity: 1; }

/* animated diagrams (agent flow + routine), share the connectors grammar */
.agentnode { opacity: 0; transform: scale(0.6); transform-box: fill-box; transform-origin: center; transition: opacity 0.65s ease, transform 0.65s cubic-bezier(0.2,0.9,0.3,1.3); }
.go .agentnode { opacity: 1; transform: scale(1); }
.agentline { transition: stroke-dashoffset 0.95s ease; }
.go .agentline { stroke-dashoffset: 0 !important; }
.agentring { transition: stroke-dashoffset 1.2s ease; }
.go .agentring { stroke-dashoffset: 0 !important; }
.noanim .agentnode, .noanim .agentline, .noanim .agentring { transition: none !important; }

.routinebox { background: linear-gradient(160deg, #1A1915, #262219); border: 1px solid #2C2A24; border-radius: 16px; padding: 12px; }
.routinebox svg { width: 100%; height: auto; display: block; }
.rn-node { opacity: 0; transition: opacity 0.65s ease; }
.rn-node.on { opacity: 1; }
.rn-card { opacity: 0; transform: translateX(-8px); transition: opacity 0.65s ease, transform 0.65s ease; }
.rn-card.on { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .device-laptop, .device-tablet { animation: none; }
  .agentnode { opacity: 1; transform: none; }
  .agentline, .agentring { stroke-dashoffset: 0 !important; transition: none; }
  .art-title, .art-tile, .art-chip { opacity: 1 !important; transform: none !important; }
  .rn-node, .rn-card { opacity: 1 !important; transform: none !important; }
  .flow { animation: none; }
}

@media (max-width: 640px) {
  .device-laptop, .device-tablet { max-width: 360px; }
  .art-tile .tv { font-size: 21px; }
}
