:root {
  --ink: #0f1536;
  --muted: #666c8f;
  --purple: #6f25ff;
  --purple2: #8d38ff;
  --lav: #f4efff;
  --line: #ece9f5;
  --white: #fff;
  --shadow: 0 12px 30px rgba(41, 25, 90, .10)
}

* {
  box-sizing: border-box
}

html {
  scroll-behavior: smooth
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.45
}

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

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

.narrow {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 24px
}

.narrow-grid {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 24px
}

.section-pad {
  padding: 68px 0
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #000;
  backdrop-filter: blur(12px);
  border-bottom: 1px solid #222
}

.nav-wrap {
  max-width: 1040px;
  margin: auto;
  padding: 14px 24px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 22px
}

.brand {
  font-family: "Brush Script MT", cursive;
  font-weight: 800;
  font-size: 34px;
  color: var(--purple);
  transform: skew(-6deg)
}

.nav-links {
  color: #fff;
  display: flex;
  justify-content: center;
  gap: 34px;
  font-size: 18px;
  font-weight: 700
}

.nav-links a:hover {
  color: #c6a7ff
}

@media(min-width:901px) {
  .site-header .nav-links a[aria-current="page"],
  .site-header .nav-links a:focus-visible { color:#c6a7ff; }
}

.menu-toggle {
  display: none;
  border: 0;
  background: #f4efff;
  border-radius: 10px;
  padding: 9px 11px;
  font-size: 20px
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(90deg, var(--purple), var(--purple2));
  color: white;
  font-weight: 800;
  border-radius: 18px;
  padding: 16px 28px;
  box-shadow: 0 10px 24px rgba(111, 37, 255, .22);
  transition: .2s transform, .2s box-shadow
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 13px 28px rgba(111, 37, 255, .3)
}

.btn-small {
  padding: 11px 18px;
  border-radius: 14px;
  font-size: 14px
}

.hero2 {
  background: linear-gradient(120deg, #fff 0%, #fff 50%, #faf7ff 100%)
}

.hero {
  background: #7ecbff;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.4fr 1.1fr;
  gap: 38px;
  align-items: center
}

.eyebrow {
  display: inline-block;
  background: var(--lav);
  color: #9861ff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .04em;
  padding: 7px 12px;
  border-radius: 999px
}

.hero h1 {
  font-size: 66px;
  line-height: .98;
  margin: 18px 0 18px;
  letter-spacing: -.045em
}

.hero h1 span,
.section-heading span,
.feature-copy span,
.download-section h2 span {
  color: var(--purple)
}

.lead {
  font-size: 20px;
  color: #404663;
  max-width: 520px
}

.benefits-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 26px 0 18px
}

.benefits-inline>div {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 22px
}

.benefit-icon { width: 36px; height: 36px; color: #6f25ff; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }

.hero-btn {
  min-width: 255px
}

.micro {
  color: #fff;
  font-size: 13px
}

.hero-visual img {
  width: 100%;
  filter: drop-shadow(0 20px 30px rgba(80, 52, 130, .13));
  border-radius: 32px
}

.hero-video-frame { width: min(100%, 350px); margin: 0 auto; }
.hero-video { display: block; width: 100%; height: auto; aspect-ratio: 9 / 16; }

.section-heading {
  text-align: center;
  margin-bottom: 32px
}

.section-heading h2,
.feature-copy h2,
.download-section h2 {
  font-size: 44px;
  line-height: 1.05;
  margin: 0 0 10px;
  letter-spacing: -.03em
}

.section-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 17px
}

.how {
  background: #fff
}

.steps {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr auto 1fr;
  gap: 10px;
  align-items: stretch
}

.step {
  position: relative;
  text-align: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 27px 15px 22px;
  min-height: 250px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  box-shadow: var(--shadow)
}

.step-num {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 28px;
  height: 28px;
  background: var(--purple);
  color: white;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 800
}

.step-icon {
  font-size: 56px;
  line-height: 1.15;
  min-height: 66px;
  margin: 4px auto 14px;
  display: flex;
  align-items: flex-start;
  justify-content: center
}

.step h3 {
  font-size: 22px;
  line-height: 1.2;
  min-height: 54px;
  margin: 0 0 8px
}

.step h3 span { display: block; white-space: nowrap; }
.step { container-type: inline-size; }
.step h3 { font-size: clamp(18px, 13.5cqi, 22px); }

@media (min-width: 901px) and (max-width: 1100px) {
  .steps { grid-template-columns: repeat(3, 1fr); }
  .steps > .arrow { display: none; }
}

.step p {
  font-size: 13px;
  color: var(--muted);
  margin: 0
}

.arrow {
  color: var(--purple);
  font-size: 28px;
  align-self: center
}

.styles-section {
  padding-top: 26px
}

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

.style-card {
  text-align: center
}

.style-card img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: var(--shadow)
}

