:root{--blue:#075cf5;--ink:#090f35;--muted:#34436c;--line:#d5e1fb;--container:1280px}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;min-width:320px;color:var(--ink);font-family:"Noto Sans CJK SC","PingFang SC","Microsoft YaHei",Arial,sans-serif;background:#f5f8ff;overflow-x:hidden}
button,input{font:inherit}button{cursor:pointer}a{color:inherit;text-decoration:none}
.icon{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}
.sprite{position:absolute;width:0;height:0;overflow:hidden}
.content-width{max-width:var(--container);width:calc(100% - 92px);margin:0 auto}
/* Header: reference layout at 1024 px */
.site-header{height:49px;position:relative;z-index:20;background:linear-gradient(90deg,#f6f9ff 0%,#f8fbff 60%,#e9f2ff 100%);border-bottom:1px solid #e6eefb}
.header-container{width:calc(100% - 88px);max-width:1200px;margin:auto;display:flex;align-items:center;height:100%;gap:0}
.brand{display:flex;align-items:center;gap:12px;flex:none;white-space:nowrap}
.brand-badge{width:30px;height:30px;display:inline-flex;align-items:center;justify-content:center;background:linear-gradient(150deg,#178bff,#0050e6);color:white;font-size:22px;font-weight:850;border-radius:6px;box-shadow:0 2px 5px #1267e535;position:relative;letter-spacing:-.06em}
.brand-badge:after{content:"";position:absolute;top:9px;left:9px;width:12px;height:2px;background:#fff;border-radius:1px;box-shadow:0 7px 0 #fff;opacity:.7}
.brand-name{font-size:19px;letter-spacing:-.5px;font-weight:850}
.header-divider{width:1px;height:22px;background:#cadbfa;margin-left:24px;margin-right:35px}
.main-nav{display:flex;align-self:stretch;align-items:center;gap:28px;white-space:nowrap;font-weight:700;font-size:13px}
.main-nav>a,.main-nav>button{position:relative;height:100%;display:inline-flex;align-items:center;justify-content:center;border:0;background:none;color:#17244c;padding:0}
.main-nav .active{color:#005cf7}
.main-nav .active:after{content:"";height:2px;border-radius:2px;background:#0059fa;position:absolute;bottom:0;left:0;right:0}
.main-nav>a:hover,.main-nav>button:hover{color:var(--blue)}
.login-btn{margin-left:auto;height:30px;min-width:69px;border:1px solid #1766ff;border-radius:17px;background:#f5faff;color:#0962f5;display:flex;gap:4px;align-items:center;justify-content:center;font-size:12px;font-weight:750;box-shadow:0 2px 10px #9abfff25}
.login-btn .icon{width:15px;height:15px}
/* Hero */
.top-gradient{background:linear-gradient(to bottom,#ecf4ff 0%,#eaf4ff 60%,#f0f6ff 100%);position:relative}
.hero{height:341px;overflow:hidden;position:relative;background:radial-gradient(ellipse at 70% 22%,#d4e6ff 0%,transparent 55%),linear-gradient(113deg,#eaf2ff 0%,#eef5ff 36%,#cae1ff 100%)}
.hero:after{content:"";position:absolute;inset:0;pointer-events:none;background:radial-gradient(ellipse at 37% 55%,#ffffff6d,transparent 50%)}
.hero-waves{width:100%;height:100%;inset:0;position:absolute}
.hero-finish{position:absolute;z-index:0;left:0;right:0;bottom:-1px;width:100%;height:76px;pointer-events:none;filter:drop-shadow(0 -8px 18px rgba(110,164,232,.06))}
.hero-content{height:100%;max-width:1024px;margin:auto;position:relative;z-index:1}
.hero-text{position:absolute;left:7.32%;top:52px;z-index:3}
.hero h1{font-size:40px;font-weight:900;letter-spacing:-1.2px;line-height:1.34;margin:0;color:#070e35;text-shadow:0 2px 0 #ffffff75}
.hero h1 .line-two{white-space:nowrap}
.hero .title-kicker{color:#071b4d;background:linear-gradient(105deg,#06183f 5%,#0a377a 58%,#075cf5 100%);background-clip:text;-webkit-background-clip:text;-webkit-text-fill-color:transparent;text-shadow:none;filter:drop-shadow(0 4px 9px rgba(26,88,166,.1))}
.hero .line-two{color:#07143b;text-shadow:0 3px 12px rgba(65,117,191,.12)}
.hero .accent-word{color:#0a58ef;position:relative;display:inline-block;text-shadow:none;background:linear-gradient(112deg,#0b42f6 2%,#0876ff 52%,#03a9dc 100%);background-clip:text;-webkit-background-clip:text;-webkit-text-fill-color:transparent;filter:drop-shadow(0 5px 10px rgba(19,112,244,.14))}
.hero .accent-word:after{content:"";position:absolute;left:-6px;bottom:1px;width:105%;height:7px;border-radius:50%;transform:rotate(-4deg);background:linear-gradient(90deg,#96dbff,#0869ee 65%,#806afa);z-index:-1;clip-path:polygon(0 45%,15% 10%,85% 7%,100% 40%,90% 55%,15% 88%)}
.hero p{margin:25px 0 0;font-size:17px;line-height:1.67;letter-spacing:.1px;color:#14254f;font-weight:470}
.hero-sparks{position:absolute;left:343px;top:32px;display:flex;gap:9px;transform:rotate(17deg)}
.hero-sparks i{display:block;width:4px;height:17px;background:#096cfb;border-radius:5px;transform:rotate(23deg)}
.hero-sparks i+ i{height:13px;transform:translateY(11px) rotate(55deg)}
/* Metrics */
.stats{max-width:954px;width:calc(100% - 70px);height:74px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border-radius:16px;border:1px solid #e9f0ff;background:rgba(255,255,255,.65);box-shadow:0 8px 17px rgba(37,105,222,.13);backdrop-filter:blur(5px);overflow:hidden}
.stat{display:flex;align-items:center;justify-content:center;gap:12px;position:relative}
.stat:not(:last-child):after{content:"";position:absolute;right:0;top:23px;height:29px;width:1px;background:#cddcf9}
.stat-icon{display:flex;align-items:center;justify-content:center;width:47px;height:47px;border-radius:50%}
.stat-icon.blue{color:#1268ff;background:#e4efff}.stat-icon.purple{color:#8050fb;background:#efebff}.stat-icon.orange{color:#ff870f;background:#fff1e3}
.stat-icon .icon{width:28px;height:28px;stroke-width:2}
.stat strong{font-size:21px;line-height:1.1;display:block;font-weight:850;letter-spacing:-.5px}
.stat small{font-size:12px;color:#24395f;display:block;margin-top:3px}
/* Shared headings */
.section-title{text-align:center;position:relative}
.section-title h2{display:inline-block;font-size:29px;font-weight:850;letter-spacing:-1px;line-height:1.3;margin:0 17px}
.section-title p{margin:3px 0 0;font-size:13px;color:#415078}
.title-sparks{display:inline-block;width:27px;height:21px;position:relative;top:-3px}
.title-sparks:before,.title-sparks:after{content:"";display:block;position:absolute;height:5px;width:17px;background:#90b8ff;transform:rotate(-45deg);border-radius:5px;top:7px;left:0}
.title-sparks:after{width:12px;background:#3c86ff;top:13px;left:15px}
.title-sparks.mirrored{transform:scaleX(-1)}
/* Templates area */
.templates-section{padding:41px 0 0;background:linear-gradient(180deg,#eaf3ff 0%,#f5f8ff 75%)}
.tabs{display:grid;grid-template-columns:repeat(10,minmax(0,1fr));justify-content:center;gap:7px;margin-top:18px;white-space:nowrap}
.tab{height:36px;min-width:0;border:1px solid #e0e9fd;background:linear-gradient(#fff,#f4f7ff);border-radius:22px;padding:0 5px;display:flex;align-items:center;justify-content:center;gap:4px;box-shadow:0 3px 9px #9fbeeb26;color:#1b2b55;font-size:12px;font-weight:700;letter-spacing:-.15px;transition:transform .15s,background .15s}
.tab .icon{width:16px;height:16px;stroke-width:2.2}
.tab.active{background:linear-gradient(145deg,#1785ff,#0755ee);border-color:#1b70ff;color:#fff;padding:0 5px;box-shadow:0 6px 12px #2978fd2c}
.tab:hover{transform:translateY(-1px)}
.template-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-top:17px;align-items:start}
.template-card{height:240px;min-width:0;background:linear-gradient(#fff 0%,#f8faff 100%);border:1px solid #e0eaff;border-radius:13px;box-shadow:0 7px 15px #598fe224;overflow:hidden;padding:0 3px 10px;transition:transform .15s,box-shadow .15s}
.template-card:hover{transform:translateY(-3px);box-shadow:0 10px 24px #467fc438}
.template-card[hidden]{display:none}
.card-image{display:block;width:100%;height:174px;margin:0;padding:0;border:0;background:none;overflow:hidden}
.card-image img{height:168px;width:100%;object-fit:contain;object-position:center top;display:block;margin-top:3px}
.template-card h3{font-size:13px;font-weight:850;color:#081337;margin:2px 9px 0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:23px}
.card-stats{display:flex;align-items:center;gap:19px;padding:6px 8px 0;color:#2b447a;font-size:12px}
.card-stats span{display:flex;align-items:center;gap:4px;white-space:nowrap}
.card-stats .icon{width:15px;height:15px;stroke-width:1.8}
.empty-filter{padding:36px;text-align:center;color:#587096;font-size:14px}
.more-button{display:flex;align-items:center;justify-content:center;gap:9px;font-size:13px;font-weight:750;color:#0862ff;background:linear-gradient(#fff,#f6faff);height:34px;width:151px;border:1.5px solid #0866ff;border-radius:20px;box-shadow:0 3px 7px #729deb30;margin:15px auto 0}
.more-button .icon{height:17px;width:17px}
.more-button[aria-busy="true"]{pointer-events:none;opacity:.72}
.template-card-enter{animation:template-card-reveal .28s ease-out both}
@keyframes template-card-reveal{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}
@media(prefers-reduced-motion:reduce){.template-card-enter{animation:none}}
/* Why section */
.why-section{position:relative;margin-top:3px;padding:22px 0 18px;background:radial-gradient(ellipse at 95% 10%,#d8e8ff 0%,transparent 28%),radial-gradient(ellipse at 4% 1%,#dfeeff 0%,transparent 24%),linear-gradient(180deg,#f0f6ff 0%,#eef4ff 78%,#f4f8ff 100%)}
.why-section:before{content:"";pointer-events:none;position:absolute;left:0;right:0;top:0;height:100px;background:linear-gradient(105deg,#cfddfb78,transparent 38%,#d2e5ff75);clip-path:polygon(0 25%,10% 1%,19% 32%,30% 21%,48% 9%,67% 18%,83% 7%,100% 26%,100% 100%,0 100%)}
.why-section>.content-width{position:relative}
.benefit-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-top:30px}
.benefit-card{height:86px;border:1px solid #edf2ff;border-radius:13px;background:rgba(255,255,255,.72);box-shadow:0 7px 12px #9bbde531;display:flex;align-items:center;gap:11px;padding:10px 11px}
.benefit-icon{width:46px;height:46px;flex:0 0 46px;display:flex;align-items:center;justify-content:center;border-radius:50%;background:linear-gradient(135deg,#eaf3ff,#d6e6ff);color:#085dff}
.benefit-icon .icon{width:27px;height:27px;stroke-width:2.2}
.benefit-card strong{display:block;white-space:nowrap;font-size:14px;line-height:1.5;font-weight:850}
.benefit-card small{display:block;font-size:12px;line-height:1.5;color:#405071}
/* FAQ */
.faq-section{padding:23px 0 40px;background:linear-gradient(180deg,#f3f7ff,#f0f5ff)}
.faq-list{margin-top:6px;border-radius:12px;overflow:hidden;box-shadow:0 6px 14px #7098d125;border:1px solid #dae5ff}
.faq-list details{background:rgba(255,255,255,.66);border-bottom:1px solid #d7e4fb}
.faq-list details:last-child{border-bottom:0}
.faq-list summary{list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;min-height:35px;padding:0 19px;font-size:14px;font-weight:800;color:#0b1637}
.faq-list summary::-webkit-details-marker{display:none}
.faq-heading{display:flex;align-items:center;gap:12px;min-width:0}
.faq-number{display:inline-flex;flex:0 0 30px;width:30px;height:30px;align-items:center;justify-content:center;border:2px solid transparent;border-radius:50%;background:linear-gradient(#fff,#fff) padding-box,linear-gradient(135deg,#1175f4,#6b40f5) border-box;color:#315bd9;font-size:10px;font-weight:900;line-height:1;letter-spacing:-.02em;box-shadow:0 4px 12px rgba(45,91,218,.12)}
.faq-list summary .icon{width:15px;height:15px;stroke-width:2.3;transition:transform .16s}
.faq-list details[open] summary .icon{transform:rotate(45deg)}
.faq-list details p{margin:0;padding:0 20px 14px;font-size:13px;line-height:1.65;color:#52638c}
/* Footer */
.site-footer{min-height:83px;background:linear-gradient(125deg,#192d54,#122343);color:white}
.footer-inner{height:83px;display:flex;align-items:center;justify-content:space-between;gap:22px}
.footer-brand{display:flex;align-items:center;gap:12px;min-width:220px}
.footer-brand .brand-badge{width:31px;height:34px;font-size:22px}
.footer-brand strong{display:block;font-size:15px;font-weight:750}
.footer-brand small{display:block;font-size:10px;color:#9db4db;margin-top:2px}
.footer-nav{display:flex;align-items:center;gap:0;color:#f8faff}
.footer-nav a,.footer-nav button{font-size:12px;background:none;color:inherit;border:0;padding:0 28px;border-left:1px solid #7081a1;white-space:nowrap}
.footer-nav a:hover,.footer-nav button:hover{color:#9cc6ff}
.copyright{font-size:11px;color:#d7e3ff;white-space:nowrap}
/* Functional demo dialog */
.demo-dialog{border:1px solid #dce6ff;border-radius:20px;width:min(420px,calc(100% - 30px));box-shadow:0 20px 90px #06265650;padding:24px 26px;color:#101e45}
.demo-dialog::backdrop{background:#0d285580;backdrop-filter:blur(4px)}
.demo-dialog h2{font-size:20px;margin:0 0 10px}.demo-dialog p{font-size:14px;line-height:1.8;color:#495c82}.demo-dialog .dialog-close{position:absolute;right:15px;top:10px;border:0;background:none;font-size:26px;color:#7583a1}.dialog-ok{display:block;width:100%;height:40px;border:0;background:#095fff;color:white;border-radius:10px;font-weight:700;margin-top:18px}
/* Responsiveness */
@media (max-width:980px){.content-width{width:calc(100% - 60px)}.header-container{width:calc(100% - 60px)}.header-divider{margin-left:20px;margin-right:22px}.main-nav{gap:20px}.hero-text{left:5.7%}.tabs{gap:5px}.tab,.tab.active{padding:0 3px;font-size:10.5px}.template-grid{gap:10px}.benefit-card{gap:7px;padding:9px 8px}.benefit-card strong{font-size:12px}.benefit-card small{font-size:11px}.footer-brand{min-width:auto}.footer-nav a,.footer-nav button{padding:0 12px}}
@media (max-width:760px){.site-header{height:58px}.header-container{width:calc(100% - 28px)}.brand-badge{height:31px;width:31px}.brand-name{font-size:17px}.header-divider{display:none}.main-nav{margin-left:auto;gap:12px;font-size:12px}.main-nav>button,.main-nav>a:nth-of-type(4){display:none}.login-btn{min-width:64px;margin-left:16px}.hero{height:auto;min-height:540px}.hero-content{height:540px}.hero-text{left:6%;right:6%;top:25px}.hero h1{font-size:clamp(29px,6.1vw,42px)}.hero p{font-size:14px;margin-top:17px}.hero-sparks{display:none}.content-width{width:calc(100% - 28px)}.stats{height:auto;grid-template-columns:repeat(2,1fr);padding:8px 0}.stat{min-height:72px}.stat:nth-child(2):after{display:none}.stat-icon{width:39px;height:39px}.stat-icon .icon{width:24px;height:24px}.stat strong{font-size:19px}.templates-section{padding-top:34px}.section-title h2{font-size:25px;margin:0 7px}.section-title p{font-size:12px}.tabs{justify-content:flex-start;overflow-x:auto;padding-bottom:8px;scrollbar-width:thin}.tab{font-size:12px;flex:none;padding:0 12px}.template-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.template-card{height:265px}.card-image{height:201px}.card-image img{height:195px}.template-card h3{font-size:13px}.why-section{margin-top:22px}.benefit-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.benefit-card{height:91px}.benefit-card strong{font-size:13px}.benefit-card small{font-size:11px}.faq-section{padding-bottom:35px}.faq-list summary{font-size:12px;line-height:1.5;padding:7px 12px;min-height:45px}.faq-heading{gap:9px}.faq-number{flex-basis:26px;width:26px;height:26px;font-size:9px}.faq-list summary .icon{flex:0 0 15px;margin-left:8px}.footer-inner{height:auto;min-height:190px;flex-wrap:wrap;align-content:center;justify-content:center;padding:20px 0;gap:17px}.footer-brand{width:100%;justify-content:center}.footer-nav{width:100%;justify-content:center}.footer-nav a,.footer-nav button{font-size:11px;padding:0 9px}.copyright{width:100%;text-align:center}}
@media (max-width:760px){.hero-finish{height:54px}}
@media (max-width:430px){.main-nav{gap:9px}.main-nav>a:nth-of-type(3){display:none}.login-btn{margin-left:9px}.hero h1{font-size:32px}.hero p{font-size:13px}.stats{border-radius:12px}.stat{gap:9px}.stat strong{font-size:18px}.title-sparks{transform:scale(.75)}.title-sparks.mirrored{transform:scaleX(-1) scale(.75)}.card-stats{gap:10px}.feature-card strong{font-size:12px}}
/* Desktop reference refinement: stretch the seven tabs across the gallery width. */
@media (min-width:981px){
 .tabs{display:grid;grid-template-columns:repeat(10,minmax(0,1fr));gap:7px;padding:0}
 .tab,.tab.active{width:100%;padding:0 5px}
 .why-section{padding-top:32px}
 .benefit-grid{margin-top:20px}
}

/* ===== 2026-11: wide-layout and genuinely DOM-built hero artwork ===== */
:root { --container: 1280px; }
.content-width { max-width:var(--container); width:calc(100% - 80px); }
.site-header { height:68px; }
.header-container { max-width:1320px; width:calc(100% - 80px); }
.brand-name { font-size:22px; }
.brand-badge { width:38px; height:38px; font-size:27px; border-radius:9px; }
.brand-badge::after { left:11px;top:12px;width:15px; }
.header-divider { margin-left:30px; margin-right:38px; }
.main-nav { gap:39px;font-size:15px; }
.login-btn { height:38px; min-width:91px;border-radius:22px;font-size:14px; }
.login-btn .icon { width:17px;height:17px; }

.top-gradient { background:linear-gradient(180deg,#ebf4ff,#ecf4ff 75%,#f0f6ff); }
.hero { height:490px; background:radial-gradient(ellipse at 81% 27%,#b9d9ff 0%,transparent 49%),linear-gradient(112deg,#eff5ff 5%,#ebf3ff 45%,#c9e0ff 100%); }
.hero-content { max-width:1320px; }
.hero-text { left:3.6%;top:88px; }
.hero h1 { font-size:clamp(42px,3.75vw,56px); letter-spacing:-1.8px;line-height:1.31; }
.hero p { font-size:20px;margin-top:31px; line-height:1.67;font-weight:450; }
.hero-sparks {left:425px;top:20px;}
.hero-waves {opacity:.94}
.hero-visual { position:absolute;width:660px;height:414px;right:1.8%;top:32px;z-index:2;filter:drop-shadow(0 17px 18px rgba(36,99,197,.16)); }
.hero-visual * {box-sizing:border-box}
.orbit{position:absolute;display:block;pointer-events:none;border:10px solid rgba(79,165,255,.68);border-radius:50%;width:658px;height:159px;left:0;top:231px;transform:rotate(-13deg);filter:drop-shadow(0 5px 2px #fff9)}
.orbit-back{z-index:1;border-bottom-color:transparent;border-right-color:#b6dfff}
.orbit-front{z-index:7;border-top-color:transparent;border-left-color:#b7deff;opacity:.9}
.preview-sheet {position:absolute;background:#fff;border:1px solid #e4edff;border-radius:12px;box-shadow:0 11px 30px #4276bb24;overflow:hidden;padding:24px 18px;z-index:3}
.preview-sheet.has-real-preview{padding:0}
.preview-left {width:212px;height:300px;left:54px;top:83px;transform:rotate(-13deg);}
.preview-right {width:214px;height:302px;right:24px;top:80px;transform:rotate(12deg);background:linear-gradient(170deg,#fcfaff,#f5f1ff)}
.sheet-head{display:flex;align-items:center;gap:11px;margin-bottom:19px;}
.sheet-head img{width:54px;height:68px;object-fit:cover;border-radius:5px;background:#e8effd}
.sheet-head img.portrait-man{object-position:0 center}
.sheet-head img.portrait-woman-right{object-position:100% center}
.preview-right .sheet-head{flex-direction:row-reverse;justify-content:space-between}
.sheet-head span{display:grid;gap:5px}.sheet-head b{font-size:15px;color:#152453}.sheet-head small{font-size:8px;color:#61759e}
.mini-bar{height:9px;width:61%;border-radius:3px;background:#398de1;margin:11px 0 9px}
.mini-bar.violet{background:#8070db}
.mini-line{height:5px;background:#cfdbed;border-radius:10px;margin-bottom:7px}
.mini-line.w90{width:90%}.mini-line.w70{width:70%}.mini-line.w95{width:95%}.mini-line.w65{width:65%}.mini-line.w75{width:75%}.mini-line.w80{width:80%}
.resume-main{position:absolute;left:222px;top:2px;z-index:5;width:281px;height:386px;display:block;overflow:hidden;background:white;border-radius:13px;box-shadow:0 18px 36px rgba(17,71,148,.28);border:1px solid #dce8ff;transform:rotate(-.4deg)}
.home-reference-page .hero-visual .hero-resume-image{position:static;inset:auto;display:block;width:100%;height:100%;right:auto;top:auto;transform:none;object-fit:contain;object-position:center;background:#fff;box-shadow:none;border-radius:0}
.resume-sidebar{background:linear-gradient(170deg,#195cad,#072e69 64%,#082958);color:#f6faff;padding:19px 15px;display:flex;flex-direction:column;align-items:flex-start;}
.resume-sidebar .portrait{position:static!important;display:block!important;flex:0 0 auto;height:93px;width:83px;object-fit:cover;margin:0 auto 10px;border-radius:7px;background:#dbeaff;border:2px solid rgba(255,255,255,.4)}
.resume-sidebar .portrait-woman-center{object-position:50% center}
.resume-sidebar .candidate-name{font-size:18px;letter-spacing:1px;margin:0 auto 2px}.resume-sidebar .candidate-role{font-size:9px;opacity:.88;margin:0 auto}
.side-divider{height:1px;background:#b4d4ff65;width:100%;margin:11px 0 7px}
.resume-sidebar small{font-size:10px;letter-spacing:.4px;font-weight:650;line-height:1.5;margin-top:9px;white-space:nowrap}
.resume-sidebar i{height:3px;width:90%;background:#f4f8ff82;border-radius:5px;margin-top:6px}.resume-sidebar i.short{width:60%;opacity:.72}
.resume-body{padding:20px 16px 10px 19px;color:#20335a;background:linear-gradient(165deg,#fff,#f8fbff)}
.resume-body>header{display:flex;flex-direction:column;gap:4px;margin-bottom:12px;border-bottom:1px solid #d5e3f7;padding-bottom:10px}
.resume-body>header b{font-size:23px;color:#0b2044}.resume-body>header span{font-size:8px;color:#6680aa;letter-spacing:.5px}
.resume-section{margin:10px 0 0}.resume-section h4{font-size:10px;color:#155aa5;font-weight:850;margin:0 0 8px;position:relative}
.resume-section h4:after{content:"";position:absolute;left:56px;right:0;top:50%;height:1px;background:#bfd3ea}
.fake-line{height:5px;background:#d5e0ed;border-radius:6px;margin:0 0 7px}.fake-line.long{width:96%}.fake-line.medium{width:78%}.fake-line.tiny{width:51%}
.word-cube {position:absolute;width:76px;height:76px;right:3px;bottom:10px;z-index:8;border-radius:19px;transform:rotate(-7deg);background:linear-gradient(135deg,#1dbaff,#0450f9 70%,#102fa7);box-shadow:12px 8px 0 #8ac6ff88,0 13px 26px #126af07a;border:3px solid #a2d5ff;display:flex;justify-content:center;align-items:center;color:white}
.word-cube b{font-size:43px;line-height:1;font-family:Arial,sans-serif;text-shadow:0 2px 2px #002c9388}
.hero-deco{position:absolute;z-index:9;display:block;border-radius:5px;background:#0870ff;width:5px;height:19px;top:15px;right:45px;transform:rotate(20deg)}.deco-two{right:26px;top:26px;height:13px;transform:rotate(66deg)}

@media (min-width:1200px){
  .hero h1{width:max-content;transform:skewX(-3deg) scaleX(1.13);transform-origin:left center}
  .preview-left{left:35px}
  .resume-main{left:168px}
  .word-cube{right:100px;bottom:18px}
}

.stats { max-width:var(--container);width:calc(100% - 80px);height:96px;border-radius:19px; }
.stat{gap:16px}.stat-icon{width:58px;height:58px}.stat-icon .icon{width:32px;height:32px}.stat strong{font-size:27px}.stat small{font-size:14px}
.stat:not(:last-child)::after{height:43px;top:26px}
.templates-section{padding:60px 0 20px}
.section-title h2{font-size:36px;letter-spacing:-1px}.section-title p{font-size:16px;margin-top:9px}
.tabs{margin-top:28px;gap:7px}.tab{height:42px;font-size:12.5px;border-radius:23px}.tab .icon{width:17px;height:17px}
.template-grid{gap:18px;margin-top:25px}.template-card{height:320px;border-radius:17px;padding:12px 10px 14px}.card-image{height:233px}.card-image img{height:226px}.template-card h3{font-size:16px;line-height:25px;margin-top:7px}.card-stats{font-size:14px;gap:22px}
.card-stats .icon{width:17px;height:17px}.more-button{margin:25px auto 6px;height:42px;width:192px;font-size:15px}
.why-section{padding:45px 0 48px;margin-top:3px}.benefit-grid{gap:18px;margin-top:38px}.benefit-card{height:112px;padding:14px 18px;gap:15px;border-radius:17px}.benefit-icon{width:59px;height:59px;flex-basis:59px}.benefit-icon .icon{width:32px;height:32px}.benefit-card strong{font-size:17px}.benefit-card small{font-size:14px}
.faq-section{padding:47px 0 66px}.faq-list{margin-top:28px;border-radius:15px}.faq-list summary{min-height:55px;font-size:17px;padding:0 25px}.faq-list details p{font-size:15px;padding:0 26px 16px}
.site-footer{min-height:114px}.footer-inner{height:114px}.footer-brand strong{font-size:18px}.footer-brand small{font-size:12px}.footer-nav a,.footer-nav button{font-size:13px}.copyright{font-size:12px}

@media(max-width:1199px){
  :root{--container:1060px}
  .site-header{height:58px}.header-container,.content-width{width:calc(100% - 52px)}.header-container{max-width:1100px}
  .brand-name{font-size:19px}.brand-badge{width:33px;height:33px;font-size:23px}.brand-badge::after{left:10px;top:10px;width:12px}
  .header-divider{margin-left:24px;margin-right:28px}.main-nav{gap:24px;font-size:13px}.login-btn{height:32px;min-width:78px;font-size:12px}
  .hero{height:392px}.hero-content{max-width:1050px}.hero-text{left:4%;top:64px}.hero h1{font-size:42px}.hero p{font-size:16px;margin-top:23px}
  .hero-visual{transform:scale(.81);transform-origin:top right;right:1%;top:25px}
  .hero-sparks{left:345px;top:21px}
  .stats{height:78px;width:calc(100% - 52px)}.stat strong{font-size:22px}.stat small{font-size:12px}.stat-icon{width:48px;height:48px}
  .templates-section{padding-top:45px}.section-title h2{font-size:31px}.section-title p{font-size:14px}
  .tabs{margin-top:20px;gap:5px}.tab{height:37px;font-size:10.5px}
  .template-grid{gap:13px;margin-top:19px}.template-card{height:255px;padding:5px 5px 10px}.card-image{height:188px}.card-image img{height:182px}.template-card h3{font-size:13px;margin-top:3px}.card-stats{font-size:12px}
  .why-section{padding:30px 0}.benefit-grid{gap:12px;margin-top:25px}.benefit-card{height:95px;padding:10px}.benefit-card strong{font-size:14px}.benefit-card small{font-size:12px}.benefit-icon{width:46px;height:46px;flex-basis:46px}
  .faq-section{padding:35px 0 42px}.faq-list{margin-top:20px}.faq-list summary{min-height:42px;font-size:14px}.site-footer{min-height:90px}.footer-inner{height:90px}
}
@media(max-width:800px){
  .hero{height:600px}.hero-content{height:600px}.hero-text{left:5%;top:36px;right:5%}.hero h1{font-size:clamp(33px,6vw,46px)}.hero p{font-size:15px;margin-top:19px}
  .hero-visual{top:230px;left:50%;right:auto;transform:translateX(-50%) scale(.83);transform-origin:top center}
  .hero-sparks{display:none}.site-header{height:58px}.header-container{width:calc(100% - 32px)}.main-nav{gap:14px}.header-divider{display:none}.content-width{width:calc(100% - 32px)}
  .stats{width:calc(100% - 32px)}.template-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.template-card{height:325px}.card-image{height:254px}.card-image img{height:248px}.template-card h3{font-size:15px}.card-stats{font-size:13px}
  .tabs{justify-content:flex-start;overflow-x:auto}.tab{flex:none;padding:0 18px!important}.benefit-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.faq-list summary{font-size:13px}
  .footer-inner{height:auto;min-height:182px;flex-wrap:wrap;justify-content:center}.footer-brand{width:100%;justify-content:center}.footer-nav{width:100%;justify-content:center}.copyright{width:100%;text-align:center}
}
@media(max-width:560px){
  .header-container{gap:0}.brand-name{font-size:17px}.main-nav{margin-left:auto;gap:11px}.main-nav>a:nth-of-type(3),.main-nav>a:nth-of-type(4),.main-nav>button{display:none}.login-btn{margin-left:14px}
  .hero{height:570px}.hero-content{height:570px}.hero-text{top:33px}.hero h1{font-size:clamp(30px,7.5vw,38px)}.hero p{font-size:14px}.hero p br{display:none}
  .hero-visual{top:215px;transform:translateX(-50%) scale(.55)}
  .stats{grid-template-columns:repeat(2,minmax(0,1fr));height:auto;padding:8px 0}.stat{min-height:70px}.stat:nth-child(2)::after{display:none}.stat strong{font-size:18px}.stat small{font-size:12px}.stat-icon{width:42px;height:42px}
  .templates-section{padding-top:33px}.section-title h2{font-size:26px}.section-title p{font-size:12px}.template-grid{gap:10px}.template-card{height:258px;padding:5px}.card-image{height:194px}.card-image img{height:187px}.template-card h3{font-size:12px}.card-stats{font-size:11px;gap:10px}
  .why-section{padding:34px 0}.benefit-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.benefit-card{height:100px;gap:8px;padding:9px}.benefit-icon{width:40px;height:40px;flex-basis:40px}.benefit-icon .icon{width:23px;height:23px}.benefit-card strong{font-size:12px}.benefit-card small{font-size:10px}
  .faq-section{padding:30px 0 36px}.faq-list summary{font-size:12px;padding:7px 13px;min-height:43px}.footer-nav a,.footer-nav button{padding:0 12px;font-size:11px}
}

/* Runtime-only integration: no visual overrides to the supplied design. */
.home-reference-page .tabs a.tab{line-height:1;text-decoration:none}
.template-empty-space{height:292px;margin-top:25px}
.home-pagination{display:flex;align-items:center;justify-content:center;gap:8px;margin:25px auto 6px}
.home-pagination a{width:38px;height:38px;display:grid;place-items:center;border:1px solid #d5e1fb;border-radius:50%;background:#fff;color:#23436f;font-weight:750;box-shadow:0 4px 12px rgba(74,120,190,.12)}
.home-pagination a.active{color:#fff;background:#075cf5;border-color:#075cf5}
.home-reference-footer .footer-brand strong{color:#fff}
.home-reference-footer .footer-brand small{color:#9db4db}
@media(max-width:800px){.template-empty-space{height:190px}}
@media(max-width:560px){.template-empty-space{height:120px}}

/* Final UI artwork calibration (the supplied master is 1024 × 1536). */
@media (min-width:761px) and (max-width:1199px){
  :root{--container:954px}
  .content-width{max-width:954px;width:calc(100% - 70px)}

  .site-header{height:49px}
  .header-container{max-width:936px;width:calc(100% - 88px)}
  .brand-badge{width:30px;height:30px;border-radius:6px;font-size:22px}
  .brand-badge::after{top:9px;left:9px;width:12px}
  .brand-name{font-size:19px}
  .header-divider{margin-left:24px;margin-right:35px}
  .main-nav{gap:28px;font-size:13px}
  .login-btn{height:30px;min-width:69px;border-radius:17px;font-size:12px}
  .login-btn .icon{width:15px;height:15px}

  .hero{height:341px;background:radial-gradient(ellipse at 70% 22%,#d4e6ff 0%,transparent 55%),linear-gradient(113deg,#eaf2ff 0%,#eef5ff 36%,#cae1ff 100%)}
  .hero-content{max-width:1024px}
  .hero-text{left:7.32%;top:58px}
  .hero h1{font-size:43px;letter-spacing:-1.35px;line-height:1.34}
  .hero h1{width:max-content;transform:skewX(-3deg) scaleX(1.13);transform-origin:left center}
  .hero p{font-size:17px;margin-top:25px;line-height:1.67}
  .hero-sparks{left:343px;top:32px}
  .hero-visual{right:1.8%;top:26px;transform:scale(.735);transform-origin:top right}
  .preview-left{left:0;width:198px;height:280px}
  .preview-right{right:66px;top:98px;width:199px;height:282px}
  .resume-main{left:127px}
  .word-cube{width:86px;height:86px;right:145px;bottom:30px}
  .word-cube b{font-size:47px}

  .stats{max-width:954px;width:calc(100% - 70px);height:74px;border-radius:16px}
  .stat{gap:12px}
  .stat-icon{width:47px;height:47px}
  .stat-icon .icon{width:28px;height:28px}
  .stat strong{font-size:21px}
  .stat small{font-size:12px}
  .stat:not(:last-child)::after{top:23px;height:29px}

  .templates-section{padding:35px 0 0}
  .section-title h2{font-size:29px;letter-spacing:-1px}
  .section-title p{font-size:13px;margin-top:3px}
  .tabs{margin-top:21px;gap:9px}
  .tab{height:36px;font-size:12px;border-radius:22px}
  .template-empty-space{height:295px;margin-top:17px}

  .why-section{padding:32px 0 18px}
  .why-section .content-width,.faq-section .content-width{max-width:930px;width:calc(100% - 94px)}
  .benefit-grid{gap:12px;margin-top:20px}
  .benefit-card{height:86px;padding:10px 11px;gap:11px;border-radius:13px}
  .benefit-icon{width:46px;height:46px;flex-basis:46px}
  .benefit-icon .icon{width:27px;height:27px}
  .benefit-card strong{font-size:14px}
  .benefit-card small{font-size:12px}

  .faq-section{padding:19px 0 40px}
  .faq-list{margin-top:6px;border-radius:12px}
  .faq-list summary{min-height:35px;font-size:14px;padding:0 19px}
  .faq-list details p{font-size:13px;padding:0 20px 14px}
  .site-footer{min-height:83px}
  .site-footer .content-width{max-width:936px;width:calc(100% - 88px)}
  .footer-inner{height:83px}
}

/* Background rebuilt from the final UI artwork: one continuous blue-white
   atmosphere, not separately painted rectangular section backgrounds. */
.home-reference-page{
  position:relative;
  background:
    radial-gradient(ellipse 42% 25% at 0 44%,rgba(207,226,253,.30) 0%,transparent 80%),
    radial-gradient(ellipse 42% 25% at 100% 46%,rgba(199,221,253,.32) 0%,transparent 82%),
    linear-gradient(180deg,#eaf3ff 0%,#f1f6ff 30%,#f8fbff 57%,#f4f8ff 78%,#edf4ff 100%);
}
.home-reference-page .top-gradient,
.home-reference-page .templates-section,
.home-reference-page .why-section,
.home-reference-page .faq-section{background:transparent}
.home-reference-page .templates-section{position:relative;overflow:hidden}
.home-reference-page .templates-section::before,
.home-reference-page .templates-section::after{content:none}
.home-reference-page .why-section{position:relative;overflow:visible;margin-top:0}
.home-reference-page .why-section::before{content:none}
.why-wave{position:absolute;z-index:0;left:0;right:0;top:0;width:100%;height:235px;opacity:.58;pointer-events:none;mask-image:linear-gradient(to bottom,#000 0%,#000 58%,transparent 100%);-webkit-mask-image:linear-gradient(to bottom,#000 0%,#000 58%,transparent 100%)}
.home-reference-page .why-section>.content-width{position:relative;z-index:1}

/* Template gallery: 12 items per page, arranged as a calm 4 × 3 desktop grid. */
.home-reference-page .template-grid{
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:22px 18px;
}
.home-reference-page .template-card{
  height:auto;
  padding:10px 10px 13px;
}
.home-reference-page .card-image{
  height:auto;
  aspect-ratio:210/297;
  border-radius:10px;
  background:#f4f7fc;
}
.home-reference-page .card-image picture,
.home-reference-page .hero-visual picture{
  display:block;
  width:100%;
  height:100%;
}
.home-reference-page .card-image img{
  width:100%;
  height:100%;
  margin:0;
  object-fit:contain;
  object-position:center top;
}
.home-reference-page .template-card h3{
  margin:9px 6px 0;
  line-height:26px;
}
@media(max-width:1199px){
  .home-reference-page .template-grid{gap:17px 13px}
  .home-reference-page .template-card{padding:7px 7px 11px}
  .home-reference-page .template-card h3{margin-top:6px}
}
@media(max-width:800px){
  .home-reference-page .template-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 12px}
}
@media(max-width:430px){
  .home-reference-page .template-card{padding:5px 5px 9px}
  .home-reference-page .template-card h3{margin:4px 4px 0;line-height:23px}
}

/* Homepage category expansion: keep all twelve choices on one desktop row. */
.home-reference-page .hero .title-kicker{
  background:linear-gradient(102deg,#12386f 0%,#1762b4 52%,#0a72ee 100%);
  background-clip:text;
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
  filter:drop-shadow(0 4px 10px rgba(22,88,174,.13));
}
@media (min-width:1200px){
  .home-reference-page .tabs{grid-template-columns:repeat(12,minmax(0,1fr));gap:6px}
  .home-reference-page .tab,.home-reference-page .tab.active{padding:0 2px;font-size:12.5px;letter-spacing:-.15px}
}
@media (min-width:801px) and (max-width:1199px){
  .home-reference-page .tabs{grid-template-columns:repeat(12,minmax(0,1fr));gap:4px}
  .home-reference-page .tab,.home-reference-page .tab.active{padding:0 1px;font-size:12px;letter-spacing:-.25px}
}
.home-reference-page .template-results{position:relative;transition:opacity .18s ease}
.home-reference-page .template-results.is-loading{opacity:.48;pointer-events:none}
