@import url("https://fonts.googleapis.com/css2?family=Noto+Serif+TC:wght@500;600;700;900&family=Playfair+Display:wght@500;600;700&display=swap");

/* Gallery White — presentation layer only. Functional selectors and copy stay untouched. */
:root {
  --ink: #25231f;
  --muted: #777168;
  --paper: #f4f2ed;
  --panel: #fffefa;
  --line: rgba(77, 70, 61, 0.14);
  --accent: #c5a059;
  --accent-dark: #91713c;
  --accent-soft: rgba(197, 160, 89, 0.12);
  --olive: #767966;
  --eyebrow: #8a7145;
  --gallery-white: rgba(255, 255, 252, 0.78);
  --gallery-white-strong: rgba(255, 255, 252, 0.94);
  --gallery-shadow: 0 30px 90px rgba(68, 59, 48, 0.12);
  --gallery-shadow-soft: 0 18px 48px rgba(68, 59, 48, 0.09);
  --gallery-shadow-float: 0 24px 48px rgba(51, 45, 38, 0.16);
  --gallery-serif: "Noto Serif TC", "Playfair Display", Georgia, serif;
  --gallery-sans: "Noto Sans TC", "Manrope", "Segoe UI", sans-serif;
}

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

body {
  background:
    radial-gradient(circle at 12% 0%, rgba(255, 255, 255, 0.96), transparent 34rem),
    radial-gradient(circle at 92% 14%, rgba(197, 160, 89, 0.09), transparent 30rem),
    linear-gradient(145deg, #f7f5f1 0%, #efede7 52%, #f7f5f1 100%);
  color: var(--ink);
  font-family: var(--gallery-sans);
  line-height: 1.55;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.34;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.055'/%3E%3C/svg%3E");
}

h1,
h2,
h3,
.landing-hero-copy h1,
.section-heading h2,
.landing-final h2,
.pricing-hero-copy h1,
.pricing-section-heading h2,
.pricing-includes h2,
.account-intro h1,
.support-hero h1,
.legal-main h1,
.account-section-heading h2 {
  font-family: var(--gallery-serif);
  font-weight: 600;
  letter-spacing: -0.035em;
}

.eyebrow {
  color: var(--eyebrow);
  font-family: var(--gallery-sans);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.24em;
}

button,
.file-button,
.landing-primary,
.landing-secondary,
.secondary-action,
.account-primary-button,
.package-buy-button,
.pricing-tier-cta,
.pricing-account-link,
.download-link {
  border-radius: 999px;
}

button,
.file-button,
.landing-primary,
.landing-secondary,
.secondary-action,
.account-primary-button,
.package-buy-button,
.pricing-tier-cta,
.pricing-account-link {
  transition:
    transform 240ms cubic-bezier(.2,.8,.2,1),
    box-shadow 240ms ease,
    border-color 240ms ease,
    background-color 240ms ease,
    color 240ms ease;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

/* Shared floating navigation */
.landing-header,
.subpage-header {
  width: min(1380px, calc(100% - 40px));
  min-height: 76px;
  margin: 18px auto 0;
  padding: 12px clamp(18px, 3vw, 32px);
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: 24px;
  background: rgba(250, 249, 246, 0.76);
  box-shadow: 0 14px 44px rgba(64, 56, 47, 0.09), inset 0 1px 0 rgba(255, 255, 255, 0.82);
  -webkit-backdrop-filter: blur(24px) saturate(125%);
  backdrop-filter: blur(24px) saturate(125%);
}

.landing-header {
  position: sticky;
  top: 14px;
  z-index: 30;
}

.landing-header-brand img,
.subpage-brand img {
  width: clamp(126px, 12vw, 164px);
}

.landing-header-nav,
.subpage-nav {
  gap: clamp(10px, 2vw, 24px);
}

.landing-header-nav > a:not(.header-pricing-link),
.subpage-nav > a:not(.pricing-account-link) {
  position: relative;
  color: #625d55;
  font-size: 12px;
  font-weight: 650;
}

.landing-header-nav > a:not(.header-pricing-link)::after,
.subpage-nav > a:not(.pricing-account-link)::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -5px;
  left: 0;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 220ms ease;
}

.landing-header-nav > a:hover::after,
.subpage-nav > a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-pricing-link,
.pricing-account-link,
.header-account-button {
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid rgba(69, 63, 55, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 252, 0.76);
  color: var(--ink);
  box-shadow: 0 8px 22px rgba(60, 53, 45, 0.07);
}

.header-account-button,
.pricing-account-link {
  border-color: var(--accent);
  background: linear-gradient(135deg, #d2b675, #a98543);
  color: #fff;
  box-shadow: 0 12px 28px rgba(145, 113, 60, 0.24);
}

.site-stats {
  padding: 7px 12px;
  border: 1px solid rgba(77, 70, 61, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.52);
}

/* Landing — immersive gallery hero */
.landing-page {
  background: transparent;
}

.landing-hero {
  min-height: auto;
  padding: 24px clamp(18px, 3.2vw, 48px) clamp(62px, 8vw, 108px);
  background: transparent;
}

.landing-hero::before {
  display: none;
}

.landing-hero-inner {
  position: relative;
  isolation: isolate;
  width: min(1380px, 100%);
  min-height: clamp(650px, 76vh, 820px);
  padding: clamp(26px, 5vw, 68px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(390px, 0.82fr);
  align-items: end;
  gap: clamp(24px, 4vw, 58px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 36px;
  background:
    linear-gradient(90deg, rgba(35, 32, 28, 0.28), rgba(35, 32, 28, 0.03) 58%, rgba(35, 32, 28, 0.12)),
    url("/examples/style-zen.png") center 48% / cover no-repeat;
  box-shadow: 0 40px 110px rgba(61, 52, 43, 0.2);
}

.landing-hero-inner::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.08), transparent 38%),
    linear-gradient(0deg, rgba(31, 28, 24, 0.22), transparent 54%);
}

.landing-hero-copy,
.hero-demo {
  border: 1px solid rgba(255, 255, 255, 0.58);
  background: rgba(247, 245, 240, 0.72);
  box-shadow: var(--gallery-shadow-float), inset 0 1px 0 rgba(255, 255, 255, 0.76);
  -webkit-backdrop-filter: blur(26px) saturate(118%);
  backdrop-filter: blur(26px) saturate(118%);
}

.landing-hero-copy {
  max-width: 720px;
  padding: clamp(26px, 4vw, 52px);
  border-radius: 28px;
}

.landing-logo {
  width: clamp(150px, 18vw, 230px);
  margin-bottom: 28px;
  filter: saturate(.74) contrast(.92);
}

.landing-hero-copy .eyebrow {
  color: #76623f;
}

.landing-hero-copy h1 {
  max-width: 700px;
  color: #24211d;
  font-size: clamp(42px, 5.7vw, 78px);
  line-height: 1.08;
  text-wrap: balance;
}

.landing-hero-copy > p:not(.eyebrow):not(.hero-microcopy) {
  max-width: 610px;
  margin-top: 22px;
  color: #625c53;
  font-size: clamp(14px, 1.3vw, 17px);
  line-height: 1.88;
}

.landing-actions {
  margin-top: 28px;
  gap: 12px;
}

.landing-primary,
.landing-secondary {
  min-height: 50px;
  padding: 0 24px;
  font-size: 13px;
  letter-spacing: .03em;
}

.landing-primary {
  border: 1px solid #2e2a25;
  background: #2e2a25;
  color: #fff;
  box-shadow: 0 14px 28px rgba(33, 30, 26, 0.18);
}

.landing-primary:hover {
  border-color: #9d7c42;
  background: #9d7c42;
  box-shadow: 0 16px 32px rgba(145, 113, 60, .27);
}

.landing-secondary {
  border: 1px solid rgba(65, 59, 52, .16);
  background: rgba(255, 255, 252, .68);
  color: #39352f;
}

.hero-microcopy {
  margin-top: 18px;
  color: #756e64;
}

.hero-microcopy span::before {
  background: var(--accent);
}

.hero-demo {
  width: min(100%, 520px);
  max-width: none;
  padding: 14px;
  justify-self: end;
  border-radius: 26px;
}

.hero-demo-frame {
  overflow: hidden;
  border: 0;
  border-radius: 18px;
  background: #e9e5de;
  box-shadow: inset 0 0 0 1px rgba(52, 47, 41, .08);
}

.hero-demo-label {
  bottom: 14px;
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 12px;
  background: rgba(35, 32, 28, .72);
  box-shadow: 0 8px 18px rgba(30,27,23,.18);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.hero-demo-handle {
  background: rgba(255,255,252,.92);
  box-shadow: 0 0 0 1px rgba(44,40,35,.18), 0 8px 20px rgba(34,31,27,.22);
}

.hero-demo-caption {
  padding: 14px 5px 3px;
  color: #5f594f;
}

.hero-demo-caption strong {
  font-family: var(--gallery-serif);
  font-size: 15px;
  font-weight: 600;
}

.hero-demo-track {
  background: rgba(64, 58, 51, .13);
}

.hero-demo-fill,
.hero-demo-knob {
  background: var(--accent);
}

/* Landing content */
.landing-section {
  width: min(1260px, calc(100% - 40px));
  padding-top: clamp(76px, 10vw, 140px);
  padding-bottom: clamp(76px, 10vw, 140px);
}

.section-heading {
  max-width: 820px;
}

.section-heading h2 {
  font-size: clamp(38px, 5.4vw, 70px);
  line-height: 1.12;
  text-wrap: balance;
}

.section-heading > p:last-child {
  max-width: 720px;
  color: var(--muted);
  font-size: clamp(15px, 1.55vw, 18px);
  line-height: 1.85;
}

.use-case-showcase {
  margin-top: 46px;
  padding: 14px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.72);
  border-radius: 32px;
  background: var(--gallery-white);
  box-shadow: var(--gallery-shadow);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
}

.use-case-tabs-wrap {
  padding: 4px 4px 14px;
}

.use-case-tabs {
  gap: 6px;
  padding: 6px;
  border: 1px solid rgba(77,70,61,.1);
  border-radius: 999px;
  background: rgba(235,232,225,.72);
}

.use-tab {
  min-height: 46px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #777067;
  box-shadow: none;
}

.use-tab + .use-tab::before {
  display: none;
}

.use-tab.active {
  background: rgba(255,255,252,.96);
  color: var(--ink);
  box-shadow: 0 8px 22px rgba(58,52,45,.1), inset 0 0 0 1px rgba(255,255,255,.78);
}

.use-tab.active::before,
.use-tab.active + .use-tab::before {
  display: none;
}

.use-case-panel {
  overflow: hidden;
  border-radius: 22px;
}

.use-case-banner {
  border-radius: 22px;
}

.landing-benefits {
  width: min(1260px, calc(100% - 40px));
}

.benefit-list {
  gap: 18px;
  margin-top: 46px;
}

.benefit-list > .benefit-card {
  min-height: 330px;
  padding: 34px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.74);
  border-radius: 28px;
  background: rgba(255,255,252,.68);
  box-shadow: var(--gallery-shadow-soft);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.benefit-list > .benefit-card::after {
  width: 180px;
  height: 180px;
  right: -86px;
  bottom: -96px;
  border: 1px solid rgba(197,160,89,.28);
  border-radius: 50%;
  background: transparent;
}

.benefit-list > .benefit-card:hover {
  transform: translateY(-8px);
  border-color: rgba(197,160,89,.38);
  box-shadow: 0 28px 72px rgba(68,59,48,.14);
}

.benefit-list .benefit-num {
  color: rgba(145,113,60,.2);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 62px;
  font-weight: 500;
}

.benefit-list .benefit-icon {
  border: 1px solid rgba(197,160,89,.28);
  border-radius: 50%;
  background: rgba(197,160,89,.08);
  color: var(--accent-dark);
}

.benefit-list h3 {
  font-family: var(--gallery-serif);
  font-size: 24px;
  font-weight: 600;
}

.benefit-list p {
  color: var(--muted);
  line-height: 1.85;
}

.landing-final {
  width: min(1260px, calc(100% - 40px));
  min-height: 520px;
  margin-bottom: clamp(80px, 10vw, 140px);
  padding: clamp(34px, 6vw, 76px);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 34px;
  background:
    radial-gradient(circle at 78% 22%, rgba(197,160,89,.22), transparent 24rem),
    linear-gradient(135deg, #292722 0%, #3a352e 100%);
  box-shadow: 0 36px 100px rgba(43,38,32,.22);
}

.landing-final::before {
  opacity: .18;
  background-image: linear-gradient(rgba(255,255,255,.12) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.12) 1px, transparent 1px);
  background-size: 40px 40px;
}

.landing-final h2 {
  color: #fffefa;
  font-size: clamp(38px, 5vw, 68px);
  font-weight: 500;
}

.landing-final-sub {
  color: rgba(255,255,252,.64);
}

.final-badge {
  border-color: rgba(197,160,89,.32);
  background: rgba(255,255,255,.08);
  color: #d8bf88;
}

.final-card {
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 20px;
  background: rgba(255,255,255,.12);
  box-shadow: 0 24px 48px rgba(0,0,0,.24);
}

.final-card figcaption {
  border-radius: 999px;
  background: rgba(32,29,25,.72);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.landing-footer {
  background: #27251f;
}

.landing-footer-inner {
  width: min(1260px, calc(100% - 40px));
  gap: 34px;
}

.landing-footer-privacy {
  border-color: rgba(255,255,255,.1);
  border-radius: 18px;
  background: rgba(255,255,255,.04);
}

@keyframes gallery-rise {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

.landing-hero-copy,
.hero-demo,
.section-heading,
.benefit-card,
.landing-final {
  animation: gallery-rise .72s cubic-bezier(.2,.8,.2,1) both;
}

.hero-demo { animation-delay: .12s; }
.benefit-card:nth-child(2) { animation-delay: .08s; }
.benefit-card:nth-child(3) { animation-delay: .16s; }

/* Studio — calm professional canvas */
.app-shell {
  width: min(1640px, 100%);
  margin: 0 auto;
  padding: 24px clamp(16px, 2.4vw, 38px) 64px;
}

.topbar {
  min-height: auto;
  padding: clamp(18px, 2.5vw, 30px);
  display: grid;
  grid-template-columns: minmax(230px, .65fr) minmax(360px, 1fr);
  align-items: center;
  gap: 20px 32px;
  border: 1px solid rgba(255,255,255,.76);
  border-radius: 28px;
  background: rgba(250,249,246,.74);
  box-shadow: var(--gallery-shadow-soft), inset 0 1px 0 rgba(255,255,255,.86);
  -webkit-backdrop-filter: blur(24px) saturate(120%);
  backdrop-filter: blur(24px) saturate(120%);
}

.brand-lockup {
  flex: initial;
  min-height: 0;
}

.brand-logo {
  width: clamp(190px, 21vw, 320px);
}

.studio-account-bar {
  gap: 8px;
}

.studio-account-bar > span {
  padding: 9px 14px;
  border: 1px solid rgba(77,70,61,.1);
  border-radius: 999px;
  background: rgba(255,255,252,.66);
  color: #69635b;
}

.secondary-action {
  min-height: 40px;
  padding: 0 16px;
  border-color: rgba(77,70,61,.13);
  background: rgba(255,255,252,.62);
  color: #47423b;
}

.secondary-action:hover {
  border-color: rgba(197,160,89,.48);
  background: rgba(255,255,252,.94);
  box-shadow: 0 10px 22px rgba(63,55,47,.08);
}

.pricing-nav-action {
  border-color: rgba(197,160,89,.44);
  background: var(--accent-soft);
  color: var(--accent-dark);
}

.topbar .actions {
  grid-column: 1 / -1;
  width: 100%;
  max-width: none;
  padding-top: 18px;
  display: grid;
  grid-template-columns: .72fr 1.45fr .72fr;
  gap: 10px;
  border-top: 1px solid rgba(77,70,61,.1);
}

.action-row {
  gap: 8px;
}

.topbar .actions button,
.topbar .actions .file-button {
  min-height: 58px;
  border: 1px solid rgba(77,70,61,.11);
  border-radius: 16px;
  background: rgba(255,255,252,.62);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.82);
  color: #4b463f;
}

.topbar .actions button:hover:not(:disabled),
.topbar .actions .file-button:hover {
  border-color: rgba(197,160,89,.42);
  background: rgba(255,255,252,.94);
  box-shadow: 0 12px 28px rgba(64,56,47,.09);
}

.button-step {
  padding: 2px 8px;
  border: 0;
  background: transparent;
  color: var(--accent-dark);
  letter-spacing: .13em;
}

#designButton,
.editor-design-button {
  border-color: #9c7b42;
  background: linear-gradient(135deg, #d2b675, #9d7b40);
  box-shadow: 0 12px 28px rgba(145,113,60,.24), inset 0 1px 0 rgba(255,255,255,.26);
}

#designButton:hover:not(:disabled),
.editor-design-button:hover:not(:disabled) {
  border-color: #8e6c36;
  box-shadow: 0 16px 34px rgba(145,113,60,.32), inset 0 1px 0 rgba(255,255,255,.3);
}

.workspace {
  grid-template-columns: 282px minmax(420px, 1fr) 328px;
  gap: 18px;
  min-height: 680px;
  margin-top: 18px;
}

.panel,
.result-section,
.canvas-stage {
  border: 1px solid rgba(255,255,255,.76);
  border-radius: 26px;
  background: rgba(255,255,252,.72);
  box-shadow: var(--gallery-shadow-soft), inset 0 1px 0 rgba(255,255,255,.84);
  -webkit-backdrop-filter: blur(20px) saturate(115%);
  backdrop-filter: blur(20px) saturate(115%);
}

.panel {
  padding: 24px;
}

.panel h2,
.result-header h2 {
  font-size: 25px;
  font-weight: 600;
}

.hint,
.editor-empty,
.status {
  color: #7b756c;
}

.canvas-stage {
  height: 680px;
  min-height: 680px;
  overflow: hidden;
  background:
    radial-gradient(circle, rgba(96,87,77,.11) 1px, transparent 1.2px),
    linear-gradient(145deg, rgba(242,240,235,.95), rgba(229,226,219,.78));
  background-size: 22px 22px, auto;
}

.empty-state {
  gap: 12px;
}

.empty-state::before {
  content: "+";
  width: 62px;
  height: 62px;
  margin: 0 auto 10px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(145,113,60,.34);
  border-radius: 50%;
  background: rgba(255,255,252,.64);
  color: var(--accent-dark);
  font: 300 32px/1 var(--gallery-sans);
  box-shadow: 0 12px 30px rgba(69,61,52,.08);
}

.empty-state strong {
  font-family: var(--gallery-serif);
  font-size: 27px;
  font-weight: 600;
}

.canvas-mode-hint {
  border: 1px solid rgba(255,255,255,.24);
  background: rgba(42,39,34,.76);
  box-shadow: 0 14px 34px rgba(38,33,28,.18);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.zoom-toolbar {
  border: 1px solid rgba(77,70,61,.12);
  border-radius: 999px;
  background: rgba(255,255,252,.78);
  box-shadow: 0 12px 30px rgba(60,53,45,.1);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.zoom-toolbar button {
  background: transparent;
}

.annotation-item {
  min-height: 72px;
  padding: 14px;
  border: 1px solid rgba(77,70,61,.1);
  border-radius: 16px;
  background: rgba(245,243,238,.74);
  box-shadow: none;
}

.annotation-item.active {
  border-color: rgba(197,160,89,.52);
  background: rgba(255,252,244,.92);
  box-shadow: inset 3px 0 0 var(--accent), 0 10px 26px rgba(69,61,52,.08);
}

.annotation-title {
  color: var(--accent-dark);
}

.field {
  gap: 10px;
}

.field label {
  color: #4c4740;
}

.style-preset-select,
.image-count-control select,
textarea {
  border: 1px solid rgba(77,70,61,.13);
  border-radius: 14px;
  background: rgba(255,255,252,.76);
  box-shadow: inset 0 1px 2px rgba(61,54,46,.03);
}

textarea {
  padding: 14px;
  line-height: 1.7;
}

.upload-drop {
  min-height: 94px;
  border: 1px dashed rgba(145,113,60,.46);
  border-radius: 16px;
  background: rgba(197,160,89,.07);
  color: #746d63;
}

.upload-drop:hover {
  border-color: var(--accent);
  background: rgba(197,160,89,.12);
}

.reference-preview {
  border: 1px solid rgba(77,70,61,.11);
  border-radius: 16px;
  background: rgba(255,255,252,.78);
}

.danger {
  border-color: rgba(123,83,70,.16);
  background: transparent;
}

.result-section {
  margin-top: 18px;
  padding: clamp(20px, 2.6vw, 34px);
}

.result-header {
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(77,70,61,.1);
}

.image-count-control {
  padding: 5px 5px 5px 13px;
  border: 1px solid rgba(77,70,61,.1);
  border-radius: 999px;
  background: rgba(255,255,252,.58);
}

.process-log {
  border: 1px solid rgba(197,160,89,.18);
  border-radius: 16px;
  background: rgba(255,252,244,.76);
}

.compare-grid {
  gap: 16px;
  margin-top: 24px;
}

.compare-panel {
  padding: 16px;
  border: 1px solid rgba(77,70,61,.1);
  border-radius: 20px;
  background: rgba(247,245,240,.64);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.74);
}

.compare-panel h3 {
  color: #5f5a52;
  font-family: var(--gallery-serif);
  font-size: 18px;
  font-weight: 600;
}

.compare-image-wrap {
  border: 0;
  border-radius: 14px;
  background: linear-gradient(145deg, #eae7e1, #f4f2ed);
  box-shadow: inset 0 0 0 1px rgba(77,70,61,.08);
}

.result-loader {
  color: #726b62;
}

.spinner {
  border-width: 2px;
  border-color: rgba(77,70,61,.13);
  border-top-color: var(--accent);
}

.download-link {
  min-height: 36px;
  padding: 0 16px;
  border-color: rgba(145,113,60,.3);
  background: rgba(197,160,89,.08);
  color: var(--accent-dark);
}

.studio-privacy {
  margin-top: 18px;
  padding: 22px 24px;
  border: 1px solid rgba(255,255,255,.66);
  border-radius: 22px;
  background: rgba(255,255,252,.58);
  box-shadow: 0 14px 36px rgba(66,58,49,.06);
}

.privacy-key {
  border-color: rgba(197,160,89,.24);
  border-radius: 999px;
  background: rgba(197,160,89,.08);
  color: var(--accent-dark);
}

/* Account, pricing, support and legal pages */
.account-body,
.pricing-body {
  background:
    radial-gradient(circle at 8% 0%, rgba(255,255,255,.95), transparent 31rem),
    radial-gradient(circle at 94% 16%, rgba(197,160,89,.1), transparent 28rem),
    linear-gradient(145deg, #f7f5f1, #eeece6);
  background-size: auto;
}

.account-main,
.support-main,
.pricing-main,
.legal-main {
  width: min(1240px, calc(100% - 40px));
  padding-top: clamp(58px, 8vw, 108px);
}

.legal-main {
  width: min(920px, calc(100% - 40px));
}

.account-intro,
.support-hero,
.pricing-hero-copy {
  max-width: 880px;
}

.account-intro h1,
.support-hero h1,
.pricing-hero-copy h1,
.legal-main h1 {
  color: #2b2823;
  font-size: clamp(44px, 6.5vw, 82px);
  font-weight: 600;
  line-height: 1.08;
  text-wrap: balance;
}

.account-intro > p:last-child,
.support-hero > p,
.pricing-hero-copy > p:last-child {
  color: #756f66;
  line-height: 1.9;
}

.account-notice {
  padding: 11px 16px;
  border: 1px solid rgba(77,70,61,.11);
  border-radius: 999px;
  background: rgba(255,255,252,.68);
  box-shadow: 0 10px 28px rgba(64,56,47,.06);
}

.signed-out-card {
  border: 1px solid rgba(255,255,255,.74);
  border-left: 1px solid rgba(255,255,255,.74);
  border-radius: 28px;
  background: rgba(255,255,252,.7);
  box-shadow: var(--gallery-shadow);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
}

.signed-out-card::before {
  content: "";
  width: 4px;
  align-self: stretch;
  border-radius: 99px;
  background: linear-gradient(var(--accent), rgba(197,160,89,.18));
}

.signed-out-card h2 {
  font-family: var(--gallery-serif);
  font-weight: 600;
}

.account-primary-button,
.package-buy-button {
  border-color: #a18148;
  background: linear-gradient(135deg, #d2b675, #9d7b40);
  color: #fff;
  box-shadow: 0 12px 28px rgba(145,113,60,.2);
}

.account-primary-button:disabled,
.package-buy-button:disabled {
  border-color: rgba(77,70,61,.12);
  background: rgba(236,233,227,.7);
  color: #847e75;
  box-shadow: none;
}

.account-dashboard {
  gap: clamp(60px, 9vw, 108px);
}

.account-section-heading h2 {
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 600;
}

.credit-number-grid {
  gap: 14px;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.credit-number-card {
  min-height: 220px;
  padding: clamp(26px, 3.5vw, 42px);
  border: 1px solid rgba(255,255,255,.72);
  border-radius: 24px;
  background: rgba(255,255,252,.66);
  box-shadow: var(--gallery-shadow-soft);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.credit-number-card:first-child {
  border-left: 1px solid rgba(255,255,255,.72);
}

.credit-number-card strong {
  font-family: "Playfair Display", var(--gallery-serif);
  font-weight: 500;
}

.credit-number-main {
  border-color: rgba(255,255,255,.14);
  background:
    radial-gradient(circle at 88% 18%, rgba(197,160,89,.3), transparent 12rem),
    linear-gradient(145deg, #312f2a, #464037);
  color: #fffefa;
}

.credit-number-main::after {
  border-color: rgba(197,160,89,.36);
}

.package-grid {
  gap: 16px;
}

.package-card {
  min-height: 370px;
  border: 1px solid rgba(255,255,255,.72);
  border-radius: 26px;
  background: rgba(255,255,252,.66);
  box-shadow: var(--gallery-shadow-soft);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.package-card:hover {
  transform: translateY(-8px);
  border-color: rgba(197,160,89,.4);
  box-shadow: 0 28px 70px rgba(68,59,48,.13);
}

.package-card.featured,
.package-card.selected {
  border-color: rgba(197,160,89,.62);
  background: linear-gradient(180deg, rgba(255,252,242,.96), rgba(255,255,252,.72));
  box-shadow: 0 28px 70px rgba(145,113,60,.14);
}

.package-card.selected {
  border-width: 2px;
}

.package-badge {
  border: 1px solid rgba(197,160,89,.26);
  background: rgba(197,160,89,.1);
  color: var(--accent-dark);
}

.package-index {
  color: var(--accent-dark);
}

.package-credits,
.package-price {
  font-family: "Playfair Display", var(--gallery-serif);
  font-weight: 500;
}

.ledger-wrap,
.job-card,
.empty-jobs {
  border: 1px solid rgba(255,255,255,.7);
  border-radius: 24px;
  background: rgba(255,255,252,.65);
  box-shadow: var(--gallery-shadow-soft);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.ledger-table thead th {
  background: rgba(197,160,89,.07);
}

.ledger-table th,
.ledger-table td {
  border-color: rgba(77,70,61,.09);
}

.jobs-grid {
  gap: 16px;
}

.job-card {
  padding: 24px;
}

/* Pricing */
.pricing-main {
  width: min(1280px, calc(100% - 40px));
}

.pricing-hero {
  position: relative;
  min-height: 420px;
  padding: clamp(36px, 6vw, 72px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.74);
  border-radius: 34px;
  background:
    linear-gradient(90deg, rgba(247,245,240,.93), rgba(247,245,240,.6) 60%, rgba(247,245,240,.18)),
    url("/examples/style-ref-after.png") center 48% / cover no-repeat;
  box-shadow: var(--gallery-shadow);
}

.pricing-hero-copy {
  position: relative;
  z-index: 1;
}

.pricing-hero-copy h1 {
  max-width: 820px;
  font-size: clamp(44px, 6vw, 78px);
}

.pricing-tiers {
  margin-top: clamp(72px, 9vw, 116px);
}

.pricing-section-heading h2,
.pricing-includes h2 {
  font-weight: 600;
}

.pricing-grid {
  gap: 16px;
  overflow: visible;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.pricing-tier-card {
  min-height: 530px;
  border: 1px solid rgba(255,255,255,.74);
  border-radius: 28px;
  background: rgba(255,255,252,.68);
  box-shadow: var(--gallery-shadow-soft);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  transition: transform 240ms cubic-bezier(.2,.8,.2,1), border-color 240ms ease, box-shadow 240ms ease;
}

.pricing-tier-card:first-child {
  border-left: 1px solid rgba(255,255,255,.74);
}

.pricing-tier-card:hover {
  transform: translateY(-8px);
  border-color: rgba(197,160,89,.46);
  background: rgba(255,255,252,.88);
  box-shadow: 0 30px 74px rgba(68,59,48,.14);
}

.pricing-tier-card.featured,
.pricing-tier-card.featured:hover {
  border-color: rgba(197,160,89,.58);
  background: linear-gradient(180deg, rgba(255,251,239,.96), rgba(255,255,252,.74));
  box-shadow: 0 30px 76px rgba(145,113,60,.16);
}

.pricing-tier-badge {
  border: 1px solid rgba(197,160,89,.24);
  background: #aa8749;
  box-shadow: 0 10px 24px rgba(145,113,60,.2);
}

.pricing-tier-card h3,
.pricing-tier-credits strong,
.pricing-tier-price strong {
  font-family: "Playfair Display", var(--gallery-serif);
  font-weight: 500;
}

.pricing-tier-cta {
  border-color: #302d28;
  background: #302d28;
  box-shadow: 0 12px 28px rgba(38,34,29,.16);
}

.pricing-tier-card.featured .pricing-tier-cta {
  border-color: #a18148;
  background: linear-gradient(135deg, #d2b675, #9d7b40);
}

.pricing-includes {
  border-top-color: rgba(77,70,61,.14);
}

.pricing-includes-grid {
  gap: 14px;
  border: 0;
}

.pricing-includes-grid article {
  min-height: 230px;
  border: 1px solid rgba(255,255,255,.7);
  border-radius: 22px;
  background: rgba(255,255,252,.62);
  box-shadow: var(--gallery-shadow-soft);
}

.pricing-includes-grid article:first-child {
  border-left: 1px solid rgba(255,255,255,.7);
}

.pricing-includes-grid strong {
  font-family: var(--gallery-serif);
  font-size: 20px;
  font-weight: 600;
}

.pricing-note {
  border: 1px solid rgba(197,160,89,.28);
  border-radius: 24px;
  background: rgba(255,252,243,.68);
  box-shadow: var(--gallery-shadow-soft);
}

.pricing-note-mark {
  background: var(--accent);
}

/* Support and legal */
.support-main {
  gap: clamp(46px, 7vw, 100px);
}

.support-faq {
  padding: clamp(26px, 4vw, 48px);
  border: 1px solid rgba(255,255,255,.7);
  border-radius: 28px;
  background: rgba(255,255,252,.6);
  box-shadow: var(--gallery-shadow-soft);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.support-faq details,
.support-faq details:last-child {
  border-color: rgba(77,70,61,.1);
}

.support-faq summary::after {
  color: var(--accent-dark);
}

.legal-main {
  margin-top: clamp(28px, 5vw, 64px);
  margin-bottom: clamp(60px, 8vw, 110px);
  padding: clamp(34px, 6vw, 72px);
  border: 1px solid rgba(255,255,255,.72);
  border-radius: 30px;
  background: rgba(255,255,252,.66);
  box-shadow: var(--gallery-shadow);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.legal-main section {
  border-color: rgba(77,70,61,.1);
}

.legal-main section h2 {
  font-weight: 600;
}

.legal-main section a {
  color: var(--accent-dark);
}

.subpage-footer {
  margin: 0;
  border-top: 1px solid rgba(255,255,255,.06);
  background: #292720;
}

/* Responsive refinements */
@media (max-width: 1120px) {
  .landing-hero-inner {
    grid-template-columns: minmax(0, 1fr) minmax(340px, .78fr);
    min-height: 720px;
  }

  .landing-hero-copy h1 {
    font-size: clamp(40px, 5.5vw, 64px);
  }

  .workspace {
    grid-template-columns: 240px minmax(360px, 1fr) 290px;
  }

  .panel {
    padding: 20px;
  }
}

@media (max-width: 980px) {
  .landing-header,
  .subpage-header {
    width: min(100% - 24px, 1380px);
    margin-top: 12px;
    border-radius: 20px;
  }

  .landing-hero {
    padding: 18px 12px 70px;
  }

  .landing-hero-inner {
    min-height: 920px;
    padding: 28px;
    grid-template-columns: 1fr;
    align-content: end;
    gap: 18px;
    border-radius: 30px;
  }

  .landing-hero-copy {
    max-width: 700px;
  }

  .hero-demo {
    width: min(100%, 560px);
    justify-self: start;
  }

  .topbar {
    grid-template-columns: 1fr;
  }

  .studio-account-bar {
    justify-content: flex-start;
  }

  .topbar .actions {
    grid-template-columns: 1fr;
  }

  .workspace {
    grid-template-columns: 1fr;
  }

  .canvas-stage {
    height: 620px;
    min-height: 620px;
    grid-row: 1;
  }

  .left-panel { grid-row: 2; }
  .right-panel { grid-row: 3; }

  .compare-grid {
    grid-template-columns: 1fr;
  }

  .support-main {
    grid-template-columns: 1fr;
  }

  .support-faq {
    padding-top: 32px;
  }

  .pricing-grid {
    grid-template-columns: 1fr 1fr;
  }

  .pricing-tier-card:last-child {
    grid-column: 1 / -1;
    border: 1px solid rgba(255,255,255,.74);
  }

  .pricing-includes-grid {
    grid-template-columns: 1fr 1fr;
  }

  .pricing-includes-grid article,
  .pricing-includes-grid article:nth-child(3) {
    border: 1px solid rgba(255,255,255,.7);
  }
}

@media (max-width: 720px) {
  .landing-header,
  .subpage-header {
    position: relative;
    top: auto;
    min-height: 68px;
    padding: 10px 14px;
  }

  .landing-header-nav,
  .subpage-nav {
    gap: 7px;
  }

  .subpage-header {
    align-items: center;
    flex-direction: column;
    gap: 9px;
  }

  .subpage-nav {
    width: 100%;
    max-width: none;
    padding: 4px;
    overflow-x: auto;
    justify-content: flex-start;
    border: 1px solid rgba(77,70,61,.08);
    border-radius: 999px;
    background: rgba(239,236,230,.68);
    scrollbar-width: none;
  }

  .subpage-nav::-webkit-scrollbar {
    display: none;
  }

  .landing-header-nav > a:not(.header-pricing-link),
  .site-stats {
    display: none;
  }

  .subpage-nav > a,
  .subpage-nav > a:not(.pricing-account-link),
  .subpage-nav > .pricing-account-link {
    min-height: 36px;
    padding: 0 11px;
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    border-radius: 999px;
    white-space: nowrap;
    font-size: 10px;
  }

  .header-pricing-link,
  .header-account-button,
  .pricing-account-link {
    min-height: 38px;
    padding: 0 13px;
    font-size: 11px;
  }

  .landing-hero-inner {
    min-height: 800px;
    padding: 16px;
    border-radius: 26px;
    background-position: 58% center;
  }

  .landing-hero-copy {
    padding: 24px;
    border-radius: 22px;
  }

  .landing-logo {
    width: 150px;
    margin-bottom: 20px;
  }

  .landing-hero-copy h1 {
    font-size: clamp(36px, 11.5vw, 54px);
  }

  .landing-actions {
    align-items: stretch;
  }

  .landing-primary,
  .landing-secondary {
    width: 100%;
  }

  .hero-demo {
    padding: 10px;
    border-radius: 22px;
  }

  .hero-demo-label {
    min-width: 82px;
    padding: 6px 8px 7px;
  }

  .hero-demo-label > strong {
    font-size: 10px;
  }

  .landing-section,
  .landing-benefits,
  .landing-final,
  .landing-footer-inner {
    width: min(100% - 28px, 1260px);
  }

  .section-heading h2 {
    font-size: clamp(34px, 10vw, 52px);
  }

  .use-case-showcase {
    padding: 9px;
    border-radius: 24px;
  }

  .use-case-tabs {
    border-radius: 18px;
  }

  .use-tab {
    min-width: 132px;
  }

  .benefit-list {
    grid-template-columns: 1fr;
  }

  .benefit-list > .benefit-card {
    min-height: 280px;
  }

  .landing-final {
    min-height: 660px;
    padding: 30px 24px;
    grid-template-columns: 1fr;
    border-radius: 28px;
  }

  .final-content {
    max-width: none;
  }

  .app-shell {
    padding: 12px 10px 42px;
  }

  .topbar,
  .panel,
  .result-section,
  .canvas-stage {
    border-radius: 22px;
  }

  .brand-logo {
    width: 190px;
  }

  .studio-account-bar {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .studio-account-bar > span {
    grid-column: 1 / -1;
    text-align: center;
  }

  .studio-account-bar .secondary-action:last-child {
    grid-column: 1 / -1;
  }

  .action-row-mark {
    grid-template-columns: 1fr 1fr;
  }

  .canvas-stage {
    height: 58vh;
    min-height: 430px;
  }

  .field-label-row {
    align-items: stretch;
    flex-direction: column;
  }

  .style-preset-select {
    width: 100%;
    max-width: none;
  }

  .result-header {
    align-items: stretch;
  }

  .result-actions {
    justify-content: flex-start;
  }

  .studio-privacy {
    padding: 18px;
  }

  .privacy-list li {
    align-items: flex-start;
  }

  .account-main,
  .support-main,
  .pricing-main,
  .legal-main {
    width: min(100% - 28px, 1240px);
    padding-top: 48px;
  }

  .account-intro h1,
  .support-hero h1,
  .pricing-hero-copy h1,
  .legal-main h1 {
    font-size: clamp(40px, 12vw, 58px);
  }

  .signed-out-card {
    align-items: stretch;
    flex-direction: column;
  }

  .signed-out-card::before {
    width: 100%;
    height: 3px;
  }

  .credit-number-grid,
  .package-grid,
  .jobs-grid,
  .pricing-grid,
  .pricing-includes-grid {
    grid-template-columns: 1fr;
  }

  .credit-number-card,
  .credit-number-card:first-child,
  .credit-number-card:last-child,
  .pricing-tier-card,
  .pricing-tier-card:first-child,
  .pricing-tier-card:last-child,
  .pricing-includes-grid article,
  .pricing-includes-grid article:first-child {
    grid-column: auto;
    border: 1px solid rgba(255,255,255,.7);
  }

  .pricing-hero {
    min-height: 520px;
    padding: 28px;
    align-items: flex-end;
    border-radius: 28px;
    background-position: 58% center;
  }

  .pricing-section-heading,
  .pricing-note {
    align-items: stretch;
    flex-direction: column;
  }

  .pricing-section-heading > p {
    max-width: none;
    text-align: left;
  }

  .pricing-note > a {
    width: fit-content;
  }

  .support-faq,
  .legal-main {
    padding: 26px 22px;
    border-radius: 24px;
  }

  .subpage-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

/* Gallery White fidelity pass — glass, pearl controls, and the new brand system. */
:root {
  --gallery-glass: rgba(246, 245, 241, 0.48);
  --gallery-glass-strong: rgba(251, 250, 247, 0.68);
  --gallery-glass-edge: rgba(103, 98, 90, 0.42);
  --gallery-glass-highlight: rgba(255, 255, 255, 0.9);
  --gallery-glass-shadow: 0 22px 54px rgba(62, 57, 50, 0.2),
    inset 0 2px 1px rgba(255, 255, 255, 0.92),
    inset 0 -2px 4px rgba(78, 73, 66, 0.13);
  --pearl-button: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(246, 244, 240, 0.94) 48%, rgba(224, 222, 216, 0.9) 100%);
  --pearl-button-hover: linear-gradient(180deg, #fff 0%, rgba(250, 249, 246, 0.98) 45%, rgba(232, 229, 223, 0.96) 100%);
  --pearl-edge: rgba(105, 101, 94, 0.68);
  --pearl-shadow: 0 8px 13px rgba(65, 60, 54, 0.2),
    0 2px 2px rgba(255, 255, 255, 0.95) inset,
    0 -3px 5px rgba(90, 84, 76, 0.16) inset,
    0 0 0 3px rgba(255, 255, 255, 0.62);
}

/* The compact navigation uses the mark; the hero/footer keep the complete logo. */
.landing-header-brand,
.subpage-brand {
  width: 54px;
  height: 54px;
  flex: 0 0 54px;
  align-items: center;
  justify-content: center;
}

.landing-header-brand img,
.subpage-brand img {
  width: 54px;
  height: 54px;
  object-fit: contain;
  filter: none;
}

.landing-logo {
  width: clamp(152px, 15vw, 198px);
  height: auto;
  aspect-ratio: 1;
  margin-bottom: 24px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 26px;
  object-fit: cover;
  filter: none;
  box-shadow: 0 15px 36px rgba(68, 60, 51, 0.14), inset 0 1px 0 #fff;
}

.brand-logo {
  width: 88px;
  height: 88px;
  object-fit: contain;
  filter: none;
}

.landing-footer-brand img {
  width: 104px;
  height: 104px;
  aspect-ratio: 1;
  border-radius: 18px;
  object-fit: cover;
  filter: none;
  opacity: 1;
}

/* A layered translucent rim mirrors the Stitch frosted panel. */
.landing-header,
.subpage-header,
.landing-hero-copy,
.hero-demo,
.topbar,
.panel,
.result-section,
.canvas-stage,
.signed-out-card,
.credit-number-card,
.package-card,
.jobs-list,
.pricing-tier-card,
.pricing-includes-grid article,
.support-faq,
.legal-main {
  border-color: var(--gallery-glass-edge);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.62), var(--gallery-glass) 56%, rgba(229, 227, 222, 0.46));
  box-shadow: var(--gallery-glass-shadow);
  -webkit-backdrop-filter: blur(28px) saturate(86%);
  backdrop-filter: blur(28px) saturate(86%);
}

.landing-header,
.subpage-header,
.landing-hero-copy,
.hero-demo,
.topbar,
.panel,
.result-section,
.signed-out-card,
.pricing-tier-card {
  outline: 1px solid rgba(255, 255, 255, 0.64);
  outline-offset: -4px;
}

.landing-header,
.subpage-header {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.7), rgba(242, 241, 237, 0.48));
  box-shadow: 0 13px 32px rgba(62, 57, 50, 0.15), inset 0 2px 1px rgba(255, 255, 255, 0.92), inset 0 -2px 4px rgba(78, 73, 66, 0.08);
}

.landing-hero-copy {
  border-width: 1px;
  border-color: rgba(102, 98, 91, 0.52);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.56), rgba(236, 234, 229, 0.38));
  box-shadow: 0 24px 50px rgba(43, 39, 35, 0.28), inset 0 2px 1px rgba(255, 255, 255, 0.94), inset 0 -3px 5px rgba(67, 63, 57, 0.13), 0 0 0 3px rgba(255, 255, 255, 0.42);
  -webkit-backdrop-filter: blur(32px) saturate(74%);
  backdrop-filter: blur(32px) saturate(74%);
}

.hero-demo {
  border-color: rgba(104, 99, 91, 0.46);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.5), rgba(232, 230, 225, 0.34));
  box-shadow: 0 23px 48px rgba(43, 39, 35, 0.25), inset 0 2px 1px rgba(255, 255, 255, 0.9), inset 0 -2px 4px rgba(70, 66, 60, 0.11), 0 0 0 3px rgba(255, 255, 255, 0.38);
}

/* Pearl-glass controls replace the solid black/gold toy-like buttons. */
.header-pricing-link,
.header-account-button,
.pricing-account-link,
.landing-primary,
.landing-secondary,
.secondary-action,
.topbar .actions button,
.topbar .actions .file-button,
#designButton,
.editor-design-button,
.account-primary-button,
.package-buy-button,
.pricing-tier-cta,
.pricing-tier-card.featured .pricing-tier-cta,
.quiet-button,
.download-link,
.slot-retry-btn {
  border: 1px solid var(--pearl-edge);
  border-radius: 999px;
  background: var(--pearl-button);
  color: #27241f !important;
  box-shadow: var(--pearl-shadow);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.82);
  -webkit-backdrop-filter: blur(16px) saturate(78%);
  backdrop-filter: blur(16px) saturate(78%);
}

.header-pricing-link,
.header-account-button,
.pricing-account-link,
.secondary-action,
.quiet-button {
  min-height: 42px;
}

.landing-primary,
.landing-secondary,
.account-primary-button,
.package-buy-button,
.pricing-tier-cta,
.download-link,
.slot-retry-btn {
  min-height: 50px;
  padding-inline: 24px;
}

.topbar .actions button,
.topbar .actions .file-button {
  min-height: 58px;
  border-radius: 999px;
}

.header-pricing-link:hover,
.header-account-button:hover,
.pricing-account-link:hover,
.landing-primary:hover,
.landing-secondary:hover,
.secondary-action:hover,
.topbar .actions button:hover:not(:disabled),
.topbar .actions .file-button:hover,
#designButton:hover:not(:disabled),
.editor-design-button:hover:not(:disabled),
.account-primary-button:hover:not(:disabled),
.package-buy-button:hover:not(:disabled),
.pricing-tier-cta:hover:not(.disabled),
.quiet-button:hover,
.download-link:hover,
.slot-retry-btn:hover {
  border-color: rgba(79, 75, 69, 0.76);
  background: var(--pearl-button-hover);
  color: #171512 !important;
  box-shadow: 0 11px 18px rgba(56, 52, 47, 0.24), 0 2px 2px #fff inset, 0 -3px 5px rgba(90, 84, 76, 0.17) inset, 0 0 0 3px rgba(255, 255, 255, 0.74);
  transform: translateY(-2px);
}

.header-pricing-link:active,
.header-account-button:active,
.pricing-account-link:active,
.landing-primary:active,
.landing-secondary:active,
.secondary-action:active,
.topbar .actions button:active:not(:disabled),
.topbar .actions .file-button:active,
#designButton:active:not(:disabled),
.editor-design-button:active:not(:disabled),
.account-primary-button:active:not(:disabled),
.package-buy-button:active:not(:disabled),
.pricing-tier-cta:active:not(.disabled) {
  box-shadow: 0 3px 7px rgba(56, 52, 47, 0.2), inset 0 2px 5px rgba(78, 73, 66, 0.15), 0 0 0 2px rgba(255, 255, 255, 0.7);
  transform: translateY(1px);
}

.landing-primary,
.account-primary-button,
.package-buy-button,
.pricing-tier-cta,
.file-button {
  gap: 10px;
}

.landing-primary::before,
.account-primary-button::before,
.package-buy-button::before,
.pricing-tier-cta::before,
.file-button::before {
  content: "+";
  width: 23px;
  height: 23px;
  flex: 0 0 23px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(102, 98, 91, 0.68);
  border-radius: 50%;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.82), rgba(217, 214, 208, 0.72));
  color: #6e6961;
  font-family: Arial, sans-serif;
  font-size: 19px;
  font-weight: 400;
  line-height: 1;
  box-shadow: inset 0 1px 1px #fff, 0 1px 2px rgba(55, 51, 46, 0.14);
}

.button-step {
  color: #756343;
}

.pricing-nav-action {
  border-color: rgba(136, 113, 73, 0.58);
  background: linear-gradient(180deg, rgba(255, 253, 247, 0.95), rgba(232, 224, 207, 0.9));
  color: #594c36 !important;
}

.pricing-tier-card.featured,
.pricing-tier-card.featured:hover {
  border-color: rgba(137, 117, 82, 0.5);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.68), rgba(238, 233, 222, 0.5));
  box-shadow: 0 26px 60px rgba(71, 63, 52, 0.18), inset 0 2px 1px rgba(255, 255, 255, 0.92), inset 0 -2px 4px rgba(78, 73, 66, 0.1);
}

.pricing-tier-badge {
  border: 1px solid rgba(126, 106, 73, 0.54);
  background: linear-gradient(180deg, rgba(255, 252, 244, 0.88), rgba(222, 209, 183, 0.82));
  color: #5f5038;
  box-shadow: 0 6px 13px rgba(76, 66, 53, 0.16), inset 0 1px 0 #fff;
}

.account-primary-button:disabled,
.package-buy-button:disabled,
#designButton:disabled,
.editor-design-button:disabled,
.pricing-tier-cta.disabled {
  border-color: rgba(107, 102, 95, 0.26);
  background: linear-gradient(180deg, rgba(246, 245, 242, 0.78), rgba(221, 219, 214, 0.7));
  color: #8a857d !important;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.74), 0 0 0 2px rgba(255, 255, 255, 0.38);
  text-shadow: none;
  transform: none;
}

@media (max-width: 680px) {
  .landing-header-brand,
  .subpage-brand {
    width: 44px;
    height: 44px;
    flex-basis: 44px;
  }

  .landing-header-brand img,
  .subpage-brand img {
    width: 44px;
    height: 44px;
  }

  .landing-logo {
    width: 138px;
    border-radius: 22px;
  }

  .brand-logo {
    width: 74px;
    height: 74px;
  }

  .landing-header,
  .subpage-header,
  .landing-hero-copy,
  .hero-demo,
  .topbar,
  .panel,
  .result-section,
  .signed-out-card,
  .pricing-tier-card {
    -webkit-backdrop-filter: blur(22px) saturate(84%);
    backdrop-filter: blur(22px) saturate(84%);
  }

  .landing-primary,
  .landing-secondary,
  .account-primary-button,
  .package-buy-button,
  .pricing-tier-cta {
    min-height: 48px;
  }
}

/* Component polish: neutral labels, silver comparison controls, and a light closing section. */
.landing-actions {
  gap: 16px;
}

.landing-actions .landing-primary,
.landing-actions .landing-secondary {
  min-height: 56px;
  padding-inline: 28px;
  border: 2px solid rgba(97, 93, 87, 0.68);
  background: linear-gradient(180deg, #fff 0%, rgba(249, 248, 245, 0.98) 43%, rgba(219, 217, 211, 0.95) 100%);
  box-shadow: 0 9px 12px rgba(53, 49, 44, 0.24), inset 0 2px 2px #fff, inset 0 -3px 5px rgba(80, 75, 69, 0.18), 0 0 0 3px rgba(255, 255, 255, 0.72);
  color: #25221e !important;
  font-size: 14px;
  font-weight: 650;
}

.hero-demo-label {
  padding: 8px 12px 9px;
  border: 1.5px solid rgba(100, 96, 89, 0.68);
  border-radius: 13px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.88), rgba(232, 230, 225, 0.78));
  color: #746e66;
  box-shadow: 0 7px 12px rgba(50, 46, 42, 0.2), inset 0 1px 1px #fff, 0 0 0 2px rgba(255, 255, 255, 0.52);
  text-shadow: none;
  -webkit-backdrop-filter: blur(16px) brightness(1.08) saturate(72%);
  backdrop-filter: blur(16px) brightness(1.08) saturate(72%);
}

.hero-demo-label > span {
  color: #817b72;
}

.hero-demo-label > strong {
  color: #302d28;
}

.hero-demo-track {
  background: rgba(92, 88, 82, 0.18);
  box-shadow: inset 0 1px 2px rgba(68, 64, 59, 0.12);
}

.hero-demo-fill {
  background: linear-gradient(90deg, #aaa69f, #7f7b74);
}

.hero-demo-knob {
  border: 1.5px solid rgba(87, 83, 77, 0.76);
  background: linear-gradient(145deg, #fff, #d9d7d1);
  box-shadow: 0 4px 9px rgba(52, 48, 43, 0.25), inset 0 1px 1px #fff, 0 0 0 2px rgba(255, 255, 255, 0.56);
}

.landing-final {
  border: 1px solid rgba(99, 95, 88, 0.42);
  background:
    radial-gradient(circle at 76% 18%, rgba(255, 255, 255, 0.7), transparent 26rem),
    linear-gradient(145deg, rgba(255, 255, 255, 0.82), rgba(235, 233, 228, 0.68));
  box-shadow: 0 30px 72px rgba(61, 56, 49, 0.16), inset 0 2px 1px rgba(255, 255, 255, 0.96), inset 0 -2px 4px rgba(78, 73, 66, 0.09);
  -webkit-backdrop-filter: blur(26px) saturate(80%);
  backdrop-filter: blur(26px) saturate(80%);
}

.landing-final::before {
  opacity: 0.2;
  background-image: linear-gradient(rgba(83, 79, 73, 0.12) 1px, transparent 1px), linear-gradient(90deg, rgba(83, 79, 73, 0.12) 1px, transparent 1px);
  background-size: 40px 40px;
}

.landing-final::after {
  background: radial-gradient(circle, rgba(255, 255, 255, 0.58), transparent 68%);
}

.landing-final h2 {
  color: #28251f;
}

.landing-final-sub {
  color: #69635b;
}

.final-badge {
  border-color: rgba(103, 98, 90, 0.44);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.84), rgba(226, 224, 218, 0.72));
  color: #5d5851;
  box-shadow: 0 5px 11px rgba(58, 54, 48, 0.12), inset 0 1px 0 #fff;
}

.final-badge-dot {
  background: #8c8881;
  box-shadow: 0 0 0 3px rgba(106, 102, 95, 0.14);
  animation: none;
}

.final-card {
  border: 2px solid rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.64);
  box-shadow: 0 18px 38px rgba(49, 45, 40, 0.2), 0 0 0 1px rgba(88, 83, 77, 0.3), inset 0 1px 0 #fff;
}

.final-card figcaption,
.final-card-after figcaption {
  border: 1px solid rgba(96, 92, 85, 0.58);
  border-radius: 9px;
  background: rgba(249, 248, 245, 0.86);
  color: #302d28;
  box-shadow: 0 5px 10px rgba(48, 44, 40, 0.17), inset 0 1px 0 #fff;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.final-arrow {
  border: 1.5px solid rgba(95, 91, 84, 0.68);
  background: linear-gradient(145deg, #fff, #dedcd6);
  color: #4f4a43;
  box-shadow: 0 8px 14px rgba(53, 49, 44, 0.2), inset 0 1px 1px #fff, 0 0 0 3px rgba(255, 255, 255, 0.58);
}

.landing-footer {
  border-top: 1px solid rgba(97, 92, 85, 0.3);
  background:
    radial-gradient(circle at 18% 0%, rgba(255, 255, 255, 0.9), transparent 30rem),
    linear-gradient(145deg, #f5f3ee, #e9e6df);
  color: #4e4942;
  box-shadow: inset 0 2px 1px rgba(255, 255, 255, 0.9);
}

.landing-footer-brand p,
.landing-footer-meta {
  color: #6d675f;
}

.landing-footer-nav a {
  color: #3e3a34;
}

.landing-footer-nav a:hover {
  border-bottom-color: #777169;
  color: #171512;
}

.landing-footer-privacy {
  border-color: rgba(99, 94, 87, 0.34);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.66), rgba(231, 229, 223, 0.48));
  color: #5e5851;
  box-shadow: 0 13px 30px rgba(61, 56, 49, 0.11), inset 0 1px 0 rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: blur(18px) saturate(78%);
  backdrop-filter: blur(18px) saturate(78%);
}

.landing-footer-privacy .privacy-label {
  border-color: rgba(103, 98, 90, 0.38);
  background: rgba(255, 255, 255, 0.54);
  color: #4b4640;
}

.landing-footer-privacy .privacy-key {
  border-color: rgba(103, 98, 90, 0.3);
  background: rgba(255, 255, 255, 0.58);
  color: #4f4a43;
}

@media (max-width: 680px) {
  .landing-actions {
    gap: 12px;
  }

  .landing-actions .landing-primary,
  .landing-actions .landing-secondary {
    min-height: 52px;
    padding-inline: 20px;
  }
}

/* Hero light balance: keep the room visible without turning the glass smoke-grey. */
.landing-hero-inner {
  background:
    linear-gradient(90deg, rgba(255, 253, 249, 0.24), rgba(255, 253, 249, 0.08) 58%, rgba(255, 253, 249, 0.16)),
    url("/examples/style-zen.png") center 48% / cover no-repeat;
}

.landing-hero-inner::before {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.14), transparent 42%),
    linear-gradient(0deg, rgba(255, 252, 247, 0.12), transparent 56%);
}

.landing-hero-copy {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.7), rgba(249, 248, 245, 0.56));
  box-shadow: 0 22px 46px rgba(43, 39, 35, 0.2), inset 0 2px 1px rgba(255, 255, 255, 0.98), inset 0 -3px 5px rgba(67, 63, 57, 0.09), 0 0 0 3px rgba(255, 255, 255, 0.52);
  -webkit-backdrop-filter: blur(34px) brightness(1.12) saturate(68%);
  backdrop-filter: blur(34px) brightness(1.12) saturate(68%);
}

