:root {
  --ft-paper: #e7eef8;
  --ft-ink: #152033;
  --ft-oxblood: #c23b56;
  --ft-brass: #2f62d6;
  --ft-line: #c5d4ea;
  --ft-cell: 112px;
  --ft-serif: "Fraunces", "Palatino Linotype", Palatino, serif;
  --ft-sans: "Outfit", "Segoe UI", sans-serif;
  color-scheme: light;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: auto;
}

body {
  margin: 0;
  background: var(--ft-paper);
  color: var(--ft-ink);
  font-family: var(--ft-sans);
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.6;
}

body.ft-age-open {
  overflow: hidden;
}

body.ft-cookie-open {
  padding-bottom: 8rem;
}

img {
  max-width: 100%;
  height: auto;
}

h1,
h2,
h3 {
  font-family: var(--ft-serif);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--ft-ink);
}

h1 {
  font-weight: 700;
  font-size: clamp(2.35rem, 5vw, 4.15rem);
  margin: 0.25rem 0 0.9rem;
}

h2 {
  font-size: clamp(1.7rem, 3vw, 2.45rem);
  margin: 0.3rem 0 0.7rem;
}

p {
  margin: 0 0 0.9rem;
}

a {
  color: inherit;
}

button {
  font-family: inherit;
  border-radius: 0;
}

code {
  font-family: "Courier New", ui-monospace, monospace;
  font-size: 0.92em;
  color: var(--ft-oxblood);
}

:focus-visible {
  outline: 2px solid var(--ft-oxblood);
  outline-offset: 3px;
}

::selection {
  background: var(--ft-line);
  color: var(--ft-ink);
}

.ft-wrap {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
}

.ft-skip {
  position: absolute;
  left: 1rem;
  top: 0;
  transform: translateY(-140%);
  z-index: 80;
  background: var(--ft-paper);
  color: var(--ft-ink);
  border: 1px solid var(--ft-brass);
  padding: 0.45rem 0.7rem;
  text-decoration: none;
}

.ft-skip:focus {
  transform: none;
}

.ft-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--ft-paper);
  border-bottom: 1px solid var(--ft-line);
}

.ft-header__inner {
  display: flex;
  align-items: center;
  gap: 1rem 1.4rem;
  min-height: 4.75rem;
  padding-top: 0.6rem;
  padding-bottom: 0.6rem;
}

.ft-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
  color: inherit;
  text-decoration: none;
  font-family: var(--ft-serif);
  font-weight: 600;
  font-size: 1.02rem;
  line-height: 1.15;
}

.ft-logo img {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
}

.ft-logo:hover {
  color: var(--ft-oxblood);
  text-decoration: underline;
  text-underline-offset: 0.16em;
}

.ft-nav-toggle {
  display: none;
  background: transparent;
  color: var(--ft-ink);
  border: 1px solid var(--ft-brass);
  padding: 0.45rem 0.75rem;
  min-height: 44px;
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
}

.ft-nav-toggle:hover {
  color: var(--ft-oxblood);
  border-color: var(--ft-oxblood);
}

.ft-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.ft-nav a {
  color: inherit;
  text-decoration: none;
  font-weight: 500;
  padding: 0.35rem 0;
}

.ft-nav a:hover,
.ft-nav a[aria-current="page"] {
  color: var(--ft-oxblood);
  text-decoration: underline;
  text-underline-offset: 0.22em;
}

.ft-stores {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.ft-header .ft-stores {
  margin-left: auto;
}

.ft-stores img {
  display: block;
  height: 40px;
  width: auto;
}

.ft-stores a:hover {
  outline: 1px solid var(--ft-brass);
  outline-offset: 3px;
}

.ft-kicker {
  margin: 0;
  font-family: var(--ft-sans);
  font-weight: 600;
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ft-oxblood);
}

.ft-lead,
.ft-bridge {
  font-size: 1.125rem;
  line-height: 1.55;
  max-width: 42rem;
}

