* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --ink: #292521;
  --muted: rgba(54, 47, 39, 0.72);
  --soft: #fff6e8;
  --cream: #f7e7d0;
  --sand: #ead3b3;
  --bronze: #ad7740;
  --gold: #d8ac67;
  --line: rgba(173, 119, 64, 0.22);
  --card: rgba(255, 250, 242, 0.72);
  --shadow: 0 26px 84px rgba(94, 62, 29, 0.16);
  --display: "Didot", "Bodoni 72", "Bodoni MT", "Baskerville", Georgia, "Times New Roman", serif;
  --body: "Aptos", "Segoe UI Variable Text", "Segoe UI", Arial, sans-serif;
  --ease-soft: cubic-bezier(0.16, 1, 0.3, 1);
}

html {
  background: #f5e3c9;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 14% 4%, rgba(255, 255, 255, 0.82), transparent 28%),
    linear-gradient(115deg, rgba(255, 252, 245, 0.9), rgba(245, 224, 194, 0.78)),
    #f4dfc2;
  color: var(--ink);
  font-family: var(--body);
}

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

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

button,
input,
textarea {
  font: inherit;
}

h1,
h2,
h3,
p,
a,
span,
summary,
button,
input,
textarea {
  overflow-wrap: break-word;
  word-break: normal;
}

.main-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  min-height: 86px;
  align-items: center;
  padding: 0 clamp(22px, 4vw, 58px);
  border-bottom: 1px solid rgba(173, 119, 64, 0.24);
  background: rgba(255, 247, 234, 0.78);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  justify-self: start;
  font-family: var(--display);
  font-size: clamp(22px, 1.7vw, 30px);
  line-height: 1;
}

.brand-logo-shell {
  display: inline-flex;
  width: 46px;
  height: 34px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.46);
}

.company-logo {
  width: 42px;
  height: auto;
}

.header-nav {
  display: flex;
  align-items: center;
  justify-self: center;
  gap: clamp(18px, 2vw, 34px);
}

.nav-link {
  color: rgba(41, 37, 33, 0.86);
  font-size: 14px;
  font-weight: 560;
  transition: color 0.9s var(--ease-soft), transform 0.9s var(--ease-soft);
}

.nav-link:hover,
.nav-link[aria-current="page"] {
  color: var(--bronze);
  transform: translateY(-1px);
}

.header-actions {
  justify-self: end;
}

.tech-menu {
  position: relative;
}

.tech-menu summary {
  display: inline-flex;
  width: 48px;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 999px;
  color: var(--ink);
  cursor: pointer;
  font-size: 0;
  font-weight: 760;
  list-style: none;
  padding: 0;
  transition: background 0.9s var(--ease-soft), transform 0.9s var(--ease-soft);
}

.tech-menu summary::-webkit-details-marker {
  display: none;
}

.tech-menu summary::after {
  width: 24px;
  height: 16px;
  background:
    linear-gradient(currentColor, currentColor) center top / 100% 1.5px no-repeat,
    linear-gradient(currentColor, currentColor) center / 100% 1.5px no-repeat,
    linear-gradient(currentColor, currentColor) center bottom / 100% 1.5px no-repeat;
  content: "";
}

.tech-menu[open] summary,
.tech-menu summary:hover {
  background: rgba(185, 130, 68, 0.1);
  transform: translateY(-1px);
}

.tech-menu-list {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  display: grid;
  width: max-content;
  min-width: 230px;
  gap: 6px;
  border: 1px solid rgba(173, 119, 64, 0.22);
  border-radius: 18px;
  background: rgba(255, 248, 238, 0.94);
  box-shadow: var(--shadow);
  padding: 10px;
}

.tech-menu-list a {
  border-radius: 12px;
  color: rgba(41, 37, 33, 0.76);
  font-size: 12px;
  font-weight: 760;
  letter-spacing: 0.04em;
  padding: 11px 12px;
  transition: background 0.9s var(--ease-soft), color 0.9s var(--ease-soft), transform 0.9s var(--ease-soft);
}

.tech-menu-list a:hover,
.tech-menu-list a[aria-current="page"] {
  background: rgba(216, 172, 103, 0.18);
  color: var(--ink);
  transform: translateX(2px);
}