.hero-demo {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.64), rgba(247, 246, 242, 0.48));
  box-shadow: 0 21px 44px rgba(43, 39, 35, 0.19), inset 0 2px 1px rgba(255, 255, 255, 0.96), inset 0 -2px 4px rgba(70, 66, 60, 0.08), 0 0 0 3px rgba(255, 255, 255, 0.48);
  -webkit-backdrop-filter: blur(30px) brightness(1.1) saturate(72%);
  backdrop-filter: blur(30px) brightness(1.1) saturate(72%);
}

.landing-hero-copy > p:not(.eyebrow):not(.hero-microcopy),
.hero-microcopy {
  color: #575149;
}

/* Unified glass navigation: the bar is the control, not a row of tiny capsules. */
.landing-header-nav,
.subpage-nav {
  min-height: 58px;
  gap: 4px;
  align-items: stretch;
}

.landing-header-nav > a,
.landing-header-nav > .header-account-button,
.subpage-nav > a,
.subpage-nav > .quiet-button {
  position: relative;
  min-width: 72px;
  min-height: 58px;
  padding: 7px 11px 9px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  border: 0;
  border-radius: 13px;
  background: transparent;
  color: #716b63 !important;
  box-shadow: none;
  text-shadow: none;
  font-size: 11px;
  font-weight: 550;
  line-height: 1.1;
}

