/* Agatiy Groom — terms page v1 */
.terms-page{
  min-height:100vh;
  background:
    radial-gradient(circle at 92% 5%,rgba(255,90,31,.05),transparent 22%),
    var(--bg);
}
.terms-hero{
  position:relative;
  overflow:hidden;
  border-bottom:1px solid rgba(33,21,15,.08);
  background:linear-gradient(135deg,#fff9f1 0%,#f7ebe0 100%);
}
.terms-hero:before{
  content:"";
  position:absolute;
  right:-52px;
  top:-62px;
  width:270px;
  height:270px;
  background:url("decor-paw.svg") center/contain no-repeat;
  opacity:.085;
  transform:rotate(12deg);
  pointer-events:none;
}
.terms-hero:after{
  content:"";
  position:absolute;
  left:-76px;
  bottom:-78px;
  width:235px;
  height:170px;
  background:url("decor-swirl.svg") center/contain no-repeat;
  opacity:.13;
  pointer-events:none;
}
.terms-hero-inner{
  position:relative;
  z-index:1;
  max-width:1180px;
  margin:0 auto;
  padding:54px 32px 46px;
}
.terms-breadcrumbs{
  display:flex;
  align-items:center;
  gap:7px;
  margin-bottom:16px;
  color:var(--muted);
  font-size:9px;
  font-weight:760;
}
.terms-breadcrumbs a:hover{color:var(--accent)}
.terms-hero .eyebrow{margin-bottom:9px}
.terms-hero h1{
  max-width:760px;
  margin:0 0 13px;
  font-size:clamp(42px,5vw,64px);
  line-height:.94;
  letter-spacing:-.042em;
}
.terms-lead{
  max-width:720px;
  margin:0;
  color:#695b52;
  font-size:13px;
  line-height:1.58;
}
.terms-meta{
  display:flex;
  gap:5px;
  flex-wrap:wrap;
  margin-top:17px;
}
.terms-meta span{
  min-height:24px;
  display:inline-flex;
  align-items:center;
  padding:0 8px;
  border:1px solid #e3d6cb;
  border-radius:5px;
  background:rgba(255,253,249,.72);
  color:#76675e;
  font-size:8px;
  font-weight:820;
}
.terms-layout{
  display:grid;
  grid-template-columns:220px minmax(0,1fr);
  gap:30px;
  max-width:1120px;
  margin:0 auto;
  padding:38px 32px 60px;
}
.terms-aside{
  position:sticky;
  top:86px;
  align-self:start;
  display:grid;
  gap:8px;
}
.terms-card{
  padding:12px;
  border:1px solid var(--line);
  border-radius:5px;
  background:rgba(255,253,249,.92);
}
.terms-card>b{
  display:block;
  margin-bottom:9px;
  font-size:9px;
  text-transform:uppercase;
  letter-spacing:.09em;
}
.terms-card dl{display:grid;gap:7px;margin:0}
.terms-card dl>div{
  padding-top:7px;
  border-top:1px solid rgba(33,21,15,.07);
}
.terms-card dl>div:first-child{padding-top:0;border-top:0}
.terms-card dt{
  color:#9a877b;
  font-size:7px;
  font-weight:850;
  text-transform:uppercase;
  letter-spacing:.08em;
}
.terms-card dd{
  margin:2px 0 0;
  color:var(--ink);
  font-size:9px;
  font-weight:700;
  line-height:1.35;
}
.terms-toc{
  display:grid;
  gap:2px;
  padding:5px;
  border:1px solid var(--line);
  border-radius:5px;
  background:rgba(255,253,249,.76);
}
.terms-toc a{
  display:block;
  padding:6px 7px;
  border-radius:4px;
  color:#74645b;
  font-size:8px;
  font-weight:760;
  line-height:1.25;
  transition:.15s ease;
}
.terms-toc a:hover,
.terms-toc a.is-active{
  background:#fff0e6;
  color:var(--accent);
}
.terms-toc a.is-active{box-shadow:inset 2px 0 0 var(--accent)}
.terms-content{
  min-width:0;
  display:grid;
  gap:8px;
}
.terms-intro-note{
  margin:0;
  padding:11px 13px;
  border:1px solid #ead9cc;
  border-radius:5px;
  background:#fff4ec;
  color:#6a594f;
  font-size:10px;
  line-height:1.5;
}
.terms-section{
  position:relative;
  display:grid;
  grid-template-columns:88px minmax(0,1fr);
  gap:16px;
  padding:18px;
  border:1px solid var(--line);
  border-radius:5px;
  background:rgba(255,253,249,.92);
  box-shadow:0 5px 20px rgba(33,21,15,.022);
  scroll-margin-top:94px;
}
.terms-section:before{
  content:"";
  position:absolute;
  inset:0;
  border-radius:inherit;
  background:linear-gradient(90deg,rgba(255,90,31,.025),transparent 24%);
  pointer-events:none;
}
.terms-section-head,.terms-section-body{position:relative;z-index:1;min-width:0}
.terms-section-number{
  display:grid;
  place-items:center;
  width:33px;
  height:25px;
  margin-bottom:8px;
  border:1px solid #f0cdbd;
  border-radius:4px;
  background:#fff2e9;
  color:var(--accent);
  font-size:8px;
  font-weight:900;
  letter-spacing:.06em;
}
.terms-section h2{
  margin:0;
  font-size:19px;
  line-height:1.06;
  letter-spacing:-.018em;
}
.terms-section-body{padding-top:1px}
.terms-section p{
  max-width:720px;
  margin:0 0 8px;
  color:#675950;
  font-size:11px;
  line-height:1.62;
}
.terms-section p:last-child{margin-bottom:0}
.terms-section ul{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:5px;
  max-width:760px;
  margin:10px 0 0;
  padding:0;
  list-style:none;
}
.terms-section li{
  position:relative;
  min-height:34px;
  display:flex;
  align-items:center;
  padding:7px 9px 7px 26px;
  border:1px solid #eadfd6;
  border-radius:5px;
  background:#fffaf6;
  color:#62554d;
  font-size:9px;
  line-height:1.35;
}
.terms-section li:before{
  content:"";
  position:absolute;
  left:10px;
  top:50%;
  width:6px;
  height:6px;
  margin-top:-3px;
  border-radius:50%;
  background:var(--accent);
  box-shadow:0 0 0 3px rgba(255,90,31,.08);
}
.terms-contact{
  display:grid;
  grid-template-columns:minmax(0,1fr) 190px;
  gap:18px;
  align-items:center;
  margin-top:6px;
  padding:18px;
  border:1px solid #efcdbd;
  border-radius:5px;
  background:linear-gradient(135deg,#fff1e8,#fff8f2);
}
.terms-contact h2{margin:0 0 5px;font-size:24px;line-height:1.02}
.terms-contact p{max-width:620px;margin:0;color:#746159;font-size:10px;line-height:1.5}
.terms-contact-actions{display:grid;gap:6px;min-width:0}
.terms-contact-actions .button{width:100%;min-height:38px;border-radius:5px}
.terms-contact-actions a:not(.button){color:#745f55;text-align:center;font-size:8px;font-weight:800;text-decoration:underline;text-underline-offset:3px}
@media(max-width:900px){
  .terms-layout{grid-template-columns:190px minmax(0,1fr);gap:20px;padding-inline:20px}
  .terms-section{grid-template-columns:74px minmax(0,1fr);gap:12px;padding:15px}
  .terms-section h2{font-size:18px}
  .terms-section ul{grid-template-columns:1fr}
}
@media(max-width:720px){
  .terms-page{overflow-x:clip}
  .terms-hero-inner{padding:36px 16px 32px}
  .terms-hero:before{right:-54px;top:-38px;width:190px;height:190px;opacity:.07}
  .terms-hero:after{left:-70px;bottom:-58px;width:180px;height:130px}
  .terms-breadcrumbs{margin-bottom:13px;font-size:8px}
  .terms-hero h1{max-width:420px;margin-bottom:10px;font-size:36px}
  .terms-lead{max-width:500px;font-size:11.5px;line-height:1.52}
  .terms-meta{margin-top:14px}
  .terms-layout{grid-template-columns:1fr;gap:12px;padding:26px 14px 42px}
  .terms-aside{position:static;gap:6px}
  .terms-card{padding:10px}
  .terms-card dl{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
  .terms-card dl>div{padding:0 0 0 7px;border-top:0;border-left:1px solid rgba(33,21,15,.07)}
  .terms-card dl>div:first-child{padding-left:0;border-left:0}
  .terms-toc{display:flex;gap:4px;padding:4px;overflow-x:auto;scrollbar-width:none}
  .terms-toc::-webkit-scrollbar{display:none}
  .terms-toc a{flex:0 0 auto;min-height:27px;display:flex;align-items:center;white-space:nowrap}
  .terms-toc a.is-active{box-shadow:inset 0 -2px 0 var(--accent)}
  .terms-content{gap:6px}
  .terms-intro-note{padding:10px 11px;font-size:9.5px}
  .terms-section{display:block;padding:14px;scroll-margin-top:74px}
  .terms-section-head{display:flex;align-items:flex-start;gap:9px;margin-bottom:8px}
  .terms-section-number{flex:0 0 29px;width:29px;height:23px;margin:0}
  .terms-section h2{padding-top:2px;font-size:18px;line-height:1.08}
  .terms-section p{font-size:10.5px;line-height:1.56}
  .terms-section ul{grid-template-columns:1fr;gap:4px;margin-top:8px}
  .terms-section li{min-height:32px;font-size:9.5px}
  .terms-contact{grid-template-columns:1fr;gap:12px;padding:15px}
  .terms-contact h2{font-size:22px}
  .terms-contact p{font-size:9.5px}
}
@media(max-width:430px){
  .terms-hero-inner{padding:31px 14px 28px}
  .terms-hero h1{max-width:340px;font-size:33px}
  .terms-layout{padding-top:22px}
  .terms-card dl{grid-template-columns:1fr 1fr}
  .terms-card dl>div:nth-child(3){grid-column:1/-1;padding:7px 0 0;border-left:0;border-top:1px solid rgba(33,21,15,.07)}
}
