:root {
  --ink: #080a09;
  --paper: #f2efe7;
  --paper-bright: #fbfaf6;
  --lime: #70e52f;
  --red: #ed3b45;
  --blue: #2d95d8;
  --muted: #626860;
  --line: rgba(8, 10, 9, 0.16);
  --max: 1240px;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--ink);
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: "Avenir Next", Avenir, "Segoe UI", Helvetica, Arial, sans-serif;
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

.terms-header {
  align-items: center;
  background: rgba(8, 10, 9, 0.82);
  border-bottom: 2px solid var(--red);
  color: #fff;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  left: 0;
  min-height: 84px;
  padding: 0 clamp(22px, 4vw, 64px);
  position: absolute;
  right: 0;
  top: 0;
  z-index: 20;
}

.header-context {
  align-items: center;
  display: flex;
  font-size: 9px;
  font-weight: 900;
  gap: 10px;
  letter-spacing: 0.13em;
  margin: 0;
  text-transform: uppercase;
}

.header-context span {
  background: var(--lime);
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(112, 229, 47, 0.14);
  height: 7px;
  width: 7px;
}

.terms-brand img {
  display: block;
  filter: brightness(0) invert(1);
  height: auto;
  width: 148px;
}

.terms-back {
  border-bottom: 1px solid rgba(255, 255, 255, 0.75);
  font-size: 9px;
  font-weight: 900;
  justify-self: end;
  letter-spacing: 0.12em;
  padding-bottom: 5px;
  text-transform: uppercase;
  transition: border-color 180ms ease, color 180ms ease;
}

.terms-back:hover,
.terms-back:focus-visible {
  border-color: var(--lime);
  color: var(--lime);
}

.terms-hero {
  background: #050706 url("/assets/coffee.jpg") center 42% / cover no-repeat;
  color: #fff;
  min-height: min(780px, 92vh);
  overflow: hidden;
  padding: clamp(176px, 21vh, 230px) clamp(24px, 7vw, 112px) 100px;
  position: relative;
}

.terms-hero-shade {
  background:
    linear-gradient(90deg, rgba(3, 5, 4, 0.97) 0%, rgba(3, 5, 4, 0.84) 45%, rgba(3, 5, 4, 0.3) 78%, rgba(3, 5, 4, 0.72) 100%),
    linear-gradient(0deg, rgba(3, 5, 4, 0.56), transparent 55%);
  inset: 0;
  position: absolute;
}

.terms-hero-ring {
  border: 1px solid rgba(112, 229, 47, 0.24);
  border-radius: 50%;
  height: min(62vw, 780px);
  position: absolute;
  right: -17vw;
  top: 14%;
  width: min(62vw, 780px);
}

.terms-hero-ring::before,
.terms-hero-ring::after {
  border: 1px solid rgba(112, 229, 47, 0.18);
  border-radius: inherit;
  content: "";
  inset: 9%;
  position: absolute;
}

.terms-hero-ring::after {
  inset: 19%;
}

.terms-hero-content {
  margin: 0 auto;
  max-width: var(--max);
  position: relative;
  z-index: 2;
}

.terms-kicker,
.section-kicker {
  color: var(--lime);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.18em;
  margin: 0 0 28px;
  text-transform: uppercase;
}

.terms-kicker {
  align-items: center;
  display: flex;
  gap: 14px;
}

.terms-kicker span {
  background: var(--lime);
  height: 2px;
  width: 36px;
}

h1,
h2,
h3,
p {
  text-wrap: pretty;
}

h1 {
  font-size: clamp(62px, 10.3vw, 152px);
  font-weight: 800;
  letter-spacing: -0.072em;
  line-height: 0.79;
  margin: 0;
  max-width: 1040px;
  text-transform: uppercase;
}

h1 em,
.terms-heading h2 em,
.policy-band h2 em {
  color: var(--lime);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  text-transform: none;
}

.terms-intro {
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(16px, 1.7vw, 23px);
  line-height: 1.55;
  margin: clamp(36px, 5vw, 64px) 0 0;
  max-width: 650px;
}

.terms-date {
  color: rgba(255, 255, 255, 0.48);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.15em;
  margin: 26px 0 0;
  text-transform: uppercase;
}

.terms-scroll {
  align-items: center;
  bottom: 34px;
  display: flex;
  font-size: 8px;
  font-weight: 900;
  gap: 12px;
  letter-spacing: 0.16em;
  margin: 0;
  position: absolute;
  right: clamp(24px, 7vw, 112px);
  text-transform: uppercase;
  z-index: 2;
}

.terms-scroll span {
  background: var(--red);
  display: block;
  height: 2px;
  width: 38px;
}

