.page{
  max-width:1200px;
}

.hero{
  padding:42px 20px 34px;
  margin-bottom:8px;
  text-align:center;
}
.hero__eyebrow{
  color:var(--color-amber);
  font-size:12px;
  font-weight:700;
  letter-spacing:2px;
  text-transform:uppercase;
  margin-bottom:10px;
}
.hero__title{
  font-family:'Neucha',cursive;
  font-size:56px;
  line-height:1.05;
  color:var(--color-amber-dark);
  margin:0 0 12px;
  text-shadow:1px 1px 0 rgba(255,255,255,.6);
}
.hero__title em{
  font-style:normal;
  color:var(--color-amber);
}
.hero__subtitle{
  max-width:590px;
  margin:0 auto 22px;
  color:#6b5a45;
  font-size:15px;
  font-style:italic;
  line-height:1.65;
}
.hero__cta{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  min-height:42px;
  padding:10px 20px;
  border:1px solid transparent;
  border-radius:10px;
  background:linear-gradient(135deg,var(--color-amber) 0%,var(--color-amber-dark) 100%);
  box-shadow:0 8px 18px rgba(133,89,22,.22);
  color:#fff;
  font-family:inherit;
  font-size:14px;
  font-weight:700;
  cursor:pointer;
  transition:box-shadow .16s ease,transform .16s ease,filter .16s ease;
}
.hero__cta:hover{
  box-shadow:0 11px 24px rgba(133,89,22,.3);
  transform:translateY(-2px);
  filter:brightness(1.05);
}
.hero__cta:focus-visible,
.sheets-action:focus-visible,
.start-step:focus-visible{
  outline:3px solid var(--color-amber-dark);
  outline-offset:3px;
}

.home-section{
  margin-bottom:38px;
}
.section-heading{
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  gap:12px;
  margin:0 0 14px;
}
.section-heading__title{
  color:var(--color-amber-dark);
  font-family:'Neucha',cursive;
  font-size:27px;
}
.section-heading__desc{
  color:#8a7757;
  font-size:13px;
  font-style:italic;
}

.start-path{
  display:flex;
  flex-wrap:wrap;
  gap:14px;
}
.start-step{
  position:relative;
  display:flex;
  flex:1 1 240px;
  min-height:110px;
  align-items:flex-start;
  gap:12px;
  overflow:hidden;
  padding:17px 18px;
  border:1px solid var(--color-line);
  border-radius:12px;
  background:var(--color-paper);
  box-shadow:var(--shadow);
  color:var(--color-dark);
  font-family:inherit;
  text-align:left;
  cursor:pointer;
  transition:box-shadow .16s ease,transform .16s ease,border-color .16s ease;
}
.start-step::before{
  position:absolute;
  top:0;
  left:0;
  width:4px;
  height:100%;
  background:var(--color-amber);
  content:'';
  opacity:0;
  transition:opacity .16s ease;
}
.start-step:hover{
  border-color:var(--color-amber-soft);
  box-shadow:var(--shadow-lift);
  transform:translateY(-2px);
}
.start-step:hover::before,
.start-step:focus-visible::before{
  opacity:1;
}
.start-step__num{
  display:flex;
  flex:0 0 auto;
  align-items:center;
  justify-content:center;
  width:31px;
  height:31px;
  border-radius:50%;
  background:var(--color-amber);
  color:#fff;
  font-family:'Neucha',cursive;
  font-size:17px;
  box-shadow:0 3px 8px rgba(133,89,22,.2);
}
.start-step__content{
  display:block;
  padding-right:8px;
}
.start-step__title,
.start-step__desc{
  display:block;
}
.start-step__title{
  margin-bottom:4px;
  color:var(--color-dark);
  font-size:14.5px;
  font-weight:700;
}
.start-step__desc{
  color:#6b5a45;
  font-size:12.5px;
  line-height:1.5;
}
.start-step__hint{
  position:absolute;
  right:16px;
  bottom:12px;
  color:var(--color-amber-dark);
  font-size:11px;
  font-weight:700;
  opacity:0;
  transform:translateX(-5px);
  transition:opacity .16s ease,transform .16s ease;
}
.start-step:hover .start-step__hint,
.start-step:focus-visible .start-step__hint{
  opacity:1;
  transform:translateX(0);
}

