.home-main {
  overflow-x: clip;
}

.hero-preview {
  border-bottom: 1px solid var(--color-border);
}

.hero-preview-inner {
  grid-template-columns: minmax(0, 48%) minmax(0, 52%);
  gap: clamp(34px, 5vw, 72px);
}

.hero-device {
  width: 100%;
}

.cup-svg {
  max-width: 430px;
}

.swirl-base {
  fill: url("#home-milk-base");
}

.swirl-fill-a {
  fill: url("#home-swirl-a");
}

.swirl-fill-b {
  fill: url("#home-swirl-b");
}

.swirl-stop-milk {
  stop-color: var(--color-swirl-milk);
}

.swirl-stop-orange {
  stop-color: var(--color-swirl-orange);
}

.swirl-stop-pink {
  stop-color: var(--color-swirl-pink);
}

.swirl-stop-teal {
  stop-color: var(--color-swirl-teal);
}

.swirl-soft {
  opacity: 0.72;
}

.swirl-ribbon {
  opacity: 0.84;
}

.straw-fill {
  fill: var(--color-bg);
}

.straw-line {
  fill: none;
  stroke: var(--color-accent);
  stroke-width: 1.5;
}

.straw-center {
  fill: none;
  stroke: var(--color-border);
  stroke-width: 4;
}

.hero-device.is-paused .swirl-one,
.hero-device.is-paused .swirl-two {
  animation-play-state: paused;
}

.hero-copy {
  padding-block: 20px;
}

.hero-copy h1 {
  max-width: 720px;
}

.hero-copy .button-row {
  margin-top: 28px;
}

.hero-description {
  margin-top: 24px;
}

.trust-row {
  max-width: 680px;
}

.spec-code {
  max-width: 680px;
}

.home-section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 520px);
  gap: 40px;
  align-items: end;
  margin-bottom: 44px;
}

.home-section-head p {
  margin: 0;
  color: var(--color-muted);
}

.section-code {
  display: block;
  margin-bottom: 14px;
  color: var(--color-muted);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.09em;
}

.route-preview {
  background: var(--color-panel);
}

.route-note {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 30px;
  align-items: start;
  margin-top: 28px;
}

.route-note p {
  max-width: 900px;
  margin: 0;
  color: var(--color-muted);
}

.route-note strong {
  color: var(--color-text);
}

.text-link {
  display: inline-flex;
  align-items: center;
  border-bottom: 1px solid var(--color-text);
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
}

.text-link:hover {
  color: var(--color-muted);
  border-color: var(--color-muted);
}

.recipe-section {
  background: var(--color-bg);
}

.recipe-item p {
  margin-bottom: 0;
  line-height: 1.85;
}

.client-section {
  background: var(--color-panel);
}

.platform-card {
  background: var(--color-bg);
}

.platform-card p {
  line-height: 1.75;
}

.pricing-preview {
  background: var(--color-bg);
}

.plan-summary {
  min-height: 78px;
  margin: 14px 0 0;
  color: var(--color-muted);
  font-size: 14px;
}

.pack-note {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: center;
  margin-top: 28px;
  padding: clamp(24px, 4vw, 40px);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  background: var(--color-panel);
}

.pack-note h3 {
  margin-bottom: 12px;
}

.pack-note p {
  max-width: 860px;
  margin: 0;
  color: var(--color-muted);
}

.faq-section {
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  background: var(--color-panel);
}

.faq-section .home-section-head {
  grid-template-columns: 1fr;
  gap: 18px;
}

.section-tail {
  margin: 32px 0 0;
}

.blog-preview {
  background: var(--color-bg);
}

.home-article-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.article-card h3 {
  font-size: 21px;
  line-height: 1.35;
}

@media (max-width: 1180px) {
  .hero-preview-inner {
    grid-template-columns: minmax(0, 46%) minmax(0, 54%);
    gap: 34px;
  }

  .cup-svg {
    max-width: 390px;
  }

  .flavor-row {
    gap: 5px;
  }

  .flavor-chip {
    padding-right: 8px;
    font-size: 11px;
  }

  .platform-stamp-row {
    gap: 11px;
  }

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

@media (max-width: 1050px) {
  .hero-preview-inner {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    width: 100%;
    max-width: 760px;
    margin-inline: auto;
  }

  .hero-device {
    max-width: 700px;
    margin-inline: auto;
  }

  .home-section-head {
    grid-template-columns: 1fr;
    gap: 20px;
    align-items: start;
  }
}

@media (max-width: 768px) {
  .hero-preview-inner {
    gap: 30px;
  }

  .hero-device {
    order: 2;
  }

  .hero-copy {
    order: 1;
    padding-block: 0;
  }

  .hero-copy h1 {
    margin-top: 20px;
  }

  .hero-copy .button-row {
    margin-top: 24px;
  }

  .hero-description {
    font-size: 14.5px;
    line-height: 1.75;
  }

  .trust-row {
    gap: 10px 16px;
  }

  .spec-code {
    margin-top: 22px;
  }

  .cup-svg {
    max-width: 350px;
  }

  .route-note,
  .pack-note {
    grid-template-columns: 1fr;
  }

  .recipe-list {
    gap: 0;
  }

  .plan-summary {
    min-height: 0;
  }
}

@media (max-width: 640px) {
  .hero-preview-inner {
    padding-top: 30px;
  }

  .hero-copy .button-row .btn {
    flex-basis: 130px;
  }

  .cup-svg {
    max-width: 310px;
  }

  .flavor-row {
    max-width: 330px;
  }

  .flavor-chip {
    font-size: 10.5px;
  }

  .mini-flag {
    width: 21px;
    height: 14px;
  }

  .platform-stamp-row {
    max-width: 330px;
    gap: 10px 14px;
  }

  .platform-stamp {
    font-size: 10px;
  }

  .platform-stamp svg {
    width: 15px;
    height: 15px;
  }

  .home-section-head {
    margin-bottom: 30px;
  }

  .route-note {
    margin-top: 22px;
  }

  .pack-note {
    padding: 24px;
  }

  .home-article-grid {
    grid-template-columns: 1fr;
  }

  .text-link {
    white-space: normal;
  }
}

@media (max-width: 390px) {
  .trust-item {
    font-size: 12px;
  }

  .flavor-row {
    max-width: 290px;
  }

  .platform-stamp-row {
    max-width: 290px;
  }

  .platform-stamp span {
    font-size: 9px;
  }
}