.terms-proof {
  background: var(--paper-bright);
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1.3fr repeat(3, 1fr);
  min-height: 126px;
  padding: 0 max(24px, calc((100vw - var(--max)) / 2));
}

.terms-proof > p,
.terms-proof > div {
  align-items: center;
  display: flex;
  margin: 0;
  padding: 28px clamp(20px, 3vw, 42px);
}

.terms-proof > p {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(20px, 2vw, 29px);
  font-style: italic;
  padding-left: 0;
}

.terms-proof > div {
  border-left: 1px solid var(--line);
  gap: 18px;
}

.terms-proof strong {
  color: var(--red);
  font-size: 10px;
  letter-spacing: 0.12em;
}

.terms-proof span {
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.04em;
  line-height: 1.45;
  text-transform: uppercase;
}

.terms-content {
  margin: 0 auto;
  max-width: var(--max);
  padding: clamp(88px, 11vw, 150px) 24px clamp(96px, 12vw, 160px);
}

.terms-heading {
  display: grid;
  gap: 44px;
  grid-template-columns: minmax(150px, 0.35fr) minmax(0, 1fr);
}

.section-kicker {
  color: #347629;
  padding-top: 13px;
}

.section-kicker::before {
  background: var(--lime);
  content: "";
  display: inline-block;
  height: 2px;
  margin-right: 12px;
  vertical-align: 3px;
  width: 30px;
}

.terms-heading h2,
.policy-band h2 {
  font-size: clamp(46px, 7.5vw, 102px);
  letter-spacing: -0.065em;
  line-height: 0.9;
  margin: 0;
}

.terms-heading h2 em {
  color: var(--red);
}

.terms-grid {
  border-left: 1px solid var(--line);
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: clamp(70px, 9vw, 112px);
}

.terms-grid article {
  background: rgba(251, 250, 246, 0.42);
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
  min-height: 390px;
  padding: clamp(34px, 5vw, 68px);
  position: relative;
  transition: background 220ms ease, transform 220ms ease;
}

.terms-grid article:hover {
  background: var(--paper-bright);
}

.terms-grid article > span {
  color: #347629;
  display: block;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.terms-grid h3 {
  font-size: clamp(27px, 3.3vw, 46px);
  letter-spacing: -0.05em;
  line-height: 1;
  margin: clamp(54px, 7vw, 84px) 0 22px;
  max-width: 480px;
}

.terms-grid p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
  margin: 0;
  max-width: 540px;
}

.terms-grid article > a {
  border-bottom: 1px solid currentColor;
  display: inline-block;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.09em;
  margin-top: 28px;
  padding-bottom: 5px;
  text-transform: uppercase;
}

.terms-store,
.terms-grid .terms-store:hover {
  background: var(--ink);
  color: #fff;
}

.terms-store::after {
  border: 1px solid rgba(112, 229, 47, 0.18);
  border-radius: 50%;
  content: "";
  height: 260px;
  position: absolute;
  right: -120px;
  top: -120px;
  width: 260px;
}

.terms-store > span {
  color: var(--lime) !important;
}

.terms-store p {
  color: rgba(255, 255, 255, 0.65);
}

.terms-store > a {
  color: var(--lime);
}

.policy-band {
  align-items: end;
  background: var(--blue);
  color: var(--ink);
  display: grid;
  gap: clamp(50px, 8vw, 120px);
  grid-template-columns: minmax(280px, 0.8fr) minmax(400px, 1.2fr);
  padding: clamp(80px, 10vw, 130px) max(24px, calc((100vw - var(--max)) / 2));
}

.policy-band > div > p {
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.17em;
  margin: 0 0 26px;
  text-transform: uppercase;
}

.policy-band h2 {
  font-size: clamp(48px, 6vw, 88px);
}

.policy-band h2 em {
  color: #fff;
}

.terms-links {
  border-top: 1px solid rgba(8, 10, 9, 0.35);
}

.terms-links a {
  align-items: center;
  border-bottom: 1px solid rgba(8, 10, 9, 0.35);
  display: grid;
  font-size: clamp(17px, 2vw, 25px);
  font-weight: 750;
  grid-template-columns: 52px 1fr auto;
  padding: 19px 0;
  transition: color 180ms ease, padding 180ms ease;
}

.terms-links a:hover,
.terms-links a:focus-visible {
  color: #fff;
  padding-left: 10px;
}

