@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700;900&display=swap");

:root {
  --ink: #121826;
  --muted: #5d6677;
  --line: #dbe3ee;
  --soft: #f4f7fb;
  --paper: #ffffff;
  --blue: #2563eb;
  --teal: #0f766e;
  --green: #16a34a;
  --orange: #ea580c;
  --pink: #db2777;
  --shadow: 0 18px 45px rgba(18, 24, 38, 0.09);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Roboto", "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--soft);
  line-height: 1.5;
}

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

.page {
  min-height: 100vh;
  background:
    linear-gradient(120deg, rgba(37, 99, 235, 0.08), transparent 38%),
    linear-gradient(330deg, rgba(234, 88, 12, 0.08), transparent 36%),
    var(--soft);
}

.wrap {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(244, 247, 251, 0.92);
  border-bottom: 1px solid rgba(219, 227, 238, 0.8);
  backdrop-filter: blur(12px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--blue), var(--teal));
  display: grid;
  place-items: center;
  color: #fff;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: 15px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: 44px;
  align-items: center;
  padding: 58px 0 46px;
}

.eyebrow {
  color: var(--teal);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 0;
  margin-bottom: 14px;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1 {
  font-size: clamp(36px, 5vw, 60px);
  line-height: 1.06;
  letter-spacing: 0;
}

.lead {
  margin-top: 22px;
  font-size: 21px;
  color: var(--muted);
  max-width: 690px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-weight: 800;
  background: var(--blue);
  color: #fff;
}

.btn.secondary {
  background: #fff;
  color: var(--ink);
  border-color: var(--line);
}

.hero-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  padding: 18px;
}

.browser-frame {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}