.landing-header-nav > a::before,
.landing-header-nav > .header-account-button::before,
.subpage-nav > a::before,
.subpage-nav > .quiet-button::before {
  content: "";
  width: 21px;
  height: 21px;
  flex: 0 0 21px;
  display: block;
  border: 0;
  border-radius: 0;
  background: currentColor;
  box-shadow: none;
  -webkit-mask: var(--nav-icon) center / contain no-repeat;
  mask: var(--nav-icon) center / contain no-repeat;
}

.landing-header-nav a[href="/studio"],
.subpage-nav a[href="/studio"] {
  --nav-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 11.5 12 4l9 7.5'/%3E%3Cpath d='M5.5 10v10h13V10M9.5 20v-6h5v6'/%3E%3C/svg%3E");
}

.landing-header-nav a[href="/support"],
.subpage-nav a[href="/support"] {
  --nav-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9.2 9a3 3 0 1 1 5.25 2c-1.4 1.2-2.45 1.75-2.45 3'/%3E%3Cpath d='M12 18h.01'/%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3C/svg%3E");
}

.landing-header-nav a[href="/pricing"],
.subpage-nav a[href="/pricing"] {
  --nav-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.5 7.5h17v12h-17zM3.5 8l2-4h13l2 4M8 12h8'/%3E%3C/svg%3E");
}

