@charset "UTF-8";

:root {
  color-scheme: light;
  --ink: #202722;
  --muted: #69716b;
  --paper: #f8f8f3;
  --white: #fff;
  --line: #e5e8df;
  --accent: #32664e;
  --accent-dark: #244b3a;
  --accent-pale: #e7efe8;
  --soft: #f0f2eb;
  --serif: "Hiragino Mincho ProN", "Yu Mincho", "Noto Serif JP", serif;
  --sans: "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
  --shadow: 0 22px 70px rgba(35, 48, 38, .10);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 15px; line-height: 1.85; -webkit-font-smoothing: antialiased; }
body.theme--restaurant { --accent: #a55437; --accent-dark: #713a27; --accent-pale: #f2e1d2; --soft: #f8f0e7; --paper: #fcf8f2; }
@font-face {
  font-family: "M PLUS Rounded 1c";
  src: url("524-fonts/rounded-mplus-1c-black.woff2") format("woff2");
  font-style: normal;
  font-weight: 900;
  font-display: swap;
}
body.theme--524 {
  --ink: #153e55;
  --muted: #455e6c;
  --accent: #126982;
  --accent-dark: #12455d;
  --line: #c8dee3;
  --paper: #fffdf7;
  --stamp-blue: #dff2f5;
  --stamp-type: "M PLUS Rounded 1c", var(--sans);
}
body.theme--marche { --accent: #637d4f; --accent-dark: #405738; --accent-pale: #e6eddc; --soft: #f2f5eb; --paper: #fbfaf5; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible { outline: 3px solid #f0a833; outline-offset: 3px; }
img, svg { max-width: 100%; }
[hidden] { display: none !important; }
.skip-link { position: absolute; z-index: 100; top: 8px; left: 8px; transform: translateY(-150%); padding: 8px 14px; background: var(--ink); color: #fff; }
.skip-link:focus { transform: translateY(0); }
.page-wrap { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.mobile-only { display: none; }
.demo-strip { min-height: 32px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 5px max(24px, calc((100vw - 1180px) / 2)); background: #273c32; color: #e7eee8; font-size: 10px; letter-spacing: .12em; }
.demo-strip span:first-child { font-weight: 700; }
.site-header { width: min(1180px, calc(100% - 48px)); min-height: 86px; margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.site-header--gallery { min-height: 82px; }
.brand { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand__mark { display: grid; place-items: center; width: 36px; aspect-ratio: 1; border: 1px solid currentColor; border-radius: 50%; color: var(--accent); font-family: var(--serif); font-size: 21px; line-height: 1; }
.brand__mark--524 { width: 42px; border-color: #e2c628; background: #f3da34; color: #16566a; font-family: var(--sans); font-size: 10px; font-weight: 800; letter-spacing: -.04em; }
.brand__word { display: flex; flex-direction: column; font-size: 11px; font-weight: 750; letter-spacing: .11em; line-height: 1.2; }
.brand__word small { margin-top: 4px; color: var(--muted); font-size: 8px; font-weight: 600; letter-spacing: .18em; }
.main-nav { display: flex; align-items: center; gap: 27px; font-size: 12px; font-weight: 650; }
.main-nav > a:not(.button):hover { color: var(--accent); }
.button { min-height: 52px; display: inline-flex; align-items: center; justify-content: center; gap: 18px; padding: 0 22px; border: 1px solid var(--accent); border-radius: 4px; background: var(--accent); color: #fff; font-size: 13px; font-weight: 700; letter-spacing: .02em; transition: transform .2s ease, background .2s ease, box-shadow .2s ease; }
.button:hover { transform: translateY(-2px); background: var(--accent-dark); box-shadow: 0 9px 22px color-mix(in srgb, var(--accent) 20%, transparent); }
.button--small { min-height: 39px; padding-inline: 16px; font-size: 11px; }
.button--light { border-color: #fff; background: #fff; color: var(--accent-dark); }
.button--light:hover { background: var(--accent-pale); }
.eyebrow { margin: 0 0 17px; color: var(--accent); font-size: 10px; font-weight: 750; letter-spacing: .2em; line-height: 1.5; }
.eyebrow__line { display: inline-block; width: 29px; height: 1px; margin: 0 9px 3px 0; background: currentColor; }
.lead { max-width: 560px; margin: 21px 0 0; color: #5e685f; font-size: 15px; line-height: 2.05; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 15px 21px; margin-top: 29px; }
.quiet-note { display: block; color: #69716b; font-size: 10px; line-height: 1.7; }
.gallery-hero { min-height: 485px; display: grid; grid-template-columns: 1.02fr .98fr; align-items: center; gap: 36px; padding-block: 36px 66px; }
.gallery-hero h1, .site-hero h1 { margin: 0; font-family: var(--serif); font-size: clamp(40px, 5.1vw, 67px); font-weight: 500; letter-spacing: .04em; line-height: 1.4; }
.gallery-hero h1 em, .section-heading h2 em { color: var(--accent); font-style: normal; }
.gallery-hero__visual { position: relative; min-height: 355px; overflow: hidden; border-radius: 45% 45% 12px 12px; background: #eaf0e9; }
.gallery-hero__visual::before, .gallery-hero__visual::after { content: ""; position: absolute; border: 1px solid rgba(50, 102, 78, .17); border-radius: 50%; }
.gallery-hero__visual::before { width: 350px; height: 350px; left: 16%; top: -12%; }
.gallery-hero__visual::after { width: 460px; height: 460px; left: 3%; top: -28%; }
.visual-window { position: absolute; z-index: 1; overflow: hidden; border: 1px solid rgba(35, 50, 40, .08); border-radius: 8px; background: #fff; box-shadow: 0 20px 45px rgba(31, 50, 38, .14); }
.visual-window--back { top: 42px; right: 5%; width: 46%; min-height: 172px; transform: rotate(5deg); }
.visual-window--front { bottom: 43px; left: 9%; width: 66%; min-height: 205px; transform: rotate(-4deg); }
.window-top { height: 27px; display: flex; align-items: center; gap: 4px; padding: 0 8px; border-bottom: 1px solid #eef0eb; color: #8e968e; font-size: 7px; }
.window-top i, .mini-browser__top i { width: 5px; height: 5px; border-radius: 50%; background: #d5dcd3; }
.window-top span { margin-left: auto; }
.fake-lines { display: grid; gap: 9px; padding: 24px 18px; }
.fake-lines b { width: 80%; height: 6px; border-radius: 8px; background: #dfe9e1; }
.fake-lines b:first-child { width: 48%; height: 10px; background: #8cab95; }
.fake-lines b:last-child { width: 58%; }
.visual-tag { position: absolute; right: 13px; bottom: 11px; padding: 3px 7px; border-radius: 2px; background: #eaf0e9; color: #42634d; font-size: 7px; letter-spacing: .15em; }
.fake-page { min-height: 178px; display: grid; grid-template-columns: 1fr .85fr; }
.fake-copy { padding: 18px 0 16px 17px; }
.fake-copy small { display: block; color: #9a705d; font-size: 7px; letter-spacing: .1em; }
.fake-copy strong { display: block; margin-top: 7px; font-family: var(--serif); font-size: 15px; font-weight: 500; line-height: 1.7; }
.fake-copy span { display: block; width: 53px; height: 11px; margin-top: 13px; border-radius: 2px; background: #9b684d; }
.fake-art { position: relative; overflow: hidden; margin: 11px; border-radius: 45% 45% 8px 8px; background: #f2d4b9; }
.fake-sun { position: absolute; top: 23px; right: 19px; width: 42px; aspect-ratio: 1; border-radius: 50%; background: #eaa56e; }
.fake-hill { position: absolute; bottom: -20px; width: 130px; height: 95px; border-radius: 50% 50% 0 0; }
.fake-hill--one { left: -24px; background: #b88362; transform: rotate(16deg); }
.fake-hill--two { right: -38px; bottom: -38px; background: #d49c77; transform: rotate(-20deg); }
.connector { position: absolute; z-index: 2; display: grid; place-items: center; width: 29px; aspect-ratio: 1; border: 1px solid rgba(50, 102, 78, .36); border-radius: 50%; background: #f8faf5; color: #32664e; font-size: 10px; font-weight: 700; }
.connector--one { top: 45%; left: 43%; }
.connector--two { top: 68%; right: 17%; }
.visual-caption { position: absolute; right: 18px; bottom: 10px; z-index: 2; color: #637268; font-size: 8px; letter-spacing: .18em; }
.section { padding-block: 90px; }
.section--samples { padding-top: 42px; padding-bottom: 100px; }
.section-heading { margin-bottom: 34px; }
.section-heading--row { display: flex; align-items: end; justify-content: space-between; gap: 28px; }
.section-heading h2 { margin: 0; font-family: var(--serif); font-size: clamp(29px, 3.5vw, 43px); font-weight: 500; letter-spacing: .04em; line-height: 1.5; }
.section-heading--row .eyebrow { margin-bottom: 13px; }
.section-heading__aside { margin: 0 0 6px; color: var(--muted); font-size: 12px; line-height: 1.9; }
.filter-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 26px 0 25px; }
.filter-chip { min-height: 38px; display: inline-flex; align-items: center; gap: 10px; padding: 0 14px; border: 1px solid #dfe4db; border-radius: 30px; background: transparent; color: #59625c; cursor: pointer; font-size: 11px; font-weight: 650; transition: .18s ease; }
.filter-chip span { color: #879087; font-size: 9px; }
.filter-chip:hover, .filter-chip.is-active { border-color: var(--accent); background: var(--accent); color: #fff; }
.filter-chip.is-active span, .filter-chip:hover span { color: #deebe1; }
.sample-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.sample-card { min-width: 0; border: 1px solid #e8e9e2; border-radius: 8px; background: #fff; transition: transform .24s ease, box-shadow .24s ease; }
.sample-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.sample-card__link { display: block; height: 100%; }
.sample-card__preview { position: relative; height: 220px; overflow: hidden; display: grid; place-items: center; border-radius: 8px 8px 0 0; }
.mini-browser { width: 68%; height: 168px; overflow: hidden; border: 1px solid rgba(53, 58, 48, .09); border-radius: 5px; background: #fffaf4; box-shadow: 0 13px 30px rgba(53, 48, 41, .15); transform: rotate(-3deg); transition: transform .25s ease; }
.sample-card:hover .mini-browser { transform: rotate(0) scale(1.03); }
.mini-browser__top { height: 16px; display: flex; align-items: center; gap: 3px; padding-left: 6px; background: rgba(255, 255, 255, .75); }
.mini-browser__top i { width: 4px; height: 4px; }
.preview-label { position: absolute; right: 11px; bottom: 10px; color: rgba(42, 51, 43, .58); font-size: 8px; font-weight: 700; letter-spacing: .13em; }
.sample-card__body { padding: 20px 21px 18px; }
.card-kicker { display: flex; justify-content: space-between; gap: 12px; color: var(--accent); font-size: 9px; font-weight: 700; letter-spacing: .06em; }
.card-kicker span:last-child { color: #8b928b; font-weight: 500; }
.sample-card h3 { margin: 9px 0 6px; font-size: 17px; font-weight: 700; line-height: 1.6; }
.sample-card__body > p { min-height: 48px; margin: 0; color: var(--muted); font-size: 11px; line-height: 1.8; }
.card-intent { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 16px; padding: 10px 0; border-top: 1px solid #edf0e9; border-bottom: 1px solid #edf0e9; }
.card-intent span { color: #838c83; font-size: 9px; }
.card-intent strong { color: var(--ink); font-size: 10px; }
.card-footer { display: flex; align-items: center; justify-content: space-between; margin-top: 13px; color: #657069; font-size: 10px; }
.card-footer b { color: var(--accent); font-size: 16px; font-weight: 400; }
.filter-empty { padding: 30px; border: 1px dashed var(--line); color: var(--muted); text-align: center; }
.approach-section { background: #eef1e9; }
.section-heading--center { max-width: 700px; margin: 0 auto 45px; text-align: center; }
.section-heading--center .eyebrow { margin-bottom: 15px; }
.section-heading--center > p:last-child { margin: 17px 0 0; color: var(--muted); font-size: 13px; line-height: 2; }
.strength-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.strength-card { position: relative; min-height: 225px; padding: 25px 26px; border: 1px solid rgba(50, 102, 78, .1); border-radius: 5px; background: rgba(255, 255, 255, .72); }
.strength-num { position: absolute; top: 20px; right: 22px; color: #9ba89c; font-size: 10px; letter-spacing: .12em; }
.strength-icon { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: #e2eee3; color: #32664e; font-size: 21px; }
.strength-icon--cms { background: #e9ead8; color: #787b46; }
.strength-icon--mcp { background: #f3e5d8; color: #985a40; }
.strength-card h3 { margin: 17px 0 8px; font-size: 15px; }
.strength-card p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.9; }
.strength-tag { display: inline-block; margin-top: 14px; color: #758076; font-size: 8px; font-weight: 700; letter-spacing: .15em; }
.flow-band { display: grid; grid-template-columns: .8fr 1.2fr; gap: 30px; align-items: center; margin-top: 26px; padding: 28px 32px; border-radius: 6px; background: #31483b; color: #fff; }
.flow-band .eyebrow { margin-bottom: 10px; color: #c5d7c8; }
.flow-band__intro h3 { margin: 0; font-family: var(--serif); font-size: 24px; font-weight: 500; line-height: 1.5; }
.flow-band__intro p { margin: 9px 0 0; color: #d2ded4; font-size: 10px; }
.flow-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; margin: 0; padding: 0; list-style: none; }
.flow-steps li { min-height: 104px; padding: 12px 10px; border: 1px solid rgba(255, 255, 255, .2); border-radius: 3px; }
.flow-steps li > span { display: grid; place-items: center; width: 21px; aspect-ratio: 1; border-radius: 50%; background: #e3efdc; color: #31483b; font-size: 9px; font-weight: 700; }
.flow-steps b { display: block; margin-top: 9px; font-size: 10px; }
.flow-steps small { display: block; margin-top: 4px; color: #d0ded2; font-size: 8px; line-height: 1.5; }
.prototype-note { max-width: 880px; margin: 17px auto 0; color: #69746a; font-size: 10px; line-height: 1.9; text-align: center; }
.prototype-note b { color: #3f5244; }
.section--contact { padding-top: 80px; padding-bottom: 80px; }
.contact-panel { display: flex; align-items: center; justify-content: space-between; gap: 35px; padding: 41px 46px; border-radius: 6px; background: #315843; color: #fff; }
.contact-panel .eyebrow { color: #c5d7c8; }
.contact-panel h2 { margin: 0; font-family: var(--serif); font-size: clamp(27px, 3vw, 36px); font-weight: 500; line-height: 1.55; }
.contact-panel p:not(.eyebrow) { max-width: 610px; margin: 14px 0 0; color: #d6e1d7; font-size: 11px; line-height: 1.9; }
.contact-side { max-width: 230px; display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.contact-side .quiet-note { color: #cfddd1; }
.site-footer { min-height: 105px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-top: 1px solid var(--line); }
.brand--footer .brand__mark { width: 29px; font-size: 17px; }
.brand--footer .brand__word { font-size: 9px; }
.brand--footer .brand__word small { font-size: 7px; }
.site-footer > p, .site-footer > span { color: #788078; font-size: 9px; }

/* Individual sample pages */
.sample-page .demo-strip { background: var(--accent-dark); }
.sample-page .site-header { min-height: 76px; }
.sample-page .main-nav { gap: 22px; font-size: 11px; }
.back-link { color: var(--muted); font-size: 10px; }
.back-link:hover { color: var(--accent); }
.site-hero { position: relative; min-height: 540px; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 34px; overflow: hidden; padding-block: 36px 65px; }
.site-hero__copy { position: relative; z-index: 2; padding-left: 4%; }
.site-hero h1 { font-size: clamp(40px, 5vw, 61px); }
.site-hero h1 em { color: var(--accent); font-style: normal; }
.site-hero .lead { max-width: 480px; font-size: 14px; }
.site-hero__visual { position: relative; min-height: 390px; display: grid; place-items: center; overflow: hidden; border-radius: 46% 46% 10px 10px; background: var(--accent-pale); }
.hero-art { position: relative; z-index: 1; width: min(84%, 430px); height: auto; filter: drop-shadow(0 20px 17px rgba(50, 43, 34, .09)); }
.site-hero__visual::before, .site-hero__visual::after { content: ""; position: absolute; border: 1px solid color-mix(in srgb, var(--accent) 26%, transparent); border-radius: 50%; }
.site-hero__visual::before { width: 310px; height: 310px; }
.site-hero__visual::after { width: 390px; height: 390px; }
.hero-stamp { position: absolute; z-index: 2; right: 5%; bottom: 8%; display: grid; place-items: center; width: 84px; aspect-ratio: 1; border: 1px solid color-mix(in srgb, var(--accent) 55%, transparent); border-radius: 50%; background: rgba(255, 255, 255, .7); color: var(--accent); font-family: var(--serif); font-size: 10px; line-height: 1.6; text-align: center; transform: rotate(10deg); }
.hero-meta { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 25px; }
.hero-meta span { padding: 5px 10px; border: 1px solid color-mix(in srgb, var(--accent) 20%, transparent); border-radius: 30px; color: var(--accent-dark); font-size: 9px; }
.section--compact { padding-block: 66px; }
.section--tint { background: var(--soft); }
.section-intro { max-width: 670px; margin: 0 auto 32px; text-align: center; }
.section-intro h2 { margin: 0; font-family: var(--serif); font-size: clamp(28px, 3.2vw, 39px); font-weight: 500; line-height: 1.5; }
.section-intro p:last-child { margin: 12px auto 0; color: var(--muted); font-size: 12px; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 13px; }
.feature-card { padding: 21px 22px; border: 1px solid color-mix(in srgb, var(--accent) 15%, transparent); border-radius: 4px; background: rgba(255, 255, 255, .75); }
.feature-card > span { color: var(--accent); font-family: var(--serif); font-size: 19px; }
.feature-card h3 { margin: 9px 0 5px; font-size: 13px; }
.feature-card p { margin: 0; color: var(--muted); font-size: 10px; line-height: 1.8; }
.offer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.offer-card { display: grid; grid-template-columns: .78fr 1.22fr; gap: 17px; align-items: center; min-height: 210px; padding: 18px; border: 1px solid var(--line); border-radius: 5px; background: #fff; }
.offer-art { position: relative; min-height: 169px; display: grid; place-items: center; overflow: hidden; border-radius: 4px; background: var(--accent-pale); }
.offer-art__circle { width: 104px; height: 104px; display: grid; place-items: center; border: 1px solid color-mix(in srgb, var(--accent) 45%, transparent); border-radius: 50%; color: var(--accent); font-family: var(--serif); font-size: 13px; text-align: center; }
.offer-art__circle::before, .offer-art__circle::after { content: ""; position: absolute; width: 138px; height: 138px; border: 1px solid color-mix(in srgb, var(--accent) 24%, transparent); border-radius: 50%; }
.offer-art__circle::after { width: 170px; height: 170px; }
.offer-card h3 { margin: 5px 0; font-family: var(--serif); font-size: 18px; font-weight: 500; line-height: 1.5; }
.offer-card p { margin: 7px 0; color: var(--muted); font-size: 10px; line-height: 1.8; }
.offer-price { color: var(--accent-dark); font-size: 12px; font-weight: 700; }
.sample-small { display: inline-block; margin-top: 6px; color: #8b9189; font-size: 8px; }
.story-split { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; align-items: center; }
.story-mark { position: relative; min-height: 260px; display: grid; place-items: center; border-radius: 48% 48% 6px 6px; background: var(--accent-pale); }
.story-mark__inner { width: 130px; aspect-ratio: 1; display: grid; place-items: center; border: 1px solid color-mix(in srgb, var(--accent) 45%, transparent); border-radius: 50%; color: var(--accent); font-family: var(--serif); font-size: 20px; }
.story-copy .eyebrow { margin-bottom: 11px; }
.story-copy h2 { margin: 0; font-family: var(--serif); font-size: 30px; font-weight: 500; line-height: 1.55; }
.story-copy p { color: var(--muted); font-size: 12px; line-height: 2; }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 13px; counter-reset: order; }
.steps-grid article { position: relative; padding: 21px; border-top: 1px solid var(--accent); background: rgba(255, 255, 255, .65); counter-increment: order; }
.steps-grid article::before { content: "0" counter(order); color: var(--accent); font-family: var(--serif); font-size: 22px; }
.steps-grid h3 { margin: 8px 0 4px; font-size: 12px; }
.steps-grid p { margin: 0; color: var(--muted); font-size: 10px; }
.operation-demo { display: grid; grid-template-columns: .78fr 1.22fr; gap: 22px; align-items: stretch; }
.operation-info, .operation-screen { border: 1px solid var(--line); border-radius: 5px; background: #fff; }
.operation-info { padding: 23px; }
.operation-info h3 { margin: 0; font-family: var(--serif); font-size: 21px; font-weight: 500; line-height: 1.5; }
.operation-info p { color: var(--muted); font-size: 11px; }
.operation-info ul { margin: 16px 0 0; padding-left: 18px; color: #59645c; font-size: 10px; line-height: 2; }
.operation-screen { overflow: hidden; }
.screen-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: #fbfcf9; }
.screen-head b { font-size: 10px; }
.screen-head span { padding: 3px 7px; border-radius: 3px; background: var(--accent-pale); color: var(--accent-dark); font-size: 8px; }
.screen-content { padding: 17px; }
.screen-form { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.screen-field { display: flex; flex-direction: column; gap: 3px; }
.screen-field--wide { grid-column: 1 / -1; }
.screen-field label { color: #737c73; font-size: 8px; }
.screen-value { min-height: 31px; padding: 6px 8px; border: 1px solid #e6e9e1; border-radius: 3px; background: #fcfdfa; color: #36413a; font-size: 9px; }
.screen-actions { display: flex; align-items: center; gap: 12px; margin-top: 12px; }
.demo-button { min-height: 35px; padding: 0 12px; border: 0; border-radius: 3px; background: var(--accent); color: #fff; cursor: pointer; font-size: 9px; font-weight: 700; }
.demo-button:hover { background: var(--accent-dark); }
.demo-status { color: #68746b; font-size: 9px; }
.generated-preview { margin-top: 14px; padding: 13px; border-left: 2px solid var(--accent); background: var(--soft); }
.generated-preview > span { color: var(--accent-dark); font-size: 8px; font-weight: 700; letter-spacing: .08em; }
.generated-preview h4 { margin: 6px 0; font-family: var(--serif); font-size: 15px; font-weight: 500; }
.generated-preview p { margin: 0; color: #576159; font-size: 9px; line-height: 1.8; }
.workflow-disclosure { margin: 12px 0 0; color: #737c73; font-size: 9px; line-height: 1.8; }
.faq-list { max-width: 850px; margin: 0 auto; border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { position: relative; padding: 17px 38px 17px 5px; cursor: pointer; font-size: 12px; font-weight: 650; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 7px; color: var(--accent); font-size: 19px; font-weight: 400; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { margin: 0; padding: 0 35px 17px 5px; color: var(--muted); font-size: 10px; }
.contact-section { padding: 66px 0 78px; background: var(--accent-dark); color: #fff; }
.contact-content { display: grid; grid-template-columns: .9fr 1.1fr; gap: 50px; align-items: center; }
.contact-content .eyebrow { color: color-mix(in srgb, var(--accent-pale) 80%, white); }
.contact-content h2 { margin: 0; font-family: var(--serif); font-size: clamp(30px, 4vw, 43px); font-weight: 500; line-height: 1.5; }
.contact-content p { color: rgba(255, 255, 255, .78); font-size: 11px; }
.contact-content .sample-small { color: rgba(255, 255, 255, .62); }
.demo-form { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 20px; border-radius: 5px; background: rgba(255, 255, 255, .1); }
.demo-form label { display: flex; flex-direction: column; gap: 5px; color: #f2f5ef; font-size: 9px; }
.demo-form input, .demo-form select, .demo-form textarea { width: 100%; min-height: 38px; padding: 9px 10px; border: 1px solid rgba(255, 255, 255, .33); border-radius: 3px; background: rgba(255, 255, 255, .95); color: #25342a; font-size: 10px; }
.demo-form textarea { min-height: 65px; resize: vertical; }
.demo-form__wide { grid-column: 1 / -1; }
.demo-form .button { justify-self: start; min-height: 40px; border-color: #fff; background: #fff; color: var(--accent-dark); font-size: 10px; }
.form-notice { grid-column: 1 / -1; min-height: 18px; margin: 0; color: #f3e9d6; font-size: 9px; }
.sample-footer { background: var(--paper); }
.sample-footer .page-wrap { min-height: 92px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.sample-footer p { color: #778078; font-size: 9px; }
.return-top { color: var(--accent); font-size: 10px; font-weight: 700; }

@media (max-width: 900px) {
  .page-wrap, .site-header { width: min(100% - 36px, 720px); }
  .sample-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery-hero { min-height: 420px; gap: 18px; }
  .gallery-hero__visual { min-height: 305px; }
  .gallery-hero h1 { font-size: clamp(37px, 5.8vw, 52px); }
  .sample-card__preview { height: 185px; }
  .mini-browser { width: 76%; height: 148px; }
  .sample-card__body { padding: 16px; }
  .sample-card h3 { font-size: 14px; }
  .flow-band { grid-template-columns: 1fr; }
  .flow-band__intro { display: flex; align-items: end; gap: 16px; flex-wrap: wrap; }
  .flow-band__intro .eyebrow { flex-basis: 100%; margin-bottom: -9px; }
  .flow-band__intro p { max-width: 220px; }
  .site-hero { min-height: 470px; }
  .site-hero__visual { min-height: 330px; }
  .site-hero h1 { font-size: clamp(36px, 5vw, 50px); }
  .offer-card { grid-template-columns: 1fr; }
  .offer-art { min-height: 125px; }
  .offer-art__circle { width: 80px; font-size: 10px; }
}

@media (max-width: 650px) {
  body { font-size: 14px; }
  .page-wrap, .site-header { width: calc(100% - 32px); }
  .demo-strip { justify-content: center; padding-inline: 12px; font-size: 8px; text-align: center; }
  .demo-strip span:first-child { display: none; }
  .site-header, .site-header--gallery { min-height: 68px; }
  .brand__mark { width: 31px; font-size: 18px; }
  .brand__word { font-size: 9px; }
  .brand__word small { font-size: 7px; }
  .main-nav { gap: 12px; font-size: 9px; }
  .main-nav > a:not(.button) { display: none; }
  .main-nav .button { min-height: 34px; padding-inline: 10px; font-size: 9px; }
  .gallery-hero { grid-template-columns: 1fr; padding-block: 36px 46px; }
  .gallery-hero h1 { font-size: clamp(40px, 11vw, 55px); }
  .lead { font-size: 13px; }
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .gallery-hero__visual { min-height: 280px; margin-inline: 5%; }
  .visual-window--back { top: 33px; }
  .visual-window--front { bottom: 34px; }
  .section { padding-block: 62px; }
  .section--samples { padding-top: 30px; padding-bottom: 70px; }
  .section-heading--row { align-items: flex-start; flex-direction: column; gap: 10px; }
  .section-heading__aside { font-size: 10px; }
  .mobile-only { display: initial; }
  .filter-row { gap: 7px; }
  .filter-chip { min-height: 34px; padding-inline: 11px; font-size: 9px; }
  .sample-grid { grid-template-columns: 1fr; gap: 14px; }
  .sample-card { display: grid; grid-template-columns: .92fr 1.08fr; }
  .sample-card__link { display: contents; }
  .sample-card__preview { height: 100%; min-height: 240px; border-radius: 8px 0 0 8px; }
  .mini-browser { width: 83%; height: 145px; }
  .sample-card__body { padding: 15px 13px; }
  .card-kicker { font-size: 8px; }
  .sample-card h3 { font-size: 13px; }
  .sample-card__body > p { min-height: 0; font-size: 9px; }
  .card-intent { align-items: flex-start; flex-direction: column; gap: 2px; margin-top: 10px; padding: 7px 0; }
  .card-footer { font-size: 8px; }
  .strength-grid { grid-template-columns: 1fr; }
  .strength-card { min-height: 0; padding: 18px; }
  .strength-card h3 { margin-top: 10px; }
  .flow-band { padding: 23px 18px; }
  .flow-steps { grid-template-columns: 1fr 1fr; }
  .flow-steps li { min-height: 91px; }
  .contact-panel { align-items: flex-start; flex-direction: column; padding: 29px 23px; }
  .contact-side { max-width: none; }
  .site-footer { min-height: 0; align-items: flex-start; flex-direction: column; gap: 8px; padding-block: 20px; }
  .site-footer > p { margin: 0; }
  .site-hero { grid-template-columns: 1fr; gap: 28px; min-height: 0; padding-block: 35px 50px; }
  .site-hero__copy { padding-left: 0; }
  .site-hero h1 { font-size: clamp(40px, 11vw, 56px); }
  .site-hero .lead { font-size: 13px; }
  .site-hero__visual { min-height: 295px; margin-inline: 4%; }
  .hero-art { width: min(78%, 320px); }
  .section--compact { padding-block: 50px; }
  .feature-grid, .offer-grid, .steps-grid { grid-template-columns: 1fr; }
  .feature-card { padding: 17px; }
  .offer-card { grid-template-columns: .7fr 1.3fr; gap: 12px; min-height: 150px; padding: 11px; }
  .offer-art { min-height: 128px; }
  .offer-art__circle { width: 70px; }
  .story-split { grid-template-columns: 1fr; gap: 22px; }
  .story-mark { min-height: 190px; }
  .story-copy h2 { font-size: 26px; }
  .operation-demo { grid-template-columns: 1fr; }
  .operation-info { padding: 18px; }
  .screen-content { padding: 12px; }
  .contact-content { grid-template-columns: 1fr; gap: 18px; }
  .contact-section { padding-block: 50px; }
  .demo-form { padding: 14px; gap: 9px; }
  .sample-footer .page-wrap { min-height: 0; align-items: flex-start; flex-direction: column; padding-block: 18px; }
}

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

/* New sample genres: multi-location dining, 524 character stickers, and local events */
.preview--restaurant { background: #efe2d4; }
.preview--524 { background: #dceff3; }
.preview--marche { background: #e8eddc; }
.preview--nail { background: #f1dfdc; }
.mini-nail { height: calc(100% - 16px); padding: 8px 9px; background: #fffbf8; color: #633946; }
.mini-nail span { font-size: 7px; font-weight: 700; }
.mini-nail b { display: block; margin: 1px 0 8px; font-size: 11px; }
.mini-nail img { display: block; width: 100%; height: auto; aspect-ratio: 2 / 1; object-fit: cover; border-radius: 2px; }
.mini-restaurant, .mini-524, .mini-marche { position: relative; height: calc(100% - 16px); overflow: hidden; padding: 20px 17px; }
.mini-restaurant { padding: 8px 9px; background: #fbf2e8; color: #553c31; }
.mini-524 { background: #fff4b8; color: #12455d; }
.mini-marche { background: #f4f2df; color: #44533c; }
.mini-restaurant > span, .mini-524 > span, .mini-marche > span { position: relative; z-index: 2; font-size: 6px; letter-spacing: .13em; }
.mini-restaurant > b, .mini-524 > b, .mini-marche > b { position: relative; z-index: 2; display: block; max-width: 135px; margin-top: 7px; font-family: var(--serif); font-size: 14px; font-weight: 500; line-height: 1.5; }
.mini-restaurant > b { max-width: none; margin-top: 2px; font-size: 11px; }
.mini-restaurant img { display: block; width: 100%; height: auto; margin-top: 7px; }
.mini-524 > b { max-width: 94px; font-size: 12px; white-space: nowrap; }
.mini-524 img { position: absolute; right: 2px; bottom: -5px; width: 82px; height: 82px; object-fit: contain; transform: rotate(7deg); }
.mini-tents { position: absolute; right: 9px; bottom: 5px; left: 9px; display: flex; align-items: end; justify-content: space-between; }
.mini-tents i { position: relative; width: 37px; height: 19px; border-radius: 2px 2px 0 0; background: #c67b54; }
.mini-tents i:nth-child(2) { background: #78966c; }
.mini-tents i:nth-child(3) { background: #d4a947; }
.mini-tents i::before { position: absolute; top: -10px; right: -2px; left: -2px; height: 13px; background: inherit; clip-path: polygon(50% 0, 100% 100%, 0 100%); content: ""; }

body.theme--marche .vendor-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.vendor-card { min-height: 190px; padding: 22px; border: 1px solid var(--line); border-radius: 5px; background: rgba(255, 255, 255, .82); }
.vendor-card__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; color: var(--accent); font-size: 9px; font-weight: 700; letter-spacing: .1em; }
.vendor-card h3 { margin: 13px 0 6px; font-family: var(--serif); font-size: 19px; font-weight: 500; }
.vendor-card p { margin: 5px 0; color: var(--muted); font-size: 10px; line-height: 1.8; }
.market-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 25px 0 0; }
.market-facts div { padding: 15px; border-top: 1px solid var(--accent); background: rgba(255, 255, 255, .64); }
.market-facts dt { color: var(--accent); font-size: 9px; font-weight: 700; letter-spacing: .08em; }
.market-facts dd { margin: 5px 0 0; color: #3f493d; font-size: 11px; font-weight: 650; }
.market-map { overflow: hidden; border: 1px solid #dde3d3; border-radius: 5px; background: #f5f3e7; }
.market-map svg { display: block; width: 100%; height: auto; }

@media (max-width: 900px) {
  body.theme--marche .vendor-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 650px) {
  .mini-524, .mini-marche { padding: 19px 10px; }
  .mini-524 > b { font-size: 11px; }
  .mini-marche > b { font-size: 12px; }
  .mini-524 img { right: -4px; width: 70px; height: 70px; }
  body.theme--marche .vendor-grid, .market-facts { grid-template-columns: 1fr; }
  .vendor-card { min-height: 0; padding: 18px; }
}

.theme--restaurant { --line: #dfd2c3; --muted: #65574c; }
.dining-header .brand__word { font-size: 14px; }
.dining-header .main-nav { gap: clamp(10px, 2.5vw, 28px); font-size: 12px; }
.dining-hero { padding-block: clamp(30px, 6vw, 80px) 0; }
.dining-hero__intro {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  align-items: end;
  gap: 22px 38px;
  padding-bottom: clamp(24px, 4vw, 50px);
}
.dining-hero h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(31px, 4.8vw, 64px);
  font-weight: 600;
  letter-spacing: .015em;
  line-height: 1.3;
}
.dining-hero h1 span { display: inline-block; }
.dining-hero__intro p { max-width: 30ch; margin: 0 0 10px; color: var(--muted); }
.dining-hero__photo { display: block; width: 100%; height: auto; background: #5c3b24; }
.dining-link {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  padding-block: 5px;
  border-bottom: 1px solid currentColor;
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 700;
}
a.dining-link:hover, .dining-brand a:hover .dining-link { color: var(--accent); }
.dining-section { padding-block: clamp(46px, 7vw, 92px); }
.dining-section--tint { background: var(--soft); }
.dining-section[id], .dining-store-group[id] { scroll-margin-top: 20px; }
.dining-section h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(28px, 4vw, 45px);
  font-weight: 600;
  line-height: 1.4;
}
.dining-about {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
  align-items: center;
  gap: 20px 42px;
}
.dining-about .eyebrow { margin-bottom: 10px; color: var(--accent-dark); font-size: 11px; }
.dining-about__text { max-width: 550px; color: var(--muted); }
.dining-about__text p { margin: 0; }
.dining-about__text p + p { margin-top: 12px; }
.dining-section__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 20px; margin-bottom: 24px; }
.dining-section__head > p { margin: 0; color: var(--muted); font-size: 12px; }
.dining-brands { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2.5vw, 32px); }
.dining-brand { display: flex; min-width: 0; background: var(--paper); }
.dining-brand a { display: flex; flex: 1; flex-direction: column; }
.dining-brand img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; background: #e9d6c0; }
.dining-brand__copy { display: flex; flex: 1; flex-direction: column; align-items: flex-start; padding: clamp(16px, 2.4vw, 29px); }
.dining-brand__copy p { margin: 0 0 12px; color: var(--muted); font-size: 14px; }
.dining-brand__copy p.dining-brand__kind { margin-bottom: 4px; color: var(--accent-dark); font-size: 11px; font-weight: 700; }
.dining-brand h3 { margin: 0 0 9px; font-family: var(--serif); font-size: clamp(20px, 2.5vw, 29px); font-weight: 600; line-height: 1.4; }
.dining-brand .dining-link { margin-top: auto; }
.dining-store-groups { display: grid; gap: 24px; }
.dining-store-group { border: 1px solid var(--line); padding: 16px clamp(14px, 3vw, 28px); }
.dining-store-group:target { border-color: var(--accent); background: var(--soft); }
.dining-store-group h3 { display: flex; align-items: baseline; gap: 12px; margin: 0 0 10px; font-family: var(--serif); font-size: 21px; }
.dining-store-group h3 small { color: var(--muted); font: 12px var(--sans); }
.dining-store-list { margin: 0; padding: 0; list-style: none; }
.dining-store-list li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 10px;
  padding-block: 10px;
  border-top: 1px solid var(--line);
}
.dining-store-list li span { color: var(--muted); font-size: 13px; }
.dining-hours { font-variant-numeric: tabular-nums; white-space: nowrap; }
.dining-news__list, .dining-demo details { border-top: 1px solid var(--line); }
.dining-news__list details { border-bottom: 1px solid var(--line); }
.dining-news__list summary { padding-block: 16px; cursor: pointer; }
.dining-news__list summary span { margin-inline: 8px 16px; color: var(--accent-dark); font-size: 12px; }
.dining-news__list details p { margin: 0 0 16px 24px; color: var(--muted); font-size: 14px; }
.dining-demo { padding-block: 25px; }
.dining-demo details { border-bottom: 1px solid var(--line); }
.dining-demo summary { padding-block: 14px; cursor: pointer; font-size: 13px; }
.dining-demo__body { padding: 0 0 16px 18px; }
.dining-demo__body > p { margin: 0; color: var(--muted); font-size: 13px; }
.dining-demo .generated-preview h3 { margin: 4px 0; font-size: 15px; }
.dining-demo .generated-preview p { font-size: 12px; }
.dining-footer { background: var(--soft); }
.dining-footer__name { font-family: var(--serif); font-weight: 700; }
.dining-footer .page-wrap { flex-wrap: wrap; justify-content: flex-start; }
.dining-footer .return-top { margin-inline-start: auto; color: var(--accent-dark); }

@media (max-width: 650px) {
  .dining-header { flex-wrap: wrap; gap: 8px; padding-block: 12px 0; }
  .dining-header .main-nav { width: 100%; flex-wrap: wrap; justify-content: space-between; gap: 4px 10px; }
  .dining-header .main-nav > a:not(.button) { display: inline-flex; align-items: center; min-height: 36px; }
  .dining-header .main-nav .button { font-size: 11px; }
  .dining-hero__intro, .dining-about, .dining-brands { grid-template-columns: 1fr; }
  .dining-hero__photo { aspect-ratio: 2.35 / 1; object-fit: cover; }
  .dining-brand img { aspect-ratio: 4 / 2.7; }
  .dining-store-list li { gap: 5px; font-size: 13px; }
  .dining-store-list li span { font-size: 11px; }
  .dining-news__list summary span { margin-inline-end: 8px; }
}

.stamp-header .brand__word { font-size: clamp(18px, 2.5vw, 28px); letter-spacing: .02em; white-space: nowrap; }
.stamp-nav { display: flex; flex-wrap: wrap; gap: 8px clamp(14px, 3vw, 32px); font-size: 13px; font-weight: 700; }
.stamp-nav a { padding-block: 9px; }
.stamp-nav a:hover { text-decoration: underline; text-underline-offset: 5px; }
.stamp-hero {
  padding-block: clamp(30px, 5vw, 72px);
  background: #fff6c5;
}
.stamp-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .92fr);
  align-items: center;
  gap: clamp(26px, 6vw, 76px);
}
.stamp-hero__copy p { max-width: 27em; margin: 15px 0 24px; color: var(--ink); font-size: clamp(14px, 1.6vw, 17px); text-wrap: pretty; }
.stamp-hero h1 {
  margin: 0;
  font-size: clamp(78px, 12vw, 156px);
  font-weight: 850;
  letter-spacing: -.075em;
  line-height: .95;
}
.stamp-hero__copy .stamp-hero__subtitle { margin: 17px 0 0; font-size: clamp(20px, 3.1vw, 39px); font-weight: 750; line-height: 1.4; }
.stamp-button { min-height: 46px; border-radius: 999px; background: var(--accent-dark); border-color: var(--accent-dark); }
.stamp-button:hover { background: #093043; }
.stamp-hero__art {
  display: block;
  justify-self: end;
  width: min(100% - 5px, 460px);
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  background: #35b2cb;
  border: 2px solid var(--accent-dark);
  border-radius: clamp(20px, 3.5vw, 42px);
  box-shadow: 5px 6px var(--accent-dark);
}
.stamp-section { padding-block: clamp(44px, 7vw, 82px); scroll-margin-top: 18px; }
.stamp-section--tint { background: #eef7f8; }
.stamp-section__head { margin: 0 0 23px; }
.stamp-section h2 { margin: 0; font-size: clamp(24px, 3.3vw, 38px); line-height: 1.35; }
.stamp-section__head p { margin: 9px 0 0; color: var(--muted); }
.stamp-products {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(12px, 2vw, 24px);
  margin: 0;
  padding: 0;
  list-style: none;
}
.stamp-product { display: flex; min-width: 0; }
.stamp-product a {
  display: flex;
  flex: 1;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fffdf7;
}
.stamp-product a:hover { border-color: var(--accent); box-shadow: 0 8px 24px #153e5510; }
.stamp-product__art {
  display: grid;
  place-items: center;
  aspect-ratio: 1.16;
  border-radius: 15px 15px 0 0;
  background: var(--stamp-blue);
}
.stamp-product:nth-child(even) .stamp-product__art { background: #fff4cb; }
.stamp-product img { display: block; width: min(78%, 195px); height: auto; }
.stamp-product__mosaic { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: min(78%, 195px); aspect-ratio: 1; }
.stamp-product__mosaic img { width: 100%; }
.stamp-product__body { padding: clamp(12px, 2vw, 21px); }
.stamp-product h3 { margin: 0; font-size: clamp(14px, 1.7vw, 18px); line-height: 1.5; overflow-wrap: anywhere; text-wrap: balance; }
.stamp-about { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 14px 38px; }
.stamp-about p { max-width: 37em; margin: 0 0 15px; color: var(--muted); }
.stamp-about__store { color: var(--accent-dark); font-size: 13px; font-weight: 700; }
.stamp-about__store:hover { color: var(--accent); }

.line-preview { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: start; gap: 20px; }
.line-preview__conversation, .line-preview__controls {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--paper);
}
.line-preview__conversation { display: flex; flex-direction: column; }
.line-preview__bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.line-preview__conversation > .line-preview__bar { padding: 11px 17px; }
.line-preview__bar h3 { margin: 0; font-size: 14px; }
.line-preview__utility {
  min-height: 34px;
  padding: 3px 7px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}
.line-preview__thread {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 11px;
  min-height: 325px;
  max-height: 400px;
  margin: 0;
  padding: 17px;
  overflow: auto;
  border-radius: 0 0 17px 17px;
  background: var(--stamp-blue);
  list-style: none;
  overscroll-behavior: contain;
}
.line-preview__thread:focus-visible { outline: 2px solid var(--accent-dark); outline-offset: -3px; }
.line-preview__message { display: flex; flex-shrink: 0; max-width: 92%; }
.line-preview__message--sent { align-self: end; }
.line-preview__message p {
  max-width: 100%;
  margin: 0;
  padding: 9px 13px;
  border-radius: 14px;
  background: #fffdf7;
  font-size: 15px;
  line-height: 1.55;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}
.line-preview__message--sent p { background: #fff1b1; }
.line-preview__message p[data-line-layout="sticker"],
.line-preview__message p[data-line-layout="emoji-row"] { padding: 0; background: transparent; }
.line-preview__message p[data-line-layout="sticker"] { width: 128px; }
[data-line-layout="sticker"] img { display: block; width: min(128px, 100%); height: auto; }
[data-line-layout="emoji-row"] { display: flex; flex-wrap: wrap; gap: 6px; }
[data-line-layout="emoji-row"] img { display: block; width: clamp(43px, 12vw, 68px); height: auto; object-fit: contain; }
[data-line-layout="bubble"] img { width: 1.55em; height: 1.55em; margin-inline: .17em; object-fit: contain; vertical-align: -.34em; }
.line-preview__controls { padding: 14px 16px 16px; }
.line-preview__modes { display: flex; flex-wrap: wrap; gap: 6px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.line-preview__modes button, .line-preview__choices button {
  border: 1px solid transparent;
  background: #f0f7f7;
  color: var(--ink);
  font-weight: 700;
  cursor: pointer;
}
.line-preview__modes button { min-width: 92px; min-height: 42px; padding: 4px 13px; border-radius: 999px; background: transparent; font-size: 14px; }
.line-preview__modes button[aria-pressed="true"] { background: var(--stamp-blue); color: var(--accent-dark); }
.line-preview__hint { margin: 10px 0 8px; color: var(--muted); font-size: 12px; }
.line-preview__choices { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 7px; }
[data-line-picker="emoji"] .line-preview__choices { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.line-preview__choices button {
  display: grid;
  grid-template-rows: clamp(44px, 5vw, 64px) 1fr;
  justify-items: center;
  align-items: center;
  gap: 4px;
  min-width: 0;
  padding: 8px 4px;
  border-radius: 12px;
  font-size: 11px;
  line-height: 1.3;
  text-align: center;
}
.line-preview__choices button:active { background: var(--stamp-blue); }
.line-preview__choices img { display: block; width: min(100%, 72px); height: 100%; object-fit: contain; }
.line-preview__text-label { display: block; margin-block: 11px 4px; font-size: 13px; font-weight: 700; }
.line-preview textarea {
  display: block;
  width: 100%;
  min-height: 58px;
  padding: 6px 8px;
  resize: vertical;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font-size: 16px;
}
.line-preview__draft { margin-top: 11px; padding: 7px 11px 9px; border-radius: 10px; background: #f0f7f7; }
.line-preview__draft .line-preview__bar { min-height: 34px; }
.line-preview__draft [data-line-draft] { font-size: 14px; white-space: pre-wrap; overflow-wrap: anywhere; }
.line-preview__send { display: flex; width: fit-content; min-width: 96px; min-height: 44px; margin: 12px 0 0 auto; }
.line-preview__send:disabled { transform: none; border-color: #dbe7e8; background: #eaf4f5; color: #526872; box-shadow: none; cursor: default; }
.line-preview__note { margin: 10px 0 0; color: var(--muted); font-size: 12px; }
.line-preview__feedback { margin: 6px 0 0; color: var(--muted); font-size: 12px; }
.line-preview__feedback:empty { margin: 0; }

@media (hover: hover) {
  .line-preview__utility:hover { background: var(--stamp-blue); }
  .line-preview__modes button:hover:not([aria-pressed="true"]) { background: #f0f7f7; }
  .line-preview__choices button:hover { border-color: var(--accent); }
}

@media (max-width: 650px) {
  .stamp-header { gap: 8px; }
  .stamp-header .brand__mark, .stamp-footer .brand__mark { width: 34px; font-size: 11px; }
  .stamp-nav { justify-content: end; gap: 0 10px; font-size: 11px; }
  .stamp-nav a { padding-block: 9px; white-space: nowrap; }
  .stamp-hero__inner, .stamp-about { grid-template-columns: 1fr; }
  .stamp-hero__copy p { margin-block: 12px 16px; }
  .stamp-hero__copy .stamp-hero__subtitle { margin-block: 10px 0; }
  .stamp-hero__art { justify-self: start; width: min(100% - 5px, 440px); aspect-ratio: 4 / 3; }
  .stamp-products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 650px), (max-height: 500px) and (pointer: coarse) {
  .line-preview { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .line-preview button { touch-action: manipulation; }
  .line-preview__conversation > .line-preview__bar { padding: 0 12px; }
  .line-preview__utility, .line-preview__modes button { min-height: 44px; }
  .line-preview__thread {
    flex: none;
    min-height: 0;
    height: clamp(116px, 24svh, 176px);
    gap: 8px;
    padding: 9px 10px;
    overscroll-behavior-y: auto;
  }
  .line-preview__message p[data-line-layout="sticker"] { width: clamp(86px, 15svh, 112px); }
  .line-preview__controls { padding: 8px 10px 10px; }
  .line-preview__modes { padding-bottom: 6px; }
  .line-preview__hint { margin-block: 6px; }
  .line-preview__choices { gap: 6px; }
  .line-preview__choices button {
    grid-template-rows: clamp(36px, 8svh, 48px) 1fr;
    gap: 3px;
    min-height: 44px;
    padding: 5px 2px;
    overflow-wrap: anywhere;
  }

  @media (orientation: landscape) and (max-height: 500px) {
    .line-preview { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); }
    .line-preview__conversation { position: sticky; top: 8px; }
  }

  @media (orientation: portrait) and (max-height: 450px) {
    .line-preview__thread { height: 102px; }
    .line-preview__message p[data-line-layout="sticker"] { width: 78px; }
    .line-preview__choices button { grid-template-rows: 32px 1fr; padding-block: 3px; }
  }
}

.theme--524 :is(.stamp-header .brand, .stamp-footer .brand, .stamp-nav a, .stamp-hero h1, .stamp-hero__subtitle, .stamp-button, .stamp-section h2, .stamp-product h3, .stamp-about__store, .line-preview h3, .line-preview button, .line-preview label) {
  font-family: var(--stamp-type);
  font-weight: 900;
  font-synthesis: none;
}
.theme--524 .brand__mark--524 { font-family: var(--stamp-type); }

/* Nail tip shop sample */
.nail-page {
  --nail-ink: #38272b;
  --nail-muted: #675559;
  --nail-paper: #fffbf8;
  --nail-tint: #f5e9e6;
  --nail-line: #ddc9c5;
  --nail-accent: #74404c;
  --nail-hover: #552734;
  background: var(--nail-paper);
  color: var(--nail-ink);
}
.nail-wrap { width: min(1120px, calc(100% - 48px)); margin-inline: auto; }
.nail-demo-banner { margin: 0; padding: 7px 14px; background: #53323a; color: #fff4f2; font-size: 11px; text-align: center; }
.nail-header { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 76px; border-bottom: 1px solid var(--nail-line); }
.nail-wordmark { display: inline-grid; color: var(--nail-accent); font-family: var(--serif); font-size: 23px; font-weight: 700; letter-spacing: .12em; line-height: 1.3; }
.nail-wordmark small { margin-top: 2px; font: 700 9px var(--sans); letter-spacing: .19em; }
.nail-header nav { display: flex; align-items: center; gap: clamp(9px, 3vw, 32px); font-size: 13px; font-weight: 700; }
.nail-header nav a:not(.nail-button):hover, .nail-footer a:hover { text-decoration: underline; text-underline-offset: 4px; }
.nail-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 8px 18px;
  border: 1px solid var(--nail-accent);
  border-radius: 4px;
  background: var(--nail-accent);
  color: #fffaf8;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
}
.nail-button:hover { border-color: var(--nail-hover); background: var(--nail-hover); color: #fff; }
.nail-button--outline { background: transparent; color: var(--nail-accent); }
.nail-button--small { min-height: 38px; padding-inline: 13px; font-size: 12px; }
.nail-hero { padding-top: clamp(28px, 5.2vw, 64px); }
.nail-hero__copy {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr);
  align-items: start;
  gap: 12px clamp(20px, 4vw, 72px);
  margin: 0 clamp(0px, 3.5vw, 44px) clamp(22px, 4vw, 45px);
}
.nail-kicker { grid-column: 1 / -1; margin: 0; color: var(--nail-accent); font-size: 12px; font-weight: 700; letter-spacing: .11em; }
.nail-hero h1 {
  grid-row: span 2;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(37px, 5.5vw, 71px);
  line-height: 1.29;
  font-weight: 600;
  letter-spacing: .04em;
}
.nail-hero__copy p:not(.nail-kicker) { max-width: 29em; margin: 8px 0 0; color: var(--nail-muted); line-height: 1.9; }
.nail-hero__copy .nail-button { justify-self: start; }
.nail-hero img { display: block; width: 100%; height: auto; border-radius: 4px; background: var(--nail-tint); }
.nail-section { padding-block: clamp(42px, 7vw, 87px); scroll-margin-top: 12px; }
.nail-section__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 3px 18px; margin-bottom: 24px; }
.nail-section__head p { margin: 0; color: var(--nail-muted); font-size: 13px; }
.nail-section h2 { margin: 0; font-family: var(--serif); font-size: clamp(26px, 3.6vw, 42px); font-weight: 600; line-height: 1.4; }
.nail-products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2.5vw, 28px); }
.nail-product { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--nail-line); border-radius: 5px; }
.nail-product img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; background: var(--nail-tint); }
.nail-product__body { display: flex; flex: 1; flex-direction: column; align-items: flex-start; padding: clamp(15px, 2.3vw, 25px); }
.nail-product h3 { margin: 0; font-family: var(--serif); font-size: clamp(18px, 2.3vw, 25px); line-height: 1.35; }
.nail-product p { margin: 12px 0 14px; color: var(--nail-muted); font-size: 13px; }
.nail-price { display: block; margin-top: auto; color: var(--nail-accent); font-size: 20px; font-variant-numeric: tabular-nums; }
.nail-price small { font-size: 11px; font-weight: 400; }
.nail-product .nail-button { margin-top: 14px; }
.nail-sizes { background: var(--nail-tint); }
.nail-sizes__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 20px clamp(22px, 4.5vw, 70px); }
.nail-sizes__inner p { margin: 12px 0 0; color: var(--nail-muted); font-size: 14px; }
.nail-sizes table { width: 100%; border-collapse: collapse; border: 1px solid var(--nail-line); background: var(--nail-paper); text-align: center; font-size: 12px; }
.nail-sizes caption { padding-bottom: 6px; color: var(--nail-muted); text-align: left; font-size: 12px; }
.nail-sizes th, .nail-sizes td { padding: 9px 3px; border-bottom: 1px solid var(--nail-line); }
.nail-sizes thead th { color: var(--nail-accent); white-space: nowrap; }
.nail-order {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 20px clamp(16px, 4vw, 44px);
  padding: clamp(16px, 3.8vw, 45px);
  border: 1px solid var(--nail-line);
  border-radius: 6px;
  background: #fff;
}
.nail-order__fields { min-width: 0; margin: 0; padding: 0; border: 0; }
.nail-order__fields legend, .nail-order__total h3 { margin: 0 0 10px; padding: 0; font-family: var(--serif); font-size: 21px; font-weight: 700; }
.nail-order__fields label { display: block; margin-bottom: 3px; font-size: 13px; font-weight: 700; }
.nail-order__fields select {
  box-sizing: border-box;
  width: 100%;
  min-height: 44px;
  padding: 7px 10px;
  border: 1px solid #a58c8f;
  border-radius: 3px;
  background: #fff;
  color: var(--nail-ink);
  font-size: 16px;
}
.nail-order__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 12px; }
.nail-order__hint { margin: 8px 0 15px; font-size: 12px; }
.nail-order__hint a { color: var(--nail-accent); text-decoration: underline; text-underline-offset: 3px; }
.nail-order__total { min-width: 0; align-self: start; padding: clamp(14px, 2.7vw, 26px); background: var(--nail-tint); border-radius: 4px; }
.nail-order dl, .nail-review dl { margin: 0; }
.nail-order dl div, .nail-review dl div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0 12px; padding-block: 7px; font-size: 14px; }
.nail-order dd, .nail-review dd { margin: 0; color: var(--nail-accent); font-weight: 700; font-variant-numeric: tabular-nums; }
.nail-order__grand { border-top: 1px solid var(--nail-line); font-weight: 700; }
.nail-order__grand output { font-size: 25px; line-height: 1; }
.nail-order__total > p { margin: 8px 0 0; color: var(--nail-muted); font-size: 12px; line-height: 1.6; }
.nail-order__note { grid-column: 1 / -1; margin: 0; color: var(--nail-muted); font-size: 12px; }
.nail-review { margin-top: 16px; padding: clamp(16px, 3vw, 30px); border: 1px solid var(--nail-line); border-radius: 6px; background: #fff; }
.nail-review h3 { margin: 0 0 8px; font-family: var(--serif); font-size: 23px; }
.nail-review dl { max-width: 28em; }
.nail-review dl div { border-bottom: 1px solid var(--nail-line); }
.nail-review__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.nail-payment { margin-top: 15px; padding: 12px 15px; border-left: 3px solid var(--nail-accent); background: var(--nail-tint); }
.nail-payment h4, .nail-payment p { margin: 0; }
.nail-payment p { margin-top: 4px; color: var(--nail-muted); font-size: 13px; }
.nail-footer { padding-block: 22px; background: var(--nail-tint); }
.nail-footer .nail-wrap { display: flex; align-items: center; flex-wrap: wrap; gap: 7px 24px; }
.nail-footer p { margin: 0; color: var(--nail-muted); font-size: 12px; }
.nail-footer a { margin-inline-start: auto; color: var(--nail-accent); font-size: 12px; font-weight: 700; }

@media (max-width: 680px) {
  .nail-wrap { width: calc(100% - 32px); }
  .nail-header { min-height: 62px; }
  .nail-wordmark { font-size: 19px; }
  .nail-wordmark small { font-size: 7px; }
  .nail-header nav { font-size: 11px; }
  .nail-button--small { min-height: 36px; padding-inline: 9px; font-size: 11px; }
  .nail-hero__copy, .nail-sizes__inner, .nail-order { grid-template-columns: 1fr; }
  .nail-hero h1 { grid-row: auto; }
  .nail-hero__copy p:not(.nail-kicker) { margin-block: 0; }
  .nail-products { grid-template-columns: 1fr; }
  .nail-product { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1fr); }
  .nail-product img { height: 100%; min-height: 168px; }
  .nail-product__body { padding: 12px; }
  .nail-product p { margin: 6px 0; font-size: 12px; }
  .nail-product .nail-button { margin-top: 7px; padding-inline: 8px; font-size: 11px; }
  .nail-footer a { margin-inline-start: 0; }
}