.section-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(210px,1fr));
  gap:14px;
}
.section-tile{
  position:relative;
  display:flex;
  min-height:202px;
  flex-direction:column;
  align-items:flex-start;
  padding:18px 18px 16px;
  border:1px solid var(--color-line);
  border-top:3px solid var(--tile-elem-color,var(--color-amber));
  border-radius:12px;
  background:var(--color-paper);
  box-shadow:var(--shadow);
  color:var(--color-dark);
  transition:box-shadow .16s ease,transform .16s ease,border-color .16s ease;
}
.section-tile:hover{
  border-color:var(--tile-elem-color,var(--color-amber));
  box-shadow:var(--shadow-lift);
  color:var(--color-dark);
  text-decoration:none;
  transform:translateY(-2px);
}
.section-tile__badge{
  display:flex;
  align-items:center;
  justify-content:center;
  width:36px;
  height:36px;
  margin-bottom:11px;
  border-radius:50%;
  background:var(--tile-elem-color,var(--color-amber));
  box-shadow:0 2px 5px rgba(0,0,0,.2);
}
.section-tile__badge img{
  width:19px;
  height:19px;
  object-fit:contain;
  filter:brightness(0) invert(1);
}
.section-tile__name{
  display:block;
  margin-bottom:5px;
  color:var(--color-amber-dark);
  font-family:'Neucha',cursive;
  font-size:22px;
}
.section-tile__desc{
  display:block;
  margin-bottom:13px;
  color:#6b5a45;
  font-size:12.5px;
  line-height:1.52;
}
.section-tile__count{
  display:inline-flex;
  align-items:center;
  min-height:23px;
  margin-top:auto;
  padding:2px 9px;
  border-radius:999px;
  background:var(--color-sand);
  color:var(--color-amber-dark);
  font-size:11px;
  font-weight:700;
  letter-spacing:.25px;
}

.sheets-section{
  position:relative;
  overflow:hidden;
  border:1px solid rgba(247,219,159,.26);
  border-radius:18px;
  background:linear-gradient(132deg,#20160d 0%,#3e2b17 54%,#23170e 100%);
  box-shadow:0 18px 38px rgba(49,31,8,.2);
  color:#f6e4bd;
}
.sheets-section::before,
.sheets-section::after{
  position:absolute;
  border:1px solid rgba(241,193,99,.16);
  border-radius:50%;
  content:'';
  pointer-events:none;
}
.sheets-section::before{
  top:-125px;
  right:-82px;
  width:285px;
  height:285px;
}
.sheets-section::after{
  bottom:-150px;
  left:-95px;
  width:310px;
  height:310px;
}
.sheets-section__ambient{
  position:absolute;
  inset:0;
  background:radial-gradient(circle at 88% 18%,rgba(212,151,46,.18),transparent 24%),radial-gradient(circle at 17% 100%,rgba(218,170,76,.12),transparent 30%);
  pointer-events:none;
}
.sheets-section__inner{
  position:relative;
  z-index:1;
  padding:27px;
}
.sheets-section__top{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:18px;
  margin-bottom:17px;
}
.section-heading--on-dark{
  display:block;
  margin:0;
}
.section-heading--on-dark .section-heading__title{
  display:block;
  margin-bottom:4px;
  color:#ffe7b4;
}
.section-heading--on-dark .section-heading__desc{
  display:block;
  color:#cdb88c;
}
.sheets-section__status{
  flex:0 0 auto;
  padding:6px 10px;
  border:1px solid rgba(243,205,131,.34);
  border-radius:999px;
  background:rgba(255,235,191,.08);
  color:#f5d98f;
  font-size:10px;
  font-weight:700;
  letter-spacing:.8px;
  text-transform:uppercase;
}
.sheets-empty{
  display:grid;
  grid-template-columns:52px minmax(0,1fr) auto;
  align-items:center;
  gap:17px;
  padding:20px;
  border:1px solid rgba(242,214,154,.3);
  border-radius:13px;
  background:linear-gradient(115deg,rgba(255,245,221,.1),rgba(255,245,221,.035));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.07);
}
.sheets-empty__icon{
  display:flex;
  align-items:center;
  justify-content:center;
  width:52px;
  height:52px;
  border:1px solid rgba(255,222,152,.42);
  border-radius:14px;
  background:linear-gradient(145deg,rgba(214,156,52,.35),rgba(121,75,19,.3));
  box-shadow:0 7px 16px rgba(0,0,0,.16);
}
.sheets-empty__icon img{
  width:27px;
  height:27px;
  filter:brightness(0) invert(1);
}
.sheets-empty__copy{
  min-width:0;
}
.sheets-empty__eyebrow{
  margin:0 0 4px;
  color:#f1ce7e;
  font-size:10px;
  font-weight:700;
  letter-spacing:1.3px;
}
.sheets-empty__text{
  max-width:550px;
  margin:0;
  color:#ead6ab;
  font-size:13.5px;
  line-height:1.62;
}
.sheets-empty__actions,
.sheets-actions{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:10px;
}
.sheets-empty__actions{
  justify-content:flex-end;
}
.sheets-actions{
  margin-top:17px;
}
.sheets-action{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  min-height:40px;
  padding:9px 14px;
  border:1px solid transparent;
  border-radius:9px;
  font-size:12.5px;
  font-weight:700;
  line-height:1.2;
  text-decoration:none;
  transition:background .16s ease,border-color .16s ease,box-shadow .16s ease,transform .16s ease;
}
.sheets-action:hover{
  text-decoration:none;
  transform:translateY(-2px);
}
.sheets-action--primary{
  background:linear-gradient(135deg,#e0a332,#b97513);
  box-shadow:0 7px 16px rgba(0,0,0,.22);
  color:#fffaf0;
}
.sheets-action--primary:hover{
  box-shadow:0 10px 19px rgba(0,0,0,.27);
  color:#fff;
  filter:brightness(1.07);
}
.sheets-action--secondary{
  border-color:rgba(245,220,165,.38);
  background:rgba(255,240,205,.06);
  color:#f5dfad;
}
.sheets-action--secondary:hover{
  border-color:rgba(255,228,168,.68);
  background:rgba(255,240,205,.13);
  color:#fff0cb;
}
.sheets-grid{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(200px,1fr));
  gap:12px;
}
.sheet-card{
  display:block;
  min-height:101px;
  padding:15px 16px;
  border:1px solid rgba(240,224,176,.26);
  border-radius:11px;
  background:rgba(0,0,0,.19);
  color:#f0e0bf;
  transition:background .16s ease,border-color .16s ease,transform .16s ease;
}
.sheet-card:hover{
  border-color:rgba(247,216,151,.55);
  background:rgba(0,0,0,.3);
  color:#f0e0bf;
  text-decoration:none;
  transform:translateY(-2px);
}
.sheet-card__name,
.sheet-card__meta,
.sheet-card__date{
  display:block;
}
.sheet-card__name{
  margin-bottom:4px;
  color:#ffe5ad;
  font-family:'Neucha',cursive;
  font-size:20px;
}
.sheet-card__meta{
  margin-bottom:4px;
  color:#cbb689;
  font-size:12px;
}
.sheet-card__date{
  color:#a8916a;
  font-size:11px;
  font-style:italic;
}