.style-card h3,
.product-grid h3 {
  margin: 13px 0 4px;
  font-size: 18px
}

.style-card p,
.product-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 14px
}

.link-section {
  padding-top: 42px
}

.feature-panel {
  display: grid;
  grid-template-columns: .9fr 1.2fr;
  gap: 34px;
  align-items: center;
  background: linear-gradient(90deg, #f9f2ff, #f3edff);
  border-radius: 26px;
  overflow: hidden;
  padding: 30px 40px
}

.phone-shot img {
  border-radius: 20px
}

.feature-copy p {
  font-size: 17px;
  color: #4f5471;
  max-width: 540px
}

.product-grid article {
  text-align: center
}

.product-grid img {
    width:100%;
    height:260px;
    border-radius:18px;
    object-fit:cover;
}

.occasion-strip {
  width: 100%;
  border-radius: 20px
}

.reviews-section {
  background: #f5efff
}

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

.reviews-grid blockquote {
  margin: 0;
  background: white;
  border-radius: 18px;
  padding: 22px;
  box-shadow: var(--shadow)
}

.stars {
  color: #ffad1f;
  font-size: 30px;
  line-height: 1.2;
  letter-spacing: 3px
}

.reviews-grid p {
  color: #454b69
}

.reviews-grid footer {
  font-weight: 800
}

.download-section {
  background: linear-gradient(100deg, #fff, #f5edff)
}

.download-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  align-items: center;
  gap: 35px
}

.store-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 24px 0 10px
}

.store-btn {
  background: #111;
  color: #fff;
  border-radius: 13px;
  padding: 10px 18px;
  min-width: 160px;
  display: flex;
  flex-direction: column;
  line-height: 1.05
}

.store-btn small {
  font-size: 10px
}

.store-btn strong {
  font-size: 20px
}

.download-grid img {
  border-radius: 20px
}

@media(max-width:900px) {
  .nav-wrap {
    grid-template-columns: auto auto 1fr
  }

  .menu-toggle {
    display: block
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 68px;
    left: 16px;
    right: 16px;
    background: white;
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: var(--shadow);
    padding: 18px;
    flex-direction: column;
    gap: 16px
  }

  .nav-links.open {
    display: flex
  }

  .header-cta {
    justify-self: end
  }

  .hero-grid,
  .feature-panel,
  .download-grid {
    grid-template-columns: 1fr
  }

  .hero h1 {
    font-size: 52px
  }

  .hero-copy { display: contents; }
  .hero-copy > * { order: 2; }
  .hero-copy > .eyebrow,
  .hero-copy > .hero-title { order: 0; }
  .hero-grid { gap: 20px; }

  .hero-visual {
    order: 1;
    width: 100%;
    max-width: 620px;
    margin: auto
  }

  .steps {
    grid-template-columns: 1fr 1fr;
    gap: 16px
  }

  .arrow {
    display: none
  }

  .style-grid,
  .product-grid {
    grid-template-columns: repeat(2, 1fr)
  }

  .reviews-grid {
    grid-template-columns: 1fr
  }

  .section-heading h2,
  .feature-copy h2,
  .download-section h2 {
    font-size: 36px
  }
}

@media(max-width:600px) {
  .section-pad {
    padding: 48px 0
  }

  .narrow,
  .narrow-grid {
    padding: 0 18px
  }

  .nav-wrap {
    padding: 12px 16px
  }

  .brand {
    font-size: 28px
  }

  .header-cta {
    font-size: 12px;
    padding: 10px 12px
  }

  .hero h1 {
    font-size: 44px
  }

  .lead {
    font-size: 17px
  }

  .benefits-inline {
    flex-direction: column;
    gap: 10px
  }

  .steps {
    grid-template-columns: 1fr
  }

  .style-grid,
  .product-grid {
    grid-template-columns: 1fr 1fr;
    gap: 14px
  }

  .style-card p,
  .product-grid p {
    font-size: 12px
  }

  .feature-panel {
    padding: 24px
  }

  .section-heading h2,
  .feature-copy h2,
  .download-section h2 {
    font-size: 32px
  }

  .store-buttons {
    flex-direction: column
  }

  .store-btn {
    max-width: 200px
  }

}