.landing-header-nav a[href="/account"],
.subpage-nav a[href="/account"],
.landing-header-nav > .header-account-button {
  --nav-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='3.5'/%3E%3Cpath d='M5 20v-1.5A5.5 5.5 0 0 1 10.5 13h3a5.5 5.5 0 0 1 5.5 5.5V20'/%3E%3C/svg%3E");
}

.subpage-nav > .quiet-button {
  --nav-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 5H5v14h5M14 8l4 4-4 4M8 12h10'/%3E%3C/svg%3E");
}

.landing-header-nav > a::after,
.landing-header-nav > .header-account-button::after,
.subpage-nav > a::after,
.subpage-nav > .quiet-button::after {
  content: "";
  position: absolute;
  right: 16px;
  bottom: 3px;
  left: 16px;
  height: 3px;
  border-radius: 999px;
  background: #918b82;
  opacity: 0;
  transform: scaleX(0.45);
  transition: opacity 180ms ease, transform 180ms ease;
}

.landing-header-nav > a:hover,
.landing-header-nav > .header-account-button:hover,
.subpage-nav > a:hover,
.subpage-nav > .quiet-button:hover {
  border: 0;
  background: rgba(255, 255, 255, 0.3);
  color: #3c3833 !important;
  box-shadow: none;
  transform: none;
}

