/* sPECKA 2026 landing page — design tokens and responsive layout */
:root{--ink:#273044;--pink:#bd3e7b;--pink-soft:#f9e4ed;--border:#efdee6;--mint:#e3f5f0;--peach:#fff0e4}
html{scroll-behavior:smooth}body{background:#f5f8fb;color:var(--ink)}[hidden]{display:none!important}
.site-shell{max-width:1440px;margin:34px auto;border-radius:28px 28px 0 0;background:#fff;box-shadow:0 28px 100px #3854761c;overflow:hidden}
.site-header{max-width:none;margin:0;padding:25px clamp(22px,5vw,70px);display:flex;justify-content:space-between;gap:20px;align-items:center;border:0}
.brand{display:inline-flex;align-items:center;gap:10px;text-decoration:none;color:#263044;white-space:nowrap}
.brand-word{font-size:clamp(24px,2.5vw,32px);font-weight:850;letter-spacing:-.055em;color:#273044}
.brand img{width:40px;height:40px;object-fit:contain}
.primary-nav{display:flex;align-items:center;gap:clamp(12px,1.6vw,28px)}
.primary-nav a,.login-link{font-size:13px;font-weight:600;color:#3b3c48;text-decoration:none}
.primary-nav a:hover,.login-link:hover{color:var(--pink)}
.header-actions{display:flex;align-items:center;gap:16px}
.button{display:inline-flex;justify-content:center;align-items:center;gap:12px;padding:13px 19px;border-radius:10px;font-size:13px;font-weight:750;text-decoration:none;transition:transform .2s,background-color .2s}
.button:hover{transform:translateY(-2px)}.button-pink{color:#422037;background:#f49dc0}.button-pink:hover{background:#ec83b1}.button-outline{border:1px solid #d7d1d4;color:#34323d;background:#fff}
.site-shell main{max-width:none;padding:0}.hero-new{position:relative;min-height:615px;padding:88px clamp(22px,5vw,70px) 88px;display:grid;grid-template-columns:1.03fr .97fr;align-items:center;gap:20px;isolation:isolate;background:linear-gradient(110deg,#f7fbfc 0%,#fff 41%,#fff5f9 78%,#ecf8f5 100%)}
.hero-new:before,.hero-new:after{content:"";position:absolute;height:76px;pointer-events:none;z-index:-1;background:linear-gradient(90deg,#d5f5f0a6 0%,#f3d9ec86 52%,#ffd1bf94 100%);border-radius:0 22px 22px 0}
.hero-new:before{left:0;right:25%;top:87px}.hero-new:after{left:0;right:0;bottom:68px;height:110px;background:linear-gradient(90deg,#ffe0edb7,#f6edff80,#b8eee5a8)}
.hero-copy{position:relative;z-index:2;max-width:620px}
.eyebrow,.section-kicker{font-size:11px;font-weight:800;letter-spacing:.13em;color:#9e285e}
.eyebrow{display:flex;align-items:center;gap:11px}.eyebrow-line{width:22px;height:2px;background:#bd3e7b}
.hero-new h1{font-size:clamp(42px,5vw,72px);max-width:660px;line-height:1.07;letter-spacing:-.058em;margin:22px 0 25px;font-weight:850}
.hero-new h1 em{display:block;color:#bd3e7b;font-style:normal}
.hero-new .lede{max-width:510px;font-size:17px;line-height:1.7;color:#616677}
.hero-actions{display:flex;flex-wrap:wrap;gap:11px;margin-top:27px}.hero-benefits{display:flex;flex-wrap:wrap;gap:17px;margin-top:41px;color:#5d5865;font-size:12px;font-weight:650}
.hero-stage{min-height:450px;position:relative;display:grid;place-items:center}
.stage-wash{position:absolute;inset:12% 1% 8% 5%;border-radius:48px;background:linear-gradient(145deg,#daf5f0,#fce0eb 58%,#ffe0d0);filter:blur(20px);opacity:.72}
.stage-dashboard{position:relative;z-index:1;width:82%;padding:20px;background:#fff;border:1px solid #f3e8ed;border-radius:24px;box-shadow:0 28px 65px #4c33502e;transform:rotate(-2deg)}
.mock-header{display:flex;justify-content:space-between;align-items:center;gap:10px;color:#5a5c69;font-size:11px}.mini-logo{font-weight:900;color:#bd3e7b;font-size:16px}.mock-avatar{display:grid;place-items:center;background:#f8dfeb;border-radius:50%;height:27px;width:27px;color:#9e285e}
.mock-welcome{display:flex;flex-direction:column;gap:7px;margin:18px 0;background:#fce5ee;padding:21px;border-radius:16px}.mock-welcome small,.mock-cards small{font-weight:750;color:#a53870;font-size:9px;letter-spacing:.08em}.mock-welcome strong{font-size:20px;line-height:1.15;max-width:230px}.mock-welcome span,.mock-cards span{font-size:11px;color:#67636b}
.mock-cards{display:grid;grid-template-columns:1fr 1fr;gap:12px}.mock-cards>div{display:flex;flex-direction:column;gap:9px;min-height:120px;background:#eef8f5;padding:15px;border-radius:13px}.mock-cards>div+div{background:#fff2e8}.mock-cards strong{font-size:13px;line-height:1.2}
.stage-note{display:flex;align-items:center;gap:11px;position:absolute;z-index:2;padding:13px 17px;background:#fff;border:1px solid #f2e6ed;border-radius:16px;box-shadow:0 15px 28px #4c335021}.stage-note small{display:block;font-size:9px;color:#8b667c}.stage-note strong{display:block;font-size:11px;color:#34313d;max-width:164px}.stage-note-top{right:-2%;top:5%}.stage-note-bottom{left:0;bottom:7%}.note-icon{display:grid;place-items:center;width:35px;height:35px;background:#f9dce9;border-radius:11px;color:#9e285e;font-size:21px}
.content-section,.pricing-section{padding:78px clamp(22px,5vw,70px)}.section-heading{display:flex;align-items:end;justify-content:space-between;gap:35px;margin-bottom:30px}.section-heading h2{max-width:640px;line-height:1.17;letter-spacing:-.045em;margin:11px 0 0;font-size:clamp(29px,3.1vw,44px)}.section-heading>p{font-size:14px;line-height:1.65;max-width:360px;color:#656576}
.audience-section{background:#fff}.audience-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}
.audience-card{border-radius:23px;min-height:255px;padding:34px;position:relative;overflow:hidden}.audience-card h3{font-size:25px;margin:15px 0 8px;letter-spacing:-.03em}.audience-card p{font-size:14px;color:#545660;max-width:460px;line-height:1.7}.audience-card a{font-size:13px;font-weight:750;color:#6e254e;text-decoration:none}.audience-parent{background:linear-gradient(125deg,#fce9f0,#fff5f8)}.audience-expert{background:linear-gradient(125deg,#e5f6f1,#f5fcfa)}.audience-icon{font-size:34px;color:#ba5687}
.feature-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:17px}.feature-card{padding:27px;border:1px solid #eee7ee;border-radius:19px;background:white;min-height:195px;transition:transform .2s}.feature-card:hover{transform:translateY(-3px)}.feature-card h3{font-size:18px;margin:12px 0 6px}.feature-card p{font-size:13px;color:#666472;line-height:1.6;margin:0}.feature-symbol{width:48px;height:48px;border-radius:14px;display:grid;place-items:center;font-size:23px}.feature-symbol.pink{background:#fbe5ef;color:#a7346d}.feature-symbol.mint{background:#e1f5ee;color:#37796d}.feature-symbol.peach{background:#fff0e2;color:#9d6d47}.feature-symbol.lavender{background:#ede9fa;color:#7663af}
.features-footnote{font-size:12px;color:#6e7080;margin:19px 0 0}
.how-section{background:#fbf9fb}.steps{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.steps>div{padding:25px;background:#fff;border:1px solid #f2e7eb;border-radius:20px}.steps span{color:#c75d8b;font-weight:800;font-size:27px}.steps h3{font-size:18px;margin:13px 0 7px}.steps p{font-size:13px;color:#686577}
.account-section{background:linear-gradient(130deg,#fff7fa,#fff,#f5fbf9)}
.account-section .account{max-width:760px;margin:0;border-radius:24px;padding:32px;background:#fff;box-shadow:0 15px 35px #603d5310}.account-section .account h2{font-size:25px}.account-section .account button{font-weight:750}
.pricing-section{background:#fff}.pricing-section .cards{margin:22px 0 0}.pricing-section .card{padding:30px}.pricing-section .card.expert{background:#fff4f8}.pricing-section .price{color:#273044}.pricing-section .note{background:#faf4f7}
.info.content-section{max-width:none;margin:0;background:#f8fbfb;border:0}.info.content-section h2{max-width:620px;font-size:clamp(30px,3vw,43px)}
.site-shell footer{max-width:none;padding:30px clamp(22px,5vw,70px);border:0;background:#fff;display:flex;justify-content:space-between;flex-wrap:wrap;gap:12px;font-size:12px}
:focus-visible{outline:3px solid #9e285e!important;outline-offset:3px}
@media(max-width:1080px){.primary-nav{display:none}.hero-new{grid-template-columns:1fr 1fr}.stage-note-top{right:0}.stage-dashboard{width:95%}.stage-note-bottom{left:-3%}}
@media(max-width:760px){.site-shell{margin:0;border-radius:0}.site-header{gap:12px}.header-actions .login-link{display:none}.hero-new{grid-template-columns:1fr;padding-top:57px;padding-bottom:58px}.hero-new h1{font-size:clamp(39px,9vw,61px)}.hero-new .lede{font-size:15px}.hero-benefits{margin-top:22px;gap:12px}.hero-stage{min-height:355px}.stage-dashboard{width:min(86%,380px)}.stage-note-top{right:2%;top:1%}.stage-note-bottom{left:1%;bottom:2%}.section-heading{display:block}.section-heading>p{max-width:570px}.audience-grid,.pricing-section .cards{grid-template-columns:1fr}.feature-grid{grid-template-columns:repeat(2,1fr)}.steps{grid-template-columns:1fr}.content-section,.pricing-section{padding-top:57px;padding-bottom:57px}.site-shell footer{display:grid}.account form{display:grid}.account input,.account select{width:100%;min-width:0}}
@media(max-width:440px){.site-header{padding:17px}.brand-word{font-size:25px}.brand img{width:30px;height:30px}.header-actions .button{padding:10px 12px;font-size:11px}.hero-stage{min-height:300px}.stage-dashboard{width:93%;padding:14px}.stage-note{padding:8px}.stage-note strong{max-width:125px}.stage-note .note-icon{width:28px;height:28px}.feature-grid{grid-template-columns:1fr}.hero-new:before{height:46px}.audience-card{padding:25px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.button,.feature-card{transition:none}}

/* Authenticated library – intentionally hidden before Supabase session */
.member-portal{background:#f8fbfa;border-top:1px solid #eaeef0}
.portal-toolbar{display:flex;justify-content:space-between;gap:18px;align-items:end;flex-wrap:wrap;margin-bottom:25px}
.portal-search-label{display:flex;flex-direction:column;gap:6px;color:#505462;font-size:12px;font-weight:750}
.portal-search-label input{padding:13px 15px;border:1px solid #dddae0;border-radius:12px;background:white;font:inherit;font-size:14px;min-width:min(360px,90vw);color:#273044}
.portal-filters{display:flex;flex-wrap:wrap;gap:8px}
.portal-filters button{background:#fff;border:1px solid #eddee6;border-radius:24px;color:#57515e;font:600 13px system-ui,sans-serif;padding:10px 15px;cursor:pointer}
.portal-filters button[aria-pressed=true]{background:#bd3e7b;color:white;border-color:#bd3e7b}
.portal-results{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.library-tile{min-height:210px;padding:23px;background:#fff;border:1px solid #eee1e8;border-radius:19px;display:flex;flex-direction:column;gap:10px}
.tile-head,.tile-bottom,.tile-actions{display:flex;justify-content:space-between;gap:8px;align-items:center}
.tile-kind{color:#9e285e;background:#fdebf3;border-radius:20px;padding:5px 9px;font-weight:800;font-size:10px}
.tile-tier,.tile-bottom small{color:#68717d;font-size:10px}
.library-tile h3{margin:5px 0;font-size:18px;line-height:1.3}
.library-tile p{margin:0;color:#626674;font-size:13px;line-height:1.6;flex:1}
.tile-actions button{border:1px solid #eedbe4;background:#fff7fa;color:#96335e;border-radius:9px;padding:8px 11px;font-weight:750;cursor:pointer}
.portal-news{margin-top:45px}.portal-news h3{font-size:22px}.portal-pecky{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.pecka-item{padding:19px;display:flex;align-items:start;gap:13px;background:#fff;border:1px solid #e5ece9;border-radius:16px}
.pecka-item>span{color:#bd3e7b;font-size:23px}.pecka-item strong{font-size:14px}.pecka-item p{font-size:12px;color:#656875;line-height:1.55;margin:7px 0 0}
.portal-empty{color:#73717d;font-size:14px;grid-column:1/-1}
.portal-dialog{position:fixed;z-index:1000;inset:0;display:grid;place-items:center;padding:20px}
.portal-dialog-backdrop{position:absolute;inset:0;background:#1f1824ae}
.portal-dialog-card{background:#fff;width:min(720px,100%);max-height:82vh;overflow-y:auto;position:relative;z-index:1;border-radius:22px;padding:clamp(22px,4vw,42px);box-shadow:0 30px 100px #19121b5e}
.portal-close{position:absolute;right:17px;top:13px;border:0;background:#fbe6ef;border-radius:50%;width:34px;height:34px;cursor:pointer}
.portal-detail-body{white-space:pre-wrap;line-height:1.7;color:#484954}
@media(max-width:900px){.portal-results{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){.portal-results,.portal-pecky{grid-template-columns:1fr}.portal-search-label,.portal-search-label input{width:100%;min-width:0}}