.browser-top {
  height: 42px;
  background: #e9eef5;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 16px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.dot.red { background: #ff645f; }
.dot.yellow { background: #ffbd2e; }
.dot.green { background: #27c93f; }

.screen {
  padding: 30px;
  min-height: 390px;
  background: linear-gradient(135deg, #eff6ff, #fff7ed);
}

.screen-title {
  font-size: 34px;
  line-height: 1.12;
  font-weight: 800;
  max-width: 360px;
}

.screen-sub {
  margin-top: 12px;
  color: #4b5563;
  font-size: 17px;
  max-width: 360px;
}

.screen-button {
  display: inline-flex;
  margin-top: 22px;
  padding: 14px 20px;
  border-radius: 8px;
  background: var(--green);
  color: #fff;
  font-weight: 800;
}

.screen-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 30px;
}

.screen-block {
  min-height: 74px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(203, 213, 225, 0.8);
  padding: 14px;
  font-weight: 800;
}

.screen-block span {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  font-weight: 400;
  color: #64748b;
}

.section {
  padding: 54px 0;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

h2 {
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.08;
}

.section-note {
  color: var(--muted);
  max-width: 480px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  min-height: 190px;
}

.card h3 {
  font-size: 22px;
  line-height: 1.18;
}

.card p {
  margin-top: 12px;
  color: var(--muted);
}

.tag {
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  background: #eaf2ff;
  color: #1d4ed8;
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 14px;
}

.portfolio {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.work {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
}

.work-preview {
  height: 250px;
  padding: 18px;
  background: #eef2f7;
}

.mini-site {
  height: 100%;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: #fff;
  padding: 16px;
}

.mini-hero {
  min-height: 92px;
  border-radius: 8px;
  padding: 16px;
  color: #111827;
}

.mini-hero strong {
  display: block;
  font-size: 22px;
  line-height: 1.14;
  max-width: 280px;
}

.mini-line {
  height: 12px;
  border-radius: 999px;
  background: #cbd5e1;
  margin-top: 12px;
}

.mini-cols {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 12px;
}

.mini-box {
  height: 52px;
  border: 1px solid #dbe3ee;
  border-radius: 8px;
  background: #f8fafc;
}

.mini-site {
  position: relative;
  overflow: hidden;
}

.mini-site::before,
.mini-site::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.mini-site--coffee::before {
  width: 82px;
  height: 56px;
  right: 92px;
  bottom: 56px;
  border-radius: 0 0 22px 22px;
  background: #7c3f16;
  box-shadow:
    82px -18px 0 5px #d97706,
    82px -48px 0 5px #1f2937;
}

.mini-site--coffee::after {
  width: 74px;
  height: 38px;
  right: 126px;
  bottom: 118px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid #ead7bc;
  transform: rotate(-6deg);
  box-shadow: 0 10px 18px rgba(154, 79, 0, 0.12);
}

.mini-site--beauty::before {
  width: 58px;
  height: 98px;
  right: 130px;
  bottom: 50px;
  border-radius: 14px 14px 22px 22px;
  background: linear-gradient(180deg, #f9a8d4, #db2777);
  box-shadow: 78px 18px 0 -6px #ec4899;
}

.mini-site--beauty::after {
  width: 70px;
  height: 52px;
  right: 56px;
  bottom: 58px;
  border-radius: 22px;
  border: 10px solid #f9a8d4;
  background: #fff;
}

.mini-site--service::before {
  width: 88px;
  height: 150px;
  right: 118px;
  bottom: 44px;
  border-radius: 24px;
  background:
    linear-gradient(#475569 0 8px, transparent 8px 26px),
    linear-gradient(#dbeafe 0 14px, transparent 14px 34px),
    linear-gradient(#dbeafe 0 14px, transparent 14px 34px),
    #111827;
  background-position:
    center 16px,
    18px 56px,
    18px 92px,
    0 0;
  background-size:
    34px 8px,
    52px 34px,
    38px 34px,
    auto;
  background-repeat: no-repeat;
}

.mini-site--service::after {
  width: 116px;
  height: 34px;
  right: 34px;
  bottom: 70px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow:
    0 -48px 0 #fff,
    0 -48px 0 1px var(--line),
    0 48px 0 #fff,
    0 48px 0 1px var(--line);
}

.mini-site--stamp::before {
  width: 132px;
  height: 132px;
  right: 88px;
  bottom: 58px;
  border: 8px double #2563eb;
  border-radius: 999px;
  opacity: 0.45;
  transform: rotate(-12deg);
}

.mini-site--stamp::after {
  width: 128px;
  height: 56px;
  right: 88px;
  bottom: 38px;
  border-radius: 18px 18px 8px 8px;
  background: linear-gradient(180deg, #475569, #111827);
}

/* Portfolio thumbnails: keep subject icons inside the top preview band. */
.mini-site--coffee .mini-hero strong,
.mini-site--beauty .mini-hero strong,
.mini-site--service .mini-hero strong,
.mini-site--stamp .mini-hero strong {
  max-width: 250px;
}

.mini-site--coffee::before {
  width: 44px;
  height: 30px;
  right: 56px;
  top: 66px;
  border-radius: 0 0 14px 14px;
  box-shadow:
    46px -10px 0 3px #d97706,
    46px -28px 0 3px #1f2937;
}

.mini-site--coffee::after {
  width: 48px;
  height: 24px;
  right: 74px;
  top: 44px;
}

.mini-site--beauty::before {
  width: 36px;
  height: 58px;
  right: 94px;
  top: 48px;
  border-radius: 12px 12px 16px 16px;
  box-shadow: 48px 12px 0 -4px #ec4899;
}

.mini-site--beauty::after {
  width: 42px;
  height: 32px;
  right: 42px;
  top: 66px;
  border-width: 7px;
}

.mini-site--service::before {
  width: 48px;
  height: 78px;
  right: 112px;
  top: 34px;
  border-radius: 16px;
  background:
    linear-gradient(#475569 0 5px, transparent 5px 18px),
    linear-gradient(#dbeafe 0 9px, transparent 9px 24px),
    linear-gradient(#dbeafe 0 9px, transparent 9px 24px),
    #111827;
  background-position:
    center 10px,
    10px 32px,
    10px 54px,
    0 0;
  background-size:
    22px 5px,
    28px 24px,
    22px 24px,
    auto;
  background-repeat: no-repeat;
}

.mini-site--service::after {
  width: 74px;
  height: 22px;
  right: 36px;
  top: 48px;
  box-shadow:
    0 32px 0 #fff,
    0 32px 0 1px var(--line);
}

.mini-site--stamp::before {
  width: 74px;
  height: 74px;
  right: 70px;
  top: 30px;
  border-width: 5px;
}

.mini-site--stamp::after {
  width: 78px;
  height: 34px;
  right: 68px;
  top: 82px;
  border-radius: 14px 14px 7px 7px;
}

/* Clean portfolio thumbnails: show page structure instead of unclear tiny objects. */
.mini-site::before,
.mini-site::after {
  display: none;
}

.mini-hero {
  position: relative;
  padding-right: 130px;
}

.mini-hero::after {
  content: "";
  position: absolute;
  right: 18px;
  bottom: 18px;
  width: 92px;
  height: 30px;
  border-radius: 8px;
  background: var(--blue);
  box-shadow:
    0 -44px 0 -9px rgba(255, 255, 255, 0.82),
    0 -76px 0 -12px rgba(203, 213, 225, 0.8);
}

.mini-site--coffee .mini-hero::after {
  background: var(--orange);
}

.mini-site--beauty .mini-hero::after {
  background: var(--pink);
}

.mini-site--service .mini-hero::after {
  background: var(--blue);
}

.mini-site--stamp .mini-hero::after {
  background: var(--green);
}

.mini-site--coffee .mini-line,
.mini-site--beauty .mini-line,
.mini-site--service .mini-line,
.mini-site--stamp .mini-line {
  width: 68%;
}

.mini-site--coffee .mini-box:nth-child(1),
.mini-site--beauty .mini-box:nth-child(1),
.mini-site--service .mini-box:nth-child(1),
.mini-site--stamp .mini-box:nth-child(1) {
  background: #fff;
  box-shadow: inset 0 0 0 999px rgba(37, 99, 235, 0.03);
}

/* Portfolio thumbnail scale: make the preview look like a small page, not a cropped page. */
.mini-site {
  padding: 12px;
}

.mini-hero {
  min-height: 78px;
  padding: 13px 96px 13px 13px;
}

.mini-hero strong {
  font-size: 18px;
  line-height: 1.12;
  max-width: 230px;
}

.mini-line {
  width: 52%;
  height: 8px;
  margin-top: 10px;
}

.mini-site--coffee .mini-line,
.mini-site--beauty .mini-line,
.mini-site--service .mini-line,
.mini-site--stamp .mini-line {
  width: 50%;
}

.mini-hero::after {
  right: 14px;
  bottom: 14px;
  width: 62px;
  height: 20px;
  border-radius: 6px;
  box-shadow:
    0 -29px 0 -7px rgba(255, 255, 255, 0.82),
    0 -50px 0 -10px rgba(203, 213, 225, 0.72);
}

.mini-cols {
  gap: 8px;
  margin-top: 10px;
}

.mini-box {
  height: 42px;
  border-radius: 7px;
}

.work-body {
  padding: 18px;
}

.work-body h3 {
  font-size: 21px;
}

.work-body p {
  margin-top: 8px;
  color: var(--muted);
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.price {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
}

.price strong {
  font-size: 34px;
  color: var(--green);
}

.price ul {
  padding-left: 18px;
  color: var(--muted);
}

.order-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 480px);
  gap: 42px;
  align-items: center;
}

.order-copy {
  max-width: 760px;
}

.order-copy h2 {
  margin-top: 12px;
}

.order-copy p {
  margin-top: 18px;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.55;
}

.order-card {
  display: grid;
  gap: 14px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.order-step {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  align-items: start;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafc;
}

.order-step span {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  font-weight: 900;
}

.order-step p {
  color: var(--muted);
}

.preview-note {
  display: grid;
  gap: 4px;
  padding: 16px;
  border-radius: 8px;
  background: linear-gradient(135deg, #eaf2ff, #fff7ed);
  border: 1px solid var(--line);
}

.preview-note strong {
  color: var(--ink);
}

.preview-note span {
  color: var(--muted);
}

.footer {
  padding: 40px 0;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.demo-hero {
  padding: 62px 0;
}

.demo-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 28px;
  align-items: center;
}

.product-visual,
.service-visual {
  min-height: 360px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  box-shadow: var(--shadow);
}

.shape-product {
  width: 230px;
  height: 230px;
  border-radius: 36px;
  background: linear-gradient(135deg, #fff, #eaf2ff);
  border: 1px solid #dbe3ee;
  position: relative;
}

.shape-product::before,
.shape-product::after {
  content: "";
  position: absolute;
  border-radius: 999px;
}

.shape-product::before {
  width: 120px;
  height: 120px;
  background: rgba(37, 99, 235, 0.16);
  left: 28px;
  top: 36px;
}

.shape-product::after {
  width: 86px;
  height: 86px;
  background: rgba(22, 163, 74, 0.16);
  right: 32px;
  bottom: 36px;
}

.product-visual--pink {
  background: #fdf2f8;
}

.service-visual--green {
  background: #ecfdf5;
}

.demo-product,
.demo-process,
.stamp-visual {
  width: min(280px, 86%);
}

.demo-product--coffee {
  display: grid;
  gap: 14px;
}

.product-badge {
  width: fit-content;
  padding: 8px 12px;
  border-radius: 999px;
  background: #fff3e6;
  color: #9a4f00;
  font-weight: 800;
  font-size: 13px;
}

.product-box {
  min-height: 170px;
  border-radius: 8px;
  border: 1px solid #e6d4bd;
  background:
    linear-gradient(135deg, rgba(255, 243, 230, 0.95), rgba(255, 255, 255, 0.98));
  position: relative;
  box-shadow: inset 0 0 0 8px rgba(255, 255, 255, 0.45);
}

.cup,
.pack,
.card-note,
.bottle,
.cream {
  position: absolute;
  display: block;
}

.cup {
  width: 78px;
  height: 58px;
  left: 34px;
  bottom: 34px;
  border-radius: 0 0 24px 24px;
  background: #7c3f16;
  box-shadow: inset 0 10px 0 rgba(255, 255, 255, 0.18);
}

.cup::after {
  content: "";
  position: absolute;
  right: -20px;
  top: 12px;
  width: 22px;
  height: 24px;
  border: 7px solid #7c3f16;
  border-left: 0;
  border-radius: 0 16px 16px 0;
}

.pack {
  width: 82px;
  height: 118px;
  right: 34px;
  bottom: 34px;
  border-radius: 8px;
  background: linear-gradient(180deg, #1f2937 0 24%, #d97706 24% 100%);
}

.pack::before {
  content: "COFFEE";
  position: absolute;
  left: 12px;
  top: 12px;
  color: #fff;
  font-size: 10px;
  font-weight: 900;
}

.card-note {
  left: 86px;
  top: 28px;
  padding: 12px 16px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid #ead7bc;
  color: #9a4f00;
  font-weight: 800;
  transform: rotate(-5deg);
}

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

.product-list span,
.product-price,
.market-button,
.process-flow span,
.tool-card {
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--line);
  padding: 10px;
  font-weight: 800;
  text-align: center;
}

.product-price {
  color: var(--green);
  font-size: 22px;
}

.demo-product--beauty {
  display: grid;
  gap: 16px;
}

.market-card {
  padding: 18px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid #efd5e5;
  box-shadow: var(--shadow);
}

.rating,
.market-title,
.market-line {
  display: block;
}

.rating {
  width: fit-content;
  padding: 5px 8px;
  border-radius: 999px;
  color: #be185d;
  background: #fce7f3;
  font-weight: 900;
  font-size: 12px;
}

.market-title {
  margin-top: 12px;
  font-size: 22px;
  font-weight: 900;
}

.market-line {
  height: 10px;
  margin-top: 12px;
  border-radius: 999px;
  background: #d6e0ec;
}

.market-line.short {
  width: 62%;
}

.bottle-row {
  min-height: 150px;
  border-radius: 8px;
  background: linear-gradient(135deg, #fff, #fce7f3);
  border: 1px solid #efd5e5;
  position: relative;
}

.bottle {
  bottom: 22px;
  border-radius: 12px 12px 20px 20px;
  background: linear-gradient(180deg, #f9a8d4, #db2777);
}

.bottle::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -22px;
  width: 28px;
  height: 22px;
  border-radius: 8px 8px 0 0;
  background: #be185d;
  transform: translateX(-50%);
}

.bottle.tall {
  left: 54px;
  width: 58px;
  height: 98px;
}

.bottle.small {
  left: 128px;
  width: 50px;
  height: 76px;
}

.cream {
  right: 46px;
  bottom: 24px;
  width: 70px;
  height: 54px;
  border-radius: 22px;
  background: #fff;
  border: 10px solid #f9a8d4;
}

.market-button {
  background: var(--pink);
  color: #fff;
  border: 0;
}

.demo-process {
  display: grid;
  grid-template-columns: 115px 1fr;
  gap: 14px;
  align-items: center;
}

.process-phone {
  min-height: 210px;
  padding: 16px;
  border-radius: 24px;
  background: #111827;
  box-shadow: var(--shadow);
}

.phone-top,
.phone-line,
.phone-button {
  display: block;
}

.phone-top {
  width: 36px;
  height: 5px;
  margin: 0 auto 20px;
  border-radius: 999px;
  background: #475569;
}

.phone-line {
  height: 12px;
  margin-top: 12px;
  border-radius: 999px;
  background: #dbeafe;
}

.phone-line.short {
  width: 70%;
}

.phone-button {
  margin-top: 54px;
  padding: 10px;
  border-radius: 8px;
  background: var(--blue);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  text-align: center;
}

.process-flow {
  display: grid;
  gap: 10px;
}

.process-flow span {
  text-align: left;
}

.tool-card {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: left;
}

.tool-icon {
  display: inline-grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 999px;
  background: var(--green);
  color: #fff;
}

.stamp-visual {
  display: grid;
  gap: 16px;
  justify-items: center;
}

.stamp-paper {
  width: 100%;
  min-height: 190px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid #b7e4ca;
  position: relative;
  box-shadow: var(--shadow);
}

.stamp-circle {
  position: absolute;
  left: 50%;
  top: 28px;
  width: 132px;
  height: 132px;
  display: grid;
  place-items: center;
  border: 8px double #2563eb;
  border-radius: 999px;
  color: #2563eb;
  font-weight: 900;
  transform: translateX(-50%) rotate(-12deg);
  opacity: 0.6;
}

.stamp-line {
  position: absolute;
  left: 34px;
  right: 34px;
  bottom: 42px;
  height: 10px;
  border-radius: 999px;
  background: #d1fae5;
}

.stamp-line.short {
  right: 98px;
  bottom: 24px;
}

.stamp-handle {
  width: 118px;
  height: 68px;
  border-radius: 18px 18px 8px 8px;
  background: linear-gradient(180deg, #475569, #111827);
  position: relative;
}

.stamp-handle::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: -18px;
  height: 24px;
  border-radius: 8px;
  background: #111827;
}

.stamp-caption {
  color: var(--green);
  font-weight: 900;
}

/* Keeps demo-page illustrations inside their cards on wide and narrow screens. */
.demo-layout {
  grid-template-columns: minmax(0, 1fr) minmax(360px, 420px);
}

.product-visual,
.service-visual {
  min-height: 420px;
  overflow: hidden;
  padding: 28px;
}

.demo-product,
.demo-process,
.stamp-visual {
  width: min(320px, 100%);
  max-width: 100%;
  box-sizing: border-box;
}

.product-box,
.market-card,
.bottle-row,
.market-button,
.product-price,
.stamp-paper {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.demo-product--coffee,
.demo-product--beauty {
  gap: 12px;
}

.product-box {
  min-height: 150px;
}

.card-note {
  left: 74px;
  top: 24px;
  padding: 10px 14px;
}

.cup {
  left: 30px;
  bottom: 30px;
}

.pack {
  right: 30px;
  bottom: 30px;
}

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

.product-list span {
  min-width: 0;
  padding: 9px 6px;
  font-size: 14px;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.product-price {
  font-size: 20px;
  line-height: 1.2;
}

.market-card {
  padding: 16px;
  box-shadow: none;
}

.market-title {
  font-size: 20px;
  line-height: 1.25;
}

.bottle-row {
  min-height: 138px;
}

.market-button {
  line-height: 1.2;
}

.cookie {
  position: fixed;
  left: 18px;
  right: 18px;
  bottom: 18px;
  max-width: 780px;
  margin: 0 auto;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  z-index: 50;
}

.cookie.show {
  display: flex;
}

.cookie p {
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 860px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 0;
  }

  .nav-links {
    flex-wrap: wrap;
  }

  .hero,
  .demo-layout {
    grid-template-columns: 1fr;
  }

  .cards,
  .price-grid,
  .portfolio,
  .order-section {
    grid-template-columns: 1fr;
  }

  .screen {
    min-height: auto;
  }

  .section-head {
    align-items: flex-start;
    flex-direction: column;
  }

  h1 {
    font-size: 36px;
  }

  .product-visual,
  .service-visual {
    min-height: auto;
    padding: 22px;
  }

  .demo-product,
  .demo-process,
  .stamp-visual {
    width: 100%;
  }

  .demo-process {
    grid-template-columns: 1fr;
  }
}
