:root{
  --paper:hsl(71,24%,96%);
  --ink:hsl(71,24%,18%);
  --accent:hsl(71,36%,30%);
  --wash:hsl(71,24%,88%)
}


*{
  box-sizing:border-box
}
html{
  scroll-behavior:smooth;
  scrollbar-color:var(--accent) var(--wash);
  scrollbar-width:auto;
  scrollbar-gutter:stable
}
body{
  margin:0 auto;
  padding:0 28px;
  max-width:1180px;
  background:var(--paper);
  color:var(--ink);
  font:16px/1.65 'Segoe UI',Arial,sans-serif
}
a{
  color:inherit;
  text-underline-offset:4px
}
a:hover{
  color:var(--accent)
}
h1,h2,h3{
  line-height:1.2
}
p{
  margin:.8rem 0 1.2rem
}
img,svg{
  max-width:100%
}
button,input,select,textarea{
  font:inherit;
  color:var(--ink)
}
button,.action{
  border:1px solid transparent;
  border-radius:6px;
  padding:.8rem 1.15rem;
  background:var(--accent);
  color:var(--paper);
  font-weight:600;
  text-decoration:none;
  display:inline-block;
  cursor:pointer
}
button:hover,.action:hover{
  filter:brightness(1.12);
  color:var(--paper)
}
button:active,.action:active{
  transform:translateY(1px)
}
button:disabled{
  opacity:.45;
  cursor:default;
  transform:none
}
button.secondary{
  background:transparent;
  color:var(--ink);
  border-color:var(--accent)
}
input,select,textarea{
  max-width:100%;
  border:1px solid var(--accent);
  border-radius:6px;
  padding:.7rem;
  background:var(--paper)
}
textarea{
  resize:vertical;
  min-height:140px
}
select,summary{
  cursor:pointer
}
:focus-visible{
  outline:3px solid var(--accent);
  outline-offset:4px
}
footer{
  padding:1.5rem 0;
  margin-top:2rem;
  border-top:1px solid var(--accent);
  font-size:.8rem
}
.eyebrow{
  font-size:11px;
  font-weight:700;
  letter-spacing:.13em;
  text-transform:uppercase;
  color:var(--accent)
}
.lead{
  font-size:1.12rem;
  line-height:1.7
}
.hint{
  font-size:.85rem
}
.feedback{
  min-height:3.4em;
  font-size:.85rem;
  line-height:1.5
}
[hidden]{
  display:none!important
}
.skip{
  position:absolute;
  top:-100px;
  left:1rem;
  background:var(--paper);
  color:var(--ink);
  z-index:10;
  padding:.6rem
}
.skip:focus{
  top:.5rem
}
::-webkit-scrollbar{
  width:12px;
  height:12px
}
::-webkit-scrollbar-track{
  background:var(--wash)
}
::-webkit-scrollbar-thumb{
  background:var(--accent);
  border:3px solid var(--wash);
  border-radius:8px
}
::-webkit-scrollbar-thumb:hover{
  background:var(--ink)
}
::-webkit-scrollbar-thumb:active{
  background:var(--ink)
}
@media(forced-colors:active){
  *{
  scrollbar-color:auto
}

}
@media(prefers-reduced-motion:reduce){
  html{
  scroll-behavior:auto
}
*,*:before,*:after{
  animation:none!important;
  transition:none!important
}

}
@media(max-width:650px){
  body{
  padding:0 20px
}
footer{
  margin-top:1rem
}
.lead{
  font-size:1rem
}

}


.tea-header{
  display:flex;
  justify-content:space-between;
  gap:1rem;
  padding:2rem 0
}
.tea-header a{
  font-family:Georgia,serif;
  letter-spacing:.18em;
  text-decoration:none
}
.tea-header span{
  font-size:.85rem
}
.tea-desk{
  display:grid;
  grid-template-columns:1.2fr 1fr;
  gap:3.5rem;
  padding:3rem 0
}
.tea-story h1{
  font:clamp(3rem,6vw,5.7rem)/1.05 Georgia,serif;
  margin:1rem 0
}
.cup{
  height:170px;
  display:flex;
  align-items:center;
  padding:1rem 0 0 2rem
}
.cup div{
  position:relative;
  width:150px;
  height:95px;
  background:var(--accent);
  border-radius:6px 6px 70px 70px;
  border-top:8px solid var(--ink)
}
.cup div:after{
  content:'';
  position:absolute;
  right:-42px;
  top:5px;
  width:42px;
  height:45px;
  border:10px solid var(--accent);
  border-left:0;
  border-radius:0 50% 50% 0
}
.tea-timer{
  align-self:start;
  background:var(--wash);
  border-radius:8px 8px 70px 8px;
  padding:2rem
}
.tea-timer label,.tea-timer select{
  display:block;
  width:100%
}
.tea-clock{
  display:block;
  font:clamp(3.7rem,7vw,6rem)/1.4 Georgia,serif;
  font-variant-numeric:tabular-nums;
  text-align:center
}
.tea-buttons{
  display:flex;
  gap:.6rem
}
.tea-buttons button{
  flex:1
}
.tea-notes{
  grid-column:1/-1;
  display:grid;
  grid-template-columns:1.2fr 1fr 1fr 1fr;
  gap:1.5rem;
  border-top:1px solid var(--accent);
  padding-top:1.5rem
}
.tea-notes strong{
  display:block
}
@media(max-width:700px){
  .tea-desk{
  grid-template-columns:1fr;
  gap:1.5rem;
  padding:1rem 0
}
.tea-header{
  font-size:12px
}
.tea-header span{
  max-width:130px
}
.tea-notes{
  display:block
}
.cup{
  height:140px
}
.tea-timer{
  padding:1.5rem
}

}