.landing-header-nav > a:hover::after,
.landing-header-nav > .header-account-button:hover::after,
.subpage-nav > a:hover::after,
.subpage-nav > .quiet-button:hover::after {
  opacity: 0.88;
  transform: scaleX(1);
}

.site-stats {
  min-height: 58px;
  padding: 0 13px;
  align-self: stretch;
  border: 0;
  border-right: 1px solid rgba(108, 102, 94, 0.16);
  border-left: 1px solid rgba(108, 102, 94, 0.16);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

/* Primary actions carry the heavier ceramic/metal rim seen in the Stitch CTA. */
.landing-primary,
.landing-secondary,
.topbar .actions button,
.topbar .actions .file-button,
#designButton,
.editor-design-button,
.account-primary-button,
.package-buy-button,
.pricing-tier-cta,
.pricing-tier-card.featured .pricing-tier-cta,
.download-link,
.slot-retry-btn {
  min-height: 54px;
  border-width: 2px;
  border-color: rgba(104, 100, 93, 0.66);
  background: linear-gradient(180deg, #fff 0%, rgba(250, 249, 246, 0.98) 42%, rgba(224, 222, 216, 0.94) 100%);
  box-shadow: 0 8px 11px rgba(55, 51, 46, 0.24), inset 0 2px 2px #fff, inset 0 -3px 5px rgba(85, 80, 73, 0.17), 0 0 0 3px rgba(255, 255, 255, 0.66);
  font-size: 14px;
  font-weight: 650;
}

@media (max-width: 680px) {
  .landing-header-nav,
  .subpage-nav {
    gap: 0;
  }

  .landing-header-nav > a,
  .landing-header-nav > .header-account-button,
  .subpage-nav > a,
  .subpage-nav > .quiet-button {
    min-width: 48px;
    min-height: 50px;
    padding: 5px 7px 7px;
    font-size: 9px;
  }

  .landing-header-nav > a::before,
  .landing-header-nav > .header-account-button::before,
  .subpage-nav > a::before,
  .subpage-nav > .quiet-button::before {
    width: 17px;
    height: 17px;
    flex-basis: 17px;
  }

  .site-stats {
    min-height: 50px;
    padding: 0 7px;
    font-size: 8px;
  }
}

/* Unified brand lockups and light subpage endings. */
.landing-header-brand,
.subpage-brand {
  width: clamp(172px, 17vw, 232px);
  height: 58px;
  flex: 0 0 clamp(172px, 17vw, 232px);
  justify-content: flex-start;
}

.landing-header-brand img,
.subpage-brand img {
  width: 100%;
  height: 58px;
  object-fit: contain;
  object-position: left center;
}

.brand-logo {
  width: clamp(184px, 18vw, 248px);
  height: 72px;
  object-fit: contain;
  object-position: left center;
}

.pricing-note {
  border-color: rgba(103, 98, 90, 0.34);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.74), rgba(232, 230, 224, 0.54));
  box-shadow: 0 18px 42px rgba(61, 56, 49, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.94);
  -webkit-backdrop-filter: blur(20px) saturate(78%);
  backdrop-filter: blur(20px) saturate(78%);
}

