/* PicPrep home redesign (2026-11-02) — loaded after style.css */
:root{
 --hp-ink:#0f1b2d;--hp-muted:#55667d;--hp-line:#dde3ec;--hp-paper:#f4f7fb;--hp-tint:#e8f0fe;
 --hp-blue:#1463f3;--hp-blue-deep:#0b45c2;--hp-green:#0b8a4b;--hp-green-tint:#e3f5ea;
 --hp-sans:"Yu Gothic UI","Hiragino Sans","Hiragino Kaku Gothic ProN","Meiryo",system-ui,sans-serif;
 --hp-mono:"Cascadia Mono","Consolas",ui-monospace,"SFMono-Regular",monospace;
}
body{font-family:var(--hp-sans);color:var(--hp-ink);line-height:1.8;-webkit-font-smoothing:antialiased}
.hp-wrap{width:min(1160px,calc(100% - 48px));margin:0 auto}
.hp-section{padding:112px 0}
.hp-section--paper{background:var(--hp-paper)}
.hp-h2{margin:0;font-size:clamp(28px,3.4vw,40px);line-height:1.35;font-weight:800;letter-spacing:-.02em}
.hp-intro{max-width:620px;margin:16px 0 0;font-size:16px;line-height:1.9;color:var(--hp-muted)}
.hp-head{max-width:760px}
.hp-head--center{margin:0 auto;text-align:center}
.hp-head--center .hp-intro{margin-left:auto;margin-right:auto}