/* Typography: paragraph font sizes are managed here, never inline in HTML. */
p {
  font-size: 20px;
  line-height: 1.6;
}
.hero h1 span { color: #fff; }
.hero .lead { font-size: 24px; line-height: 1.5; }
.section-heading p { font-size: 20px; }
.step p { font-size: 18px; line-height: 1.5; }
.style-card p, .product-grid p { font-size: 19px; line-height: 1.5; }
.feature-copy p { font-size: 20px; line-height: 1.6; }
.reviews-grid p { font-size: 19px; line-height: 1.6; }
p.micro { font-size: 20px; line-height: 1.5; }

@media (max-width: 600px) {
  p { font-size: 18px; }
  .hero .lead { font-size: 21px; }
  .section-heading p { font-size: 18px; }
  .step p { font-size: 18px; }
  .style-card p, .product-grid p { font-size: 18px; }
  .feature-copy p { font-size: 18px; }
  .reviews-grid p { font-size: 18px; }
  p.micro { font-size: 16px; }
}

/* ArtifyMe logo used in place of visible brand text. */
.brand { display: inline-flex; align-items: center; transform: none; }
.artifyme-logo { display: inline-block; width: 128px; max-width: 100%; height: auto; vertical-align: middle; object-fit: contain; }
.site-header .artifyme-logo { width: 155px; }
.step p .artifyme-logo { width: 86px; vertical-align: -0.22em; }
.section-heading h2 .heading-logo { width: 225px; vertical-align: -0.24em; }
@media (max-width: 600px) {
  .site-header .artifyme-logo { width: 120px; }
  .section-heading h2 .heading-logo { width: 175px; }
}

.hero-title {
  line-height: 1.5;
}

/* =============================================
   ARTIFYME FOOTER — unified responsive styles
   Supports the four-column footer HTML and
   existing legacy footer markup without duplicates.
============================================= */
.copyright-footer {
  width: 100%;
  margin: 0;
  padding: 50px 25px 25px;
  background: #000;
  border: 0;
  color: #fff;
  box-sizing: border-box;
  font-size: 13px;
}

.copyright-footer .copyright-inner {
  display: block;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0;
}

/* Brand / logo */
.copyright-footer .footer-brand {
  text-align: center;
  margin-bottom: 40px;
}

.copyright-footer .footer-logo {
  display: block;
  width: 260px;
  max-width: 90%;
  height: auto;
  margin: 0 auto 15px;
  object-fit: contain;
}

.copyright-footer .footer-brand p {
  margin: 0;
  color: #ddd;
  font-size: 16px;
  font-weight: 500;
}

/* Four link columns */
.copyright-footer .footer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.copyright-footer .footer-column {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}

.copyright-footer .footer-column h3 {
  margin: 0 0 10px;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
}

.copyright-footer .footer-column a {
  color: #ccc;
  font-size: 15px;
  line-height: 1.5;
  text-decoration: none;
  transition: color .2s ease;
}

.copyright-footer .footer-column a:hover,
.copyright-footer .footer-column a:focus-visible {
  color: #ffcc00;
  text-decoration: underline;
}

/* Social media */
.copyright-footer .footer-social {
  padding: 25px 0;
  border-top: 1px solid #333;
  text-align: center;
}

.copyright-footer .footer-social h3 {
  margin: 0 0 18px;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
}

.copyright-footer .footer-social-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px 28px;
}

.copyright-footer .footer-social-links a {
  color: #ccc;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
}

.copyright-footer .footer-social-links a:hover,
.copyright-footer .footer-social-links a:focus-visible {
  color: #ffcc00;
}

/* Copyright notice */
.copyright-footer .footer-bottom {
  padding-top: 25px;
  border-top: 1px solid #333;
  text-align: center;
}

.copyright-footer .copyright-year,
.copyright-footer .footer-bottom .copyright-year {
  margin: 0 0 12px;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
}

.copyright-footer .footer-copyright-text {
  max-width: 950px;
  margin: 0 auto;
  color: #aaa;
  font-size: 12px;
  line-height: 1.7;
  text-align: center;
}

