:root {
  color-scheme: light;
  --ink: #292725;
  --muted: #77716d;
  --coral: #eb806e;
  --lavender: #e8e3fa;
  --cream: #fffaf6;
  --line: #e9e3df;
  --font-sans: "DM Sans", "Segoe UI", sans-serif;
  --font-serif: "Playfair Display", Georgia, serif;
  font-family: var(--font-sans);
  color: var(--ink);
  background: #fff;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 0; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible { outline: 3px solid #a38cdb; outline-offset: 3px; }
.section-wrap { width: min(1160px, calc(100% - 64px)); margin-inline: auto; }
.section-space { padding-block: 104px; }
.site-header { position: relative; z-index: 10; background: rgba(255,255,255,.96); border-bottom: 1px solid #f2eeeb; }
.header-inner { width: min(1260px, calc(100% - 64px)); min-height: 78px; margin: auto; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 9px; font-size: 21px; font-weight: 700; letter-spacing: -1.15px; }
.brand-mark { display: grid; width: 31px; height: 31px; place-items: center; color: #fff; background: var(--coral); border-radius: 11px 11px 11px 4px; font-family: var(--font-serif); font-size: 24px; line-height: 1; font-style: italic; }
.brand-period { color: var(--coral); }
.main-nav { display: flex; align-items: center; gap: 34px; color: #625d59; font-size: 13px; font-weight: 600; }
.main-nav > a:not(.button) { transition: color .2s; }
.main-nav > a:not(.button):hover, .main-nav > a.active { color: #292725; }
.button { min-height: 49px; padding: 0 21px; display: inline-flex; justify-content: center; align-items: center; gap: 18px; border: 1px solid transparent; border-radius: 8px; font-size: 13px; font-weight: 700; transition: transform .2s, box-shadow .2s, background .2s; cursor: pointer; }
.button:hover { transform: translateY(-2px); box-shadow: 0 8px 20px #32221b18; }
.button-dark { background: #302c2a; color: #fff; }
.button-dark:hover { background: #4b4240; }
.button-outline { background: #fff; border-color: #ddd5d0; color: #35312f; }
.button-outline:hover { border-color: #a89a92; background: #fffaf7; }
.button-small { min-height: 39px; padding-inline: 16px; font-size: 12px; gap: 11px; }
.menu-toggle { display: none; }
.hero { min-height: 594px; padding-block: 74px 66px; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 30px; }
.hero-copy { padding-block: 14px; }
.eyebrow { margin-bottom: 17px; color: #8a7770; font-size: 10px; font-weight: 700; letter-spacing: 1.55px; }
.eyebrow-dot { display: inline-block; width: 7px; height: 7px; margin-right: 8px; border-radius: 50%; background: var(--coral); vertical-align: 1px; }
h1, h2, h3, p { margin-top: 0; }
.hero h1, .category-hero h1 { margin-bottom: 20px; font-size: clamp(42px, 5.2vw, 65px); font-weight: 600; letter-spacing: -3.5px; line-height: 1.1; }
.hero h1 span, .category-hero h1 span { color: #9b87c9; font-family: var(--font-serif); font-weight: 500; font-style: italic; letter-spacing: -2.9px; }
.hero-copy > p { max-width: 495px; margin-bottom: 27px; color: #77716d; font-size: 15px; line-height: 1.8; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 11px; }
.hero-note { margin-top: 37px; display: flex; align-items: center; gap: 12px; color: #837b75; font-size: 11px; }
.hero-note strong { color: #4d4642; }
.avatar-stack { display: flex; padding-left: 2px; }
.avatar-stack i { width: 25px; height: 25px; display: grid; place-items: center; margin-left: -3px; border: 2px solid white; border-radius: 50%; background: #f3d0c4; color: #66514b; font-size: 9px; font-style: normal; font-weight: 700; }
.avatar-stack i:nth-child(2) { background: #d5dff2; }.avatar-stack i:nth-child(3) { background: #e7d9ec; }
.hero-art { height: 440px; position: relative; display: grid; place-items: center; }
.hero-orbit { position: absolute; width: 360px; height: 360px; border: 1px solid #eadff1; border-radius: 50%; }
.orbit-two { width: 425px; height: 330px; transform: rotate(-25deg); border-color: #f3e6df; }
.art-card { position: absolute; width: 226px; height: 305px; padding: 23px; display: flex; flex-direction: column; align-items: center; justify-content: space-between; text-align: center; border: 8px solid #fff; border-radius: 4px; box-shadow: 0 21px 45px #36232324; }
.art-card-back { transform: translate(-78px, 3px) rotate(-12deg); background: #dce7d8; color: #43594a; }
.art-card-front { transform: translate(61px, -3px) rotate(8deg); background: #ffd6c8; color: #644d4a; }
.card-topline, .art-card-bottom { font-size: 7px; letter-spacing: 1.1px; font-weight: 700; }
.art-flower { font-size: 45px; color: #c37486; }
.art-script { font-family: var(--font-serif); font-size: 33px; line-height: .95; font-style: italic; }
.art-balloons { font-size: 22px; }
.art-overline { font-size: 7px; letter-spacing: .8px; font-weight: 700; }
.art-card-front h2 { margin: 0; font-family: var(--font-serif); font-size: 38px; line-height: 1.04; font-weight: 600; }
.art-card-front h2 em { color: #c96e62; font-weight: 600; }
.art-confetti { color: #c96e62; letter-spacing: 3px; }
.hero-sparkle { position: absolute; color: #de9b80; font-size: 28px; }.sparkle-a { top: 48px; left: 20%; }.sparkle-b { top: 99px; right: 10%; color: #a18dcb; }.sparkle-c { bottom: 46px; right: 23%; font-size: 19px; }
.floating-pill { position: absolute; right: 1%; bottom: 51px; padding: 11px 16px; border: 1px solid #f0e6e1; border-radius: 50px; background: white; box-shadow: 0 8px 25px #3c292212; color: #736964; font-size: 10px; transform: rotate(-5deg); }
.floating-pill span { margin-right: 5px; color: #d98b82; }
.trust-strip { border-block: 1px solid #f1ece9; background: #fffdfa; }
.trust-inner { min-height: 61px; display: flex; justify-content: space-between; align-items: center; color: #99908a; font-size: 9px; font-weight: 700; letter-spacing: 1.4px; }
.trust-inner span:nth-child(even) { color: #d5a190; font-size: 12px; }
.section-heading { margin-bottom: 39px; display: flex; justify-content: space-between; align-items: end; gap: 30px; }
.section-heading .eyebrow { margin-bottom: 10px; }
.section-heading h2, .how-intro h2 { margin-bottom: 0; font-size: clamp(31px, 3.7vw, 43px); line-height: 1.16; letter-spacing: -1.8px; font-weight: 600; }
.section-heading > p { max-width: 340px; margin: 0 0 4px; color: var(--muted); font-size: 13px; line-height: 1.75; }
.category-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.category-card { min-height: 319px; position: relative; overflow: hidden; padding: 36px 34px; display: flex; border-radius: 13px; }
.birthday-category { background: #fae9df; }.friendship-category { background: #e9e5f7; }
.category-copy { z-index: 1; max-width: 51%; display: flex; flex-direction: column; align-items: flex-start; }
.category-kicker { color: #8e7269; font-size: 8px; font-weight: 700; letter-spacing: 1.2px; }
.category-copy h3 { margin: 14px 0 8px; font-size: 32px; line-height: 1.02; letter-spacing: -1.2px; font-weight: 600; }
.category-copy p { max-width: 205px; margin-bottom: 20px; color: #756a65; font-size: 12px; line-height: 1.6; }
.text-link { display: inline-flex; align-items: center; gap: 9px; color: #332e2b; font-size: 11px; font-weight: 700; transition: gap .18s; }
.text-link:hover { gap: 14px; }
.category-art { position: absolute; inset: 0 0 0 45%; }
.mini-card { position: absolute; width: 160px; height: 209px; top: 55px; left: 28%; padding: 18px 12px; display: flex; flex-direction: column; justify-content: space-between; align-items: center; text-align: center; border: 6px solid #fff; box-shadow: 0 15px 28px #50362b21; transform: rotate(9deg); }
.birthday-mini { background: #ffcc95; color: #684b42; }.friendship-mini { background: #d3e8dc; color: #4e6558; transform: rotate(-8deg); }
.mini-card span, .mini-card small { font-size: 6px; letter-spacing: .7px; font-weight: 700; }.mini-card b { font-family: var(--font-serif); font-size: 26px; line-height: 1; }.mini-card i { color: #d76d5c; font-size: 27px; }
.friendship-mini b { font-size: 23px; }.friendship-mini i { color: #987db6; }
.art-star { position: absolute; color: #bd806c; font-size: 25px; }.star-one { top: 38px; left: 68%; }.star-two { bottom: 41px; left: 19%; font-size: 19px; color: #a18a82; }.heart-one { top: 42px; left: 73%; font-size: 31px; color: #ac82ae; }.heart-two { bottom: 44px; left: 18%; color: #cb9082; }
.featured-section { background: #fcfaf8; }
.featured-section .section-heading { align-items: end; }
.template-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.template-card { min-width: 0; }
.template-visual { aspect-ratio: 1 / 1.07; padding: 24px 15px; display: flex; flex-direction: column; justify-content: space-between; align-items: center; overflow: hidden; text-align: center; border: 7px solid #fff; border-radius: 3px; box-shadow: 0 8px 24px #34251a12; transition: transform .25s, box-shadow .25s; }
.template-visual:hover { transform: translateY(-5px) rotate(-1deg); box-shadow: 0 17px 32px #34251a20; }
.template-visual strong { font-family: var(--font-serif); font-size: clamp(25px, 3vw, 36px); font-weight: 600; line-height: .98; }
.template-visual strong i { font-weight: 500; }
.preview-label, .preview-foot { font-size: 7px; font-weight: 700; letter-spacing: 1.2px; }
.preview-foot { font-size: 6px; letter-spacing: .8px; }
.preview-sunshine { background: #ffdbb8; color: #684e43; }.preview-sunshine strong i { color: #d1705d; }
.preview-bloom { background: #e8eee1; color: #4c6150; }.preview-bloom strong i { color: #c7778a; }.preview-flower { color: #ca7181; font-size: 32px; }
.preview-confetti { background: #e3def7; color: #514766; }.preview-confetti strong i { color: #8973ba; }
.preview-besties { background: #f6dce4; color: #634754; }.preview-besties strong i { color: #bd7188; }
.template-info { padding: 14px 1px 0; display: flex; justify-content: space-between; align-items: center; }
.template-info h3 { margin: 0 0 5px; font-size: 12px; font-weight: 700; }.template-info span { color: #89817c; font-size: 10px; }
.round-arrow { width: 30px; height: 30px; display: grid; place-items: center; border: 1px solid #e9e1dc; border-radius: 50%; font-size: 13px; transition: background .2s, color .2s; }.round-arrow:hover { color: #fff; background: #332d2b; }
.how-section { background: #f3f0fa; }
.how-inner { display: grid; grid-template-columns: .8fr 1.6fr; gap: 80px; align-items: center; }
.how-intro h2 { margin-bottom: 17px; font-size: 38px; }.how-intro > p { max-width: 310px; margin: 0; color: #77716d; font-size: 13px; line-height: 1.7; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step { position: relative; padding-top: 21px; border-top: 1px solid #d7cfea; }
.step-number { color: #a59abb; font-size: 9px; font-weight: 700; letter-spacing: 1px; }
.step-icon { width: 42px; height: 42px; margin: 17px 0; display: grid; place-items: center; border-radius: 13px; background: #fff; color: #907db9; font-size: 20px; box-shadow: 0 4px 12px #362e4710; }
.step h3 { margin-bottom: 8px; font-size: 13px; }.step p { margin-bottom: 0; color: #77716d; font-size: 11px; line-height: 1.7; }
.final-cta { min-height: 352px; position: relative; overflow: hidden; padding: 78px 24px; display: flex; flex-direction: column; align-items: center; text-align: center; background: #fbece6; }
.final-cta .eyebrow { margin-bottom: 13px; }.final-cta h2 { margin-bottom: 23px; font-size: 39px; line-height: 1.13; letter-spacing: -1.8px; }
.cta-doodle { position: absolute; top: 39px; left: 17%; color: #df9a84; font-size: 50px; transform: rotate(-15deg); }.cta-doodle-right { top: auto; right: 17%; bottom: 36px; left: auto; color: #aa98cc; font-size: 45px; }
.site-footer { background: #302d2c; color: #fff; }
.footer-main { padding-block: 52px 43px; display: flex; justify-content: space-between; gap: 50px; }
.footer-brand .brand { color: white; }.footer-brand .brand-mark { color: #fff; background: #ce806e; }.footer-brand p { margin: 16px 0 0; color: #bdb5b2; font-size: 11px; line-height: 1.8; }
.footer-links { display: flex; gap: clamp(40px, 7vw, 96px); }
.footer-links div { display: flex; flex-direction: column; gap: 11px; }.footer-links strong { margin-bottom: 5px; color: #d3aaa0; font-size: 8px; letter-spacing: 1px; }.footer-links a { color: #d2cecb; font-size: 10px; }.footer-links a:hover { color: white; }
.footer-bottom { padding-block: 16px; display: flex; justify-content: space-between; border-top: 1px solid #4b4644; color: #a9a3a0; font-size: 9px; }.footer-bottom b { color: #e49381; }

/* Category pages */
.category-page { background: #fff; }
.category-hero { min-height: 430px; padding-block: 55px; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 50px; }
.category-hero-copy .eyebrow a { color: #6e6660; }.category-hero h1 { font-size: clamp(43px, 5vw, 58px); }
.category-hero-copy > p { max-width: 440px; margin-bottom: 24px; color: #77716d; font-size: 14px; line-height: 1.8; }
.category-hero-card { width: 260px; height: 318px; margin: auto; padding: 24px; display: flex; flex-direction: column; justify-content: space-between; align-items: center; text-align: center; border: 9px solid #fff; box-shadow: 0 20px 44px #44352b23; transform: rotate(4deg); }
.birthday-hero-card { color: #765447; background: #ffddb6; }.friendship-hero-card { color: #506c5f; background: #dcece2; transform: rotate(-4deg); }
.hero-card-confetti { width: 100%; font-size: 17px; color: #c98272; }.hero-card-top, .hero-card-bottom { font-size: 7px; font-weight: 700; letter-spacing: 1.1px; }
.category-hero-card h2 { margin: 0; font-family: var(--font-serif); font-size: 43px; line-height: 1.03; }.category-hero-card h2 em { color: #cc7260; font-weight: 600; }.friendship-hero-card h2 { font-size: 38px; }.friendship-hero-card h2 em { color: #9b7db5; }
.hero-card-scribble { font-family: var(--font-serif); font-size: 15px; font-style: italic; }
.category-templates { padding-top: 70px; padding-bottom: 100px; background: #fcfaf8; }
.category-templates .section-heading { margin-bottom: 26px; }
.filter-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 27px; }
.filter-chip { min-height: 34px; padding: 0 14px; border: 1px solid #e8e1dc; border-radius: 30px; background: transparent; color: #6d6661; font-size: 10px; cursor: pointer; transition: all .2s; }
.filter-chip:hover { border-color: #c7b6aa; }.filter-chip.selected { border-color: #342e2b; background: #342e2b; color: white; }
.category-template-grid { grid-template-columns: repeat(4, 1fr); row-gap: 28px; }
.template-visual.theme-preview { position: relative; }
.category-bottom { padding-block: 67px; text-align: center; background: #fae9df; }.category-bottom .section-wrap { display: flex; flex-direction: column; align-items: center; }.category-bottom .section-wrap > span { margin-bottom: 12px; color: #c98171; font-size: 25px; }.category-bottom h2 { margin-bottom: 22px; font-size: 32px; line-height: 1.25; letter-spacing: -1px; }.category-bottom h2 em { color: #a27fc0; font-family: var(--font-serif); font-weight: 500; }.friendship-bottom { background: #ebe7f7; }
.legal-page { max-width: 780px; padding-block: 74px 100px; }.legal-page h1 { margin-bottom: 12px; font-size: clamp(38px, 5vw, 54px); letter-spacing: -2px; }.legal-intro { max-width: 600px; margin-bottom: 46px; color: var(--muted); font-size: 15px; line-height: 1.7; }.legal-page section { padding-block: 25px; border-top: 1px solid var(--line); scroll-margin-top: 24px; }.legal-page h2 { margin-bottom: 12px; font-size: 20px; letter-spacing: -.5px; }.legal-page section p { color: #6f6964; font-size: 13px; line-height: 1.8; }.legal-page > .text-link { margin-top: 16px; }

/* Card editor */
.editor-body { min-height: 100vh; background: #f8f6f3; }
.editor-header .header-inner { min-height: 68px; }.editor-header .brand { font-size: 19px; }.editor-back { margin-left: 34px; color: #746e69; font-size: 11px; font-weight: 600; }.editor-header .header-inner { justify-content: flex-start; }.editor-header-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.editor-icon-button { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid #e5ded8; border-radius: 7px; background: white; color: #574f4a; font-size: 19px; cursor: pointer; }.editor-icon-button:disabled { opacity: .4; cursor: default; }
.editor-main { width: min(1320px, calc(100% - 56px)); margin: 0 auto; padding-block: 30px 50px; }
.editor-title-row { margin-bottom: 20px; display: flex; justify-content: space-between; align-items: end; }.editor-title-row .eyebrow { margin-bottom: 6px; font-size: 8px; }.editor-title-row h1 { margin: 0; font-size: 24px; letter-spacing: -.8px; }.editor-step-label { color: #85807a; font-size: 10px; }.editor-live-dot, .preview-live-dot { display: inline-block; width: 7px; height: 7px; margin-right: 5px; border-radius: 50%; background: #75ab85; }
.editor-layout { min-height: 655px; display: grid; grid-template-columns: 220px minmax(320px, 1fr) 294px; gap: 18px; align-items: stretch; }
.editor-panel, .preview-panel { border: 1px solid #eee8e3; border-radius: 10px; background: #fff; }
.editor-panel { padding: 20px 17px; }
.panel-heading { padding-bottom: 14px; border-bottom: 1px solid #f0ece9; }.panel-kicker { color: #9a8d85; font-size: 8px; font-weight: 700; letter-spacing: .9px; }.panel-heading h2 { margin: 5px 0 0; font-size: 16px; letter-spacing: -.4px; }
.editor-template-list { padding-block: 13px; display: grid; grid-template-columns: 1fr; gap: 10px; }
.editor-template-option { width: 100%; padding: 5px; display: flex; align-items: center; gap: 10px; border: 1px solid transparent; border-radius: 7px; background: white; text-align: left; cursor: pointer; transition: border .2s, background .2s; }.editor-template-option:hover { background: #fcfaf8; }.editor-template-option.selected { border-color: #c6b5db; background: #f8f5fc; }
.template-thumb { width: 49px; height: 58px; flex: 0 0 auto; display: grid; place-items: center; border: 4px solid white; box-shadow: 0 2px 7px #24181119; font-family: var(--font-serif); font-size: 23px; font-style: italic; }.template-option-copy { display: flex; flex-direction: column; gap: 5px; }.template-option-copy strong { font-size: 10px; }.template-option-copy small { color: #89817c; font-size: 9px; }.switch-category-link { margin-top: 6px; font-size: 9px; }
.preview-panel { padding: 15px 18px 14px; display: flex; flex-direction: column; background: #f1efed; }
.preview-toolbar { display: flex; justify-content: space-between; align-items: center; color: #827b75; font-size: 8px; font-weight: 700; letter-spacing: 1px; }.preview-live-dot { width: 6px; height: 6px; }.zoom-button { border: 0; background: transparent; color: #77716d; font-size: 9px; cursor: pointer; }
.card-preview-wrap { flex: 1; padding: 27px 0; display: grid; place-items: center; }
.editable-card { width: min(100%, 390px); aspect-ratio: 0.82; position: relative; padding: 11% 10%; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; align-items: center; text-align: center; border: 10px solid white; box-shadow: 0 15px 32px #392f291c; color: #40352f; transition: background .2s, transform .2s; }
.editable-card.zoomed { transform: scale(1.08); }.editable-card.theme-sunshine { background: #fff0dd; }.editable-card.theme-bloom { background: #dcebdc; }.editable-card.theme-modern { background: #e2ddf4; }.editable-card.theme-besties { background: #f5dce3; }.editable-card.theme-elegant { background: #f1e9e0; }.editable-card.theme-cute { background: #f8dede; }
.editable-eyebrow, .editable-footer { font-size: clamp(6px, .75vw, 9px); font-weight: 700; letter-spacing: 1.1px; }.editable-title { margin: 7px 0; font-family: var(--font-serif); font-size: clamp(34px, 5vw, 55px); line-height: .99; letter-spacing: -1.5px; }.editable-title em { color: #c86e5d; font-weight: 600; }.editable-name { margin: auto 0 7px; font-family: var(--font-serif); font-size: 14px; font-style: italic; }.editable-message { max-width: 90%; margin: 0 0 auto; font-size: 10px; line-height: 1.55; }.card-decoration { color: #d38170; font-size: 20px; letter-spacing: 4px; }.decoration-bottom { margin-top: 12px; }.preview-caption { color: #88807a; text-align: center; font-family: var(--font-serif); font-size: 12px; font-style: italic; }.preview-caption span { color: #cb8a78; }
.controls-panel { padding: 19px 18px; }.control-section { position: relative; padding-block: 13px; border-bottom: 1px solid #f0ece9; }.control-label { display: block; margin-bottom: 8px; color: #4c4642; font-size: 10px; font-weight: 700; }.controls-panel input[type="text"], .controls-panel textarea, .controls-panel select { width: 100%; padding: 9px 10px; border: 1px solid #e8e2dd; border-radius: 6px; background: #fff; color: #383330; font-size: 10px; resize: vertical; }.controls-panel textarea { min-height: 67px; line-height: 1.5; }.controls-panel input::placeholder, .controls-panel textarea::placeholder { color: #aaa29c; }.spaced-label { margin-top: 12px; }.character-count { display: block; margin-top: 4px; color: #a09892; text-align: right; font-size: 8px; }.inline-controls { display: grid; grid-template-columns: 1fr .83fr; gap: 7px; }.inline-controls select { padding: 8px 6px; }.swatch-row { display: flex; align-items: center; gap: 9px; }.color-swatch { width: 22px; height: 22px; padding: 0; border: 2px solid white; border-radius: 50%; background: var(--swatch); box-shadow: 0 0 0 1px #ddd6d1; cursor: pointer; }.color-swatch.selected { box-shadow: 0 0 0 2px #9c83ba; }.custom-color { width: 23px; height: 23px; position: relative; display: grid; place-items: center; overflow: hidden; border: 1px solid #e4ddd7; border-radius: 50%; color: #706963; font-size: 15px; cursor: pointer; }.custom-color input { position: absolute; inset: -8px; width: 40px; height: 40px; opacity: 0; cursor: pointer; }.sticker-row { display: flex; gap: 6px; }.sticker-button { width: 31px; height: 31px; padding: 0; border: 1px solid #eee7e2; border-radius: 6px; background: white; color: #987d90; font-size: 16px; cursor: pointer; }.sticker-button.selected { border-color: #ad98c7; background: #f7f2fc; }.sticker-none { color: #938a84; font-size: 12px; }.editor-actions { padding-top: 14px; display: grid; gap: 8px; }.download-button, .share-button { width: 100%; min-height: 42px; font-size: 10px; }.editor-feedback { min-height: 15px; margin: 0; color: #5a8765; font-size: 9px; text-align: center; }

@media (max-width: 980px) {
  .section-wrap { width: min(100% - 48px, 760px); }
  .header-inner { width: calc(100% - 48px); }.main-nav { gap: 20px; }
  .hero { min-height: 540px; gap: 8px; }.hero-art { transform: scale(.9); }
  .category-card { padding: 27px 24px; }.mini-card { left: 20%; width: 145px; height: 194px; }
  .template-grid { grid-template-columns: repeat(2, 1fr); }.template-visual { aspect-ratio: 1.25; }
  .how-inner { grid-template-columns: 1fr; gap: 38px; }
  .editor-main { width: calc(100% - 36px); }.editor-layout { grid-template-columns: 185px minmax(260px,1fr); }.controls-panel { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; column-gap: 22px; }.controls-panel .panel-heading { grid-column: 1 / -1; }.control-section:nth-of-type(2), .control-section:nth-of-type(3), .control-section:nth-of-type(4), .control-section:nth-of-type(5) { grid-column: auto; }.editor-actions { grid-column: 1/-1; grid-template-columns: 1fr 1fr; }.editor-feedback { grid-column: 1/-1; }
}
@media (max-width: 680px) {
  .section-wrap { width: calc(100% - 40px); }.section-space { padding-block: 70px; }
  .header-inner { width: calc(100% - 40px); min-height: 66px; }.menu-toggle { width: 38px; height: 38px; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px; border: 1px solid #eee6e1; border-radius: 8px; background: #fff; }.menu-toggle span { width: 15px; height: 1.5px; background: #403b38; }
  .main-nav { position: absolute; top: 65px; right: 12px; left: 12px; padding: 16px; display: none; align-items: stretch; gap: 0; border: 1px solid #eee8e3; border-radius: 10px; background: #fff; box-shadow: 0 15px 30px #29201b14; }.main-nav.open { display: flex; flex-direction: column; }.main-nav > a:not(.button) { padding: 13px 7px; border-bottom: 1px solid #f2eeeb; }.main-nav .nav-cta { margin-top: 12px; }
  .hero { padding-block: 53px 33px; display: flex; flex-direction: column; align-items: stretch; }.hero-copy { padding: 0; }.hero h1 { font-size: clamp(40px, 11vw, 56px); letter-spacing: -2.7px; }.hero h1 span { letter-spacing: -2.3px; }.hero-copy > p { font-size: 13px; }.hero-actions { display: grid; grid-template-columns: 1fr; }.hero-actions .button { width: 100%; }.hero-note { margin-top: 23px; }.hero-art { height: 355px; margin-top: 2px; transform: scale(.82); transform-origin: center top; margin-bottom: -45px; }
  .hero { overflow: hidden; }
  .trust-inner { min-height: 52px; justify-content: center; gap: 13px; font-size: 7px; letter-spacing: .9px; }.trust-inner span:nth-child(n+5) { display: none; }
  .section-heading { margin-bottom: 25px; display: block; }.section-heading h2, .how-intro h2 { font-size: 34px; }.section-heading > p { margin-top: 13px; }.section-heading > .text-link { margin-top: 15px; }
  .category-grid { grid-template-columns: 1fr; gap: 14px; }.category-card { min-height: 295px; padding: 28px 23px; }.category-copy { max-width: 53%; }.category-copy h3 { font-size: 29px; }.category-copy p { font-size: 11px; }.category-art { left: 41%; }.mini-card { left: 18%; width: 139px; height: 185px; top: 52px; }
  .template-grid { gap: 17px 12px; }.template-visual { aspect-ratio: .83; padding: 16px 9px; border-width: 5px; }.template-visual strong { font-size: clamp(24px, 8vw, 35px); }.preview-label { font-size: 6px; }.preview-foot { font-size: 5px; }.template-info { padding-top: 10px; }.template-info h3 { font-size: 10px; }.template-info span { font-size: 9px; }.round-arrow { width: 26px; height: 26px; }
  .how-inner { gap: 30px; }.steps { grid-template-columns: 1fr; gap: 15px; }.step { min-height: 104px; padding: 15px 0 0 62px; }.step-number { position: absolute; top: 17px; left: 0; }.step-icon { position: absolute; top: 28px; left: 0; margin: 0; width: 43px; height: 43px; }.step h3 { margin: 5px 0 6px; }.step p { max-width: 240px; }
  .final-cta { min-height: 320px; padding-block: 68px; }.final-cta h2 { font-size: 32px; }.cta-doodle { left: 4%; font-size: 36px; }.cta-doodle-right { right: 6%; }
  .footer-main { padding-block: 39px 29px; display: block; }.footer-links { margin-top: 35px; display: grid; grid-template-columns: 1fr 1fr; gap: 28px 18px; }.footer-links strong { font-size: 7px; }.footer-links a { font-size: 10px; }.footer-bottom { gap: 10px; font-size: 8px; }.footer-bottom span:last-child { text-align: right; }
  .category-hero { min-height: auto; padding-block: 45px 52px; grid-template-columns: 1fr; gap: 30px; }.category-hero h1 { font-size: 46px; }.category-hero-copy > p { font-size: 13px; }.category-hero-card { width: 227px; height: 280px; }.category-hero-card h2 { font-size: 38px; }.friendship-hero-card h2 { font-size: 33px; }.category-templates { padding-top: 56px; padding-bottom: 67px; }.category-templates .section-heading > p { margin-top: 12px; }.filter-row { gap: 6px; }.filter-chip { min-height: 31px; padding-inline: 11px; font-size: 9px; }.category-template-grid { row-gap: 23px; }.category-bottom { padding-block: 55px; }.category-bottom h2 { font-size: 27px; }
  .editor-header .header-inner { min-height: 61px; gap: 6px; }.editor-header .brand { gap: 6px; font-size: 16px; }.editor-header .brand > span:last-child { display: none; }.editor-header .brand-mark { width: 27px; height: 27px; font-size: 21px; }.editor-back { margin-left: auto; margin-right: 10px; font-size: 10px; }.editor-back span { display: none; }.editor-header-actions { gap: 5px; margin-left: 0; }.editor-header-actions .button { min-height: 33px; padding: 0 9px; font-size: 9px; }.editor-icon-button { width: 30px; height: 30px; }
  .editor-main { width: calc(100% - 28px); padding-top: 23px; }.editor-title-row { align-items: start; gap: 10px; }.editor-title-row h1 { font-size: 21px; }.editor-step-label { max-width: 110px; text-align: right; font-size: 8px; line-height: 1.6; }
  .editor-layout { display: flex; flex-direction: column; gap: 12px; }.preview-panel { order: 1; min-height: 480px; padding: 13px; }.card-preview-wrap { padding: 20px 0; }.editable-card { width: min(100%, 340px); }.editable-title { font-size: clamp(40px, 13vw, 52px); }.editable-message { font-size: 10px; }.templates-panel { order: 2; padding: 16px; }.editor-template-list { grid-template-columns: repeat(2,1fr); }.editor-template-option { gap: 7px; }.template-thumb { width: 39px; height: 48px; font-size: 12px; }.template-option-copy strong { font-size: 9px; }.template-option-copy small { font-size: 8px; }.switch-category-link { margin-top: 4px; }.controls-panel { order: 3; padding: 16px; display: block; }.controls-panel .panel-heading { display: block; }.control-section { padding-block: 13px; }.editor-actions { grid-template-columns: 1fr; }.editor-feedback { grid-column: auto; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
