/* Gudtrip SEO page handoff styles.
   Static guide-style HTML pages inspired by clean ecommerce guide layouts,
   but using Gudtrip typography, colors, and media only. */

@font-face {
  font-family: "Lota Grotesque Alt 3";
  src: url("assets/fonts/LotaGrotesqueAlt3-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Lota Grotesque Alt 3";
  src: url("assets/fonts/LotaGrotesqueAlt3-SemiBold.otf") format("opentype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Lota Grotesque Alt 3";
  src: url("assets/fonts/LotaGrotesqueAlt3-Bold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --black: #010101;
  --ink: #111111;
  --muted: #66707a;
  --soft: #f8f6f3;
  --cream: #fbfaf5;
  --white: #ffffff;
  --line: #e4dfd9;
  --line-strong: #d8d0c8;
  --blue: #5b7e91;
  --deep-blue: #21273d;
  --container: 1280px;
  --gutter: clamp(22px, 4vw, 56px);
  --radius: 8px;
  --hero-image: url("assets/img/gudtrip-hero.webp") center center / cover no-repeat;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--soft);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--soft);
  font-family: "Lota Grotesque Alt 3", Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 21px;
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

a {
  color: inherit;
  text-decoration-color: currentColor;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  opacity: 0.72;
}

header.site {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(150px, 1fr) auto minmax(150px, 1fr);
  align-items: center;
  width: 100%;
  min-height: 84px;
  padding: 0 max(var(--gutter), calc((100vw - var(--container)) / 2));
  color: var(--ink);
  background: rgba(248, 246, 243, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: block;
  width: 116px;
  height: 34px;
  overflow: hidden;
  background: url("assets/img/gudtrip-wordmark.svg") left center / contain no-repeat;
  color: transparent;
  font-size: 0;
  text-decoration: none;
  white-space: nowrap;
}

nav.main {
  display: flex;
  flex-wrap: nowrap;
  grid-column: 2;
  align-items: center;
  justify-content: center;
  gap: 22px;
  font-size: 18px;
  line-height: 26px;
  white-space: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
}

nav.main::-webkit-scrollbar {
  display: none;
}

nav.main a {
  flex: 0 0 auto;
  color: rgba(1, 1, 1, 0.62);
  font-weight: 500;
  text-decoration: none;
}

nav.main a[aria-current="page"],
nav.main a:hover {
  color: var(--black);
  opacity: 1;
}

nav.main a[aria-current="page"] {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 16px;
  color: var(--black);
  background: #ece7e2;
  border-radius: var(--radius);
}

main {
  display: grid;
  grid-template-columns: minmax(0, 820px) minmax(260px, 320px);
  gap: 64px;
  width: min(calc(100% - (var(--gutter) * 2)), 1204px);
  margin: 0 auto;
  padding: 64px 0 112px;
}

article {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

article > * {
  order: 4;
  width: 100%;
  margin-right: 0;
  margin-left: 0;
}

article::before {
  content: "";
  display: block;
  order: 3;
  width: 100%;
  height: 500px;
  min-height: 360px;
  margin: 42px 0 58px;
  overflow: hidden;
  background: var(--hero-image), var(--black);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 22px 60px rgba(1, 1, 1, 0.08);
}

.page-index { --hero-image: url("assets/img/gudtrip-hero.webp") center center / cover no-repeat; }
.page-how-gudtrip-works { --hero-image: url("assets/img/scan-device.webp") center center / cover no-repeat; }
.page-budtender-training { --hero-image: url("assets/img/bitcoin-rewards-phone.webp") center center / cover no-repeat; }
.page-reward-claim { --hero-image: url("assets/img/bitcoin-rewards-phone.webp") center center / cover no-repeat; }
.page-is-gudtrip-legit { --hero-image: url("assets/img/bitcoin-rewards-phone.webp") center center / cover no-repeat; }
.page-where-to-buy-gudtrip { --hero-image: url("assets/img/heroes/product-bitcoin.webp") center center / cover no-repeat; }
.page-the-gudtrip-device { --hero-image: url("assets/img/heroes/vape-package.webp") center center / cover no-repeat; }
.page-ai-weed-vape { --hero-image: url("assets/img/heroes/vape-frequency.webp") center center / cover no-repeat; }
.page-all-in-one { --hero-image: url("assets/img/heroes/vape-big-package.webp") center center / cover no-repeat; }
.page-bitcoin-welcome { --hero-image: url("assets/img/heroes/vape-currency.webp") center center / cover no-repeat; }
.page-points-vs-bitcoin { --hero-image: url("assets/img/heroes/klaviyo-points.png") center center / contain no-repeat; }
.page-is-the-bitcoin-reward-real { --hero-image: url("assets/img/heroes/bitcoin-phone.webp") center center / cover no-repeat; }
.page-reviews { --hero-image: url("assets/img/heroes/vape-small-device.webp") center center / cover no-repeat; }
.page-where-to-buy-new-york { --hero-image: url("assets/img/heroes/scan-device.webp") center center / cover no-repeat; }
.page-where-to-buy-california { --hero-image: url("assets/img/vape-1-25g.webp") center center / cover no-repeat; }
.page-blog-the-device-comes-with-bitcoin { --hero-image: url("assets/img/heroes/klaviyo-email-01.png") center center / contain no-repeat; }
.page-blog-world-cup-final-metlife { --hero-image: url("assets/img/heroes/klaviyo-world-cup.png") center center / contain no-repeat; }
.page-blog-why-loyalty-points-expire { --hero-image: url("assets/img/heroes/klaviyo-points.png") center center / contain no-repeat; }
.page-blog-live-resin-vs-distillate { --hero-image: url("assets/img/heroes/klaviyo-verify.png") center center / contain no-repeat; }
.page-blog-kushklub-lower-east-side { --hero-image: url("assets/img/heroes/klaviyo-partners.png") center center / contain no-repeat; }
.page-blog-smacked-village-greenwich-village { --hero-image: url("assets/img/heroes/klaviyo-welcome-stepdown.png") center center / contain no-repeat; }

.page-blog-the-device-comes-with-bitcoin article::before,
.page-blog-world-cup-final-metlife article::before,
.page-blog-why-loyalty-points-expire article::before,
.page-blog-live-resin-vs-distillate article::before,
.page-blog-kushklub-lower-east-side article::before,
.page-blog-smacked-village-greenwich-village article::before {
  width: min(100%, 760px);
  height: auto;
  min-height: 0;
  aspect-ratio: 1 / 1;
}

.page-redirect article::before {
  display: none;
}

h1,
h2,
h3,
p,
ul,
ol,
table {
  margin-top: 0;
}

article > .eyebrow {
  order: 0;
  margin: 0 0 18px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0;
  text-transform: uppercase;
}

article > h1 {
  order: 1;
  margin-bottom: 24px;
  color: var(--black);
  font-size: 76px;
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: 0;
  text-wrap: balance;
}

article > h1 + p {
  order: 2;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 26px;
  line-height: 1.55;
}

h2 {
  margin-top: 72px;
  margin-bottom: 20px;
  color: var(--black);
  font-size: 44px;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: 0;
  text-wrap: balance;
}

h3 {
  margin-top: 44px;
  margin-bottom: 12px;
  color: var(--black);
  font-size: 28px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0;
}

p {
  margin-bottom: 26px;
  color: var(--muted);
}

strong,
b {
  color: var(--black);
  font-weight: 700;
}

em {
  color: var(--black);
}

.takeaways {
  width: 100%;
  margin: 0 0 22px;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 18px 48px rgba(1, 1, 1, 0.05);
}

.takeaways h2 {
  width: auto;
  margin: 0 0 18px;
  font-size: 24px;
  line-height: 1.2;
  letter-spacing: 0;
}

.takeaways ul {
  margin: 0;
}

.takeaways li:last-child {
  margin-bottom: 0;
}

ul,
ol {
  margin-bottom: 28px;
  padding-left: 0;
  color: var(--muted);
  list-style: none;
}

li {
  position: relative;
  margin-bottom: 14px;
  padding-left: 28px;
}

li::before {
  position: absolute;
  top: 0.82em;
  left: 0;
  width: 14px;
  height: 1px;
  background: var(--black);
  content: "";
}

hr {
  width: 100%;
  height: 1px;
  margin: 48px 0 48px;
  border: 0;
  background: var(--line);
}

table {
  width: 100%;
  margin-top: 24px;
  margin-bottom: 44px;
  border-collapse: collapse;
  color: var(--black);
  font-size: 17px;
  line-height: 1.5;
}

th,
td {
  padding: 18px 0;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}

th {
  color: var(--black);
  font-weight: 700;
}

td + td,
th + th {
  padding-left: 28px;
}

p.fineprint {
  width: 100%;
  margin-top: 56px;
  margin-bottom: 0;
  padding: 28px 0 0;
  color: rgba(1, 1, 1, 0.52);
  border-top: 1px solid var(--line);
  font-size: 16px;
  line-height: 1.7;
}

.todo,
li.todo {
  width: 100%;
  margin-top: 28px;
  padding: 18px 20px;
  color: #17120a;
  background: #f1e7c6;
  border: 1px solid rgba(0, 0, 0, 0.14);
  border-radius: var(--radius);
  font-style: normal;
}

li.todo::before {
  display: none;
}

nav.series {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 18px;
  width: 100%;
  margin-top: 56px;
  padding: 22px 0 0;
  color: rgba(1, 1, 1, 0.52);
  border-top: 1px solid var(--line);
  font-size: 16px;
  line-height: 24px;
}

nav.series a {
  color: var(--black);
  font-weight: 700;
  text-decoration: none;
}

aside.related {
  align-self: start;
  position: sticky;
  top: 108px;
  width: 100%;
  margin: 0;
  padding: 28px;
  color: var(--black);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 22px 60px rgba(1, 1, 1, 0.06);
}

aside.related h2 {
  min-height: auto;
  margin: 0 0 22px;
  color: var(--black);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0;
  text-transform: none;
}

aside.related ul {
  display: grid;
  gap: 12px;
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}

aside.related li {
  margin: 0;
  padding: 0;
}

aside.related li::before {
  display: none;
}

aside.related a {
  display: block;
  padding: 17px 18px;
  color: var(--black);
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.35;
  text-decoration: none;
}

aside.related a::after {
  content: " ->";
  color: var(--blue);
}

.page-index main {
  display: block;
  width: min(calc(100% - (var(--gutter) * 2)), var(--container));
}

.page-index article {
  display: block;
}

.page-index article::before {
  display: none;
}

.page-index article > * {
  width: auto;
  max-width: none;
}

.page-index article > h1 {
  width: min(100%, 1120px);
  margin-bottom: 48px;
}

.page-index article > h1 + p {
  width: min(100%, 920px);
  margin-bottom: 56px;
}

.page-index aside.related {
  display: none;
}

.guide-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  width: 100%;
  margin: 0;
}

.guide-section {
  margin-top: 68px;
}

.guide-section:first-of-type {
  margin-top: 0;
}

.guide-section__heading {
  width: min(100%, 920px);
  margin-bottom: 28px;
}

.guide-section__heading .eyebrow {
  margin: 0 0 12px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0;
  text-transform: uppercase;
}

.guide-section__heading h2 {
  width: auto;
  margin: 0;
  color: var(--black);
  font-size: 48px;
  line-height: 1.02;
  letter-spacing: 0;
}

.guide-grid--featured {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.guide-card {
  display: grid;
  grid-template-rows: 280px 1fr;
  min-height: 560px;
  overflow: hidden;
  color: var(--black);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-decoration: none;
  box-shadow: 0 20px 54px rgba(1, 1, 1, 0.05);
}

.guide-card:hover {
  opacity: 1;
  transform: translateY(-2px);
}

.guide-card__image {
  position: relative;
  background: var(--card-image), var(--black);
  border-bottom: 1px solid var(--line);
}

.guide-card__image::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(1, 1, 1, 0) 46%, rgba(1, 1, 1, 0.46) 100%);
  content: "";
}

.guide-card__tag {
  position: absolute;
  right: 18px;
  bottom: 18px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 5px 12px;
  color: var(--black);
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(255, 255, 255, 0.54);
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  line-height: 20px;
}

.guide-card__body {
  display: flex;
  flex-direction: column;
  padding: 28px;
}

.guide-card h2 {
  width: auto;
  margin: 0 0 18px;
  color: var(--black);
  font-size: 29px;
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: 0;
}

.guide-card p {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}

.guide-card__meta {
  margin-top: auto;
  color: rgba(1, 1, 1, 0.48);
  font-size: 15px;
  line-height: 22px;
}

.guide-card__cta {
  margin-top: 24px;
  color: var(--black);
  font-size: 17px;
  font-weight: 700;
}

@media (max-width: 1240px) {
  main {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
    width: min(calc(100% - (var(--gutter) * 2)), 860px);
  }

  aside.related {
    position: static;
    width: 100%;
  }

  .guide-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  article > h1 {
    font-size: 62px;
  }

  article > h1 + p {
    font-size: 24px;
  }

  h2 {
    font-size: 38px;
  }
}

@media (max-width: 920px) {
  header.site {
    grid-template-columns: 1fr;
    align-items: start;
    min-height: auto;
    padding-top: 16px;
    padding-bottom: 14px;
    gap: 14px;
  }

  nav.main {
    grid-column: 1;
    justify-content: flex-start;
    width: 100%;
    margin: 0;
    padding-bottom: 2px;
    gap: 16px;
    font-size: 16px;
    line-height: 22px;
  }

  nav.main a[aria-current="page"] {
    min-height: auto;
    padding: 7px 13px;
  }

  .guide-section__heading h2 {
    font-size: 40px;
  }
}

@media (max-width: 760px) {
  :root {
    --gutter: 20px;
  }

  body {
    font-size: 18px;
    line-height: 1.65;
  }

  header.site {
    padding-top: 14px;
    padding-bottom: 12px;
  }

  .brand {
    width: 112px;
    height: 34px;
  }

  nav.main {
    gap: 12px;
    font-size: 15px;
    line-height: 21px;
  }

  main {
    width: calc(100% - (var(--gutter) * 2));
    padding-top: 42px;
    padding-bottom: 72px;
  }

  article > h1 {
    font-size: 46px;
    line-height: 0.98;
  }

  article > h1 + p {
    font-size: 21px;
    line-height: 1.55;
  }

  article::before {
    height: auto;
    min-height: 0;
    aspect-ratio: 4 / 3;
    margin: 30px 0 42px;
  }

  .page-blog-the-device-comes-with-bitcoin article::before,
  .page-blog-world-cup-final-metlife article::before,
  .page-blog-why-loyalty-points-expire article::before,
  .page-blog-live-resin-vs-distillate article::before,
  .page-blog-kushklub-lower-east-side article::before,
  .page-blog-smacked-village-greenwich-village article::before {
    aspect-ratio: 1 / 1;
  }

  h2 {
    margin-top: 54px;
    font-size: 34px;
  }

  h3 {
    font-size: 24px;
  }

  table {
    display: block;
    overflow-x: auto;
    font-size: 16px;
  }

  nav.series {
    grid-template-columns: 1fr;
  }

  aside.related {
    padding: 20px;
  }

  .guide-grid {
    grid-template-columns: 1fr;
  }

  .guide-grid--featured {
    grid-template-columns: 1fr;
  }

  .guide-card {
    grid-template-rows: 230px 1fr;
    min-height: auto;
  }
}

@media (max-width: 520px) {
  :root {
    --gutter: 18px;
  }

  header.site {
    padding-top: 12px;
    padding-bottom: 12px;
  }

  nav.main {
    gap: 10px;
    font-size: 14px;
  }

  nav.main a[aria-current="page"] {
    padding: 6px 10px;
  }

  article > h1 {
    font-size: 40px;
  }

  article > h1 + p {
    font-size: 20px;
  }

  h2,
  .guide-section__heading h2 {
    font-size: 31px;
  }

  .guide-card__body {
    padding: 24px;
  }

  .guide-card h2 {
    font-size: 26px;
  }
}