.mobile-detail-note {
  display: none;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 620px;
  padding: 142px 7vw 70px;
  background:
    linear-gradient(180deg, rgba(255, 246, 232, 0.12) 0%, rgba(255, 246, 232, 0.02) 72%, #f5e3c9 100%),
    url("/assets/premium-hero-bg.png") center top / cover no-repeat;
}

.hero-inner,
.section-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
}

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

.breadcrumb {
  display: none;
}

.breadcrumb a:hover {
  color: var(--bronze);
}

.eyebrow {
  margin-bottom: 18px;
  color: #9b642d;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

h1,
h2,
h3,
.title {
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: -0.035em;
  overflow-wrap: normal;
  word-break: keep-all;
  hyphens: none;
}

h1 {
  max-width: 980px;
  padding-bottom: 0.08em;
  font-size: clamp(3rem, 6.1vw, 6.85rem);
  line-height: 0.96;
  text-shadow: 0 22px 54px rgba(116, 77, 38, 0.12);
}

.lead {
  max-width: 690px;
  margin-top: 32px;
  color: var(--muted);
  font-size: clamp(16px, 1.16vw, 18px);
  line-height: 1.72;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.pill-btn {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(173, 119, 64, 0.36);
  border-radius: 999px;
  padding: 0 24px;
  font-size: 14px;
  font-weight: 720;
  transition: transform 1s var(--ease-soft), box-shadow 1s var(--ease-soft), background 1s var(--ease-soft), color 1s var(--ease-soft);
}

.pill-btn.primary {
  background: linear-gradient(135deg, #d6aa67, #a66f38);
  color: #fffdf7;
  box-shadow: 0 18px 44px rgba(154, 100, 45, 0.2);
}

.pill-btn.secondary {
  background: rgba(255, 250, 243, 0.36);
}

.pill-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 62px rgba(154, 100, 45, 0.22);
}

.section {
  padding: clamp(54px, 6vw, 86px) 7vw;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 0.7fr);
  gap: clamp(24px, 4vw, 54px);
  align-items: end;
  margin-bottom: 30px;
}

.title {
  max-width: 780px;
  font-size: clamp(2rem, 3.7vw, 4.2rem);
  line-height: 1.02;
}

.copy {
  max-width: 680px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.72;
}

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

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

.glass-card,
.image-card,
.faq-item {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--card);
  box-shadow: 0 18px 52px rgba(94, 62, 29, 0.1);
  transition: transform 1.1s var(--ease-soft), box-shadow 1.1s var(--ease-soft), border-color 1.1s var(--ease-soft), background 1.1s var(--ease-soft);
}

.glass-card {
  padding: 24px;
}

.glass-card:hover,
.image-card:hover,
.faq-item:hover {
  border-color: rgba(173, 119, 64, 0.38);
  background: rgba(255, 250, 242, 0.86);
  box-shadow: 0 30px 86px rgba(94, 62, 29, 0.16);
  transform: translateY(-5px);
}

.card-index {
  margin-bottom: 30px;
  color: rgba(173, 119, 64, 0.38);
  font-size: 40px;
  font-weight: 900;
}

.glass-card h3,
.faq-item h3 {
  margin-bottom: 10px;
  font-size: clamp(1.5rem, 2vw, 2.1rem);
  line-height: 1.05;
}

.step-grid .glass-card h3 {
  font-size: clamp(1.28rem, 1.45vw, 1.62rem);
  letter-spacing: -0.02em;
  line-height: 1.14;
  overflow-wrap: anywhere;
}

.glass-card p,
.faq-item p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.68;
}

.split-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 0.75fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}

.image-card {
  overflow: hidden;
}

.image-card img {
  width: 100%;
  height: 100%;
  min-height: 340px;
  object-fit: cover;
}

.service-marquee {
  overflow: hidden;
  height: 68px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin: 34px 0;
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}

.service-marquee-track {
  display: flex;
  width: max-content;
  height: 100%;
  align-items: center;
  gap: 28px;
  animation: serviceMarquee 34s linear infinite;
}

.service-marquee:hover .service-marquee-track,
.service-marquee:focus-within .service-marquee-track {
  animation-play-state: paused;
}

.service-marquee a,
.service-marquee span {
  color: rgba(41, 37, 33, 0.76);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}

.service-marquee i {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-left: 28px;
  border-radius: 999px;
  background: var(--bronze);
  opacity: 0.42;
}