.ft-bridge a,
.ft-prose a,
.ft-cookies a {
  color: var(--ft-oxblood);
  text-underline-offset: 0.16em;
}

.ft-bridge a:hover,
.ft-prose a:hover,
.ft-cookies a:hover {
  color: var(--ft-ink);
}

.ft-intro {
  border-bottom: 1px solid var(--ft-line);
  padding: 1.6rem 0 1.7rem;
}

.ft-intro p {
  max-width: 46rem;
  font-size: 1.18rem;
  line-height: 1.55;
  margin: 0 0 0.95rem;
}

.ft-intro p:last-child {
  margin-bottom: 0;
}

.ft-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 1.15fr);
  gap: 2rem 2.5rem;
  align-items: center;
  padding: 2.6rem 0 1.2rem;
}

.ft-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 1.15rem;
  list-style: none;
  padding: 0;
  margin: 1.15rem 0 1.3rem;
}

.ft-tags li {
  font-size: 0.92rem;
  font-weight: 500;
  border-top: 1px solid var(--ft-line);
  padding-top: 0.28rem;
}

.ft-hero__frame {
  border: 1px solid var(--ft-brass);
  padding: 0.55rem;
  justify-self: stretch;
  width: 100%;
  background: var(--ft-ink);
}

.ft-hero__frame img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center;
}

.ft-section {
  padding: 2.4rem 0 0.4rem;
}

.ft-section__head {
  max-width: 40rem;
  margin-bottom: 1.5rem;
}

.ft-features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.35rem 1.6rem;
}

.ft-features article {
  border-top: 1px solid var(--ft-brass);
  padding-top: 0.85rem;
  background: none;
  box-shadow: none;
}

.ft-features h3 {
  font-family: var(--ft-serif);
  font-size: 1.35rem;
  margin: 0 0 0.5rem;
}

.ft-features p {
  margin: 0;
  max-width: 36rem;
}

.ft-carousel {
  display: grid;
  gap: 0.85rem;
}

.ft-carousel__frame {
  border: 1px solid var(--ft-brass);
  padding: 0.7rem;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 0.45rem;
  align-items: center;
}

.ft-carousel__viewport {
  overflow: hidden;
}

.ft-carousel__track {
  display: flex;
  transition: transform 480ms ease;
}

.ft-carousel__slide {
  margin: 0;
  flex: 0 0 100%;
  min-width: 0;
  display: grid;
  justify-items: center;
  gap: 0.7rem;
}

.ft-carousel__slide img {
  width: min(920px, 100%);
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center;
  display: block;
  background: var(--ft-ink);
}

.ft-carousel__slide figcaption {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--ft-oxblood);
}

.ft-carousel__arrow {
  width: 44px;
  height: 44px;
  background: transparent;
  color: var(--ft-ink);
  border: 1px solid var(--ft-brass);
  cursor: pointer;
  font-size: 1.15rem;
  line-height: 1;
}

.ft-carousel__arrow:hover {
  color: var(--ft-oxblood);
  border-color: var(--ft-oxblood);
}

.ft-carousel__meta {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.ft-carousel__counter {
  margin: 0;
  min-width: 5.5rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  font-size: 0.92rem;
}

.ft-carousel__dots {
  display: flex;
  gap: 0.45rem;
}

.ft-carousel__dot {
  width: 0.72rem;
  height: 0.72rem;
  padding: 0;
  border-radius: 50%;
  border: 1px solid var(--ft-brass);
  background: transparent;
  cursor: pointer;
}

.ft-carousel__dot[aria-current="true"] {
  background: var(--ft-oxblood);
  border-color: var(--ft-oxblood);
}

.ft-carousel__thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.ft-carousel__thumb {
  padding: 0;
  border: 1px solid transparent;
  background: transparent;
  cursor: pointer;
}

.ft-carousel__thumb img {
  width: 148px;
  height: 92px;
  object-fit: cover;
  object-position: center;
  display: block;
}

.ft-carousel__thumb:hover,
.ft-carousel__thumb[aria-current="true"] {
  border-color: var(--ft-oxblood);
}

.ft-note {
  border-top: 1px solid var(--ft-line);
  border-bottom: 1px solid var(--ft-line);
  padding: 1rem 0;
  margin: 1.6rem 0 0.4rem;
  max-width: 46rem;
}

.ft-note p {
  margin: 0;
}

.ft-note strong {
  font-weight: 700;
  color: var(--ft-oxblood);
}

.ft-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.2rem;
  padding: 1.35rem 0 2.4rem;
}

