:root {
  --accent: #ff5d46;
  --accent-dark: #da3e2b;
  --accent-soft: #fff0ec;
  --ink: #161616;
  --muted: #696763;
  --muted-light: #918e87;
  --paper: #fffefa;
  --warm: #f5f2eb;
  --panel: #f8f7f3;
  --line: #dedbd3;
  --line-dark: #cbc7bd;
  --dark: #171918;
  --dark-soft: #222523;
  --blue: #3158c8;
  --green: #d8f06f;
  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow-soft: 0 18px 45px rgba(34, 31, 24, .08);
  --shadow-card: 0 35px 90px rgba(34, 31, 24, .15);
  --content: min(1380px, calc(100% - 48px));
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; background: var(--paper); }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
button { cursor: pointer; }
img, canvas { max-width: 100%; }
::selection { color: var(--ink); background: #ffd2ca; }

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 1000;
  padding: 10px 14px;
  color: white;
  background: var(--ink);
  border-radius: 8px;
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 76px;
  padding: 10px max(24px, calc((100vw - 1380px) / 2));
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 72%, transparent);
  backdrop-filter: blur(18px);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  color: var(--ink);
  font-weight: 760;
  letter-spacing: -.045em;
  text-decoration: none;
  font-size: 1.2rem;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 37px;
  height: 37px;
  color: white;
  background: var(--accent);
  border-radius: 12px 12px 12px 4px;
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-size: 1.45rem;
  font-weight: 400;
  box-shadow: 0 8px 20px rgba(255, 93, 70, .22);
}
.brand-name { position: relative; top: -1px; }
.header-nav { display: flex; align-items: center; gap: 30px; }
.header-nav a {
  color: #4e4c48;
  text-decoration: none;
  font-size: .86rem;
  font-weight: 650;
  transition: color .18s ease;
}
.header-nav a:hover { color: var(--ink); }
.site-header > .primary-button {
  justify-self: end;
  width: auto;
}

.site-header > .primary-button.compact {
  justify-self: end;
  width: auto;
}