/* Compatibility with original footer layout */
.copyright-footer .copyright-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 20px;
  margin-bottom: 24px;
  border-bottom: 1px solid #333;
}

.copyright-footer .artifyme-logo {
  width: 165px;
  max-width: 100%;
  height: auto;
}

.copyright-footer .copyright-contact {
  color: #efefef;
  margin-bottom: 0;
}

.copyright-footer .footer-links {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px 28px;
  margin: 25px 0;
  text-align: center;
}

.copyright-footer .footer-links a {
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: color .3s ease;
}

.copyright-footer .footer-links a:hover {
  color: #ffcc00;
}

@media (max-width: 900px) {
  .copyright-footer .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 35px;
  }
}

@media (max-width: 600px) {
  .copyright-footer {
    padding: 35px 20px 20px;
  }

  .copyright-footer .footer-logo {
    width: 210px;
  }

  .copyright-footer .footer-brand p {
    font-size: 14px;
  }

  .copyright-footer .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px 18px;
  }

  .copyright-footer .footer-column h3 {
    font-size: 16px;
  }

  .copyright-footer .footer-column a,
  .copyright-footer .footer-social-links a {
    font-size: 13px;
  }

  .copyright-footer .footer-social-links {
    gap: 12px 20px;
  }

  .copyright-footer .footer-copyright-text {
    font-size: 11px;
    padding: 0 5px;
  }

  .copyright-footer .copyright-header {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
  }

  .copyright-footer .artifyme-logo {
    width: 145px;
  }

  .copyright-footer .footer-links {
    gap: 12px 18px;
  }

  .copyright-footer .footer-links a {
    font-size: 14px;
  }
}

