/* TailPact design system / Nov 2026: refined editorial hierarchy across every
   public route. No remote fonts, parallax libraries or layout-dependent timers. */
:root{
  --ui-ink:#1e3b31;
  --ui-ink-soft:#435e51;
  --ui-surface:#fffefa;
  --ui-leaf:#205644;
  --ui-muted:#607568;
  --ui-border:#dce7db;
  --ui-card:rgba(255,255,253,.93);
  --ui-ease:cubic-bezier(.22,1,.36,1);
  --ui-shadow:0 18px 55px rgba(22,59,44,.065);
}
html{scroll-padding-top:112px}
body{background:#fffefa;color:var(--ui-ink);text-rendering:optimizeLegibility;overflow-x:clip}
::selection{background:#dcebd6;color:#193f2e}
h1,h2,h3{font-synthesis:none;text-wrap:balance}
p{overflow-wrap:break-word}
a,button,input,summary,select,textarea{-webkit-tap-highlight-color:transparent}
a:focus-visible,button:focus-visible,summary:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{
  outline:3px solid #b97c59;outline-offset:4px
}
.wrap{width:min(1200px,calc(100% - 76px))}
.eyebrow{font-size:11px;letter-spacing:.11em;line-height:1.65;font-weight:750;color:#5a7964}
.eyebrow .brand-star{color:#bc8468}
.topbar{background:rgba(255,254,251,.94);border-bottom:1px solid rgba(199,218,200,.85);
  box-shadow:0 1px 0 rgba(255,255,255,.7);transition:box-shadow .25s,background .25s}
.topbar.is-scrolled{box-shadow:0 12px 32px rgba(16,61,41,.075);background:rgba(255,254,249,.985)}
.header-inner{min-height:78px;gap:19px}
.brand strong{font-size:25px;letter-spacing:-.055em}
.brand img{object-fit:contain}
.global-nav{gap:16px}
.nav-group summary,.nav-link{font-size:12px;color:#425c4d;font-weight:720;transition:color .2s}
.nav-group summary:hover,.nav-link:hover,.nav-group[open]>summary{color:#246248}
.nav-panel{box-shadow:0 22px 50px rgba(27,68,47,.13);border:1px solid #dce8db;border-radius:17px;
  padding:10px;min-width:240px}
.nav-panel a{transition:background .18s,color .18s,transform .18s}
.nav-panel a:hover{transform:translateX(3px);background:#eff5ec}
.nav-link.active,.nav-group.active>summary{color:#235940}
.header-actions{gap:13px}
.header-tour{background:#eef5eb!important;border-color:#c9dcca!important;color:#2a6348!important;
  border-radius:11px;font-size:12px;font-weight:780}
.header-tour:hover{background:#deeedf!important}
.header-cta{border-color:#b9d1bf}
.language-switch{font-size:12px}
.button{border-radius:12px;min-height:49px;letter-spacing:0;font-weight:760;
  transition:transform .26s var(--ui-ease),box-shadow .26s var(--ui-ease),background .2s,border-color .2s}
.button:hover{transform:translateY(-2px)}
.button:active{transform:translateY(0)}
.button-primary{background:#215743;box-shadow:0 10px 24px rgba(29,76,49,.15)}
.button-primary:hover{background:#174836;box-shadow:0 15px 30px rgba(29,76,49,.22)}
.button-outline{border-color:#b9cebd;background:rgba(255,255,253,.65)}
.button-outline:hover{background:#e7f1e6;border-color:#9cb89f}
.text-link,.card-link{font-weight:790}
.breadcrumbs{font-size:11px;padding-top:22px;color:#617b6a;gap:10px}
.breadcrumbs [aria-current=page]{color:#466c51}
.page-hero{position:relative;isolation:isolate;overflow:hidden;
 background:radial-gradient(ellipse 52% 85% at 100% 0,rgba(196,223,197,.38),transparent 72%),
   linear-gradient(130deg,#fffdf8 5%,#f3f8f0 92%)}
.page-hero:before{content:"";position:absolute;inset:0;pointer-events:none;z-index:-1;
 background-image:radial-gradient(rgba(42,103,68,.14) .55px,transparent .6px);
 background-size:19px 19px;mask-image:linear-gradient(90deg,transparent 47%,black 100%);opacity:.24}
.page-hero:after{content:"";pointer-events:none;position:absolute;right:-165px;top:-265px;
 width:470px;height:470px;border:1px solid rgba(92,148,107,.13);border-radius:50%}
.hero-layout{min-height:500px;padding:75px 0 84px;gap:clamp(35px,5vw,90px);grid-template-columns:minmax(0,1fr) minmax(0,.98fr)}
.home-hero .hero-layout{min-height:610px}
.hero-copy{max-width:660px}
.hero-copy h1{font-size:clamp(42px,4.7vw,67px);letter-spacing:-.052em;line-height:1.11;color:#193e2f;
 margin:22px 0 25px;font-weight:820}
.interior-hero .hero-copy h1{font-size:clamp(37px,4.3vw,59px)}
.hero-lead{font-size:clamp(15px,1.15vw,17px);max-width:570px;color:#4f6859;line-height:1.85;font-weight:430}
.hero-buttons{gap:13px 22px;margin-top:29px}
.hero-visual{max-width:565px;filter:drop-shadow(0 8px 12px rgba(22,57,43,.035))}
.visual-orbit{background:radial-gradient(ellipse at 30% 22%,#deeddc,#f2efe1 70%,#f5e5d8);opacity:.9}
.sample-window{border:1px solid #dbe8dc;border-radius:21px;
 box-shadow:0 26px 60px rgba(23,68,43,.11),inset 0 1px 0 #fff;padding:clamp(21px,2.4vw,31px);
 transition:transform .45s var(--ui-ease),box-shadow .45s var(--ui-ease)}
.hero-visual:hover .sample-window{transform:translateY(-5px);
 box-shadow:0 29px 68px rgba(23,68,43,.15)}
.sample-top{line-height:1.4}
.sample-tag{background:#e4efe5;color:#366c48}
.sample-stats div{background:#f4f8f1}
.sample-stats strong{letter-spacing:-.06em}
.visual-caption{margin-top:14px;color:#809383;letter-spacing:.02em;font-size:10px}
.preview-note{display:none}
/* Editorial-style interior pages replace repetitive product mockups with
   direct navigation to the information visitors actually need. */
.editorial-hero .hero-layout{min-height:370px;padding-top:60px;padding-bottom:67px;align-items:center}
.editorial-hero .hero-copy h1{max-width:720px;font-size:clamp(36px,4.35vw,58px)}
.editorial-hero .hero-lead{max-width:650px}
.editorial-hero .hero-layout{grid-template-columns:minmax(0,1.16fr) minmax(0,.84fr)}
.quick-panel{background:rgba(255,255,254,.9);border:1px solid #dce8da;border-radius:22px;padding:28px;
 box-shadow:var(--ui-shadow);align-self:center;min-width:0}
.quick-panel-label{display:block;color:#76917a;font-size:11px;letter-spacing:.1em;font-weight:820;margin-bottom:17px}
.quick-panel a{display:flex;gap:16px;align-items:center;justify-content:space-between;
 padding:14px 4px;border-bottom:1px solid #e5ede4;color:#2e513c;font-size:14px;
 font-weight:720;line-height:1.55;transition:padding .18s var(--ui-ease),color .18s}
.quick-panel a:last-of-type{border-bottom:0}
.quick-panel a:hover{padding-left:9px;color:#b16a4d}
.quick-panel a>span:last-child{color:#aa7860;font-size:18px;flex-shrink:0}
.quick-panel-bottom{padding-top:14px;font-size:11px;color:#688471;line-height:1.6}
body[data-page="security"] .page-hero,
body[data-page="consent"] .page-hero{background:linear-gradient(125deg,#f9fbf7,#eaf2ec)}
body[data-page="grooming"] .page-hero,
body[data-page="help-grooming"] .page-hero{background:radial-gradient(circle at 94% 4%,#f9ece1,transparent 48%),linear-gradient(125deg,#fffdfa,#f2f6ee)}
body[data-page="about"] .page-hero{background:radial-gradient(circle at 95% 10%,#e3f0e3,transparent 48%),#f9fbf6}
.content-section{padding-block:clamp(68px,7vw,104px)}
.content-section.section-related{padding-top:clamp(66px,7vw,90px)}
.content-section.section-soft,.content-section.section-audience,
.content-section.section-faq{background:#f7f9f5}
.section-heading{max-width:820px;margin-bottom:37px}
.section-heading h2{font-size:clamp(31px,3.55vw,46px);letter-spacing:-.047em;line-height:1.18;
 font-weight:810;margin-top:12px;margin-bottom:14px}
.section-description{max-width:740px;font-size:15px;line-height:1.8;color:#5e7867}
.cards-grid{gap:17px}
.info-card,.guide-card,.related-card,.product-card,.knowledge-tile,.knowledge-step,.knowledge-question{
 border:1px solid #e0e9dd;border-radius:19px;background:#fff;box-shadow:0 4px 18px rgba(31,69,41,.025);
 transition:transform .28s var(--ui-ease),box-shadow .28s var(--ui-ease),border-color .28s var(--ui-ease)}
.info-card:hover,.guide-card:hover,.related-card:hover,.product-card:hover,
.knowledge-tile:hover,.knowledge-question:hover{
 border-color:#b7d0b7;transform:translateY(-4px);box-shadow:0 19px 41px rgba(31,69,41,.09)}
.info-card{padding:27px 25px;min-height:250px}
.info-card h3,.knowledge-tile h3{font-size:18px;letter-spacing:-.025em;line-height:1.4}
.info-card p,.guide-card p{font-size:13px;line-height:1.8;color:#536b5a}
.card-symbol{width:46px;height:46px;border-radius:14px;margin-bottom:21px;
 font-weight:740;box-shadow:inset 0 1px 0 rgba(255,255,255,.8)}
.card-link{font-size:12px}
.product-card{padding:clamp(28px,3.8vw,44px);min-height:340px}
.product-card h3{font-size:clamp(25px,2.6vw,33px)}
.product-card p{font-size:15px;color:#536f60;line-height:1.78}
.product-card-top{align-items:center}
.product-badge{background:#eff5ed;color:#3f7650}
.product-tags{font-size:12px;color:#54745e}
.related-card{min-height:178px;padding:27px}
.related-card strong{font-size:20px;line-height:1.4;letter-spacing:-.035em}
.guide-card{min-height:255px}
.guide-card h3{font-size:21px}
.steps-grid{gap:27px}
.steps-grid li{border-top:2px solid #d7e5d6;padding:29px 18px 18px 0}
.steps-grid h3{font-size:21px}
.steps-grid p{font-size:14px;color:#5b7664;line-height:1.88}
.step-number{color:#a66f54}
.knowledge-directory{gap:20px}
.knowledge-intro{background:#f2f7f0;padding-block:52px}
.knowledge-prose{max-width:940px;margin-inline:auto}
.knowledge-answer{color:#3c5b4c;line-height:1.83;font-size:clamp(16px,1.6vw,19px)}
.knowledge-step{min-height:220px}
.knowledge-step h2{font-size:21px}
.knowledge-step p{font-size:14px;line-height:1.84;color:#506d5a}
.knowledge-table-wrap{border-radius:18px;box-shadow:0 5px 28px rgba(23,63,44,.035)}
.knowledge-table thead{background:#eaf3e9}
.knowledge-table th,.knowledge-table td{line-height:1.72}
.knowledge-table tbody tr:nth-child(even) td{background:#fbfdf9}
.knowledge-faq-topics{background:#fff;border:1px solid #dce9dd;border-radius:18px}
.status{border-radius:8px;padding:7px 10px;font-size:10px}
.status-pilot{background:#edf5eb;color:#397449}
.status-planned{background:#fbf1e7;color:#956449}
.section-note{background:#fffefa}
.honest-note{max-width:960px;border:1px solid #dce8df;background:#f6faf6;border-radius:16px;
 padding:18px 22px;box-shadow:none}
.honest-note span{font-size:18px;color:#72927c}
.honest-note p{font-size:12px;color:#55715e;line-height:1.75}
.faq-toolbar{box-shadow:0 8px 25px rgba(34,72,48,.04);border-radius:16px}
.faq-toolbar input{min-width:min(365px,100%);font-size:14px}
.faq-list{max-width:1000px}
.faq-item{background:#fff;border:1px solid #e2eae0;border-radius:14px;
 margin-bottom:10px;overflow:hidden;transition:border-color .2s,box-shadow .2s}
.faq-item:first-child{border-top:1px solid #e2eae0}
.faq-item[open]{border-color:#b7d2bd;box-shadow:0 10px 31px rgba(23,58,42,.045)}
.faq-item summary{padding:20px 55px 20px 23px;font-size:15px;font-weight:740;color:#2d503b}
.faq-item summary:after{right:22px;top:14px}
.faq-item[open] summary{color:#215a40}
.faq-answer{padding:0 24px 24px;max-width:860px}
.faq-answer p{font-size:14px;color:#506c5b}
.faq-filters{display:flex;flex-wrap:wrap;gap:9px;margin:0 0 24px}
.faq-filter{padding:10px 17px;border-radius:12px;background:#fff;border:1px solid #d8e6da;
 font-size:12px;font-weight:700;color:#4b6a55;transition:background .2s,border-color .2s}
.faq-filter[aria-pressed=true]{background:#235a42;border-color:#235a42;color:#fff}
.faq-count{font-size:12px;color:#66836d;padding:0 0 16px}
.planner{border-radius:23px;box-shadow:0 20px 52px rgba(23,63,44,.07);padding:clamp(26px,4vw,43px);max-width:980px}
.planner-heading h3{font-size:25px}
.planner-options label{border-radius:13px;transition:background .18s,border-color .18s,box-shadow .18s}
.planner-options label:has(input:checked){background:#edf6eb;border-color:#8ead92;
 box-shadow:inset 0 0 0 1px #accbab}
.planner-result{border-radius:16px;background:#edf6ec;padding:28px}
.story-grid{gap:clamp(35px,5vw,80px)}
.story-grid h2{line-height:1.18}
.story-grid p{line-height:1.9}
.story-panel{box-shadow:0 21px 55px rgba(21,56,39,.18)}
.safety-list{max-width:1040px;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px}
.safety-list article{padding:26px;border-radius:18px}
.safety-list article h3{color:#28503d}
.reading-layout{max-width:1140px;gap:clamp(34px,5vw,90px)}
.article-intro{font-size:17px;color:#4b7057}
.article-sections li{padding:41px 0 40px}
.article-sections h2{line-height:1.22;letter-spacing:-.035em}
.article-sections p{max-width:72ch;line-height:1.93;color:#4f715c}
.sidebar-card{top:113px;background:#f6f9f3;border-radius:17px}
.sidebar-card li{line-height:1.7;margin-bottom:5px}
.sidebar-card a{display:block;padding:4px 0}
.sidebar-card a[aria-current=true]{color:#205a40;font-weight:800}
.closing-section{padding-top:38px;padding-bottom:94px}
.closing-panel{border-radius:27px;padding:clamp(43px,5.8vw,72px);
 box-shadow:0 24px 56px rgba(23,59,39,.13);
 background:radial-gradient(ellipse 60% 90% at 100% -25%,#3f7c62,transparent),
 linear-gradient(125deg,#143b2d,#225d46)}
.closing-panel h2{line-height:1.15;max-width:660px}
.closing-panel p{font-size:15px;color:#e0ebdf}
.site-footer{background:#183b2e;color:#e7f1e7;border-top:1px solid #1b4d3e}
.site-footer .brand strong{color:#f5faf3}
.site-footer .brand small{color:#b4d4bc}
.footer-main{padding:76px 0 58px;gap:34px}
.footer-brand p{color:#d5e9d7;font-size:13px}
.footer-pilot{color:#bed0c1;font-size:11px;line-height:1.7}
.footer-col h3{color:#e1efe0;font-size:13px;margin-bottom:13px}
.footer-col a{color:#becfc0;font-size:12px;transition:color .2s}
.footer-col a:hover{color:#fff}
.footer-bottom{border-color:#3d6552;color:#b3c8bb}
.footer-bottom a:hover{color:#fff}
.site-footer .brand:hover strong{color:#fff}
.reading-progress{position:fixed;top:0;left:0;right:0;height:3px;background:transparent;
 z-index:90;pointer-events:none}
.reading-progress>span{display:block;height:100%;width:0;background:linear-gradient(90deg,#8eba94,#be9074);
 transition:width .12s linear}
[data-reveal].is-pending{opacity:0;transform:translateY(17px);filter:blur(2px)}
[data-reveal].is-visible{opacity:1;transform:translateY(0);filter:blur(0);
 transition:opacity .65s var(--ui-ease),transform .65s var(--ui-ease),filter .65s var(--ui-ease)}
/* Ensure no content is trapped invisible when users jump by anchor or print. */
@media print{[data-reveal]{opacity:1!important;transform:none!important;filter:none!important}.reading-progress{display:none}}
@media(max-width:1160px){
 .wrap{width:min(1120px,calc(100% - 56px))}
 .header-inner{gap:12px}
 .global-nav{gap:11px}
 .header-tour{display:none!important}
 .hero-layout{gap:40px}
 .cards-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
 .footer-main{grid-template-columns:1.5fr repeat(2,minmax(0,1fr))}
}
@media(max-width:1100px){
 .header-inner{min-height:74px}
 .global-nav{position:absolute;left:0;right:0;top:74px;margin:0;padding:12px 30px 26px;
 background:#fffefa;box-shadow:0 25px 43px rgba(18,58,41,.12);
 display:none;flex-direction:column;align-items:stretch;gap:3px;max-height:calc(100dvh - 77px);
 overflow:auto;border-bottom:1px solid #d8e5d8}
 .global-nav.open{display:flex}
 .menu-toggle{display:flex;flex-direction:column;align-items:center;justify-content:center;
 gap:5px;padding:11px;border:0;background:transparent;margin-left:4px}
 .menu-toggle span{width:24px;height:2px;background:#225742;border-radius:3px;
 transition:transform .2s,opacity .2s}
 .menu-toggle[aria-expanded=true] span:first-child{transform:translateY(7px) rotate(45deg)}
 .menu-toggle[aria-expanded=true] span:nth-child(2){opacity:0}
 .menu-toggle[aria-expanded=true] span:last-child{transform:translateY(-7px) rotate(-45deg)}
 .header-actions{margin-left:auto}
 .nav-group,.nav-link{width:100%;border-bottom:1px solid #eef2eb}
 .nav-group summary,.nav-link{padding:15px 7px;font-size:14px}
 .nav-panel{position:static;box-shadow:none;border:0;padding:5px 0 14px 14px;
 border-radius:0;min-width:0;background:#f7faf4}
 .nav-panel:before{display:none}
 .nav-panel a{font-size:13px;padding:11px 13px}
 .mobile-workspace{display:block;padding:17px 8px;color:#205640;font-weight:800}
 .hero-layout{gap:38px}
}
@media(max-width:900px){
 .wrap{width:min(760px,calc(100% - 46px))}
 .hero-layout,.home-hero .hero-layout,.editorial-hero .hero-layout{
  grid-template-columns:1fr;gap:28px;min-height:0;padding:53px 0 64px}
 .hero-copy h1,.interior-hero .hero-copy h1{font-size:clamp(38px,6.4vw,58px)}
 .hero-visual{max-width:650px}
 .quick-panel{max-width:650px}
 .content-section{padding-block:73px}
 .cards-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .footer-main{grid-template-columns:repeat(3,minmax(0,1fr));gap:30px}
 .footer-brand{grid-column:1/-1}
 .safety-list{grid-template-columns:1fr}
 .story-grid{gap:35px}
 .reading-layout{grid-template-columns:minmax(0,1fr) 215px;gap:32px}
}
@media(max-width:660px){
 html{scroll-padding-top:88px}
 .wrap{width:calc(100% - 36px)}
 .hero-layout,.home-hero .hero-layout,.editorial-hero .hero-layout{padding-top:45px;padding-bottom:50px}
 .breadcrumbs{padding-top:14px;font-size:10px}
 .eyebrow{font-size:10px;letter-spacing:.085em}
 .hero-copy h1,.interior-hero .hero-copy h1,.editorial-hero .hero-copy h1{
  font-size:clamp(34px,9vw,45px);line-height:1.14;margin:18px 0}
 .hero-lead{font-size:14px;line-height:1.82}
 .hero-buttons{gap:12px}
 .hero-buttons .button{width:100%}
 .hero-buttons .text-link{margin-top:8px}
 .quick-panel{padding:21px;border-radius:17px}
 .quick-panel a{padding:12px 1px}
 .sample-window{padding:18px}
 .content-section{padding-block:62px}
 .section-heading{margin-bottom:28px}
 .section-heading h2{font-size:clamp(28px,7.6vw,36px)}
 .section-description{font-size:14px}
 .cards-grid,.products-grid,.steps-grid,.related-grid,.guide-grid,.story-grid,.reading-layout,
 .knowledge-directory,.knowledge-steps,.knowledge-questions{grid-template-columns:1fr}
 .info-card,.guide-card{min-height:0;padding:25px}
 .related-card{min-height:135px;padding:23px}
 .product-card{min-height:280px;padding:27px}
 .product-card h3{font-size:26px}
 .steps-grid{gap:15px}
 .steps-grid li{padding:23px 0}
 .faq-toolbar{flex-direction:column;align-items:stretch;padding:18px}
 .faq-toolbar input{width:100%;min-width:0}
 .faq-filter{padding:10px 12px;font-size:11px}
 .faq-item summary{font-size:14px;line-height:1.55;padding:19px 46px 19px 17px}
 .faq-item summary:after{right:18px}
 .faq-answer{padding:0 17px 21px}
 .planner{padding:23px}
 .safety-list article{padding:20px}
 .reading-layout{gap:25px}
 .sidebar-card{position:static}
 .closing-panel{padding:40px 27px}
 .closing-panel h2{font-size:33px}
 .footer-main{grid-template-columns:repeat(2,minmax(0,1fr));padding:55px 0 45px;gap:29px}
 .footer-brand{grid-column:1/-1}
 .footer-bottom{flex-wrap:wrap;padding-bottom:30px;gap:15px}
}
@media(max-width:385px){
 .header-inner{gap:9px}
 .brand strong{font-size:21px}
 .brand img{width:36px;height:36px}
 .language-switch{font-size:11px;gap:4px}
 .quick-panel a{font-size:13px}
}
@media(prefers-reduced-motion:reduce){
 html{scroll-behavior:auto}
 .topbar,.sample-window,.info-card,.guide-card,.related-card,.product-card,.knowledge-tile,.knowledge-question,
 .button,.nav-panel a,[data-reveal],.menu-toggle span{transition:none!important;transform:none!important}
 [data-reveal]{opacity:1!important;filter:none!important}
}