@media (max-width:760px){
  .sheets-empty{
    grid-template-columns:48px minmax(0,1fr);
  }
  .sheets-empty__actions{
    grid-column:1 / -1;
    justify-content:flex-start;
  }
}

@media (max-width:640px){
  .hero{
    padding:33px 8px 27px;
  }
  .hero__title{
    font-size:42px;
  }
  .section-heading,
  .sheets-section__top{
    align-items:flex-start;
    flex-direction:column;
  }
  .section-heading__desc{
    line-height:1.45;
  }
  .start-step{
    min-height:103px;
  }
  .start-step__hint{
    opacity:1;
    transform:none;
  }
  .section-grid{
    grid-template-columns:1fr;
  }
  .section-tile{
    min-height:180px;
  }
  .sheets-section__inner{
    padding:20px;
  }
  .sheets-empty{
    grid-template-columns:1fr;
    gap:13px;
  }
  .sheets-empty__icon{
    width:46px;
    height:46px;
  }
  .sheets-empty__actions,
  .sheets-actions{
    width:100%;
    align-items:stretch;
    flex-direction:column;
  }
  .sheets-action{
    width:100%;
  }
}

/* Final quality layer for the home page. */
.is-initially-hidden{ display:none; }
.hero__cta:focus-visible,
.start-step:focus-visible,
.section-tile:focus-visible,
.sheets-action:focus-visible,
.sheet-card:focus-visible{
  outline:3px solid var(--yd-focus-ring,rgba(210,157,42,.42));
  outline-offset:4px;
}
.sheet-card{ min-width:0; overflow-wrap:anywhere; }
@media (hover:none){
  .start-step:hover,.section-tile:hover,.sheet-card:hover{ transform:none; }
}
@media (prefers-reduced-motion:reduce){
  .hero::before,.hero::after,.sheets-section__ambient{ animation:none!important; }
  .start-step,.section-tile,.sheet-card,.sheets-action{ transition:none!important; }
}