.pricing-note-mark {
  border: 1px solid rgba(99, 94, 87, 0.48);
  background: linear-gradient(145deg, #fff, #dcd9d2);
  color: #5c5750;
  box-shadow: 0 5px 10px rgba(53, 49, 44, 0.16), inset 0 1px 1px #fff;
}

.pricing-note > a {
  color: #514c45;
}

.subpage-footer {
  margin: 0;
  border-top: 1px solid rgba(97, 92, 85, 0.3);
  background:
    radial-gradient(circle at 18% 0%, rgba(255, 255, 255, 0.9), transparent 30rem),
    linear-gradient(145deg, #f5f3ee, #e9e6df);
  color: #6d675f;
  box-shadow: inset 0 2px 1px rgba(255, 255, 255, 0.9);
}

.subpage-footer a {
  color: #3e3a34;
}

.subpage-footer a:hover {
  color: #171512;
}

@media (max-width: 680px) {
  .landing-header-brand,
  .subpage-brand {
    width: 118px;
    height: 44px;
    flex-basis: 118px;
  }

  .landing-header-brand img,
  .subpage-brand img {
    width: 118px;
    height: 44px;
  }

  .brand-logo {
    width: 154px;
    height: 58px;
  }
}

/* 2026-09 UI refinement: quieter action controls and clearer service transparency. */
.landing-actions {
  gap: 12px;
}

.landing-actions .landing-primary,
.landing-actions .landing-secondary {
  min-width: 206px;
  min-height: 60px;
  padding: 10px 18px;
  justify-content: flex-start;
  gap: 11px;
  border: 1px solid rgba(108, 102, 94, 0.2);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.58);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.94), 0 8px 22px rgba(60, 55, 49, 0.08);
  color: #3d3933 !important;
  font-size: 13px;
  font-weight: 650;
  text-shadow: none;
  -webkit-backdrop-filter: blur(18px) saturate(82%);
  backdrop-filter: blur(18px) saturate(82%);
}