.ft-cta .ft-kicker {
  margin: 0;
}

.ft-cta--bar {
  border-bottom: 1px solid var(--ft-line);
  margin-bottom: 0.4rem;
  padding-top: 0.2rem;
}

.ft-pagehead {
  padding: 2.4rem 0 0.6rem;
}

.ft-pagehead .ft-stores,
.ft-section .ft-stores {
  margin-top: 1rem;
}

.ft-prose {
  max-width: 42rem;
  padding-bottom: 0.5rem;
}

.ft-prose h2 {
  font-size: 1.55rem;
  margin: 1.9rem 0 0.45rem;
}

.ft-prose ul {
  margin: 0.4rem 0 0;
  padding-left: 1.15rem;
}

.ft-prose li + li {
  margin-top: 0.45rem;
}

.ft-machine {
  padding: 1.4rem 0 1rem;
  scroll-margin-top: 6rem;
}

.ft-machine__intro {
  max-width: 42rem;
}

.ft-machine__card {
  border: 1px solid var(--ft-brass);
  outline: 1px solid var(--ft-line);
  outline-offset: 6px;
  padding: 1.5rem 1.35rem 1.25rem;
  max-width: 38rem;
  margin-top: 1.35rem;
  background: transparent;
}

.ft-machine__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 0.95rem;
}

.ft-machine__title {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
}

.ft-machine__badge {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ft-oxblood);
  border: 1px solid var(--ft-line);
  padding: 0.22rem 0.45rem;
  white-space: nowrap;
}

.ft-reels {
  display: flex;
  width: max-content;
  max-width: 100%;
  border: 1px solid var(--ft-brass);
  background: var(--ft-paper);
}

.ft-reel {
  width: var(--ft-cell);
  height: var(--ft-cell);
  overflow: hidden;
  flex: 0 0 var(--ft-cell);
}

.ft-reel + .ft-reel {
  border-left: 1px solid var(--ft-line);
}

.ft-reel__strip img {
  width: 100%;
  height: var(--ft-cell);
  object-fit: contain;
  display: block;
}

.ft-reels--win {
  animation: ft-brass-ring 800ms ease;
}

@keyframes ft-brass-ring {
  0% { border-color: var(--ft-line); }
  40% { border-color: var(--ft-oxblood); }
  100% { border-color: var(--ft-brass); }
}

.ft-machine__msg {
  min-height: 1.5em;
  margin: 0.9rem 0 0.35rem;
}

.ft-machine__msg--warn {
  color: var(--ft-oxblood);
}

.ft-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 0.7rem 0 0.95rem;
}

.ft-stats div {
  border-top: 1px solid var(--ft-line);
  padding-top: 0.35rem;
}

.ft-stats dt {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
}

.ft-stats dd {
  margin: 0.1rem 0 0;
  font-family: var(--ft-serif);
  font-weight: 600;
  font-size: 1.55rem;
}