.primary-button,
.secondary-button,
.light-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 11px;
  font-weight: 720;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, border-color .18s ease;
}
.primary-button {
  color: white;
  background: var(--ink);
  border: 1px solid var(--ink);
  box-shadow: 0 10px 26px rgba(22, 22, 22, .13);
}
.primary-button:hover { background: #2d2d2d; transform: translateY(-2px); box-shadow: 0 14px 30px rgba(22, 22, 22, .18); }
.primary-button:active, .secondary-button:active, .light-button:active { transform: translateY(0); }
.secondary-button {
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--line-dark);
  box-shadow: none;
}
.secondary-button:hover { background: white; border-color: #aaa69d; transform: translateY(-2px); }
.compact { min-height: 41px; padding-inline: 15px; font-size: .84rem; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 18px;
  color: #514f4a;
  font-size: .71rem;
  font-weight: 760;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.eyebrow > span { width: 7px; height: 7px; background: var(--accent); border-radius: 50%; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(470px, .97fr);
  align-items: center;
  gap: clamp(50px, 7vw, 110px);
  width: var(--content);
  min-height: 750px;
  margin: 0 auto;
  padding: clamp(72px, 8vw, 124px) 0 100px;
}
.hero-copy { padding-bottom: 26px; }
.hero h1 {
  max-width: 820px;
  margin: 0 0 27px;
  font-size: clamp(3.8rem, 6.25vw, 6.8rem);
  font-weight: 560;
  letter-spacing: -.072em;
  line-height: .91;
}
.hero h1 em,
.section-heading h2 em,
.steps-copy h2 em,
.closing-section h2 em {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
}
.hero h1 em { color: var(--accent); }
.hero-lead {
  max-width: 640px;
  margin: 0 0 31px;
  color: var(--muted);
  font-size: clamp(1rem, 1.45vw, 1.15rem);
  line-height: 1.7;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 11px; }
.hero-primary { background: var(--accent); border-color: var(--accent); box-shadow: 0 12px 28px rgba(255, 93, 70, .23); }
.hero-primary:hover { background: var(--accent-dark); border-color: var(--accent-dark); box-shadow: 0 16px 34px rgba(255, 93, 70, .3); }
.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin-top: 38px;
  color: var(--muted-light);
  font-size: .74rem;
}
.hero-proof span { padding: 2px 18px; border-left: 1px solid var(--line); }
.hero-proof span:first-child { padding-left: 0; border-left: 0; }
.hero-proof b { color: var(--ink); font-size: .78rem; }

.hero-gallery {
  position: relative;
  min-height: 570px;
  perspective: 1200px;
  isolation: isolate;
}
.hero-gallery::before {
  content: "";
  position: absolute;
  inset: 10% 2% 3% 10%;
  z-index: -2;
  background: var(--warm);
  border-radius: 52% 48% 42% 58% / 52% 40% 60% 48%;
  transform: rotate(-5deg);
}
.hero-gallery::after {
  content: "";
  position: absolute;
  right: 4%;
  bottom: 12%;
  z-index: -1;
  width: 135px;
  height: 135px;
  border: 1px solid #cfc9bd;
  border-radius: 50%;
}
.showcase-card {
  position: absolute;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border-radius: 22px;
  box-shadow: var(--shadow-card);
  transform-style: preserve-3d;
}
.showcase-card::after { content: ""; position: absolute; inset: 17px; pointer-events: none; border: 1px solid currentColor; border-radius: 13px; opacity: .36; }
.showcase-card span, .showcase-card strong, .showcase-card small { position: relative; z-index: 1; }
.showcase-card span { text-transform: uppercase; letter-spacing: .16em; font-size: .61rem; font-weight: 760; }
.showcase-card strong { font-family: Georgia, "Times New Roman", serif; font-weight: 400; line-height: .85; letter-spacing: -.06em; }
.showcase-card small { margin-top: auto; line-height: 1.5; }
.card-one {
  top: 24px;
  left: 3%;
  z-index: 2;
  width: min(330px, 58%);
  padding: 48px 43px;
  color: #fff8ef;
  background: var(--accent);
  transform: rotate(-6deg);
  animation: card-one-in .8s cubic-bezier(.2,.8,.2,1) both;
}
.card-one strong { margin-top: 100px; font-size: clamp(3rem, 5vw, 4.5rem); }
.card-one i { position: absolute; right: 45px; bottom: 80px; font-size: 2rem; font-style: normal; }
.card-two {
  right: 1%;
  bottom: 17px;
  z-index: 1;
  width: min(300px, 52%);
  padding: 46px 39px;
  color: #f7e8c9;
  background: #1c2522;
  transform: rotate(8deg) translateZ(-20px);
  animation: card-two-in .85s .1s cubic-bezier(.2,.8,.2,1) both;
}
.card-two strong { margin: auto 0; font-size: clamp(2.7rem, 4.5vw, 4.1rem); }
.card-two strong i { color: #dfbd72; font-weight: 400; }
.floating-note {
  position: absolute;
  z-index: 4;
  display: flex;
  align-items: center;
  color: var(--ink);
  background: rgba(255, 254, 250, .94);
  border: 1px solid rgba(210, 205, 195, .88);
  border-radius: 12px;
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(12px);
  animation: note-in .65s .35s cubic-bezier(.2,.8,.2,1) both;
}
.note-private { right: 0; top: 96px; gap: 9px; padding: 12px 15px; font-size: .7rem; font-weight: 690; }
.note-private span { color: #69a03e; font-size: .66rem; }
.note-export { left: 15%; bottom: 40px; gap: 5px; padding: 7px; }
.note-export b { display: grid; place-items: center; min-width: 42px; height: 34px; padding: 0 7px; background: var(--panel); border-radius: 7px; font-size: .61rem; }
.note-export b:last-child { min-width: 34px; color: white; background: var(--ink); font-size: .9rem; }
@keyframes card-one-in { from { opacity: 0; transform: translateY(35px) rotate(-3deg); } to { opacity: 1; transform: translateY(0) rotate(-6deg); } }
@keyframes card-two-in { from { opacity: 0; transform: translateY(45px) rotate(4deg); } to { opacity: 1; transform: translateY(0) rotate(8deg); } }
@keyframes note-in { from { opacity: 0; transform: translateY(15px); } to { opacity: 1; transform: translateY(0); } }

.trust-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  width: var(--content);
  margin: 0 auto;
  padding: 30px 0;
  border-block: 1px solid var(--line);
}
.trust-line p { margin: 0; font-family: Georgia, serif; font-size: 1.04rem; font-style: italic; }
.trust-line div { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 12px 26px; }
.trust-line span { color: var(--muted); font-size: .74rem; font-weight: 660; }
.trust-line span::before { content: "✓"; margin-right: 7px; color: var(--accent); }

.editor-section { scroll-margin-top: 70px; padding: 145px 0 120px; background: var(--paper); }
.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(330px, .62fr);
  align-items: end;
  gap: clamp(50px, 8vw, 130px);
  width: var(--content);
  margin: 0 auto 56px;
}
.section-heading h2 {
  margin: 0;
  font-size: clamp(3.2rem, 5.5vw, 6.1rem);
  font-weight: 560;
  letter-spacing: -.065em;
  line-height: .91;
}
.section-heading h2 em { color: var(--accent); }
.editor-intro-actions > p, .feature-heading > p {
  margin: 0 0 24px;
  color: var(--muted);
  line-height: 1.7;
}
.editor-head-actions { display: flex; align-items: end; gap: 9px; }
.format-select { display: grid; gap: 6px; color: var(--muted); font-size: .68rem; font-weight: 720; }
.format-select select { min-height: 41px; padding: 0 36px 0 12px; border: 1px solid var(--line-dark); border-radius: 10px; background: white; color: var(--ink); }

.design-app {
  display: grid;
  grid-template-columns: 270px minmax(520px, 1fr) 292px;
  grid-template-rows: auto auto minmax(720px, calc(100vh - 160px)) auto;
  width: min(1540px, calc(100% - 24px));
  margin: 0 auto;
  overflow: hidden;
  background: white;
  border: 1px solid var(--line-dark);
  border-radius: 24px;
  box-shadow: 0 38px 110px rgba(36, 32, 25, .12);
}
.studio-topbar {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 63px;
  padding: 9px 18px;
  background: white;
  border-bottom: 1px solid var(--line);
}
.studio-identity { display: flex; align-items: center; gap: 10px; }
.studio-identity > div { display: grid; }
.studio-identity b { font-size: .77rem; }
.studio-identity small { color: var(--muted-light); font-size: .62rem; }
.studio-dot { width: 28px; height: 28px; background: var(--accent); border-radius: 9px 9px 9px 3px; }
.privacy-badge { display: inline-flex; align-items: center; gap: 7px; padding: 7px 10px; color: #4f6840; background: #f0f6e8; border-radius: 999px; font-size: .64rem; font-weight: 680; }
.privacy-badge span { display: grid; place-items: center; width: 16px; height: 16px; color: white; background: #6d9551; border-radius: 50%; font-size: .55rem; }

.tool-rail {
  grid-column: 1 / -1;
  display: flex;
  align-items: stretch;
  gap: 2px;
  min-width: 0;
  padding: 6px 10px;
  overflow-x: auto;
  background: var(--dark);
  scrollbar-width: thin;
}
.rail-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: max-content;
  min-height: 43px;
  padding: 6px 15px;
  color: rgba(255,255,255,.68);
  background: transparent;
  border: 0;
  border-radius: 8px;
  font-size: .68rem;
  font-weight: 680;
  transition: color .15s ease, background .15s ease;
}
.rail-button span { display: grid; place-items: center; min-width: 19px; color: white; font-size: 1rem; font-weight: 500; }
.rail-button:hover { color: white; background: rgba(255,255,255,.08); }
.rail-button.is-active { color: var(--ink); background: white; }
.rail-button.is-active span { color: var(--accent); }

.asset-panel { min-width: 0; overflow: auto; padding: 24px 20px 30px; background: white; border-right: 1px solid var(--line); }
.asset-section { display: none; }
.asset-section.is-active { display: block; }
.panel-heading { margin-bottom: 5px; }
.panel-kicker { margin: 0 0 2px; color: var(--accent-dark); font-size: .6rem; font-weight: 760; letter-spacing: .12em; text-transform: uppercase; }
.asset-section h3, .inspector h3 { margin: 0 0 15px; font-size: 1.05rem; letter-spacing: -.025em; }
.panel-heading h3 { margin: 0; }
.asset-section h4 { margin: 23px 0 10px; color: #5d5a55; font-size: .64rem; letter-spacing: .1em; text-transform: uppercase; }
.asset-section label, .inspector label { display: grid; gap: 6px; margin-bottom: 14px; color: #5d5a55; font-size: .68rem; font-weight: 690; }
.asset-section input, .asset-section select, .inspector input, .inspector select, .inspector textarea {
  width: 100%;
  min-height: 40px;
  padding: 8px 10px;
  color: var(--ink);
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  outline: none;
  font-size: .76rem;
}
.asset-section textarea, .inspector textarea { resize: vertical; }
.asset-section input:focus, .asset-section select:focus, .inspector input:focus, .inspector select:focus, .inspector textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(255,93,70,.09); }
.asset-section input[type="color"], .inspector input[type="color"] { padding: 3px; cursor: pointer; }
.asset-section input[type="range"], .inspector input[type="range"] { padding: 0; accent-color: var(--accent); border: 0; }
.panel-help { margin: 10px 0 16px; color: var(--muted-light); font-size: .68rem; line-height: 1.5; }
.search-field input { margin-top: 2px; }

.template-list { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.template-tile {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 137px;
  padding: 11px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  text-align: left;
  box-shadow: 0 7px 16px rgba(30,39,45,.06);
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}
.template-tile span { display: block; margin-bottom: auto; font-family: Georgia, serif; font-size: 1.08rem; }
.template-tile b { font-size: .65rem; }
.template-tile:hover { border-color: var(--accent); box-shadow: 0 11px 22px rgba(30,39,45,.11); transform: translateY(-2px); }
.template-blank { background: white; }
.template-birthday { color: white; background: linear-gradient(145deg, #f9988a, #e95252); }
.template-thanks { color: #38503e; background: radial-gradient(circle at 85% 12%, rgba(76,122,83,.3), transparent 36%), #edf0e5; }
.template-invite { color: #f2d69a; background: radial-gradient(circle at 40% 10%, #39435a, #10151f 75%); }
.template-wedding { color: #514134; background: #f4e8da; box-shadow: inset 0 0 0 6px #d4b17f; }
.template-christmas { color: white; background: linear-gradient(145deg, #285344, #14382f); }

.sticker-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; }
.sticker-grid button { aspect-ratio: 1; border: 1px solid var(--line); border-radius: 9px; background: white; font-size: 1.45rem; transition: transform .15s ease, background .15s ease; }
.sticker-grid button:hover { background: var(--accent-soft); transform: translateY(-2px); }
.sticker-grid button[hidden] { display: none; }
.shape-grid, .background-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.shape-grid button, .background-grid button { min-height: 44px; padding: 7px; color: #4c4945; border: 1px solid var(--line); border-radius: 8px; background: white; font-size: .67rem; font-weight: 680; }
.shape-grid button:hover, .background-grid button:hover { border-color: var(--accent); background: var(--accent-soft); }
.text-preset { width: 100%; min-height: 57px; margin-bottom: 8px; padding: 10px 13px; border: 1px solid var(--line); border-radius: 9px; background: white; text-align: left; }
.text-preset:hover { background: var(--panel); border-color: var(--line-dark); }
.heading-preset { font-family: Georgia, serif; font-size: 1.34rem; }
.subheading-preset { font-size: .93rem; font-weight: 760; }
.body-preset { font-size: .78rem; }
.signature-preset { font-family: Georgia, serif; font-size: 1.05rem; font-style: italic; }
.upload-drop {
  position: relative;
  display: grid !important;
  place-items: center;
  min-height: 210px;
  padding: 22px;
  text-align: center;
  border: 1.5px dashed var(--line-dark);
  border-radius: 12px;
  background: var(--panel);
}
.upload-drop:hover { border-color: var(--accent); background: var(--accent-soft); }
.upload-drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.upload-drop span { display: grid; place-items: center; width: 44px; height: 44px; color: white; background: var(--accent); border-radius: 11px; font-size: 1.35rem; }
.upload-drop b { color: var(--ink); }
.upload-drop small { color: var(--muted); }
.two-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.color-fields { margin-top: 18px; }
.stack-buttons { display: grid; gap: 7px; }
.asset-panel .primary-button, .asset-panel .secondary-button { width: 100%; min-height: 42px; font-size: .72rem; }
.saved-list { display: grid; gap: 7px; margin-top: 18px; }
.saved-item { display: grid; grid-template-columns: 1fr auto; gap: 7px; padding: 9px; border: 1px solid var(--line); border-radius: 8px; }
.saved-item button { min-height: 30px; padding: 0 8px; border: 1px solid var(--line); border-radius: 6px; background: white; font-size: .64rem; font-weight: 720; }
.saved-item strong { display: block; font-size: .72rem; }
.saved-item small { color: var(--muted); font-size: .61rem; }
.saved-actions { display: flex; gap: 4px; }

.workspace { display: grid; grid-template-rows: auto 1fr auto; min-width: 0; min-height: 0; background: #e9e8e3; }
.workspace-toolbar {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 55px;
  padding: 8px 11px;
  overflow-x: auto;
  background: white;
  border-bottom: 1px solid var(--line);
  scrollbar-width: thin;
}
.tool-group { display: flex; gap: 3px; padding-right: 9px; border-right: 1px solid var(--line); white-space: nowrap; }
.workspace-toolbar button { min-height: 34px; padding: 0 9px; color: #4b4945; border: 1px solid transparent; border-radius: 7px; background: transparent; font-size: .64rem; font-weight: 690; }
.workspace-toolbar button:hover { background: var(--panel); border-color: var(--line); }
.workspace-toolbar button:disabled { opacity: .35; cursor: default; }
.workspace-toolbar .danger-tool { color: #bd3c31; }
.zoom-group { display: flex; align-items: center; gap: 3px; margin-left: auto; white-space: nowrap; }
.zoom-group span { min-width: 50px; text-align: center; font-size: .65rem; font-weight: 720; }
.canvas-stage {
  position: relative;
  display: grid;
  place-items: center;
  min-width: 0;
  min-height: 0;
  overflow: auto;
  padding: 38px;
  background-color: #e9e8e3;
  background-image: radial-gradient(circle, rgba(65, 62, 55, .13) .75px, transparent .8px);
  background-size: 18px 18px;
}
#designCanvas {
  display: block;
  width: auto;
  height: auto;
  max-width: none;
  background: white;
  border-radius: 3px;
  box-shadow: 0 26px 65px rgba(30, 28, 23, .22), 0 2px 8px rgba(30, 28, 23, .08);
  touch-action: none;
  user-select: none;
}
.workspace-status { display: flex; justify-content: space-between; gap: 20px; min-height: 35px; padding: 8px 12px; color: var(--muted); background: white; border-top: 1px solid var(--line); font-size: .62rem; }
#appStatus { color: var(--accent-dark); font-weight: 720; }

.inspector { min-width: 0; overflow: auto; background: white; border-left: 1px solid var(--line); }
.inspector-head { display: flex; justify-content: space-between; align-items: center; min-height: 55px; padding: 10px 15px; border-bottom: 1px solid var(--line); }
.inspector-head small { color: var(--muted); font-size: .61rem; }
.inspector-head h3 { margin: 1px 0 0; }
.inspector-head button { width: 30px; height: 30px; color: var(--muted); border: 1px solid var(--line); border-radius: 7px; background: white; font-size: 1rem; }
.empty-inspector { display: grid; place-items: center; gap: 10px; padding: 70px 24px; color: var(--muted-light); text-align: center; }
.empty-inspector span { display: grid; place-items: center; width: 46px; height: 46px; background: var(--panel); border-radius: 50%; font-size: 1.2rem; }
.empty-inspector p { max-width: 190px; font-size: .7rem; line-height: 1.55; }
.inspector-content { padding: 0 15px 24px; }
.inspector-block { padding: 18px 0; border-bottom: 1px solid var(--line); }
.inspector-block h4 { margin: 0 0 13px; color: #4d4a46; font-size: .64rem; letter-spacing: .09em; text-transform: uppercase; }
.four-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.check-line { display: flex !important; grid-template-columns: auto 1fr; align-items: center; gap: 8px; }
.check-line input { width: auto !important; min-height: 0 !important; accent-color: var(--accent); }
.format-buttons { display: grid; grid-template-columns: repeat(6, 1fr); gap: 4px; margin-bottom: 14px; }
.format-buttons button { min-height: 34px; color: var(--ink); border: 1px solid var(--line); border-radius: 6px; background: white; }
.format-buttons button:hover { background: var(--panel); }
.format-buttons button.is-active { color: white; background: var(--ink); border-color: var(--ink); }
.type-panel { display: none; }
.type-panel.is-active { display: block; }
#qrByteCount { display: block; margin: -8px 0 12px; color: var(--muted); font-size: .64rem; }

.export-bar {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 76px;
  padding: 11px 16px;
  background: white;
  border-top: 1px solid var(--line);
}
.export-note { display: flex; align-items: center; gap: 11px; margin-right: auto; }
.export-note > div { display: grid; }
.export-note b { font-size: .74rem; }
.export-note span { color: var(--muted); font-size: .63rem; }
.export-icon { display: grid !important; place-items: center; width: 34px; height: 34px; color: white !important; background: var(--accent); border-radius: 9px; font-size: .9rem !important; }
.export-bar label { display: grid; gap: 3px; color: var(--muted); font-size: .6rem; font-weight: 690; }
.export-bar select { min-height: 39px; padding: 0 30px 0 10px; border: 1px solid var(--line); border-radius: 8px; background: white; }
.export-bar .primary-button, .export-bar .secondary-button { min-height: 41px; padding-inline: 15px; font-size: .7rem; }
.editor-footnote { display: flex; justify-content: center; gap: 9px; margin: 24px auto 0; color: var(--muted-light); font-size: .7rem; }
.editor-footnote span { color: var(--ink); }

.possibilities-section { padding: 140px 0; background: var(--warm); }
.anchor-alias { position: relative; top: -76px; display: block; height: 0; visibility: hidden; }
.feature-heading { align-items: end; }
.feature-bento {
  display: grid;
  grid-template-columns: 1.15fr .85fr .85fr;
  grid-template-rows: minmax(360px, auto) minmax(310px, auto);
  gap: 14px;
  width: var(--content);
  margin: 0 auto;
}
.feature-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: clamp(24px, 3vw, 38px);
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 22px;
  transition: transform .25s ease, box-shadow .25s ease;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: 0 22px 48px rgba(38, 34, 27, .09); }
.feature-index { margin-bottom: auto; color: var(--muted-light); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .63rem; }
.feature-card h3 { margin: 0 0 8px; font-size: clamp(1.4rem, 2.2vw, 2rem); font-weight: 600; letter-spacing: -.04em; }
.feature-card p { max-width: 440px; margin: 0; color: var(--muted); font-size: .87rem; line-height: 1.6; }
.feature-card > div:first-of-type { position: relative; z-index: 2; }
.feature-large { grid-row: span 2; color: white; background: var(--dark); border-color: var(--dark); }
.feature-large .feature-index, .feature-large p { color: rgba(255,255,255,.58); }
.feature-large > div:first-of-type { margin-top: auto; }
.layers-visual { position: absolute; inset: 68px 35px auto; height: 300px; }
.layers-visual span { position: absolute; left: 50%; width: 210px; height: 145px; border: 1px solid rgba(255,255,255,.32); border-radius: 17px; transform-origin: center; }
.layers-visual span:nth-child(1) { top: 0; background: #d8f06f; transform: translateX(-50%) rotate(-12deg); }
.layers-visual span:nth-child(2) { top: 38px; background: #3158c8; transform: translateX(-50%) rotate(7deg); }
.layers-visual span:nth-child(3) { top: 82px; background: var(--accent); transform: translateX(-50%) rotate(-3deg); }
.layers-visual i { position: absolute; top: 122px; left: calc(50% - 18px); display: grid; place-items: center; width: 38px; height: 38px; color: var(--ink); background: white; border-radius: 50%; font-style: normal; box-shadow: 0 8px 20px rgba(0,0,0,.18); }
.feature-photo { background: #e8eddb; }
.photo-visual { position: absolute; top: 35px; right: 28px; width: 150px; height: 142px; overflow: hidden; background: #d9e7f3; border: 8px solid white; box-shadow: 0 15px 30px rgba(40,55,50,.14); transform: rotate(6deg); }
.photo-visual span { position: absolute; top: 13px; right: 15px; color: #f4bd45; font-size: 1.6rem; }
.photo-visual i { position: absolute; left: -18px; right: -18px; bottom: -30px; height: 110px; background: #6f9a6c; border-radius: 50% 50% 0 0; transform: rotate(8deg); }
.photo-visual b { position: absolute; right: -20px; bottom: -28px; width: 100px; height: 100px; background: #3c7457; border-radius: 50%; }
.feature-photo > div:first-of-type { margin-top: auto; }
.feature-private { color: #f9f5ec; background: var(--blue); border-color: var(--blue); }
.feature-private .feature-index, .feature-private p { color: rgba(255,255,255,.68); }
.feature-private > div:first-of-type { margin-top: auto; }
.private-seal { position: absolute; top: 33px; right: 32px; display: grid; place-items: center; width: 124px; height: 124px; color: rgba(255,255,255,.76); border: 1px solid rgba(255,255,255,.36); border-radius: 50%; text-align: center; text-transform: uppercase; letter-spacing: .16em; font-size: .58rem; transform: rotate(8deg); }
.private-seal::before, .private-seal::after { content: ""; position: absolute; inset: 8px; border: 1px dashed rgba(255,255,255,.42); border-radius: 50%; }
.private-seal b { font-size: 1.3rem; }
.feature-wide { grid-column: span 1; background: #ffe2db; }
.feature-invite > div:first-of-type { margin-top: auto; }
.invite-chips { position: absolute; top: 35px; left: 34px; right: 34px; display: flex; flex-wrap: wrap; gap: 7px; }
.invite-chips span { padding: 9px 11px; color: #744037; background: rgba(255,255,255,.58); border: 1px solid rgba(151,83,70,.18); border-radius: 999px; font-size: .62rem; font-weight: 760; }
.feature-export { background: #f0ede5; }
.feature-export > div:first-of-type { margin-top: auto; }
.export-visual { position: absolute; top: 36px; right: 34px; display: flex; gap: 6px; }
.export-visual b, .export-visual span { display: grid; place-items: center; width: 54px; height: 54px; background: white; border: 1px solid var(--line); border-radius: 12px; font-size: .66rem; box-shadow: 0 9px 20px rgba(35,31,25,.08); }
.export-visual span { color: white; background: var(--ink); border-color: var(--ink); font-size: 1rem; }

.steps-section {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(460px, 1.15fr);
  gap: clamp(60px, 10vw, 160px);
  padding: 150px max(24px, calc((100vw - 1380px) / 2));
  color: white;
  background: var(--dark);
}
.eyebrow.light { color: rgba(255,255,255,.65); }
.steps-copy { align-self: center; }
.steps-copy h2 { margin: 0 0 25px; font-size: clamp(3.5rem, 6vw, 6.4rem); font-weight: 560; letter-spacing: -.07em; line-height: .89; }
.steps-copy h2 em { color: var(--green); }
.steps-copy > p { max-width: 510px; margin: 0 0 32px; color: rgba(255,255,255,.56); line-height: 1.7; }
.light-button { color: var(--ink); background: white; border: 1px solid white; }
.light-button:hover { background: var(--green); border-color: var(--green); transform: translateY(-2px); }
.steps-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid rgba(255,255,255,.18); }
.steps-list li { display: grid; grid-template-columns: 70px 1fr; gap: 24px; padding: 36px 0 42px; border-bottom: 1px solid rgba(255,255,255,.18); }
.steps-list > li > span { color: var(--green); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .72rem; }
.steps-list h3 { margin: 0 0 9px; font-size: clamp(1.5rem, 2.7vw, 2.3rem); font-weight: 570; letter-spacing: -.04em; }
.steps-list p { max-width: 600px; margin: 0; color: rgba(255,255,255,.55); line-height: 1.65; }

.closing-section { position: relative; display: grid; place-items: center; min-height: 720px; padding: 130px 24px; overflow: hidden; text-align: center; background: var(--paper); }
.closing-mark { position: absolute; top: 50%; left: 50%; z-index: 0; display: grid; place-items: center; width: min(520px, 70vw); aspect-ratio: 1; color: rgba(255,255,255,.7); background: var(--accent); border-radius: 50% 50% 50% 18%; font-family: Georgia, serif; font-size: min(21rem, 46vw); font-style: italic; line-height: 1; transform: translate(-50%, -50%) rotate(-9deg); opacity: .11; }
.closing-section > *:not(.closing-mark) { position: relative; z-index: 1; }
.closing-section > p { margin: 0 0 18px; color: var(--muted); font-size: .76rem; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; }
.closing-section h2 { margin: 0 0 33px; font-size: clamp(4rem, 8vw, 8.6rem); font-weight: 560; letter-spacing: -.075em; line-height: .84; }
.closing-section h2 em { color: var(--accent); }
.closing-button { min-height: 54px; }
.closing-section small { display: block; margin-top: 18px; color: var(--muted-light); }

.site-footer { display: flex; justify-content: space-between; align-items: end; gap: 40px; padding: 65px max(24px, calc((100vw - 1380px) / 2)); color: white; background: var(--dark); border-top: 1px solid rgba(255,255,255,.12); }
.footer-brand { color: white; }
.footer-main > p { margin: 24px 0 0; color: rgba(255,255,255,.9); font-family: Georgia, serif; font-size: 1.5rem; line-height: 1.2; }
.footer-meta { display: grid; justify-items: end; gap: 20px; }
.footer-meta nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 20px; }
.footer-meta nav a { color: rgba(255,255,255,.62); text-decoration: none; font-size: .73rem; }
.footer-meta nav a:hover { color: white; }
.footer-meta p { margin: 0; color: rgba(255,255,255,.35); font-size: .67rem; }

/* Rechtliche Seiten */
.legal-body { background: var(--warm); }
.legal-header { position: static; }
.legal-hero { padding: 95px 0 65px; background: var(--paper); border-bottom: 1px solid var(--line); }
.legal-hero-inner { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
.legal-hero h1 { margin: 0 0 16px; font-size: clamp(3.5rem, 7vw, 6.8rem); font-weight: 560; letter-spacing: -.068em; line-height: .9; }
.legal-hero p { max-width: 720px; margin: 0; color: var(--muted); font-size: 1.03rem; }
.legal-layout { display: grid; grid-template-columns: 250px minmax(0,1fr); gap: 44px; width: min(1120px, calc(100% - 40px)); margin: 0 auto; padding: 48px 0 100px; }
.legal-toc { position: sticky; top: 90px; align-self: start; display: grid; gap: 5px; }
.legal-toc strong { margin-bottom: 8px; font-size: .68rem; letter-spacing: .13em; text-transform: uppercase; }
.legal-toc a { padding: 8px 10px; color: var(--muted); text-decoration: none; border-radius: 8px; font-size: .8rem; }
.legal-toc a:hover { color: var(--ink); background: white; }
.legal-card { margin-bottom: 16px; padding: clamp(24px, 4vw, 40px); background: white; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 12px 34px rgba(30,39,45,.05); }
.legal-card h2 { margin: 0 0 13px; font-size: clamp(1.6rem,3vw,2.2rem); font-weight: 560; letter-spacing: -.035em; }
.legal-card p, .legal-card li, .legal-card address { color: #4f4d49; }
.legal-card address { font-style: normal; line-height: 1.75; }
.legal-card a { color: var(--accent-dark); text-underline-offset: 3px; }
.legal-highlight { display: grid; grid-template-columns: 44px 1fr; gap: 14px; padding: 18px; margin-bottom: 18px; background: var(--accent-soft); border: 1px solid #ffd0c9; border-radius: 12px; }
.legal-highlight span { display: grid; place-items: center; width: 44px; height: 44px; color: white; background: var(--accent); border-radius: 11px; }
.legal-highlight p { margin: 0; }
.legal-updated { color: var(--muted); font-size: .76rem; }

@media (max-width: 1280px) {
  .design-app { grid-template-columns: 245px minmax(500px, 1fr); grid-template-rows: auto auto minmax(700px, calc(100vh - 150px)) auto auto; }
  .inspector { grid-column: 1 / -1; display: grid; grid-template-columns: 230px 1fr; max-height: 430px; border-top: 1px solid var(--line); border-left: 0; }
  .inspector-head { align-self: start; border-right: 1px solid var(--line); border-bottom: 0; }
  .empty-inspector { padding: 35px 24px; }
  .inspector-content { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; overflow: auto; }
  .export-bar { grid-row: 5; }
}

@media (max-width: 1040px) {
  :root { --content: min(100% - 36px, 820px); }
  .site-header { grid-template-columns: 1fr auto; }
  .header-nav { display: none; }
  .hero { grid-template-columns: 1fr; padding-top: 90px; text-align: center; }
  .hero-copy { display: grid; justify-items: center; }
  .hero-gallery { width: min(650px, 100%); min-height: 590px; margin: 0 auto; }
  .section-heading { grid-template-columns: 1fr; gap: 30px; }
  .editor-intro-actions { max-width: 590px; }
  .feature-bento { grid-template-columns: 1fr 1fr; grid-template-rows: repeat(3, minmax(320px, auto)); }
  .feature-large { grid-row: span 2; }
  .feature-wide { grid-column: span 1; }
  .steps-section { grid-template-columns: 1fr; }
  .steps-copy { max-width: 700px; }
}

@media (max-width: 820px) {
  .trust-line { display: grid; }
  .trust-line div { justify-content: flex-start; }
  .design-app { grid-template-columns: 1fr; grid-template-rows: auto auto auto minmax(620px, 720px) auto auto; }
  .asset-panel { grid-column: 1; max-height: 365px; border-right: 0; border-bottom: 1px solid var(--line); }
  .workspace { grid-column: 1; grid-row: 4; }
  .inspector { grid-column: 1; grid-row: 5; grid-template-columns: 1fr; max-height: 520px; }
  .inspector-head { border-right: 0; border-bottom: 1px solid var(--line); }
  .inspector-content { grid-template-columns: 1fr 1fr; }
  .export-bar { grid-row: 6; }
  .template-list { grid-template-columns: repeat(3, 1fr); }
  .template-tile { min-height: 150px; }
  .asset-section.is-active { max-width: 690px; margin-inline: auto; }
  .sticker-grid { grid-template-columns: repeat(8, 1fr); }
  .shape-grid, .background-grid { grid-template-columns: repeat(3, 1fr); }
  .upload-drop { min-height: 170px; }
}

@media (max-width: 680px) {
  :root { --content: calc(100% - 28px); }
  .site-header { min-height: 68px; padding-inline: 14px; }
  .brand-name { display: none; }
  .brand-mark { width: 35px; height: 35px; }
  .header-cta { min-height: 39px; }
  .hero { min-height: auto; padding: 70px 0 78px; }
  .hero h1 { font-size: clamp(3.35rem, 16vw, 5rem); }
  .hero-lead { font-size: .98rem; }
  .hero-actions { width: 100%; }
  .hero-actions .primary-button, .hero-actions .secondary-button { width: 100%; }
  .hero-proof { justify-content: center; gap: 12px 0; }
  .hero-proof span { padding-inline: 11px; }
  .hero-gallery { min-height: 480px; overflow: clip; }
  .card-one { left: 0; width: 61%; padding: 36px 29px; }
  .card-one strong { margin-top: 75px; }
  .card-two { right: 0; width: 56%; padding: 35px 28px; }
  .note-private { top: 75px; }
  .note-export { left: 7%; bottom: 20px; }
  .trust-line { padding: 24px 0; }
  .trust-line div { gap: 9px 16px; }
  .editor-section, .possibilities-section { padding-block: 95px; }
  .section-heading { margin-bottom: 38px; }
  .section-heading h2 { font-size: clamp(3rem, 14vw, 4.8rem); }
  .editor-head-actions { display: grid; grid-template-columns: 1fr auto; }
  .design-app { width: calc(100% - 10px); border-radius: 15px; grid-template-rows: auto auto auto 590px auto auto; }
  .studio-topbar { padding-inline: 12px; }
  .privacy-badge { display: none; }
  .rail-button { padding-inline: 11px; }
  .asset-panel { max-height: 400px; padding: 20px 15px; }
  .template-list { grid-template-columns: 1fr 1fr; }
  .template-tile { min-height: 135px; }
  .sticker-grid { grid-template-columns: repeat(4, 1fr); }
  .shape-grid, .background-grid { grid-template-columns: 1fr 1fr; }
  .workspace-toolbar { padding-inline: 8px; }
  .alignment-tools { display: none; }
  .canvas-stage { padding: 26px 18px; }
  .workspace-status { display: grid; gap: 2px; }
  .inspector-content { grid-template-columns: 1fr; }
  .export-bar { flex-wrap: wrap; padding: 14px; }
  .export-note { width: 100%; margin: 0 0 4px; }
  .export-bar label { margin-right: auto; }
  .export-bar .primary-button, .export-bar .secondary-button { padding-inline: 12px; }
  .editor-footnote { width: calc(100% - 30px); text-align: center; }
  .feature-bento { grid-template-columns: 1fr; grid-template-rows: none; }
  .feature-card, .feature-large { min-height: 340px; grid-row: auto; }
  .feature-wide { grid-column: auto; }
  .steps-section { grid-template-columns: 1fr; padding-block: 100px; }
  .steps-copy h2 { font-size: clamp(3.4rem, 16vw, 5.2rem); }
  .steps-list li { grid-template-columns: 45px 1fr; gap: 14px; }
  .closing-section { min-height: 620px; }
  .closing-section h2 { font-size: clamp(3.8rem, 17vw, 6rem); }
  .site-footer { align-items: start; flex-direction: column; }
  .footer-meta { justify-items: start; }
  .footer-meta nav { justify-content: flex-start; }
  .legal-layout { grid-template-columns: 1fr; }
  .legal-toc { position: static; }
}

@media (max-width: 420px) {
  .header-cta { font-size: .74rem; padding-inline: 12px; }
  .hero-gallery { min-height: 410px; }
  .card-one { padding: 30px 23px; }
  .card-two { padding: 30px 22px; }
  .showcase-card::after { inset: 12px; }
  .showcase-card span { font-size: .5rem; }
  .showcase-card small { font-size: .58rem; }
  .note-private { right: -3px; padding: 9px 10px; font-size: .6rem; }
  .note-export { bottom: 6px; }
  .editor-head-actions { grid-template-columns: 1fr; }
  .format-select select, .editor-head-actions .secondary-button { width: 100%; }
  .design-app { grid-template-rows: auto auto auto 540px auto auto; }
  .studio-identity small { display: none; }
  .export-bar label { width: 100%; }
  .export-bar select { width: 100%; }
  .export-bar .secondary-button, .export-bar .primary-button { flex: 1; }
  .export-icon { display: none !important; }
  .feature-card, .feature-large { min-height: 320px; }
  .layers-visual { transform: scale(.82); transform-origin: top center; }
}

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