.landing-actions .landing-primary::before,
.landing-actions .landing-secondary::before {
  display: none;
}

.landing-action-icon {
  width: 23px;
  height: 23px;
  flex: 0 0 23px;
  color: #6f6961;
}

.landing-actions .landing-primary:hover,
.landing-actions .landing-secondary:hover {
  border-color: rgba(108, 102, 94, 0.28);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: inset 0 1px 0 #fff, 0 12px 26px rgba(60, 55, 49, 0.11);
  transform: translateY(-2px);
}

.landing-final .final-cta {
  min-height: 58px;
  padding-inline: 20px;
  border: 1px solid rgba(108, 102, 94, 0.24);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.66);
  box-shadow: inset 0 1px 0 #fff, 0 9px 24px rgba(60, 55, 49, 0.1);
  text-shadow: none;
}

.landing-final .final-cta::before {
  border-color: rgba(108, 102, 94, 0.34);
  background: rgba(255, 255, 255, 0.46);
  box-shadow: none;
}

.landing-final .final-cta:hover {
  border-color: rgba(108, 102, 94, 0.32);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: inset 0 1px 0 #fff, 0 13px 28px rgba(60, 55, 49, 0.13);
}

.service-transparency {
  width: min(1260px, calc(100% - 44px));
  padding-top: clamp(76px, 9vw, 124px);
  padding-bottom: clamp(80px, 10vw, 136px);
}

.service-transparency-heading {
  max-width: 790px;
}

.service-transparency-heading h2 {
  max-width: 720px;
  margin: 12px 0 0;
  color: #2b2823;
  font-family: var(--gallery-serif);
  font-size: clamp(36px, 5vw, 66px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.service-transparency-heading > p:last-child {
  max-width: 690px;
  margin: 22px 0 0;
  color: #6c665e;
  font-size: 15px;
  line-height: 1.85;
}

.provider-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  max-width: 820px;
  margin-top: 42px;
}

.provider-card {
  min-height: 270px;
  padding: 24px;
  border: 1px solid rgba(105, 99, 91, 0.24);
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.64), rgba(238, 236, 231, 0.48));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.94), 0 14px 34px rgba(61, 56, 49, 0.08);
  -webkit-backdrop-filter: blur(20px) saturate(82%);
  backdrop-filter: blur(20px) saturate(82%);
}