@keyframes serviceMarquee {
  to { transform: translateX(-50%); }
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  padding: 0;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 22px 24px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item p {
  padding: 0 24px 22px;
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(190px, 0.5fr) minmax(320px, 1.5fr);
  align-items: stretch;
  gap: 18px;
}

.contact-list {
  display: grid;
  align-content: center;
  gap: 12px;
  padding: 28px;
}

.contact-panel > .contact-list {
  align-self: stretch;
  min-height: 100%;
}

.contact-form {
  display: grid;
  gap: 12px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(173, 119, 64, 0.22);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.52);
  color: var(--ink);
  padding: 14px 16px;
}

.contact-form button {
  min-height: 52px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #d6aa67, #a66f38);
  color: #fffdf7;
  cursor: pointer;
  font-weight: 780;
}

.form-privacy-note,
.form-response-note {
  color: rgba(54, 47, 39, 0.68);
  font-size: 13px;
  line-height: 1.55;
}

.form-honeypot {
  position: absolute;
  left: -9999px;
}

.footer-note {
  padding: 34px 7vw 42px;
  color: rgba(54, 47, 39, 0.58);
  font-size: 13px;
  text-align: center;
}

.legal-links {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 10px;
}

.creator-credit {
  display: block;
  margin-top: 12px;
}

@media (max-width: 900px) {
  .main-header {
    grid-template-columns: 1fr auto;
  }

  .header-nav {
    display: none;
  }

  .brand-name {
    font-size: 22px;
  }

  .hero {
    min-height: auto;
    padding-top: 124px;
  }

  .section-head,
  .split-grid,
  .contact-panel,
  .card-grid,
  .step-grid,
  .related-grid,
  .image-grid {
    grid-template-columns: 1fr;
  }

  .card-grid,
  .step-grid,
  .related-grid,
  .image-grid {
    gap: 12px;
  }
}

@media (max-width: 560px) {
  .main-header {
    display: flex;
    justify-content: space-between;
    min-height: 74px;
    padding: 0 18px;
  }

  .brand {
    min-width: 0;
  }

  .header-actions {
    margin-left: auto;
    justify-self: end;
  }

  .tech-menu {
    margin-left: auto;
  }

  .tech-menu-list {
    left: auto;
    right: 0;
    width: min(292px, calc(100vw - 28px));
    min-width: 0;
    max-width: calc(100vw - 28px);
    transform-origin: top right;
  }

  .brand-logo-shell {
    width: 40px;
    height: 30px;
  }

  .company-logo {
    width: 36px;
  }

  .brand-name {
    font-size: 19px;
  }

  .tech-menu summary {
    font-size: 0;
    padding: 0 8px;
  }

  h1 {
    font-size: clamp(2rem, 8.6vw, 3rem);
    line-height: 1.1;
  }

  .title {
    font-size: clamp(1.85rem, 7.8vw, 2.65rem);
    line-height: 1.12;
  }

  .section {
    padding: 44px 20px;
  }

  .desktop-detail {
    display: none;
  }

  .mobile-detail-note {
    display: block;
    padding: 0 20px 18px;
  }

  .mobile-detail-note .section-inner {
    max-width: 640px;
    border: 1px solid rgba(173, 119, 64, 0.18);
    border-radius: 18px;
    background: rgba(255, 250, 242, 0.72);
    box-shadow: 0 18px 52px rgba(94, 62, 29, 0.08);
    padding: 18px;
  }

  .mobile-detail-note p {
    margin: 0;
    color: rgba(41, 37, 33, 0.64);
    font-size: 13px;
    line-height: 1.58;
  }

  .hero {
    padding: 108px 20px 54px;
  }

  .service-marquee {
    display: flex;
    height: 54px;
    min-height: 54px;
    align-items: center;
  }

  .service-marquee-track {
    height: 100%;
    align-items: center;
    gap: 18px;
    animation-duration: 46s;
  }

  .service-marquee a,
  .service-marquee span {
    display: inline-flex;
    height: 100%;
    align-items: center;
    line-height: 1;
  }
}

@media (hover: none), (pointer: coarse) {
  .nav-link:hover,
  .pill-btn:hover,
  .glass-card:hover,
  .image-card:hover,
  .faq-item:hover,
  .tech-menu summary:hover,
  .tech-menu-list a:hover {
    transform: none;
  }

  .pill-btn:hover,
  .glass-card:hover,
  .image-card:hover,
  .faq-item:hover {
    box-shadow: inherit;
  }

  .tech-menu-list a:hover {
    background: transparent;
    color: rgba(41, 37, 33, 0.76);
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
