:root {
  --paper: #f4f6fa;
  --ink: #171d2b;
  --muted: #667085;
  --line: #dfe3ec;
  --violet: #6157e7;
  --violet-soft: #eeecff;
  --night: #151928;
  --yellow: #ffdd00;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 76% 16%, rgba(97, 87, 231, 0.1), transparent 25rem),
    var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

img {
  display: block;
  max-width: 100%;
}

main {
  overflow: hidden;
}

.site-header {
  width: min(1120px, calc(100% - 40px));
  height: 92px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: linear-gradient(145deg, #7369f0, #5146d8);
  color: white;
  font-size: 22px;
  font-weight: 900;
  font-style: italic;
  box-shadow: 0 9px 24px rgba(97, 87, 231, 0.24);
}

.brand-name {
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.22em;
}

.brand-name small {
  color: #858b99;
  font-size: 6px;
  letter-spacing: 0.21em;
}

.header-link {
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 3px 10px rgba(23, 29, 43, 0.04);
  transition: transform 160ms ease, border-color 160ms ease;
}

.header-link:hover,
.header-link:focus-visible {
  border-color: #b9b3ff;
  transform: translateY(-2px);
}

.header-actions,
.language-switch {
  display: flex;
  align-items: center;
}

.header-actions {
  gap: 12px;
}

.language-switch {
  padding: 3px;
  gap: 2px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.7);
}

.language-switch button {
  min-width: 34px;
  padding: 6px 7px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #777f90;
  font: inherit;
  font-size: 10px;
  font-weight: 900;
  cursor: pointer;
}

.language-switch button.active {
  background: var(--violet);
  color: white;
}

.hero {
  width: min(1080px, calc(100% - 40px));
  min-height: 630px;
  margin: 0 auto;
  padding: 92px 0 84px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 0.92fr);
  gap: 78px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 18px;
  color: #818899;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.2em;
}

.hero h1 {
  margin: 0;
  font-size: clamp(54px, 5vw, 76px);
  line-height: 0.96;
  letter-spacing: -0.065em;
}

.hero h1 span {
  display: block;
  color: var(--violet);
  font-weight: 500;
}

.hero h1 .title-line {
  display: inline;
  color: inherit;
  font-weight: inherit;
}

