/*
Theme Name: Stonewick
Theme URI:
Author: Stonewick Studio
Author URI:
Description: A warm light prop-trading desk theme inspired by a stone cottage with a candle wick burning steady. Floating pill navigation, a terminal dashboard hero, a streaming market board, outline post cards and an Alegreya / Mulish type system.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: stonewick
Tags: light, finance, one-column, custom-logo
*/

@import url('https://fonts.googleapis.com/css2?family=Alegreya:wght@700;800&family=Mulish:wght@400;500;600;700&display=swap');

/* === TOKENS === */
:root{
	--stw-bg:#f5f1e8;
	--stw-bg-2:#efe8d8;
	--stw-panel:#ffffff;
	--stw-panel-2:#faf6ec;
	--stw-line:rgba(154,52,18,.20);
	--stw-line-soft:rgba(33,26,18,.10);
	--stw-acc1:#9a3412;
	--stw-acc1-hi:#c2410c;
	--stw-acc2:#3f6212;
	--stw-text:#211a12;
	--stw-muted:#6f6152;
	--stw-up:#3f6212;
	--stw-down:#b91c1c;
	--stw-acc-grad:linear-gradient(120deg,#9a3412,#c2410c);
	--stw-acc2-grad:linear-gradient(120deg,#3f6212,#4d7c0f);
	--stw-horizon:linear-gradient(90deg,rgba(154,52,18,0),rgba(154,52,18,.5) 32%,rgba(63,98,18,.5) 68%,rgba(63,98,18,0));
	--stw-font-display:'Alegreya','PingFang SC','Hiragino Sans GB','Microsoft YaHei','Noto Sans SC',sans-serif;
	--stw-font-body:'Mulish','PingFang SC','Hiragino Sans GB','Microsoft YaHei','Noto Sans SC',sans-serif;
	--stw-radius:14px;
	--stw-radius-sm:9px;
	--stw-glow:rgba(154,52,18,.18);
}

/* === RESET & BASE === */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body.stw-body{font-family:var(--stw-font-body);background:var(--stw-bg);color:var(--stw-text);line-height:1.65;min-height:100vh;overflow-x:hidden;-webkit-font-smoothing:antialiased}
body.stw-body::before{content:'';position:fixed;inset:0;z-index:0;pointer-events:none;
	background-image:radial-gradient(circle at 50% 120%,rgba(154,52,18,.05),transparent 60%);
	opacity:.9}
body.stw-body::after{content:'';position:fixed;top:-180px;right:-140px;width:560px;height:560px;z-index:0;pointer-events:none;border-radius:50%;background:radial-gradient(circle,rgba(63,98,18,.06),transparent 68%);filter:blur(40px)}
img{max-width:100%;height:auto;display:block}
a{color:var(--stw-acc1);text-decoration:none;transition:color .2s}
a:hover{color:var(--stw-acc1-hi)}
ul,ol{list-style:none}
button{cursor:pointer;border:none;background:none;font:inherit;color:inherit}
.screen-reader-text{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}

/* === LAYOUT === */
.stw-container{width:100%;max-width:1200px;margin:0 auto;padding:0 24px}
.stw-shell{position:relative;z-index:1}
.stw-main{padding:54px 0 82px}

/* === SKIP LINK === */
.stw-jump{position:absolute;top:-100%;left:16px;z-index:9999;padding:8px 16px;background:var(--stw-acc1);color:#fdf6ee;border-radius:6px;font-size:14px;font-weight:600}
.stw-jump:focus{top:8px}

/* === KEYFRAMES === */
@keyframes stw-pulse{0%,100%{opacity:.45}50%{opacity:1}}
@keyframes stw-rowflash{0%{background:rgba(154,52,18,.10)}100%{background:transparent}}
@keyframes stw-beam{0%{transform:translateY(-110%)}100%{transform:translateY(230%)}}
@keyframes stw-tile-in{from{opacity:0;transform:translateY(18px)}to{opacity:1;transform:translateY(0)}}

/* === UTILITY === */
.stw-acc-text{background:var(--stw-acc-grad);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;color:transparent}
.stw-up{color:var(--stw-up)}
.stw-down{color:var(--stw-down)}
.stw-status__dot{width:7px;height:7px;border-radius:50%;background:var(--stw-up);box-shadow:0 0 8px rgba(63,98,18,.6);animation:stw-pulse 2s ease-in-out infinite;flex-shrink:0;display:inline-block}

/* === REVEAL === */
.stw-rise{opacity:0;transform:translateY(20px);transition:opacity .6s ease,transform .6s ease}
.stw-rise--in{opacity:1;transform:translateY(0)}

/* === ICON === */
.stw-ico{display:inline-block;vertical-align:middle;flex-shrink:0}

/* === TOPBAR / N6 FLOATING PILL NAV === */
.stw-topbar{position:sticky;top:0;z-index:1000;padding:14px 0;transition:padding .3s}
.stw-topbar__pill{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:22px;background:rgba(255,255,255,.92);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);border:1px solid var(--stw-line-soft);border-radius:999px;padding:9px 12px 9px 18px;box-shadow:0 10px 30px rgba(33,26,18,.08);transition:box-shadow .3s,border-color .3s,background .3s}
.stw-topbar--stuck .stw-topbar__pill{background:rgba(255,255,255,.97);border-color:var(--stw-line);box-shadow:0 14px 38px rgba(33,26,18,.14)}

/* Logo */
.stw-logo{display:flex;align-items:center;gap:11px;text-decoration:none;min-width:0;justify-self:start}
.stw-logo__glyph{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;flex-shrink:0;background:var(--stw-acc-grad);color:#fdf6ee;font-family:var(--stw-font-display);font-weight:800;font-size:16px;letter-spacing:.5px;border-radius:11px;box-shadow:0 6px 16px var(--stw-glow)}
.stw-logo__glyph img{width:26px;height:26px;object-fit:contain}
.stw-logo__text{color:var(--stw-text);font-family:var(--stw-font-display);font-size:21px;font-weight:700;letter-spacing:.2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.stw-logo--foot{margin-bottom:16px}

/* Menu (centered in pill) */
.stw-menu{min-width:0;justify-self:center}
.stw-menu__list{display:flex;align-items:center;gap:26px}
.stw-menu__list li a,.stw-menu__item a{color:var(--stw-text);font-size:14.5px;font-weight:600;opacity:.82;transition:opacity .2s,color .2s;position:relative;padding:4px 0;white-space:nowrap}
.stw-menu__list li a::after,.stw-menu__item a::after{content:'';position:absolute;left:0;bottom:-2px;width:0;height:2px;border-radius:2px;background:var(--stw-acc-grad);transition:width .25s}
.stw-menu__list li a:hover,.stw-menu__item a:hover{opacity:1;color:var(--stw-acc1)}
.stw-menu__list li a:hover::after,.stw-menu__item a:hover::after{width:100%}

/* Topbar CTA (right) */
.stw-topbar__cta{display:flex;align-items:center;gap:11px;flex:0 0 auto;justify-self:end}
.stw-searchlink{color:var(--stw-text);opacity:.72;transition:opacity .2s,color .2s,border-color .2s;display:flex;padding:7px;border-radius:var(--stw-radius-sm);border:1px solid var(--stw-line-soft);flex:0 0 auto}
.stw-searchlink:hover{opacity:1;color:var(--stw-acc1);border-color:var(--stw-acc1)}
.stw-searchlink .stw-ico{width:18px;height:18px}

/* Buttons */
.stw-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:11px 22px;border-radius:999px;font-family:var(--stw-font-display);font-size:14.5px;font-weight:700;letter-spacing:.2px;text-decoration:none;transition:transform .18s,box-shadow .18s,background .18s,border-color .18s,color .18s;white-space:nowrap;border:1px solid transparent;flex:0 0 auto}
.stw-btn:hover{transform:translateY(-2px)}
.stw-btn--cta,.stw-btn--primary,.stw-btn--teal{background:var(--stw-acc-grad);color:#fdf6ee;box-shadow:0 6px 18px var(--stw-glow)}
.stw-btn--cta:hover,.stw-btn--primary:hover,.stw-btn--teal:hover{box-shadow:0 10px 26px rgba(154,52,18,.34);color:#fdf6ee}
.stw-btn--ghost{border-color:var(--stw-line);color:var(--stw-text);background:rgba(255,255,255,.6)}
.stw-btn--ghost:hover{border-color:var(--stw-acc1);color:var(--stw-acc1)}
.stw-btn--line{border:1px solid var(--stw-line-soft);color:var(--stw-text);background:transparent}
.stw-btn--line:hover{border-color:var(--stw-acc2);color:var(--stw-acc2)}
.stw-btn--sm{padding:8px 17px;font-size:13.5px}
.stw-btn--lg{padding:15px 32px;font-size:15.5px}
.stw-btn--wide{width:100%}
.stw-btn .stw-ico{width:17px;height:17px}

/* Nav toggle (burger) */
.stw-navtoggle{display:none;flex-direction:column;gap:5px;padding:7px;flex:0 0 auto}
.stw-navtoggle__line{display:block;width:22px;height:2px;background:var(--stw-text);border-radius:2px;transition:transform .3s,opacity .3s}
.stw-navtoggle--on .stw-navtoggle__line:nth-child(1){transform:rotate(45deg) translate(5px,5px)}
.stw-navtoggle--on .stw-navtoggle__line:nth-child(2){opacity:0}
.stw-navtoggle--on .stw-navtoggle__line:nth-child(3){transform:rotate(-45deg) translate(5px,-5px)}

/* Drawer (mobile slide-down) */
.stw-drawer{display:none;position:absolute;top:calc(100% - 6px);left:16px;right:16px;background:rgba(255,255,255,.98);backdrop-filter:blur(18px);border:1px solid var(--stw-line);border-radius:var(--stw-radius);padding:20px 24px;box-shadow:0 22px 50px rgba(33,26,18,.16)}
.stw-drawer--open{display:block;animation:stw-tile-in .3s ease}
.stw-drawer .stw-menu__list{flex-direction:column;align-items:flex-start;gap:15px}
.stw-drawer .stw-menu__list--fallback{flex-direction:column;align-items:stretch;gap:14px}
.stw-drawer .stw-menu__list li a,.stw-drawer .stw-menu__item a{font-size:17px}
.stw-drawer__foot{display:flex;flex-direction:column;gap:11px;margin-top:20px;padding-top:16px;border-top:1px solid var(--stw-line-soft)}

/* === HERO TERMINAL DASHBOARD (H4) === */
.stw-hero{position:relative;overflow:hidden;padding:56px 0 74px;border-bottom:1px solid var(--stw-line)}
.stw-hero__glow{position:absolute;width:620px;height:620px;border-radius:50%;filter:blur(130px);opacity:.12;z-index:0;pointer-events:none;background:var(--stw-acc1);top:-220px;left:-120px}
.stw-hero__term{position:relative;z-index:2;background:var(--stw-panel);border:1px solid var(--stw-line);border-radius:var(--stw-radius);overflow:hidden;box-shadow:0 24px 60px rgba(33,26,18,.10);animation:stw-tile-in .7s ease both}
.stw-term__bar{display:flex;align-items:center;gap:14px;padding:13px 24px;background:var(--stw-panel-2);border-bottom:1px solid var(--stw-line-soft)}
.stw-term__dots{display:flex;gap:7px}
.stw-term__dots i{width:11px;height:11px;border-radius:50%}
.stw-term__dots i:nth-child(1){background:var(--stw-down)}
.stw-term__dots i:nth-child(2){background:#ca8a04}
.stw-term__dots i:nth-child(3){background:var(--stw-up)}
.stw-term__path{font-size:12.5px;color:var(--stw-muted);font-family:var(--stw-font-display)}
.stw-term__live{margin-left:auto;display:flex;align-items:center;gap:7px;font-size:12px;color:var(--stw-acc2);letter-spacing:1.2px;font-weight:700}
.stw-term__body{display:grid;grid-template-columns:1.1fr .9fr;gap:38px;padding:46px 42px}
.stw-term__left{display:flex;flex-direction:column;justify-content:center;min-width:0}
.stw-term__right{display:flex;flex-direction:column;gap:14px;min-width:0}
.stw-term__widget{background:var(--stw-panel-2);border:1px solid var(--stw-line-soft);border-radius:var(--stw-radius-sm);padding:16px 20px;display:flex;flex-direction:column;gap:5px;transition:border-color .3s}
.stw-term__widget:hover{border-color:var(--stw-line)}
.stw-term__wlabel{font-size:12px;letter-spacing:.8px;color:var(--stw-muted);text-transform:uppercase;font-weight:600}
.stw-term__wval{font-family:var(--stw-font-display);font-size:30px;font-weight:800;color:var(--stw-text);letter-spacing:-.5px}
.stw-term__wnote{font-size:12.5px;color:var(--stw-muted)}
.stw-term__strip{display:flex;align-items:center;justify-content:space-between;gap:24px;flex-wrap:wrap;padding:22px 42px;border-top:1px solid var(--stw-line-soft);background:var(--stw-panel-2)}
.stw-hero__badge{display:inline-flex;align-items:center;gap:9px;font-size:12px;letter-spacing:1.5px;text-transform:uppercase;color:var(--stw-acc1);border:1px solid var(--stw-line);background:rgba(154,52,18,.05);padding:6px 14px;border-radius:999px;margin-bottom:22px;font-weight:700;align-self:flex-start}
.stw-hero__title{font-family:var(--stw-font-display);font-size:clamp(40px,5vw,48px);font-weight:800;line-height:1.12;letter-spacing:-.5px;margin-bottom:20px}
.stw-hero__title span{display:block}
.stw-hero__text{font-size:15.5px;color:var(--stw-muted);line-height:1.75;max-width:540px;margin-bottom:30px}
.stw-hero__actions{display:flex;gap:14px;flex-wrap:wrap}

/* Hero stat strip */
.stw-herostat{display:flex;flex-direction:column;gap:4px}
.stw-herostat b{font-family:var(--stw-font-display);font-size:30px;font-weight:800;letter-spacing:-.5px}
.stw-herostat span{font-size:12.5px;color:var(--stw-muted)}

/* === BAND / SECTION === */
.stw-band{padding:86px 0;position:relative}
.stw-band--alt{background:var(--stw-bg-2)}
.stw-band__eyebrow{font-size:12px;letter-spacing:2.2px;text-transform:uppercase;color:var(--stw-acc1);margin-bottom:12px;font-weight:700}
.stw-band__title{font-family:var(--stw-font-display);font-size:clamp(28px,3.4vw,32px);font-weight:800;letter-spacing:-.4px;margin-bottom:14px}
.stw-band__intro{font-size:15.5px;color:var(--stw-muted);max-width:620px;line-height:1.7}
.stw-band__head{margin-bottom:44px}
.stw-band__head--center{text-align:center}
.stw-band__head--center .stw-band__intro{margin:0 auto}

/* === MARKET BOARD === */
.stw-board{border:1px solid var(--stw-line);background:var(--stw-panel);overflow:hidden;border-radius:var(--stw-radius);box-shadow:0 20px 50px rgba(33,26,18,.08)}
.stw-board__scroll{overflow-x:auto;-webkit-overflow-scrolling:touch}
.stw-quote{width:100%;border-collapse:collapse}
.stw-quote th{font-size:12px;letter-spacing:1px;text-transform:uppercase;color:var(--stw-muted);text-align:left;padding:13px 20px;border-bottom:1px solid var(--stw-line);font-weight:700}
.stw-quote td{padding:14px 20px;border-bottom:1px solid var(--stw-line-soft);font-size:14.5px;vertical-align:middle}
.stw-quote tr:last-child td{border-bottom:none}
.stw-quote tbody tr{transition:background .2s}
.stw-quote tbody tr:hover{background:rgba(154,52,18,.04)}
.stw-quote tbody tr.stw-quote__row--flash{animation:stw-rowflash .9s ease}
.stw-quote__sym{display:flex;align-items:center;gap:11px;font-family:var(--stw-font-display);font-weight:700;color:var(--stw-text)}
.stw-quote__badge{width:36px;height:36px;display:flex;align-items:center;justify-content:center;font-size:12px;font-weight:700;background:rgba(154,52,18,.08);color:var(--stw-acc1);border:1px solid var(--stw-line);border-radius:10px}
.stw-quote__pair{display:block;font-family:var(--stw-font-body);font-size:12px;color:var(--stw-muted);font-weight:400}
.stw-quote__num{font-family:var(--stw-font-display);font-weight:700;color:var(--stw-text)}
.stw-quote__chg{font-family:var(--stw-font-display);font-weight:800}
.stw-quote__act .stw-btn{padding:7px 16px;font-size:13px}
.stw-quote td.stw-quote__act{text-align:right}
.stw-board__foot{text-align:center;margin-top:30px}

/* === FEATURES === */
.stw-feat__grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}
.stw-feat__card{padding:30px 26px;background:var(--stw-panel);border:1px solid var(--stw-line-soft);border-radius:var(--stw-radius);position:relative;overflow:hidden;transition:transform .3s,border-color .3s,box-shadow .3s}
.stw-feat__card::before{content:'';position:absolute;left:0;right:0;top:0;height:3px;background:var(--stw-acc-grad);transform:scaleX(0);transform-origin:left;transition:transform .35s}
.stw-feat__card:hover{transform:translateY(-5px);border-color:var(--stw-line);box-shadow:0 16px 36px rgba(33,26,18,.08)}
.stw-feat__card:hover::before{transform:scaleX(1)}
.stw-feat__icon{width:52px;height:52px;display:flex;align-items:center;justify-content:center;background:rgba(154,52,18,.07);color:var(--stw-acc1);border:1px solid var(--stw-line);border-radius:13px;margin-bottom:18px}
.stw-feat__icon .stw-ico{width:26px;height:26px}
.stw-feat__title{font-family:var(--stw-font-display);font-size:18px;font-weight:700;margin-bottom:10px;color:var(--stw-text)}
.stw-feat__desc{font-size:14px;color:var(--stw-muted);line-height:1.7}

/* === FEED / POST CARD (C3 outline) === */
.stw-feed{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.stw-feed__more{text-align:center;margin-top:40px}
.stw-card{width:100%;min-width:0;background:transparent;border:1px solid var(--stw-line-soft);border-radius:var(--stw-radius);overflow:hidden;transition:transform .3s,border-color .3s,box-shadow .3s,background .3s;display:flex;flex-direction:column}
.stw-card:hover{transform:translateY(-5px);border-color:var(--stw-acc1);background:var(--stw-panel);box-shadow:0 16px 40px rgba(33,26,18,.10)}
.stw-card__media{display:block;overflow:hidden;aspect-ratio:16/9;border-bottom:1px solid var(--stw-line-soft)}
.stw-card__media img{width:100%;height:100%;object-fit:cover;transition:transform .45s}
.stw-card:hover .stw-card__media img{transform:scale(1.06)}
.stw-card__body{padding:20px 22px;display:flex;flex-direction:column;flex:1}
.stw-card__tag{display:inline-block;font-size:12px;letter-spacing:1px;text-transform:uppercase;color:var(--stw-acc1);margin-bottom:10px;font-weight:700}
.stw-card__title{font-family:var(--stw-font-display);font-size:17px;font-weight:700;margin-bottom:10px;line-height:1.4}
.stw-card__title a{color:var(--stw-text)}
.stw-card__title a:hover{color:var(--stw-acc1)}
.stw-card__excerpt{font-size:14px;color:var(--stw-muted);line-height:1.6;margin-bottom:16px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;flex:1}
.stw-card__foot{display:flex;align-items:center;gap:11px;font-size:12.5px;color:var(--stw-muted);padding-top:14px;border-top:1px solid var(--stw-line-soft)}
.stw-card__who{display:inline-flex;align-items:center;justify-content:center;width:27px;height:27px;background:var(--stw-acc-grad);color:#fdf6ee;font-size:12px;font-weight:700;font-family:var(--stw-font-display);border-radius:8px}
.stw-card__read{margin-left:auto}

/* === PLANS === */
.stw-plans__grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;align-items:stretch}
.stw-plan{background:var(--stw-panel);border:1px solid var(--stw-line-soft);border-radius:var(--stw-radius);padding:34px 28px;display:flex;flex-direction:column;position:relative;transition:transform .3s,border-color .3s,box-shadow .3s}
.stw-plan:hover{transform:translateY(-6px);border-color:var(--stw-line);box-shadow:0 18px 42px rgba(33,26,18,.09)}
.stw-plan--hot{border-color:var(--stw-acc1);box-shadow:0 20px 50px rgba(154,52,18,.12)}
.stw-plan__flag{position:absolute;top:16px;right:16px;background:var(--stw-acc2-grad);color:#f7faee;font-family:var(--stw-font-display);font-size:12px;font-weight:700;letter-spacing:.4px;padding:4px 12px;border-radius:999px;white-space:nowrap}
.stw-plan__tier{font-family:var(--stw-font-display);font-size:16px;font-weight:700;color:var(--stw-muted);margin-bottom:14px;letter-spacing:.3px}
.stw-plan__price{font-family:var(--stw-font-display);font-size:42px;font-weight:800;color:var(--stw-text);letter-spacing:-1px;margin-bottom:4px}
.stw-plan__scale{font-size:13px;color:var(--stw-acc2);margin-bottom:22px;font-weight:700}
.stw-plan__list{margin-bottom:26px;flex:1}
.stw-plan__list li{display:flex;align-items:flex-start;gap:10px;font-size:14px;color:var(--stw-text);opacity:.88;margin-bottom:11px;line-height:1.5}
.stw-plan__tick{color:var(--stw-acc2);display:flex;flex-shrink:0;margin-top:2px}
.stw-plan__tick .stw-ico{width:16px;height:16px}

/* === DATA / FIGURES === */
.stw-data{padding:70px 0;background:linear-gradient(120deg,rgba(154,52,18,.05),rgba(63,98,18,.05));border-top:1px solid var(--stw-line);border-bottom:1px solid var(--stw-line)}
.stw-data__head{text-align:center;margin-bottom:40px}
.stw-data__row{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}
.stw-figure{text-align:center;padding:8px 12px;position:relative}
.stw-figure::after{content:'';position:absolute;top:12%;right:0;height:76%;width:1px;background:var(--stw-line-soft)}
.stw-figure:last-child::after{display:none}
.stw-figure__num{display:block;font-family:var(--stw-font-display);font-size:clamp(30px,3.6vw,34px);font-weight:800;letter-spacing:-1px;margin-bottom:6px}
.stw-figure__cap{font-size:13px;color:var(--stw-muted);letter-spacing:.4px}

/* === PRODUCTS / VENUES === */
.stw-prod__grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.stw-prod__card{background:var(--stw-panel);border:1px solid var(--stw-line-soft);border-radius:var(--stw-radius);padding:30px 26px;transition:transform .3s,border-color .3s,box-shadow .3s}
.stw-prod__card:hover{transform:translateY(-5px);border-color:var(--stw-line);box-shadow:0 16px 36px rgba(33,26,18,.08)}
.stw-prod__icon{width:48px;height:48px;display:flex;align-items:center;justify-content:center;background:rgba(63,98,18,.08);color:var(--stw-acc2);border:1px solid var(--stw-line-soft);border-radius:13px;margin-bottom:18px}
.stw-prod__icon .stw-ico{width:24px;height:24px}
.stw-prod__tag{font-size:12px;letter-spacing:1.4px;text-transform:uppercase;color:var(--stw-acc1);margin-bottom:8px;display:block;font-weight:700}
.stw-prod__name{font-family:var(--stw-font-display);font-size:20px;font-weight:700;margin-bottom:10px;color:var(--stw-text)}
.stw-prod__desc{font-size:14px;color:var(--stw-muted);line-height:1.7;margin-bottom:18px}
.stw-prod__list{margin-bottom:22px}
.stw-prod__list li{display:flex;align-items:center;gap:10px;font-size:13.5px;color:var(--stw-text);opacity:.88;margin-bottom:9px}
.stw-prod__tick{color:var(--stw-acc2);display:flex;flex-shrink:0}
.stw-prod__tick .stw-ico{width:17px;height:17px}

/* === FAQ === */
.stw-faq{max-width:780px;margin:0 auto;display:flex;flex-direction:column;gap:13px}
.stw-faq__row{background:var(--stw-panel);border:1px solid var(--stw-line-soft);border-radius:var(--stw-radius);overflow:hidden;transition:border-color .3s}
.stw-faq__row--open{border-color:var(--stw-line)}
.stw-faq__q{display:flex;align-items:center;justify-content:space-between;width:100%;padding:19px 24px;font-family:var(--stw-font-display);font-size:16px;font-weight:700;color:var(--stw-text);text-align:left;gap:16px}
.stw-faq__chev{display:flex;color:var(--stw-acc1);transition:transform .3s;flex-shrink:0}
.stw-faq__row--open .stw-faq__chev{transform:rotate(180deg)}
.stw-faq__a{max-height:0;overflow:hidden;transition:max-height .4s ease}
.stw-faq__a p{padding:0 24px 20px;font-size:14.5px;color:var(--stw-muted);line-height:1.75}

/* === LAUNCH BAND === */
.stw-launch{position:relative;overflow:hidden;padding:82px 0;text-align:center;background:linear-gradient(120deg,rgba(154,52,18,.08),rgba(63,98,18,.06));border-top:1px solid var(--stw-line)}
.stw-launch__beam{position:absolute;left:0;right:0;height:38%;background:linear-gradient(180deg,transparent,rgba(154,52,18,.05),transparent);animation:stw-beam 7s linear infinite;pointer-events:none}
.stw-launch__inner{position:relative;z-index:2}
.stw-launch__title{font-family:var(--stw-font-display);font-size:clamp(28px,3.6vw,32px);font-weight:800;letter-spacing:-.4px;margin-bottom:14px;color:var(--stw-text)}
.stw-launch__sub{font-size:15.5px;color:var(--stw-muted);max-width:560px;margin:0 auto 34px;line-height:1.7}
.stw-launch__btns{display:flex;gap:14px;justify-content:center;flex-wrap:wrap}

/* === PAGEHEAD (banner) === */
.stw-pagehead{position:relative;padding:78px 0 54px;border-bottom:1px solid var(--stw-line);overflow:hidden;background-size:cover;background-position:center}
.stw-pagehead::before{content:'';position:absolute;inset:0;background:linear-gradient(100deg,rgba(245,241,232,.92) 0%,rgba(245,241,232,.62) 55%,rgba(245,241,232,.36) 100%),linear-gradient(180deg,rgba(245,241,232,.28),rgba(245,241,232,.34))}
.stw-pagehead::after{content:'';position:absolute;left:0;right:0;bottom:0;height:2px;background:var(--stw-horizon);opacity:.7}
.stw-pagehead .stw-container{position:relative;z-index:2}
.stw-pagehead__kicker{font-size:12px;letter-spacing:2.2px;text-transform:uppercase;color:var(--stw-acc1);margin-bottom:12px;font-weight:700}
.stw-pagehead__title{font-family:var(--stw-font-display);font-size:clamp(28px,3.6vw,32px);font-weight:800;letter-spacing:-.5px}
.stw-pagehead__desc{font-size:15px;color:var(--stw-muted);margin-top:12px;max-width:640px;line-height:1.7}
.stw-pagehead__meta{display:flex;align-items:center;gap:16px;margin-top:16px;font-size:13px;color:var(--stw-muted)}

/* === BREADCRUMB === */
.stw-crumb-bar{padding:15px 0;border-bottom:1px solid var(--stw-line-soft)}
.stw-crumb{display:flex;align-items:center;flex-wrap:wrap;gap:9px;font-size:13px;color:var(--stw-muted)}
.stw-crumb a{color:var(--stw-muted)}
.stw-crumb a:hover{color:var(--stw-acc1)}
.stw-crumb__sep{color:rgba(154,52,18,.6)}
.stw-crumb__now{color:var(--stw-text)}

/* === CONTENT SHEET === */
.stw-sheet{padding:38px;background:var(--stw-panel);border:1px solid var(--stw-line-soft);border-radius:var(--stw-radius)}

/* === SINGLE LAYOUT (S4 full width) === */
.stw-doc__body{min-width:0}

/* Prose */
.stw-prose{font-size:16px;line-height:1.85;color:rgba(33,26,18,.86)}
.stw-prose h2{font-family:var(--stw-font-display);font-size:24px;font-weight:800;color:var(--stw-text);margin:36px 0 16px;padding-bottom:10px;border-bottom:1px solid var(--stw-line-soft)}
.stw-prose h3{font-family:var(--stw-font-display);font-size:19px;font-weight:700;color:var(--stw-text);margin:28px 0 12px}
.stw-prose p{margin-bottom:16px}
.stw-prose ul,.stw-prose ol{margin:0 0 16px 22px;list-style:disc}
.stw-prose ol{list-style:decimal}
.stw-prose li{margin-bottom:8px}
.stw-prose blockquote{border-left:3px solid var(--stw-acc1);padding:14px 20px;margin:22px 0;background:rgba(154,52,18,.05);border-radius:0 10px 10px 0;color:var(--stw-text)}
.stw-prose a{color:var(--stw-acc1);text-decoration:underline}
.stw-prose img{border-radius:10px;margin:22px 0;border:1px solid var(--stw-line-soft)}
.stw-prose code{font-family:var(--stw-font-display);background:var(--stw-panel-2);padding:2px 7px;border-radius:5px;font-size:14px;color:var(--stw-acc2)}
.stw-prose pre{background:var(--stw-panel-2);padding:20px;border-radius:10px;overflow-x:auto;margin:22px 0;border:1px solid var(--stw-line-soft)}
.stw-prose pre code{background:none;padding:0}
.stw-prose table{width:100%;border-collapse:collapse;margin:22px 0;font-size:14px}
.stw-prose th,.stw-prose td{border:1px solid var(--stw-line-soft);padding:10px 12px;text-align:left}
.stw-prose th{background:var(--stw-panel-2);font-family:var(--stw-font-display)}

/* Single hero thumb */
.stw-doc__hero{margin:-38px -38px 30px;overflow:hidden;border-radius:var(--stw-radius) var(--stw-radius) 0 0;border-bottom:1px solid var(--stw-line-soft)}
.stw-doc__hero img{width:100%;height:auto}

/* Tags */
.stw-doc__tags{display:flex;flex-wrap:wrap;gap:9px;margin-top:34px;padding-top:24px;border-top:1px solid var(--stw-line-soft)}
.stw-chip{padding:5px 14px;border-radius:999px;font-size:12.5px;background:rgba(154,52,18,.07);color:var(--stw-acc1);border:1px solid var(--stw-line);transition:background .2s}
.stw-chip:hover{background:rgba(154,52,18,.15);color:var(--stw-text)}

/* Post pager */
.stw-doc__pager{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:32px;padding-top:24px;border-top:1px solid var(--stw-line-soft)}
.stw-doc__prev,.stw-doc__next{padding:16px 18px;border-radius:var(--stw-radius-sm);background:var(--stw-panel-2);border:1px solid var(--stw-line-soft);transition:border-color .2s}
.stw-doc__prev:hover,.stw-doc__next:hover{border-color:var(--stw-line)}
.stw-doc__next{text-align:right}
.stw-doc__plabel{display:block;font-size:12px;text-transform:uppercase;letter-spacing:1px;color:var(--stw-muted);margin-bottom:6px}
.stw-doc__ptitle{font-size:14px;color:var(--stw-text);font-weight:700;font-family:var(--stw-font-display)}

/* Comments */
.stw-doc__comments{margin-top:40px;padding-top:24px;border-top:1px solid var(--stw-line-soft)}

/* === ARCHIVE LIST === */
.stw-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
.stw-list__empty{text-align:center;padding:48px 0}
.stw-list__empty p{color:var(--stw-muted);margin-bottom:24px}

/* Pagination */
.stw-pager{margin-top:40px;text-align:center}
.stw-pager .page-numbers{display:inline-flex;align-items:center;justify-content:center;min-width:38px;height:38px;padding:0 12px;border-radius:999px;font-family:var(--stw-font-display);font-size:14px;color:var(--stw-text);margin:0 4px;border:1px solid var(--stw-line-soft);transition:background .2s,border-color .2s,color .2s}
.stw-pager .page-numbers:hover{border-color:var(--stw-acc1);color:var(--stw-acc1)}
.stw-pager .page-numbers.current{background:var(--stw-acc-grad);color:#fdf6ee;border-color:transparent;font-weight:700}

/* === SEARCH FORM === */
.stw-find{display:flex;gap:12px;margin-bottom:30px}
.stw-find__field{flex:1;min-width:0;padding:12px 18px;border-radius:999px;border:1px solid var(--stw-line-soft);background:var(--stw-panel);color:var(--stw-text);font-size:14.5px;font-family:var(--stw-font-body);outline:none;transition:border-color .2s}
.stw-find__field:focus{border-color:var(--stw-acc1)}
.stw-find__field::placeholder{color:rgba(111,97,82,.7)}
.stw-find__btn{white-space:nowrap}
.stw-find__label{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}

/* === 404 === */
.stw-lost{text-align:center;padding:70px 40px}
.stw-lost__icon{margin-bottom:20px;color:var(--stw-acc1)}
.stw-lost__icon .stw-ico{width:56px;height:56px}
.stw-lost__code{font-size:13px;letter-spacing:3px;color:var(--stw-muted);margin-bottom:10px}
.stw-lost__title{font-family:var(--stw-font-display);font-size:28px;font-weight:800;margin-bottom:12px;color:var(--stw-text)}
.stw-lost__text{font-size:15px;color:var(--stw-muted);margin:0 auto 28px;max-width:440px;line-height:1.7}
.stw-lost .stw-find{max-width:440px;margin:28px auto 0}

/* === FOOTER (F2N – 3 link cols + subscribe) === */
.stw-footer{padding:66px 0 0;border-top:1px solid var(--stw-line);background:var(--stw-bg-2);position:relative;z-index:1}
.stw-footer__brand{padding-bottom:38px;margin-bottom:38px;border-bottom:1px solid var(--stw-line-soft)}
.stw-footer__about{font-size:14px;color:var(--stw-muted);max-width:600px;line-height:1.75;margin:16px 0 20px}
.stw-footer__row{display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap}
.stw-status{display:inline-flex;align-items:center;gap:9px;font-size:12.5px;color:var(--stw-muted)}
.stw-footer__social{display:flex;gap:10px}
.stw-footer__social a{width:38px;height:38px;border-radius:11px;display:flex;align-items:center;justify-content:center;border:1px solid var(--stw-line-soft);color:var(--stw-muted);transition:color .2s,border-color .2s}
.stw-footer__social a:hover{color:var(--stw-acc1);border-color:var(--stw-acc1)}
.stw-footer__social .stw-ico{width:18px;height:18px}
.stw-footer__cols{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:32px;margin-bottom:40px}
.stw-footer__col{min-width:0}
.stw-footer__head{font-family:var(--stw-font-display);font-size:14px;font-weight:800;color:var(--stw-text);margin-bottom:18px;letter-spacing:.3px}
.stw-footer__list li{margin-bottom:11px}
.stw-footer__list a{font-size:13.5px;color:var(--stw-muted);transition:color .2s,padding-left .2s}
.stw-footer__list a:hover{color:var(--stw-acc1);padding-left:4px}
.stw-footer__col--sub .stw-footer__subtext{font-size:13px;color:var(--stw-muted);line-height:1.65;margin-bottom:14px}
.stw-footer__form{display:flex;gap:10px;align-items:center}
.stw-footer__input{flex:1;min-width:0;padding:10px 16px;border-radius:999px;border:1px solid var(--stw-line-soft);background:var(--stw-panel);color:var(--stw-text);font-size:13.5px;font-family:var(--stw-font-body);outline:none;transition:border-color .2s}
.stw-footer__input:focus{border-color:var(--stw-acc1)}
.stw-footer__input::placeholder{color:rgba(111,97,82,.7)}
.stw-footer__note{font-size:12px;color:rgba(111,97,82,.75);padding:20px 0;border-top:1px solid var(--stw-line-soft);line-height:1.7}
.stw-footer__base{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:20px 0;border-top:1px solid var(--stw-line-soft);font-size:12.5px;color:var(--stw-muted)}
.stw-footer__top{display:inline-flex;align-items:center;gap:6px;color:var(--stw-muted);transition:color .2s}
.stw-footer__top:hover{color:var(--stw-acc1)}
.stw-footer__top .stw-ico{width:15px;height:15px;transform:rotate(180deg)}

/* === BODY LOCKED === */
.stw-body--lock{overflow:hidden}

/* =========================================================
 * RESPONSIVE – @media at very end (no base rules after)
 * ========================================================= */
@media(max-width:1024px){
	/* nav -> drawer switch on tablets */
	.stw-menu{display:none}
	.stw-navtoggle{display:flex}
	.stw-topbar__pill{grid-template-columns:minmax(0,1fr) auto;gap:14px;padding:9px 12px 9px 16px}
	.stw-topbar__cta{justify-self:end}
	/* hero terminal -> single column body */
	.stw-term__body{grid-template-columns:1fr;gap:30px;padding:36px 30px}
	.stw-term__strip{padding:20px 30px}
	/* grids step down */
	.stw-feat__grid{grid-template-columns:repeat(2,1fr)}
	.stw-prod__grid{grid-template-columns:1fr}
	.stw-plans__grid{grid-template-columns:1fr;max-width:480px;margin:0 auto}
	.stw-feed{grid-template-columns:repeat(2,minmax(0,1fr))}
	.stw-data__row{grid-template-columns:repeat(2,1fr);gap:28px}
	.stw-figure:nth-child(2)::after{display:none}
	.stw-list{grid-template-columns:repeat(2,minmax(0,1fr))}
	.stw-footer__cols{grid-template-columns:repeat(2,minmax(0,1fr));gap:28px 22px}
	.stw-footer__col--sub{grid-column:1 / -1}
}
@media(max-width:768px){
	/* topbar actions */
	.stw-topbar{padding:10px 0}
	.stw-topbar__cta{gap:8px}
	.stw-topbar__cta .stw-searchlink{display:none}
	.stw-topbar__cta .stw-btn--line{display:none}
	/* hero + titles */
	.stw-hero{padding:40px 0 56px}
	.stw-hero__title{font-size:clamp(30px,7.4vw,34px)}
	.stw-hero__text{font-size:15px;margin-bottom:26px}
	.stw-term__body{padding:30px 22px}
	.stw-term__bar{padding:12px 18px}
	.stw-term__strip{justify-content:flex-start;gap:28px;padding:18px 22px}
	.stw-term__wval{font-size:28px}
	.stw-band{padding:60px 0}
	.stw-band__title{font-size:clamp(24px,6.4vw,26px)}
	.stw-pagehead{padding:52px 0 34px}
	.stw-pagehead__title{font-size:clamp(24px,6.6vw,26px)}
	.stw-pagehead__desc{font-size:14px}
	/* grids */
	.stw-feat__grid{grid-template-columns:repeat(2,1fr)}
	.stw-feed{grid-template-columns:repeat(2,minmax(0,1fr))}
	.stw-list{grid-template-columns:repeat(2,minmax(0,1fr))}
	/* content + prose typography */
	.stw-sheet{padding:24px}
	.stw-doc__pager{grid-template-columns:1fr}
	.stw-doc__hero{margin:-24px -24px 24px}
	.stw-prose{font-size:15.5px}
	.stw-prose h2{font-size:21px;margin:28px 0 14px}
	.stw-prose h3{font-size:17.5px}
	.stw-prose table{display:block;overflow-x:auto;-webkit-overflow-scrolling:touch}
	/* searchform stack */
	.stw-find{flex-direction:column}
	.stw-find__btn{width:100%}
	/* market table: scroll + drop depth column */
	.stw-board__scroll{overflow-x:auto;-webkit-overflow-scrolling:touch}
	.stw-quote{min-width:560px}
	.stw-quote th,.stw-quote td{padding:11px 14px;font-size:13.5px}
	.stw-quote__depth,.stw-quote th.stw-quote__depth{display:none}
	/* breadcrumb wraps */
	.stw-crumb{gap:7px;font-size:12.5px;line-height:1.6}
	/* launch + faq spacing */
	.stw-launch{padding:60px 0}
	.stw-launch__title{font-size:clamp(24px,6.6vw,26px)}
	.stw-faq__q{padding:17px 18px;font-size:15px}
	.stw-faq__a p{padding:0 18px 18px}
	/* buttons */
	.stw-btn{padding:10px 20px;font-size:14px}
	/* plans */
	.stw-plan__price{font-size:40px}
	/* footer – 3 columns, subscribe spans full row, brand band full width */
	.stw-footer{padding:44px 0 0}
	.stw-footer__brand{padding-bottom:26px;margin-bottom:26px}
	.stw-footer__about{max-width:none;font-size:13.5px;line-height:1.6;margin:12px 0 16px}
	.stw-footer__cols{grid-template-columns:repeat(3,1fr);gap:24px 18px;margin-bottom:30px}
	.stw-footer__col--sub{grid-column:1 / -1}
	.stw-footer__head{font-size:13px;margin-bottom:11px}
	.stw-footer__list li{margin-bottom:8px;line-height:1.5}
	.stw-footer__list a{font-size:13px;overflow-wrap:break-word}
	.stw-footer__note{font-size:12px;padding:16px 0;line-height:1.6}
	.stw-footer__base{padding:16px 0;font-size:12px}
	/* long titles wrap instead of overflowing */
	.stw-hero__title,.stw-pagehead__title,.stw-band__title,.stw-card__title,.stw-launch__title{overflow-wrap:break-word}
}
@media(max-width:480px){
	.stw-container{padding:0 16px}
	/* topbar */
	.stw-topbar{padding:8px 0}
	.stw-topbar__pill{border-radius:22px;padding:8px 10px 8px 14px;gap:10px}
	.stw-logo__text{font-size:17.5px}
	.stw-logo__glyph{width:36px;height:36px;font-size:15px}
	/* hero */
	.stw-hero{padding:34px 0 48px}
	.stw-hero__title{font-size:clamp(28px,8.6vw,34px)}
	.stw-hero__badge{font-size:12px;margin-bottom:18px}
	.stw-hero__text{font-size:14.5px;margin-bottom:24px}
	.stw-hero__actions{flex-direction:column;align-items:stretch;gap:12px}
	.stw-hero__actions .stw-btn{width:100%}
	.stw-term__body{padding:26px 18px;gap:24px}
	.stw-term__strip{flex-direction:column;align-items:flex-start;gap:16px;padding:16px 18px}
	.stw-term__widget{padding:14px 16px}
	.stw-term__wval{font-size:26px}
	.stw-herostat b{font-size:26px}
	/* sections */
	.stw-band{padding:52px 0}
	.stw-band__head{margin-bottom:32px}
	.stw-band__title{font-size:clamp(24px,7vw,26px)}
	.stw-band__intro{font-size:15px}
	/* features + figures */
	.stw-feat__grid{grid-template-columns:1fr}
	.stw-data{padding:50px 0}
	.stw-data__row{grid-template-columns:repeat(2,1fr);gap:22px}
	.stw-figure::after{display:none}
	.stw-figure__num{font-size:30px}
	/* pagehead */
	.stw-pagehead{padding:44px 0 28px}
	.stw-pagehead__title{font-size:clamp(24px,7vw,26px)}
	.stw-pagehead__meta{flex-wrap:wrap;gap:10px 16px;font-size:12.5px}
	/* cards */
	.stw-feat__card{padding:24px 20px}
	.stw-prod__card{padding:26px 20px}
	.stw-plan{padding:28px 22px}
	.stw-plan__price{font-size:40px}
	.stw-card__body{padding:18px 20px}
	.stw-card__title{font-size:16px}
	/* feed + list single column */
	.stw-feed{grid-template-columns:minmax(0,1fr)}
	.stw-list{grid-template-columns:minmax(0,1fr)}
	/* single */
	.stw-sheet{padding:20px}
	.stw-doc__hero{margin:-20px -20px 22px}
	.stw-doc__pager{gap:12px}
	.stw-doc__prev,.stw-doc__next{padding:14px}
	.stw-prose{font-size:15px}
	/* market table: drop change column too */
	.stw-quote{min-width:420px}
	.stw-quote__chg,.stw-quote thead th:nth-child(3){display:none}
	/* launch */
	.stw-launch{padding:52px 0}
	.stw-launch__btns{flex-direction:column;align-items:stretch}
	.stw-launch__sub{font-size:15px;margin-bottom:26px}
	/* footer – keep 3 columns, tighter */
	.stw-footer{padding:38px 0 0}
	.stw-footer__row{flex-direction:column;align-items:flex-start;gap:14px}
	.stw-footer__cols{grid-template-columns:repeat(3,1fr);gap:20px 14px;margin-bottom:26px}
	.stw-footer__col--sub{grid-column:1 / -1}
	.stw-footer__form{flex-direction:column;align-items:stretch}
	.stw-footer__head{font-size:12.5px;margin-bottom:9px}
	.stw-footer__list li{margin-bottom:7px;line-height:1.45}
	.stw-footer__list a{font-size:12.5px;overflow-wrap:break-word}
	.stw-footer__note{font-size:12px;padding:14px 0;line-height:1.55;text-align:center}
	.stw-footer__base{flex-direction:column;gap:10px;text-align:center;padding:14px 0;font-size:12px}
	.stw-footer__base span{overflow-wrap:break-word}
	/* 404 */
	.stw-lost{padding:52px 20px}
	.stw-lost__title{font-size:24px}
}