.provider-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.provider-card-top > span:first-child {
  color: #918b82;
  font-family: "Manrope", sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.provider-card-top a {
  padding: 7px 11px;
  border: 1px solid rgba(108, 102, 94, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.5);
  color: #4b4640;
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.provider-card-top a:hover {
  border-color: rgba(108, 102, 94, 0.32);
  background: rgba(255, 255, 255, 0.82);
  transform: translateY(-1px);
}

.provider-card h3 {
  margin: 54px 0 0;
  color: #302c27;
  font-family: var(--gallery-serif);
  font-size: 23px;
  font-weight: 600;
  line-height: 1.25;
}

.provider-card p {
  margin: 14px 0 0;
  color: #6d675f;
  font-size: 13px;
  line-height: 1.8;
}

.service-transparency-note {
  margin: 22px 0 0;
  padding: 18px 20px;
  border-left: 3px solid rgba(119, 112, 102, 0.42);
  background: rgba(255, 255, 255, 0.32);
  color: #6d675f;
  font-size: 12px;
  line-height: 1.8;
}

.service-transparency-note a {
  margin-left: 2px;
  color: #403b35;
  font-weight: 750;
}

.landing-footer-inner {
  grid-template-columns: minmax(280px, 1fr) auto;
  grid-template-areas:
    "brand nav"
    "meta meta"
    "notice notice";
  align-items: start;
  column-gap: clamp(30px, 6vw, 82px);
  row-gap: 22px;
}

.landing-footer-brand {
  grid-area: brand;
  align-items: center;
}

.landing-footer-brand p {
  max-width: 270px;
}

.landing-footer-nav {
  grid-area: nav;
  align-self: center;
  justify-content: flex-end;
  gap: 22px;
}

.landing-footer-meta {
  grid-area: meta;
  padding-top: 20px;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(97, 92, 85, 0.18);
}

.landing-footer-privacy {
  grid-area: notice;
  margin-top: 0;
  padding: 20px 22px;
}

.landing-footer-privacy .privacy-list,
.studio-privacy .privacy-list {
  gap: 12px 24px;
}

.landing-footer-privacy .privacy-list li,
.studio-privacy .privacy-list li {
  align-items: flex-start;
}

.landing-footer-privacy,
.studio-privacy {
  font-size: 12.5px;
  line-height: 1.75;
}

.legal-main section p {
  color: #68625a;
  line-height: 1.95;
}

@media (max-width: 980px) {
  .provider-card {
    min-height: 240px;
  }
}

@media (max-width: 720px) {
  .landing-actions .landing-primary,
  .landing-actions .landing-secondary {
    min-width: 0;
    min-height: 56px;
    padding-inline: 16px;
  }

  .service-transparency {
    width: min(100% - 28px, 1260px);
  }

  .provider-grid {
    grid-template-columns: 1fr;
  }

  .provider-card {
    min-height: 0;
  }

  .provider-card h3 {
    margin-top: 38px;
  }

  .landing-footer-inner {
    grid-template-columns: 1fr;
    grid-template-areas:
      "brand"
      "nav"
      "meta"
      "notice";
  }

  .landing-footer-nav {
    justify-content: flex-start;
  }

  .landing-footer-meta {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* Pricing refinement: straightforward numerals and landing-page action language. */
.pricing-tier-credits strong,
.pricing-tier-price strong {
  font-family: "Manrope", "Noto Sans TC", "Segoe UI", sans-serif;
  font-weight: 650;
  font-variant-numeric: lining-nums tabular-nums;
  letter-spacing: -0.045em;
}

.pricing-tier-credits strong {
  font-size: clamp(48px, 4.5vw, 62px);
  line-height: 1;
}

.pricing-tier-price strong {
  font-size: clamp(44px, 4.4vw, 60px);
  line-height: 1;
}

.pricing-tier-cta,
.pricing-tier-card.featured .pricing-tier-cta {
  min-height: 60px;
  padding: 10px 18px;
  justify-content: flex-start;
  gap: 11px;
  border: 1px solid rgba(108, 102, 94, 0.2);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.58);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.94), 0 8px 22px rgba(60, 55, 49, 0.08);
  color: #3d3933 !important;
  font-size: 13px;
  font-weight: 650;
  text-shadow: none;
  -webkit-backdrop-filter: blur(18px) saturate(82%);
  backdrop-filter: blur(18px) saturate(82%);
}

.pricing-tier-cta::before {
  content: "";
  width: 23px;
  height: 23px;
  flex: 0 0 23px;
  display: block;
  border: 0;
  border-radius: 0;
  background: currentColor;
  box-shadow: none;
  opacity: 0.68;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3.5' y='5' width='17' height='14' rx='2.5'/%3E%3Cpath d='M3.5 9.5h17M7.5 14h3'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3.5' y='5' width='17' height='14' rx='2.5'/%3E%3Cpath d='M3.5 9.5h17M7.5 14h3'/%3E%3C/svg%3E") center / contain no-repeat;
}

.pricing-tier-cta:hover:not(.disabled),
.pricing-tier-card.featured .pricing-tier-cta:hover:not(.disabled) {
  border-color: rgba(108, 102, 94, 0.28);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: inset 0 1px 0 #fff, 0 12px 26px rgba(60, 55, 49, 0.11);
  color: #302c27 !important;
  transform: translateY(-2px);
}

@media (max-width: 720px) {
  .pricing-tier-cta,
  .pricing-tier-card.featured .pricing-tier-cta {
    min-height: 56px;
    padding-inline: 16px;
  }
}

/* Account numerals use the same clear sans-serif treatment as public pricing. */
.credit-number-card strong,
.package-credits,
.package-price {
  font-family: "Manrope", "Noto Sans TC", "Segoe UI", sans-serif;
  font-weight: 650;
  font-variant-numeric: lining-nums tabular-nums;
  letter-spacing: -0.045em;
}

.credit-number-card strong {
  font-size: clamp(48px, 6vw, 72px);
  line-height: 1;
}

.package-credits {
  font-size: clamp(48px, 5vw, 64px);
  line-height: 1;
}

.package-price {
  letter-spacing: -0.02em;
}

.credit-number-main {
  color: #302c27;
}

.credit-number-main > span,
.credit-number-main small {
  color: #686159;
}

.package-buy-button {
  min-height: 56px;
  padding: 10px 16px;
  justify-content: flex-start;
  gap: 11px;
  border: 1px solid rgba(108, 102, 94, 0.2);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.58);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.94), 0 8px 22px rgba(60, 55, 49, 0.08);
  color: #3d3933 !important;
  font-size: 13px;
  font-weight: 650;
  text-shadow: none;
  -webkit-backdrop-filter: blur(18px) saturate(82%);
  backdrop-filter: blur(18px) saturate(82%);
}

.package-buy-button::before {
  content: "";
  width: 23px;
  height: 23px;
  flex: 0 0 23px;
  display: block;
  border: 0;
  border-radius: 0;
  background: currentColor;
  box-shadow: none;
  opacity: 0.68;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3.5' y='5' width='17' height='14' rx='2.5'/%3E%3Cpath d='M3.5 9.5h17M7.5 14h3'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3.5' y='5' width='17' height='14' rx='2.5'/%3E%3Cpath d='M3.5 9.5h17M7.5 14h3'/%3E%3C/svg%3E") center / contain no-repeat;
}

.package-buy-button:hover:not(:disabled) {
  border-color: rgba(108, 102, 94, 0.28);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: inset 0 1px 0 #fff, 0 12px 26px rgba(60, 55, 49, 0.11);
  color: #302c27 !important;
  transform: translateY(-2px);
}

.account-main > .account-dashboard {
  margin-top: 0;
}

/* Keep wide account tables inside the phone viewport instead of widening the page. */
@media (max-width: 720px) {
  .account-dashboard,
  .account-dashboard > section,
  .credit-number-grid,
  .package-grid,
  .jobs-grid {
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }

  .account-section-heading,
  .account-section-heading > div {
    min-width: 0;
  }

  .account-section-heading h2 {
    font-size: clamp(30px, 9vw, 40px);
    line-height: 1.18;
    overflow-wrap: anywhere;
  }

  #refreshAccountButton {
    width: auto;
    align-self: flex-start;
    padding-inline: 18px;
  }

  .credit-number-card,
  .credit-number-card:first-child,
  .credit-number-card:last-child {
    width: 100%;
    padding: 28px;
  }

  .ledger-wrap {
    overflow: visible;
    border: 0;
    background: transparent;
    box-shadow: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  .ledger-table {
    display: block;
    width: 100%;
    min-width: 0;
  }

  .ledger-table thead {
    display: none;
  }

  .ledger-table tbody {
    display: grid;
    gap: 10px;
  }

  .ledger-table tbody tr {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px 8px;
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 20px;
    background: rgba(255, 255, 252, 0.66);
    box-shadow: var(--gallery-shadow-soft);
  }

  .ledger-table th,
  .ledger-table td {
    min-width: 0;
    padding: 0;
    border: 0;
  }

  .ledger-table tbody th:nth-child(2) {
    grid-column: 1 / -1;
    grid-row: 1;
    font-size: 15px;
  }

  .ledger-table tbody td:first-child {
    grid-column: 1 / -1;
    grid-row: 2;
    color: var(--muted);
    font-size: 11px;
  }

  .ledger-table tbody td:nth-child(n + 3) {
    grid-row: 3;
    font-size: 13px;
  }

  .ledger-table tbody td:nth-child(n + 3)::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 4px;
    color: var(--muted);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.08em;
  }
}