.hero-text {
  max-width: 590px;
  margin: 28px 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.primary-button {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 15px 18px;
  border-radius: 10px;
  background: var(--violet);
  color: white;
  font-size: 14px;
  font-weight: 800;
  box-shadow: 0 12px 30px rgba(97, 87, 231, 0.28);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.primary-button:hover,
.primary-button:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 17px 35px rgba(97, 87, 231, 0.34);
}

.hero-panel {
  position: relative;
  padding: 27px;
  overflow: hidden;
  border: 1px solid #292e43;
  border-radius: 24px;
  background:
    radial-gradient(circle at 100% 0%, rgba(97, 87, 231, 0.25), transparent 45%),
    var(--night);
  color: white;
  box-shadow: 0 35px 70px rgba(31, 35, 58, 0.2);
  transform: rotate(1.6deg);
}

.hero-panel::before {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 32px 32px;
  content: "";
  pointer-events: none;
}

.panel-topline,
.panel-footer {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.panel-status,
.panel-footer span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.panel-status {
  padding: 7px 9px;
  border-radius: 7px;
  background: rgba(100, 199, 139, 0.14);
  color: #a8e6c1;
}

.panel-status i,
.panel-footer i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #64c78b;
  box-shadow: 0 0 12px #64c78b;
}

.panel-list {
  position: relative;
  z-index: 1;
  margin: 31px 0;
  display: grid;
  gap: 10px;
}

.panel-row {
  padding: 17px 16px;
  display: grid;
  grid-template-columns: 34px 1fr auto;
  gap: 10px;
  align-items: center;
  border: 1px dashed #3d435a;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.018);
  color: #a2a8b8;
}

.panel-row-live {
  border: 0;
  border-left: 4px solid #756bf2;
  background: #2b3158;
  color: white;
  box-shadow: 0 9px 24px rgba(0, 0, 0, 0.18);
}

.panel-number {
  color: #777f95;
  font-size: 10px;
  font-weight: 900;
}

.panel-row span:nth-child(2) {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.panel-row strong {
  font-size: 14px;
}

.panel-row small {
  color: #9299ab;
  font-size: 10px;
}

.panel-row b {
  padding: 5px 7px;
  border-radius: 5px;
  background: rgba(255,255,255,.06);
  font-size: 8px;
  letter-spacing: 0.12em;
}

.panel-row-live b {
  background: var(--yellow);
  color: var(--ink);
}

.panel-footer {
  color: #9299ab;
  font-size: 9px;
}

.panel-footer strong {
  color: white;
}

.products {
  padding: 105px max(20px, calc((100vw - 1120px) / 2)) 120px;
  background: #edeff5;
}

.section-heading {
  margin-bottom: 45px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: end;
  gap: 60px;
}

.section-heading h2,
.coffee h2 {
  margin: 0;
  font-size: clamp(36px, 4vw, 54px);
  line-height: 1;
  letter-spacing: -0.05em;
}

.section-heading > p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.product-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid #dde1e9;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 15px 40px rgba(35, 42, 61, 0.06);
}

.product-card-live {
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.product-card-live:hover,
.product-card-live:focus-visible {
  transform: translateY(-7px);
  box-shadow: 0 24px 55px rgba(51, 47, 118, 0.14);
  outline: 2px solid rgba(97, 87, 231, 0.25);
  outline-offset: 3px;
}

.product-visual {
  position: relative;
  height: 245px;
  overflow: hidden;
  background: #dce4e5;
}

.product-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.status {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  padding: 7px 9px;
  border-radius: 7px;
  background: rgba(23, 29, 43, 0.78);
  color: white;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.13em;
  backdrop-filter: blur(8px);
}

.status.live {
  background: var(--yellow);
  color: var(--ink);
}

.product-card-soon .product-visual img {
  filter: blur(30px) saturate(0.12) brightness(0.62);
  opacity: 0.32;
  transform: scale(1.28);
}

.coming-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  gap: 10px;
  text-align: center;
  background:
    radial-gradient(circle at center, rgba(42, 47, 72, 0.35), transparent 55%),
    rgba(21, 25, 40, 0.72);
  color: white;
}

.coming-overlay span {
  font-size: 28px;
  font-weight: 300;
}

.coming-overlay strong {
  font-size: 10px;
  letter-spacing: 0.17em;
}

.product-copy {
  min-height: 270px;
  padding: 25px;
  display: flex;
  flex-direction: column;
}

.product-copy > div {
  display: flex;
  align-items: center;
  gap: 9px;
}

.product-copy > div p {
  margin: 0;
  color: #858c9b;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.card-index {
  padding-right: 9px;
  border-right: 1px solid var(--line);
  color: var(--violet);
  font-size: 10px;
  font-weight: 900;
}

.product-copy h3 {
  margin: 18px 0 11px;
  font-size: 26px;
  letter-spacing: -0.04em;
}

.card-description {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.card-action {
  margin-top: auto;
  padding-top: 24px;
  color: var(--violet);
  font-size: 13px;
  font-weight: 900;
}

.product-card-soon .product-copy {
  filter: grayscale(0.2);
  opacity: 0.72;
}

.product-card-soon .card-action {
  color: #8b91a0;
}

.coffee {
  width: min(960px, calc(100% - 40px));
  margin: 105px auto;
  padding: 40px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 28px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: white;
  box-shadow: 0 18px 45px rgba(35, 42, 61, 0.06);
}

.coffee-icon {
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  border-radius: 17px;
  background: var(--yellow);
  font-size: 29px;
  transform: rotate(-4deg);
}

.coffee .eyebrow {
  margin-bottom: 10px;
}

.coffee h2 {
  font-size: 34px;
}

.coffee p:not(.eyebrow) {
  max-width: 560px;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.coffee-button {
  padding: 14px 17px;
  border-radius: 10px;
  background: var(--yellow);
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
  box-shadow: 0 10px 20px rgba(255, 221, 0, 0.2);
  transition: transform 160ms ease;
}

.coffee-button:hover,
.coffee-button:focus-visible {
  transform: translateY(-3px) rotate(-1deg);
}

footer {
  width: min(1120px, calc(100% - 40px));
  min-height: 110px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
  border-top: 1px solid var(--line);
  color: #858b99;
  font-size: 11px;
}

footer p {
  text-align: center;
}

footer > span {
  text-align: right;
}

.footer-brand .brand-mark {
  width: 29px;
  height: 29px;
  border-radius: 8px;
  font-size: 17px;
}

.footer-brand .brand-name {
  color: var(--ink);
  font-size: 11px;
}

@media (max-width: 900px) {
  .hero {
    padding-top: 65px;
    grid-template-columns: 1fr;
    gap: 55px;
  }

  .hero-copy {
    max-width: 660px;
  }

  .hero-panel {
    max-width: 560px;
    margin: 0 auto;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 22px;
  }

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

  .product-card {
    display: grid;
    grid-template-columns: 0.85fr 1fr;
  }

  .product-copy {
    min-height: 245px;
  }

  .coffee {
    grid-template-columns: auto 1fr;
  }

  .coffee-button {
    grid-column: 2;
    justify-self: start;
  }
}

@media (max-width: 620px) {
  .site-header {
    height: 78px;
  }

  .brand-name small {
    display: none;
  }

  .header-link {
    display: none;
  }

  .header-actions {
    gap: 6px;
  }

  .language-switch button {
    min-width: 27px;
    padding: 6px 4px;
    font-size: 9px;
  }

  .hero {
    width: min(100% - 32px, 1080px);
    padding: 60px 0 70px;
  }

  .hero h1 {
    font-size: clamp(47px, 14vw, 64px);
  }

  .hero-text {
    font-size: 16px;
  }

  .hero-panel {
    padding: 20px;
    border-radius: 18px;
    transform: rotate(0.5deg);
  }

  .panel-topline {
    font-size: 8px;
  }

  .products {
    padding-top: 75px;
    padding-bottom: 80px;
  }

  .product-card {
    display: block;
  }

  .product-visual {
    height: 220px;
  }

  .product-copy {
    min-height: 255px;
  }

  .coffee {
    margin: 70px auto;
    padding: 27px;
    grid-template-columns: 1fr;
  }

  .coffee-button {
    grid-column: 1;
  }

  footer {
    padding: 30px 0;
    grid-template-columns: 1fr;
    gap: 15px;
  }

  footer p,
  footer > span {
    margin: 0;
    text-align: left;
  }
}

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

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