.terms-links span {
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.terms-links b {
  font-size: 15px;
}

.terms-footer {
  align-items: start;
  background: var(--ink);
  color: rgba(255, 255, 255, 0.58);
  display: grid;
  gap: 70px;
  grid-template-columns: 1.15fr 0.75fr 1fr;
  padding: clamp(68px, 8vw, 106px) max(24px, calc((100vw - var(--max)) / 2));
}

.footer-brand > img {
  display: block;
  filter: brightness(0) invert(1);
  height: auto;
  margin-inline: auto;
  width: 168px;
}

.footer-brand {
  justify-self: stretch;
  text-align: center;
}

.footer-brand p {
  font-size: 12px;
  line-height: 1.65;
  margin: 25px auto 0;
  max-width: 330px;
}

.terms-footer > nav {
  display: grid;
  gap: 13px;
}

.terms-footer > nav a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.terms-footer > nav a:hover,
.terms-footer > nav a:focus-visible {
  color: var(--lime);
}

.footer-legal {
  justify-self: stretch;
  text-align: center;
}

.footer-legal img {
  display: block;
  height: auto;
  margin-inline: auto;
  opacity: 0.74;
  width: min(220px, 100%);
}

.footer-legal p {
  font-size: 9px;
  line-height: 1.55;
  margin: 28px auto 0;
  max-width: 300px;
}

a:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 5px;
}

@media (max-width: 900px) {
  .terms-header {
    grid-template-columns: 1fr auto;
  }

  .header-context {
    display: none;
  }

  .terms-brand {
    grid-column: 1;
    grid-row: 1;
  }

  .terms-back {
    grid-column: 2;
    grid-row: 1;
  }

  .terms-hero {
    min-height: 700px;
  }

  .terms-proof {
    grid-template-columns: repeat(3, 1fr);
  }

  .terms-proof > p {
    border-bottom: 1px solid var(--line);
    grid-column: 1 / -1;
    padding: 25px 0;
  }

  .terms-proof > div:first-of-type {
    border-left: 0;
    padding-left: 0;
  }

  .policy-band {
    align-items: start;
    grid-template-columns: 1fr;
  }

  .terms-footer {
    grid-template-columns: 1fr 1fr;
  }

  .footer-legal {
    grid-column: 1 / -1;
    justify-self: stretch;
    text-align: center;
  }

  .footer-legal p {
    margin-left: auto;
  }
}

@media (max-width: 680px) {
  .terms-header {
    min-height: 72px;
    padding: 0 20px;
  }

  .terms-brand img {
    width: 125px;
  }

  .terms-back {
    font-size: 8px;
  }

  .terms-hero {
    background-position: 62% center;
    min-height: 660px;
    padding: 158px 20px 90px;
  }

  .terms-hero-shade {
    background: linear-gradient(90deg, rgba(3, 5, 4, 0.96), rgba(3, 5, 4, 0.66));
  }

  .terms-hero-ring {
    height: 420px;
    right: -240px;
    top: 22%;
    width: 420px;
  }

  h1 {
    font-size: clamp(54px, 19vw, 84px);
    line-height: 0.84;
  }

  .terms-intro {
    font-size: 16px;
    max-width: 92%;
  }

  .terms-scroll {
    bottom: 25px;
    right: 20px;
  }

  .terms-proof {
    grid-template-columns: 1fr;
    padding: 0 20px;
  }

  .terms-proof > p {
    grid-column: auto;
  }

  .terms-proof > div,
  .terms-proof > div:first-of-type {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding: 20px 0;
  }

  .terms-content {
    padding: 82px 20px 100px;
  }

  .terms-heading {
    gap: 15px;
    grid-template-columns: 1fr;
  }

  .section-kicker {
    padding-top: 0;
  }

  .terms-heading h2 {
    font-size: clamp(45px, 14vw, 68px);
  }

  .terms-grid {
    grid-template-columns: 1fr;
    margin-top: 64px;
  }

  .terms-grid article {
    min-height: 0;
    padding: 36px 26px 44px;
  }

  .terms-grid h3 {
    margin-top: 42px;
  }

  .policy-band {
    gap: 56px;
    grid-template-columns: 1fr;
    padding: 78px 20px 90px;
  }

  .policy-band h2 {
    font-size: 53px;
  }

  .terms-footer {
    gap: 48px;
    grid-template-columns: 1fr;
    padding: 68px 20px 90px;
  }

  .footer-legal {
    grid-column: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}

@media print {
  .terms-header {
    background: #fff;
    color: #000;
    position: static;
  }

  .terms-brand img,
  .footer-brand > img {
    filter: none;
  }

  .terms-hero {
    background: #fff;
    color: #000;
    min-height: auto;
    padding: 60px 24px;
  }

  .terms-hero-shade,
  .terms-hero-ring,
  .terms-scroll,
  .terms-proof,
  .policy-band,
  .terms-footer {
    display: none;
  }

  .terms-intro,
  .terms-date {
    color: #333;
  }

  .terms-content {
    padding: 48px 24px;
  }

  .terms-grid article,
  .terms-grid .terms-store {
    background: #fff;
    color: #000;
    min-height: 0;
  }

  .terms-grid .terms-store p {
    color: #333;
  }
}