.ft-machine__controls {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.ft-stepper {
  display: inline-flex;
  gap: 0.4rem;
}

.ft-btn {
  background: transparent;
  color: var(--ft-ink);
  border: 1px solid var(--ft-brass);
  min-height: 44px;
  padding: 0.55rem 0.95rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

.ft-btn:hover:not(:disabled) {
  color: var(--ft-oxblood);
  border-color: var(--ft-oxblood);
}

.ft-btn--solid {
  background: var(--ft-oxblood);
  border-color: var(--ft-oxblood);
  color: var(--ft-paper);
}

.ft-btn--solid:hover:not(:disabled) {
  background: var(--ft-ink);
  border-color: var(--ft-ink);
  color: var(--ft-paper);
}

.ft-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.ft-fine {
  margin: 0.7rem 0 0;
  font-size: 0.82rem;
  color: var(--ft-ink);
}

.ft-paytable {
  margin: 0.85rem 0 0;
  padding-top: 0.75rem;
  border-top: 1px solid var(--ft-line);
  font-size: 0.82rem;
  line-height: 1.5;
  max-width: 62ch;
}

.ft-minigrid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  list-style: none;
  padding: 0.4rem 0 0.2rem;
  margin: 0 0 0.4rem;
}

.ft-minigrid img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center;
  border: 1px solid var(--ft-brass);
  background: var(--ft-ink);
}

.ft-footer {
  border-top: 1px solid var(--ft-line);
  padding: 1.8rem 0 2.4rem;
  margin-top: 0.5rem;
}

.ft-footer__layout {
  display: grid;
  gap: 0.9rem;
  justify-items: start;
}

.ft-footer__line {
  margin: 0;
}

.ft-footer__line a {
  color: var(--ft-oxblood);
  text-underline-offset: 0.16em;
}

.ft-footer__line a:hover {
  color: var(--ft-ink);
}

.ft-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem 1.2rem;
}

.ft-footer__links a {
  color: inherit;
  text-decoration: none;
  font-weight: 500;
}

.ft-footer__links a:hover,
.ft-footer__links a[aria-current="page"] {
  color: var(--ft-oxblood);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.ft-age {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: rgba(28, 25, 21, 0.28);
  display: grid;
  place-items: center;
  padding: 1.25rem;
}

.ft-age__panel {
  width: min(32rem, 100%);
  background: var(--ft-paper);
  border: 1px solid var(--ft-brass);
  padding: 1.6rem 1.4rem 1.35rem;
}

.ft-age__panel h2 {
  margin-top: 0;
  font-size: 2rem;
}

.ft-age__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1rem;
}

.ft-cookies {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  background: var(--ft-paper);
  border-top: 1px solid var(--ft-brass);
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 1.15rem;
}

.ft-cookies p {
  margin: 0;
  max-width: 52rem;
}

@media (min-width: 640px) {
  .ft-features {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .ft-features {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 960px) {
  .ft-header__inner {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
  }

  .ft-nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .ft-nav {
    display: none;
    grid-column: 1 / -1;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.15rem;
    padding: 0.35rem 0 0.7rem;
    border-top: 1px solid var(--ft-line);
  }

  .ft-nav--open {
    display: flex;
  }

  .ft-header .ft-stores {
    margin-left: 0;
    grid-column: 1 / -1;
    padding-bottom: 0.35rem;
  }
}

@media (max-width: 800px) {
  .ft-hero {
    grid-template-columns: 1fr;
  }

  .ft-hero__frame {
    justify-self: start;
  }
}

@media (max-width: 720px) {
  .ft-machine {
    --ft-cell: 96px;
  }

  .ft-minigrid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .ft-cookies {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 380px) {
  .ft-wrap {
    width: min(1120px, calc(100% - 1.25rem));
  }

  .ft-machine {
    --ft-cell: 72px;
  }

  .ft-machine__card {
    padding: 0.9rem 0.65rem;
    outline-offset: 4px;
  }

  .ft-stores img {
    height: 34px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ft-carousel__track,
  .ft-reel__strip {
    transition: none !important;
  }

  .ft-reels--win {
    animation: none !important;
  }
}