@media (max-width: 360px) {
  .copyright-footer .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

/* Larger device icons on the Download App page. */
.download-platform-grid .platform-card .service-card-icon {
  font-size: 80px;
  line-height: 1.2;
}

.download-platform-grid .platform-card .device-platform-icon {
  width: 112px;
  height: 112px;
  margin: 0 auto 20px;
  object-fit: contain;
}

/* Larger Starter, Creator and Studio icons. */
.pricing-grid .plan-icon {
  display: block;
  width: 100%;
  text-align: center;
  font-size: 80px;
  line-height: 1.2;
}

.pricing-grid .plan-icon.plan-art {
  width: 184px;
  max-width: 100%;
  height: 184px;
  object-fit: contain;
  margin: 0 auto 8px;
}

@media (max-width: 600px) {
  .pricing-grid .plan-icon.plan-art {
    width: 160px;
    height: 160px;
  }
}

.pricing-grid .plan-card h2 {
  text-align: center;
}

.pricing-grid .plan-badge-slot {
  min-height: 32px;
  margin: 4px 0 8px;
  text-align: center;
}

.pricing-grid .plan-badge {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  color: white;
  background: var(--purple);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .05em;
  line-height: 1.5;
}

.pricing-grid .plan-badge-studio {
  background: var(--ink);
}

.pricing-grid .plan-card h2 {
  font-size: 28px;
}

.pricing-grid .plan-card > p {
  min-height: 81px;
}

@media (max-width: 900px) {
  .pricing-grid .plan-card > p { min-height: 0; }
  .pricing-grid .plan-badge-slot:empty { display: none; }
}

.pricing-grid .plan-card > p {
  text-align: left;
}

/* Free-credit inspiration cards. */
body[data-page="free-credits.html"] .service-card-grid .service-card-icon {
  display: block;
  font-size: 80px;
  line-height: 1.2;
  text-align: center;
}

body[data-page="account.html"] .service-card-grid .service-card-icon,
body[data-page="manage-subscription.html"] .service-card-grid .service-card-icon {
  display: block;
  font-size: 80px;
  line-height: 1.2;
  text-align: center;
}

body[data-page="account.html"] .service-card-grid .service-card,
body[data-page="manage-subscription.html"] .service-card-grid .service-card {
  text-align: center;
}

body[data-page="free-credits.html"] .service-card-grid .service-card h3,
body[data-page="free-credits.html"] .service-card-grid .service-card p {
  text-align: center;
}

/* Keep the current page visible in footer navigation after loading or refreshing. */
.copyright-footer .footer-column a[aria-current="page"] {
  color: #ffcc00;
  transition: none;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Mobile navigation begins with the menu button, followed by the logo. */
.drawer-header, .menu-backdrop { display: none; }

@media (max-width: 900px) {
  .site-header { backdrop-filter: none; }
  body.mobile-menu-open { overflow: hidden; }
  .site-header .nav-wrap {
    grid-template-columns: auto minmax(0, 1fr) auto;
  }

  .site-header .menu-toggle { grid-column: 1; grid-row: 1; }
  .site-header .brand { grid-column: 2; grid-row: 1; justify-self: start; }
  .site-header .header-cta { grid-column: 3; grid-row: 1; }

  .menu-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 40;
    background: rgba(15, 21, 54, .32);
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s ease, visibility 0s .3s;
  }
  .menu-backdrop.open { opacity: 1; visibility: visible; transition-delay: 0s; }

  .site-header .nav-links {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    right: auto;
    bottom: 0;
    width: min(340px, 88vw);
    height: 100dvh;
    padding: 24px 20px;
    gap: 8px;
    justify-content: flex-start;
    align-items: stretch;
    overflow-y: auto;
    overscroll-behavior: contain;
    background: radial-gradient(circle at 0 0, #d8efff, transparent 50%), linear-gradient(145deg, #fff, #f1e9ff);
    border: 0;
    border-right: 1px solid #e4d6fa;
    border-radius: 0 26px 26px 0;
    box-shadow: 16px 0 48px rgba(41, 25, 90, .16);
    transform: translateX(-105%);
    visibility: hidden;
    transition: transform .32s cubic-bezier(.22, 1, .36, 1), visibility 0s .32s;
  }
  .site-header .nav-links.open { transform: translateX(0); visibility: visible; transition-delay: 0s; }
  .drawer-header { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding-bottom: 24px; margin-bottom: 10px; border-bottom: 1px solid #e4d6fa; }
  .drawer-header img { width: 140px; height: auto; }
  .drawer-close { display: grid; place-items: center; flex: 0 0 42px; height: 42px; background: white; border: 1px solid #e4d6fa; border-radius: 14px; font-size: 30px; line-height: 1; color: var(--purple); cursor: pointer; }
  .site-header .nav-links > a { padding: 14px 18px; font-size: 20px; font-weight: 750; border-radius: 14px; color: var(--ink); }
  .site-header .nav-links > a:hover { color: var(--purple); background: #ffffffb8; }
  .site-header .nav-links > a[aria-current="page"] { background: white; color: var(--purple); box-shadow: 0 5px 18px #6f25ff12; }
}

@media (prefers-reduced-motion: reduce) {
  .site-header .nav-links, .menu-backdrop { transition: none; }
}

/* Illustrated homepage process, coordinated with the pricing artwork. */
.steps .step-icon.process-art {
  width: 140px;
  max-width: 100%;
  height: 140px;
  min-height: 0;
  object-fit: contain;
  margin: 4px auto 18px;
}

@media (max-width: 900px) {
  .steps .step-icon.process-art {
    width: 160px;
    height: 160px;
  }
}

/* Shared illustrated process, platform and support cards. */
.process-grid .process-emoji.themed-icon {
  display: block;
  width: 140px;
  max-width: 100%;
  height: 140px;
  object-fit: contain;
  margin: 18px auto;
}

.service-card-grid .service-card-icon.themed-icon,
.download-platform-grid .device-platform-icon.themed-icon {
  display: block;
  width: 184px;
  max-width: 100%;
  height: 184px;
  object-fit: contain;
  margin: 0 auto 20px;
}

.service-art .service-art-icon.themed-icon {
  display: block;
  width: 184px;
  max-width: 100%;
  height: 184px;
  object-fit: contain;
  margin: 0 auto 20px;
}

.service-art .service-art-icon.masterpiece-art {
  width: 240px;
  height: 240px;
}

.service-art.masterpiece-scene {
  padding: 0 0 20px;
}

.service-art.masterpiece-scene .service-art-icon.masterpiece-art {
  width: 100%;
  max-width: none;
  height: auto;
  aspect-ratio: 1;
  margin: 0 0 20px;
  border-radius: 10px;
}

.service-art.masterpiece-scene strong,
.service-art.masterpiece-scene p {
  padding-left: 14px;
  padding-right: 14px;
}

/* More prominent hero icons on customer support pages. */
body:is([data-page="contact.html"], [data-page="faq.html"], [data-page="shipping.html"], [data-page="refunds.html"], [data-page="cancellation.html"]) .service-art .service-art-icon {
  font-size: 128px;
  line-height: 1.2;
}

@media (max-width: 600px) {
  .service-card-grid .service-card-icon.themed-icon,
  .download-platform-grid .device-platform-icon.themed-icon {
    width: 160px;
    height: 160px;
  }
}
/* Shared web app installation experience */
.webapp-platforms { display:flex; flex-wrap:wrap; gap:10px; margin-top:24px; }
.webapp-platforms span { padding:8px 14px; background:rgba(255,255,255,.75); border:1px solid #e6dcff; border-radius:999px; color:#302653; font-size:15px; font-weight:700; }
p.webapp-note { font-size:15px; line-height:1.6; margin-top:18px; }
.webapp-device-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:18px; }
.webapp-feature-icon { display:grid; place-items:center; width:68px; height:68px; margin:0 auto 20px; border-radius:22px; background:linear-gradient(135deg,#eee5ff,#d9efff); color:#6f25ff; font-size:28px; font-weight:800; }
.webapp-feature-grid { text-align:center; }
.webapp-actions { display:flex; flex-direction:column; align-items:flex-start; gap:16px; margin-top:24px; }
.webapp-dialog { box-sizing:border-box; width:min(620px,calc(100% - 32px)); max-height:calc(100dvh - 40px); padding:38px; overflow:auto; border:1px solid #e4d8ff; border-radius:26px; background:linear-gradient(145deg,#fff,#f5efff); color:#141936; box-shadow:0 24px 80px #1c0d4340; }
.webapp-dialog::backdrop { background:#15152c80; backdrop-filter:blur(5px); }
.webapp-dialog .page-kicker { white-space:normal; max-width:calc(100% - 30px); line-height:1.5; }
.webapp-dialog h2 { font-size:32px; line-height:1.15; margin:18px 0; padding-right:20px; }
.webapp-dialog p { font-size:17px; }
.webapp-dialog label { display:block; font-size:15px; font-weight:700; margin:22px 0 8px; }
.webapp-dialog .webapp-open { display:flex; width:fit-content; max-width:100%; }
.webapp-dialog .webapp-open + label { clear:both; width:100%; }
.webapp-dialog select { width:100%; padding:12px; border:1px solid #bda4f0; border-radius:12px; background:white; color:#141936; font:inherit; }
.webapp-close { position:absolute; top:12px; right:12px; width:44px; height:44px; border:0; border-radius:50%; background:#eee5ff; color:#6f25ff; font-size:30px; cursor:pointer; }
.webapp-instructions { padding-left:25px; font-size:17px; line-height:1.6; }
.webapp-instructions li { padding-left:5px; margin:14px 0; }
.webapp-instructions li::marker { color:#6f25ff; font-weight:800; }
.webapp-dialog .webapp-browser-note { font-size:14px; color:#505777; }
.webapp-open[hidden],.webapp-standalone [data-webapp-install] { display:none!important; }
html:has(.webapp-dialog[open]) { overflow:hidden; }
@media (display-mode:standalone) { [data-webapp-install] { display:none!important; } }
@media(max-width:900px) { .webapp-device-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } .header-cta { font-size:13px; padding:10px 12px; } }
@media(max-width:480px) { .webapp-device-grid { grid-template-columns:1fr; } .webapp-dialog { padding:28px 22px; } .webapp-dialog h2 { font-size:28px; } }
.table-scroll { overflow-x:auto; margin:24px 0; }
.credit-pack-table { width:100%; border-collapse:collapse; text-align:left; font-size:17px; }
.credit-pack-table caption { text-align:left; font-weight:800; margin-bottom:16px; }
.credit-pack-table th,.credit-pack-table td { padding:14px 12px; border-bottom:1px solid #e6dff3; }
.credit-pack-table thead { background:#f3edff; }
@media(max-width:600px){.credit-pack-table{font-size:14px}.credit-pack-table th,.credit-pack-table td{padding:12px 6px}}

@media(max-width:600px) { #styles.styles-section { padding-top:24px; } }
/* Compact spacing before the homepage style, product and occasion headings. */
#styles.styles-section,
#products.products-section,
#occasions.occasions-section { padding-top:30px; }
#how.section-pad,
.link-section.section-pad,
#products.products-section { padding-bottom:24px; }