/* top bar + header */
.preview{background:var(--hp-ink);font-size:12px;letter-spacing:.04em;padding:7px 12px}
header.wrap{width:min(1160px,calc(100% - 48px));height:68px;padding:0;border:0}
header .brand{display:flex;align-items:center;gap:10px;color:var(--hp-ink);text-decoration:none;font-size:17px;font-weight:800;letter-spacing:-.01em}
header .brand img{width:32px;height:32px;border-radius:9px}
header nav{display:flex;align-items:center;gap:26px}
header nav a{font-size:14px;color:var(--hp-muted);text-decoration:none;white-space:nowrap}
header nav a:hover{color:var(--hp-ink)}
header nav a[aria-current="page"]{color:var(--hp-ink);font-weight:700}
header nav .header-download{background:var(--hp-blue);color:#fff;font-weight:700;padding:8px 16px;border-radius:8px}
header nav .header-download:hover{background:var(--hp-blue-deep);color:#fff}

/* buttons */
.hp-btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:52px;padding:0 24px;border-radius:10px;font-size:16px;font-weight:700;line-height:1.3;text-decoration:none;border:0;cursor:pointer}
.hp-btn svg{flex:none}
.hp-btn--primary{background:var(--hp-blue);color:#fff;box-shadow:0 6px 18px #1463f33d}
.hp-btn--primary:hover{background:var(--hp-blue-deep)}
.hp-btn--line{background:#fff;color:var(--hp-ink);border:1px solid var(--hp-line)}
.hp-btn--line:hover{border-color:#b9c6d8;background:#fafcff}
.hp-btn--quiet{min-height:44px;padding:0 4px;background:none;color:var(--hp-blue);font-size:15px}
.hp-btn--quiet:hover{text-decoration:underline;text-underline-offset:4px}

/* hero */
.hp-hero{padding:72px 0 96px;background:linear-gradient(180deg,#fff 0%,#f6f9ff 100%);border-bottom:1px solid #edf1f6}
.hp-hero-grid{display:grid;grid-template-columns:minmax(0,11fr) minmax(0,10fr);gap:56px;align-items:center}
.hp-kicker{display:inline-block;margin:0 0 22px;padding:5px 12px;border-radius:6px;background:var(--hp-tint);color:var(--hp-blue-deep);font-size:13px;font-weight:700;line-height:1.5}
.hp-hero h1{margin:0;font-size:clamp(36px,4.6vw,64px);line-height:1.2;font-weight:800;letter-spacing:-.035em}.hp-hero h1 span{display:block;white-space:nowrap;color:inherit}
.hp-lead{max-width:30em;margin:26px 0 0;font-size:17px;line-height:1.95;color:var(--hp-muted)}
.hp-actions{display:flex;flex-wrap:wrap;align-items:center;gap:14px 20px;margin-top:34px}
.hp-meta{margin:18px 0 0;font-size:13px;line-height:1.7;color:var(--hp-muted)}

/* hero: before / after file list — the signature element */
.hp-files{margin:0;background:#fff;border:1px solid var(--hp-line);border-radius:16px;box-shadow:0 30px 60px -20px #0f2a5a2e,0 2px 6px #0f2a5a0d;overflow:hidden}
.hp-files-head{display:grid;grid-template-columns:1fr 28px 1.1fr;gap:12px;padding:14px 22px;background:#f7f9fc;border-bottom:1px solid var(--hp-line);font-size:12px;font-weight:700;color:var(--hp-muted)}
.hp-files-head span:last-child{grid-column:3}
.hp-files ol{margin:0;padding:6px 0;list-style:none}
.hp-files li{display:grid;grid-template-columns:1fr 28px 1.1fr;gap:12px;align-items:center;padding:14px 22px;border-top:1px solid #eef2f7}
.hp-files li:first-child{border-top:0}
.hp-file{min-width:0;display:flex;flex-direction:column;gap:2px}
.hp-file code{font-family:var(--hp-mono);font-size:14px;line-height:1.5;color:var(--hp-ink);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.hp-file--before code{color:#6b7a8f}
.hp-file small{font-size:12px;line-height:1.5;color:var(--hp-muted)}
.hp-file--after small{display:flex;gap:8px;align-items:center}
.hp-file--after b{font-weight:700;color:var(--hp-green);background:var(--hp-green-tint);border-radius:4px;padding:0 6px}
.hp-arrow{width:28px;height:28px;color:#9aabc2}
.hp-files figcaption{padding:12px 22px 16px;font-size:12px;line-height:1.7;color:var(--hp-muted);background:#fbfcfe;border-top:1px solid #eef2f7}
@media (prefers-reduced-motion:no-preference){
 .hp-files .hp-file--after,.hp-files .hp-arrow{animation:hp-reveal .5s cubic-bezier(.2,.7,.2,1) both}
 .hp-files li:nth-child(1) .hp-arrow{animation-delay:.45s}.hp-files li:nth-child(1) .hp-file--after{animation-delay:.55s}
 .hp-files li:nth-child(2) .hp-arrow{animation-delay:.65s}.hp-files li:nth-child(2) .hp-file--after{animation-delay:.75s}
 .hp-files li:nth-child(3) .hp-arrow{animation-delay:.85s}.hp-files li:nth-child(3) .hp-file--after{animation-delay:.95s}
 .hp-files li:nth-child(4) .hp-arrow{animation-delay:1.05s}.hp-files li:nth-child(4) .hp-file--after{animation-delay:1.15s}
}
@keyframes hp-reveal{from{opacity:0;transform:translateX(-10px)}to{opacity:1;transform:none}}

/* product shot with numbered markers (markers are keys to the legend) */
.hp-shot{position:relative;margin:56px 0 0}
.hp-shot-frame{position:relative;border-radius:14px;overflow:hidden;border:1px solid #d6deea;box-shadow:0 40px 80px -30px #0f2a5a40;background:#fff}
.hp-shot-frame img{display:block;width:100%;height:auto}
.hp-pin{position:absolute;width:34px;height:34px;margin:-17px 0 0 -17px;border-radius:50%;background:var(--hp-blue);color:#fff;font-size:15px;font-weight:800;line-height:34px;text-align:center;box-shadow:0 0 0 5px #1463f340,0 4px 10px #0f2a5a40}
.hp-legend{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:32px;margin:36px 0 0;padding:0;list-style:none;counter-reset:hp}
.hp-legend li{display:grid;grid-template-columns:30px 1fr;gap:4px 14px;counter-increment:hp}
.hp-legend li::before{content:counter(hp);grid-row:span 2;width:30px;height:30px;border-radius:50%;background:var(--hp-blue);color:#fff;font-size:14px;font-weight:800;line-height:30px;text-align:center}
.hp-legend b{font-size:16px;line-height:1.5}
.hp-legend span{font-size:14px;line-height:1.75;color:var(--hp-muted)}

/* features: alternating rows with real crops */
.hp-feature-list{display:grid;gap:96px;margin-top:64px}
.hp-feature{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);gap:64px;align-items:center}
.hp-feature:nth-child(even) .hp-feature-text{order:2}
.hp-feature h3{margin:0;font-size:26px;line-height:1.45;font-weight:800;letter-spacing:-.015em}
.hp-feature p{margin:14px 0 0;font-size:16px;line-height:1.95;color:var(--hp-muted)}
.hp-feature ul{margin:20px 0 0;padding:0;list-style:none;display:grid;gap:10px}
.hp-feature li{position:relative;padding-left:22px;font-size:15px;line-height:1.7}
.hp-feature li::before{content:"";position:absolute;left:2px;top:.62em;width:8px;height:8px;border-radius:2px;background:var(--hp-blue)}
.hp-feature figure{margin:0}
.hp-feature img{display:block;width:100%;height:auto;border-radius:12px;border:1px solid #d6deea;box-shadow:0 24px 48px -24px #0f2a5a40;background:#fff}
.hp-feature--tall figure{display:flex;justify-content:center;padding:28px;border-radius:16px;background:linear-gradient(160deg,#eaf1ff,#f6f9ff)}
.hp-feature--tall img{width:min(360px,100%)}

/* how to + video */
.hp-how-grid{display:grid;grid-template-columns:minmax(0,4fr) minmax(0,7fr);gap:56px;align-items:start;margin-top:56px}
.hp-steps{margin:0;padding:0;list-style:none;counter-reset:st}
.hp-steps li{position:relative;padding:0 0 30px 58px;counter-increment:st}
.hp-steps li::before{content:counter(st);position:absolute;left:0;top:0;width:40px;height:40px;border-radius:12px;background:#fff;border:2px solid var(--hp-blue);color:var(--hp-blue);font-size:17px;font-weight:800;line-height:36px;text-align:center}
.hp-steps li:not(:last-child)::after{content:"";position:absolute;left:19px;top:48px;bottom:6px;width:2px;background:#cfdcf3}
.hp-steps b{display:block;font-size:18px;line-height:1.5;padding-top:6px}
.hp-steps span{display:block;margin-top:6px;font-size:15px;line-height:1.8;color:var(--hp-muted)}
.hp-how-links{display:flex;flex-wrap:wrap;gap:12px;margin-top:6px}
.hp-video{margin:0;border-radius:14px;overflow:hidden;background:#0b1636;box-shadow:0 30px 60px -28px #0f2a5a66}
.hp-video video{display:block;width:100%;height:auto;aspect-ratio:16/9;background:#0b1636}
.hp-video figcaption{display:flex;justify-content:space-between;gap:12px;padding:12px 18px;background:#fff;border:1px solid var(--hp-line);border-top:0;border-radius:0 0 14px 14px;font-size:14px;color:var(--hp-muted)}
.hp-video figcaption b{color:var(--hp-ink)}

/* safety + specs */
.hp-trust{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:40px;margin:56px 0 0;padding:0;list-style:none}
.hp-trust li{padding-top:22px;border-top:3px solid var(--hp-ink)}
.hp-trust b{display:block;font-size:19px;line-height:1.5}
.hp-trust p{margin:10px 0 0;font-size:15px;line-height:1.85;color:var(--hp-muted)}
.hp-spec{margin:64px 0 0;border:1px solid var(--hp-line);border-radius:14px;background:#fff;overflow:hidden}
.hp-spec dl{margin:0}
.hp-spec dl>div{display:grid;grid-template-columns:200px 1fr;gap:24px;padding:18px 28px;border-top:1px solid #edf1f6}
.hp-spec dl>div:first-child{border-top:0}
.hp-spec dt{font-weight:700;font-size:15px}
.hp-spec dd{margin:0;font-size:15px;line-height:1.8;color:#34445a}
.hp-spec dd small{display:block;margin-top:4px;font-size:13px;color:var(--hp-muted)}
.hp-chips{display:flex;flex-wrap:wrap;gap:6px;margin:0;padding:0;list-style:none}
.hp-chips li{font-family:var(--hp-mono);font-size:13px;padding:2px 10px;border-radius:6px;background:var(--hp-paper);border:1px solid var(--hp-line)}
.hp-chips li.is-key{background:var(--hp-tint);border-color:#c6d8fb;color:var(--hp-blue-deep);font-weight:700}

/* pricing */
.hp-plans{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin-top:48px;align-items:stretch}
.hp-plan{display:flex;flex-direction:column;padding:32px 28px;border-radius:16px;background:#fff;border:1px solid var(--hp-line)}
.hp-plan--pick{border:2px solid var(--hp-blue);box-shadow:0 24px 48px -28px #1463f366}
.hp-plan h3{margin:0;font-size:18px;line-height:1.5}
.hp-plan .hp-price{margin:10px 0 0;font-size:40px;line-height:1.2;font-weight:800;letter-spacing:-.02em}
.hp-plan .hp-price small{margin-left:6px;font-size:14px;font-weight:600;color:var(--hp-muted)}
.hp-plan p.hp-plan-text{flex:1;margin:16px 0 24px;font-size:14px;line-height:1.85;color:var(--hp-muted)}
.hp-plan .hp-btn{width:100%}
.hp-plan-note{margin:28px 0 0;font-size:14px;line-height:1.9;color:var(--hp-muted)}
.hp-plan-note a{color:var(--hp-blue)}
.preview-purchase-links{display:flex;flex-wrap:wrap;gap:8px 18px;margin-top:10px;font-size:13px;color:var(--hp-muted)}

/* faq */
.hp-faq{max-width:820px;margin:48px auto 0}
.hp-faq details{border:0;border-bottom:1px solid var(--hp-line);padding:0}
.hp-faq summary{display:flex;justify-content:space-between;gap:20px;align-items:center;padding:22px 4px;list-style:none;font-size:16px;font-weight:700;cursor:pointer}
.hp-faq summary::-webkit-details-marker{display:none}
.hp-faq summary::after{content:"";flex:none;width:10px;height:10px;border-right:2px solid var(--hp-muted);border-bottom:2px solid var(--hp-muted);transform:rotate(45deg) translateY(-3px);transition:transform .2s}
.hp-faq details[open] summary::after{transform:rotate(-135deg) translateY(-2px)}
.hp-faq details p{margin:0 4px 16px;font-size:15px;line-height:1.95;color:#3c4c62}
.hp-faq details p:last-child{margin-bottom:24px}

/* download */
.hp-download{background:var(--hp-ink);color:#e6edf8}
.hp-download .hp-h2{color:#fff}
.hp-download .hp-intro{color:#b8c6dc}
.hp-dl-card{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:40px;margin-top:48px;padding:40px;border-radius:18px;background:#fff;color:var(--hp-ink)}
.hp-dl-name{display:flex;align-items:center;gap:14px}
.hp-dl-name img{width:52px;height:52px;border-radius:12px}
.hp-dl-name h3{margin:0;font-size:20px;line-height:1.4}
.hp-dl-name p{margin:0;font-size:13px;color:var(--hp-muted)}
.hp-dl-meta{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 24px;margin:28px 0 0}
.hp-dl-meta dt{font-size:12px;color:var(--hp-muted)}
.hp-dl-meta dd{margin:2px 0 0;font-size:15px;font-weight:700}
.hp-dl-action .hp-btn{width:100%}
.hp-dl-action>p{margin:14px 0 0;font-size:13px;line-height:1.85;color:var(--hp-muted)}
.hp-download .smartscreen-help{margin-top:18px;padding:16px 18px;border:1px solid #dce5ef;border-radius:12px;background:#f7f9fc;color:#334155;font-size:14px;line-height:1.85}
.hp-download .smartscreen-help summary{cursor:pointer;font-weight:700;font-size:14px;line-height:1.6}
.hp-download .smartscreen-help p{margin:12px 0 0;color:#334155;font-size:14px}
.hp-download .smartscreen-help ol{padding-left:22px;margin:12px 0}
.hp-download .smartscreen-help li+li{margin-top:10px}
.hp-download .smartscreen-help a{color:#0b45c2;text-decoration:underline}

/* video dialog */
.hp-dialog{width:min(1040px,calc(100% - 32px));padding:0;border:0;border-radius:14px;background:#0b1636;box-shadow:0 40px 100px #0008}
.hp-dialog::backdrop{background:#0b1636d9}
.hp-dialog video{display:block;width:100%;height:auto;aspect-ratio:16/9}
.hp-dialog-bar{display:flex;justify-content:space-between;align-items:center;padding:10px 12px 10px 18px;color:#dbe5f7;font-size:14px}
.hp-dialog-close{border:0;border-radius:8px;background:#ffffff1f;color:#fff;font-size:14px;font-weight:700;padding:8px 14px}
.hp-dialog-close:hover{background:#ffffff33}

/* footer (shared markup) */
.fgr-footer{padding:56px 0;background:#0a1322;color:#99a1af;line-height:1.5}
.fgr-container{width:min(1160px,calc(100% - 48px));margin:0 auto}
.fgr-footer-top{display:flex;align-items:flex-start;justify-content:space-between;gap:32px;padding-bottom:32px;border-bottom:1px solid #1e2939}
.fgr-footer .fgr-footer-brand{display:flex;flex:none;align-items:center;gap:10px;color:#fff;font-size:15px;font-weight:700;text-decoration:none}
.fgr-footer-brand img{display:block;width:28px;height:28px;border-radius:8px}
.fgr-footer .fgr-footer-links{display:flex;flex-wrap:wrap;gap:8px 20px;max-width:692px}
.fgr-footer .fgr-footer-links a{font-size:14px;line-height:20px;color:#a9b3c2;text-decoration:none}
.fgr-footer .fgr-footer-links a:hover{color:#fff;text-decoration:underline}
.fgr-footer-bottom{display:flex;align-items:center;justify-content:space-between;gap:16px;padding-top:32px}
.fgr-footer .fgr-footer-company{margin:0;font-size:14px;font-weight:500;color:#d1d5dc}
.fgr-footer .fgr-footer-domain{margin:4px 0 0;font-size:12px;color:#7fb2ff}
.fgr-footer .fgr-footer-copy{margin:0;font-size:12px;color:#7a8597}
.fgr-footer .fgr-footer-guard{margin:16px 0 0;font-size:12px;color:#99a1af}

/* focus */
.hp-btn:focus-visible,.hp-faq summary:focus-visible,header a:focus-visible{outline:3px solid #0b45c2;outline-offset:3px}

/* responsive */
@media(max-width:960px){
 .hp-section{padding:88px 0}
 .hp-hero{padding:48px 0 72px}
 .hp-hero-grid{grid-template-columns:1fr;gap:44px}
 .hp-feature,.hp-feature:nth-child(even){grid-template-columns:1fr;gap:28px}
 .hp-feature:nth-child(even) .hp-feature-text{order:0}
 .hp-feature-list{gap:72px}
 .hp-how-grid{grid-template-columns:1fr;gap:40px}
 .hp-how-grid .hp-video{order:-1}
 .hp-plans{grid-template-columns:1fr;max-width:520px;margin-left:auto;margin-right:auto}
 .hp-dl-card{grid-template-columns:1fr;padding:28px}
 .hp-legend{grid-template-columns:1fr;gap:18px}
 .hp-trust{grid-template-columns:1fr;gap:28px}
}
@media(max-width:700px){
 header.wrap{height:60px}
 header nav{gap:14px}
 header .brand{font-size:15px}header .brand img{width:28px;height:28px}
 header nav .optional-nav{display:none}
 header nav a{font-size:13px}
 header nav .header-download{padding:7px 12px}
 .hp-section{padding:72px 0}
 .hp-wrap,.fgr-container{width:calc(100% - 36px)}
 .hp-lead{font-size:16px}
 .hp-actions .hp-btn--primary{width:100%}
 .hp-files-head{display:none}
 .hp-files li{grid-template-columns:1fr;gap:4px;padding:14px 18px}
 .hp-arrow{display:none}
 .hp-file--after{padding-left:14px;border-left:2px solid #cfe9da}
 .hp-pin{width:24px;height:24px;margin:-12px 0 0 -12px;font-size:12px;line-height:24px;box-shadow:0 0 0 3px #1463f340}
 .hp-shot{margin-top:40px}
 .hp-feature h3{font-size:22px}
 .hp-spec dl>div{grid-template-columns:1fr;gap:6px;padding:16px 18px}
 .hp-dl-meta{grid-template-columns:1fr 1fr}
 .fgr-footer-top{flex-direction:column;gap:24px}
 .fgr-footer-bottom{flex-direction:column;align-items:flex-start}
}
@media(max-width:420px){header nav{gap:12px}header nav a[href="#faq"],header nav a[href="/#faq"]{display:none}.hp-hero h1{font-size:34px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}
