: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: rgba(255, 255, 255, .94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid #f1edf8
}

.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 {
  display: flex;
  justify-content: center;
  gap: 34px;
  font-size: 18px;
  font-weight: 700
}

.nav-links a:hover {
  color: var(--purple)
}

.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;
  gap: 26px;
  margin: 26px 0 18px
}

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

.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
}

.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: 16px;
  line-height: 1.2;
  min-height: 40px;
  margin: 0 0 8px
}

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

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

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

.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-visual {
    order: -1;
    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-card h2 {
  text-align: center;
}

.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;
}
