:root {
  --bg: #ffffff;
  --card: #f8f7f6;
  --surface: #ffffff;
  --ink: #222020;
  --ink-muted: #6c6864;
  --ink-subtle: #96908a;
  --btn-primary: #242222;
  --btn-primary-hover: #141313;
  --brand: #e47d99;
  --brand-hover: #d46886;
  --brand-soft: #fdf2f5;
  --brand-border: #f3cdd8;
  --border: #ece9e6;
  --border-strong: #dedad5;
  --accent-pink: #fdf2f5;
  --accent-pink-strong: #e47d99;
  --accent-blue: #e1ebf4;
  --accent-butter: #f6eed8;
  --accent-lavender: #eae4f4;
  --radius-md: 16px;
  --radius-lg: 20px;
  --radius-xl: 24px;
  --shadow-sm: 0 2px 10px rgba(37, 37, 37, 0.04);
  --shadow-md: 0 10px 28px rgba(37, 37, 37, 0.07);
  --shadow-lg: 0 18px 42px rgba(37, 37, 37, 0.09);
  --font-display: "Quicksand", "DM Sans", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-sans: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-hand: "Caveat", "Bradley Hand", cursive;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

html,
body {
  margin: 0;
  padding: 0;
  background-color: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}

::selection {
  background: var(--accent-pink);
  color: var(--ink);
}

main p a:not(.btn),
main li a:not(.btn),
.faq-card a:not(.btn),
.editorial-card a:not(.btn),
.narrow-reading-box a:not(.btn),
.split-copy p a:not(.btn) {
  color: var(--brand-hover);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--brand-border);
  text-underline-offset: 3px;
  text-decoration-thickness: 1.5px;
  transition: color 0.15s ease, text-decoration-color 0.15s ease;
}

main p a:not(.btn):hover,
main li a:not(.btn):hover,
.faq-card a:not(.btn):hover,
.editorial-card a:not(.btn):hover,
.narrow-reading-box a:not(.btn):hover,
.split-copy p a:not(.btn):hover {
  color: var(--ink);
  text-decoration-color: var(--brand);
}

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

button,
input,
select {
  font-family: inherit;
}

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

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 800;
  font-size: 1.18rem;
  letter-spacing: -0.03em;
  flex-shrink: 0;
}

.brand svg {
  width: 24px;
  height: 24px;
  stroke: var(--brand);
}

.top-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex: 1;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
}

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

.top-nav a {
  text-decoration: none;
  color: var(--ink-muted);
  font-size: 0.84rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 999px;
  white-space: nowrap;
  transition: background-color 0.16s ease, color 0.16s ease;
}

.top-nav a:hover {
  color: var(--ink);
  background: var(--card);
}

.top-nav a.active {
  background: var(--brand-soft);
  color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--brand-border);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 10px 20px;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.16s ease, border-color 0.16s ease, transform 0.12s ease;
  white-space: nowrap;
}

.btn:active:not(:disabled) {
  transform: scale(0.98);
}

.btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.btn-primary {
  background: var(--btn-primary);
  color: #ffffff;
}

.btn-primary:hover:not(:disabled) {
  background: var(--btn-primary-hover);
}

.btn-secondary {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--border-strong);
}

.btn-secondary:hover:not(:disabled) {
  background: var(--card);
}

.btn-soft {
  background: var(--card);
  color: var(--ink);
}

.btn-soft:hover:not(:disabled) {
  background: #e7e1da;
}

.btn-sm {
  padding: 7px 14px;
  font-size: 0.82rem;
}

/* Hero Section */
.hero-section {
  padding-block: 36px 44px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 44px;
  align-items: center;
}

.hero-copy h1 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 3.8vw, 3.2rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: var(--ink);
}

.hero-copy p {
  margin: 0 0 24px;
  color: var(--ink-muted);
  font-size: 0.98rem;
  line-height: 1.6;
  max-width: 38ch;
}

.hero-cta-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 26px;
}

.hero-cta-row .btn-primary {
  padding: 13px 24px;
  font-size: 0.94rem;
}

.hero-trust-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 340px;
}

.trust-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--ink-muted);
  line-height: 1.3;
}

.trust-item svg {
  width: 18px;
  height: 18px;
  stroke: var(--ink);
}

/* Hero Center Booth Card */
.hero-booth-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 14px;
  box-shadow: var(--shadow-lg);
}

.hero-booth-frame {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 3 / 2;
  background: var(--card);
}

.hero-booth-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-booth-badge {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(37, 37, 37, 0.58);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #ffffff;
  font-size: 0.74rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hero-booth-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 10px 4px;
}

.hero-bar-left {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--ink-muted);
  font-size: 0.8rem;
  font-weight: 600;
}

.hero-shutter-dot {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #eaa8b1;
  border: 4px solid #ffffff;
  box-shadow: 0 0 0 1.5px var(--border-strong);
  cursor: pointer;
  transition: transform 0.14s ease, background-color 0.16s ease;
}

.hero-shutter-dot:hover {
  transform: scale(1.05);
  background: #e295a0;
}

.hero-strip-showcase {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.hero-strip-showcase img {
  width: 100%;
  max-width: 340px;
  height: auto;
  border-radius: var(--radius-md);
  mix-blend-mode: multiply;
}

/* Section Headers */
.section-block {
  padding-block: 36px;
}

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.section-header h2 {
  margin: 0 0 4px;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 2.3vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.18;
}

.section-header p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--ink-muted);
}

.section-link {
  text-decoration: none;
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.section-link:hover {
  color: var(--ink-muted);
}

/* Popular Templates (6-col) */
.templates-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
}

.template-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 12px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}

.template-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-strong);
}

.template-thumb {
  aspect-ratio: 4 / 3;
  border-radius: 12px;
  overflow: hidden;
  background: var(--card);
  margin-bottom: 12px;
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.template-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 8px;
}

.template-meta {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 8px;
}

.template-meta strong {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
}

.template-meta span {
  display: block;
  font-size: 0.74rem;
  color: var(--ink-muted);
  margin-top: 2px;
}

.template-arrow {
  color: var(--ink-muted);
  font-size: 0.9rem;
  flex-shrink: 0;
}

/* Explore Photo Booth Styles (6-col) */
.styles-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 18px;
}

.style-strip-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  transition: transform 0.16s ease;
}

.style-strip-card:hover {
  transform: translateY(-4px);
}

.style-strip-media {
  width: 100%;
  aspect-ratio: 3 / 4.6;
  border-radius: var(--radius-md);
  background: var(--card);
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}

.style-strip-card:hover .style-strip-media,
.style-strip-card.current .style-strip-media {
  border-color: var(--border-strong);
  box-shadow: var(--shadow-md);
}

.style-strip-media img {
  max-height: 100%;
  width: auto;
  object-fit: contain;
  border-radius: 8px;
}

.style-strip-card span {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--ink);
}

/* =========================================================
   INTERACTIVE PHOTO BOOTH EDITOR (editor-design.png)
   ========================================================= */
.studio-section {
  padding-block: 36px 44px;
}

.studio-shell {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 16px;
  box-shadow: var(--shadow-md);
}

.studio-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 14px;
  padding: 0 4px;
}

.studio-topbar-left {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.studio-topbar-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.size-select {
  appearance: none;
  -webkit-appearance: none;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  padding: 8px 32px 8px 14px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23252525' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
}

.editor-workspace {
  display: grid;
  grid-template-columns: 72px 248px minmax(0, 1fr) 288px;
  gap: 14px;
  align-items: start;
}

/* Left Rail */
.editor-rail {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 8px 6px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.rail-btn {
  border: none;
  background: transparent;
  color: var(--ink-muted);
  border-radius: 14px;
  padding: 10px 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  font-size: 0.72rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.rail-btn svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
}

.rail-btn:hover {
  background: var(--bg);
  color: var(--ink);
}

.rail-btn.active {
  background: var(--brand-soft);
  color: var(--brand-hover);
  box-shadow: inset 0 0 0 1px var(--brand-border);
}

/* Left Tool Drawer */
.editor-drawer {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 16px;
  min-height: 540px;
}

.drawer-pane[hidden] {
  display: none;
}

.drawer-title {
  margin: 0 0 12px;
  font-size: 0.96rem;
  font-weight: 700;
}

.cat-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}

.cat-pill {
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--ink-muted);
  font-size: 0.74rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  cursor: pointer;
}

.cat-pill.active {
  background: var(--brand-soft);
  border-color: var(--brand);
  color: var(--brand-hover);
}

.frame-mini-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.frame-mini-btn {
  border: 1.5px solid var(--border);
  border-radius: 12px;
  padding: 6px;
  background: var(--bg);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 5px;
  transition: border-color 0.15s ease;
}

.frame-mini-btn.active {
  border-color: var(--accent-pink-strong);
  box-shadow: 0 0 0 2px var(--accent-pink);
}

.frame-mini-preview {
  width: 100%;
  aspect-ratio: 1 / 1.85;
  border-radius: 6px;
  padding: 4px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  border: 1px solid rgba(37, 37, 37, 0.08);
}

.frame-mini-preview span {
  flex: 1;
  background: rgba(255, 255, 255, 0.82);
  border-radius: 2px;
}

.frame-mini-label {
  font-size: 0.66rem;
  font-weight: 600;
  color: var(--ink-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.sticker-drawer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.sticker-btn {
  border: 1px solid var(--border);
  background: var(--bg);
  border-radius: 12px;
  padding: 10px 0;
  font-size: 1.25rem;
  cursor: pointer;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.sticker-btn.active {
  border-color: var(--accent-pink-strong);
  background: var(--accent-pink);
}

.drawer-field {
  margin-bottom: 14px;
}

.drawer-field label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--ink-muted);
  margin-bottom: 6px;
}

.text-input {
  width: 100%;
  border: 1px solid var(--border-strong);
  background: var(--bg);
  border-radius: 12px;
  padding: 9px 12px;
  font-size: 0.88rem;
  color: var(--ink);
}

.text-input:focus {
  outline: none;
  border-color: var(--btn-primary);
  background: var(--surface);
}

.toggle-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.84rem;
  font-weight: 600;
  padding: 6px 0;
}

/* Center Stage */
.editor-center {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.canvas-viewport {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  min-height: 460px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

#strip-canvas {
  max-width: 100%;
  max-height: 520px;
  width: auto;
  height: auto;
  border-radius: 6px;
  box-shadow: var(--shadow-lg);
}

/* Camera Capture Overlay inside Center Stage */
.camera-stage {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.camera-stage[hidden] {
  display: none;
}

.viewfinder-box {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  background: #232120;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

#camera-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#camera-video.mirrored {
  transform: scaleX(-1);
}

.camera-hud {
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 4;
}

.hud-pill {
  background: rgba(37, 37, 37, 0.7);
  color: #ffffff;
  border: none;
  border-radius: 999px;
  padding: 5px 12px;
  font-size: 0.76rem;
  font-weight: 600;
  cursor: pointer;
}

.hud-pill.active {
  background: #ffffff;
  color: var(--ink);
}

.countdown-overlay {
  position: absolute;
  inset: 0;
  background: rgba(37, 37, 37, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 6;
}

.countdown-overlay[hidden] {
  display: none;
}

#countdown-number {
  font-size: 5.5rem;
  font-weight: 800;
  color: #ffffff;
  text-shadow: 0 6px 24px rgba(0, 0, 0, 0.4);
}

.flash-overlay {
  position: absolute;
  inset: 0;
  background: #ffffff;
  opacity: 0;
  pointer-events: none;
  z-index: 7;
  transition: opacity 0.25s ease-out;
}

.flash-overlay.flash {
  opacity: 0.94;
  transition: none;
}

.camera-controls-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.timer-pills {
  display: inline-flex;
  gap: 6px;
}

.timer-pill {
  border: 1px solid var(--border-strong);
  background: var(--surface);
  color: var(--ink-muted);
  border-radius: 999px;
  padding: 5px 11px;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
}

.timer-pill.active {
  background: var(--btn-primary);
  border-color: var(--btn-primary);
  color: #ffffff;
}

.camera-error {
  margin: 0;
  font-size: 0.82rem;
  color: #b4434f;
  text-align: center;
}

/* Bottom Filmstrip Tray */
.filmstrip-tray {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  overflow-x: auto;
}

.slot-thumbs {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
}

.slot-thumb {
  position: relative;
  width: 72px;
  height: 72px;
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid transparent;
  background: var(--card);
  cursor: pointer;
  flex-shrink: 0;
  padding: 0;
}

.slot-thumb.selected {
  border-color: var(--accent-pink-strong);
}

.slot-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slot-thumb-num {
  position: absolute;
  bottom: 4px;
  left: 4px;
  background: rgba(37, 37, 37, 0.72);
  color: #ffffff;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 999px;
}

.upload-slot-btn {
  width: 72px;
  height: 72px;
  border-radius: 12px;
  border: 1.5px dashed var(--border-strong);
  background: var(--bg);
  color: var(--ink-muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  cursor: pointer;
  flex-shrink: 0;
}

.upload-slot-btn:hover {
  border-color: var(--ink);
  color: var(--ink);
}

/* Right Inspector Panel */
.editor-inspector {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.inspector-group h3 {
  margin: 0 0 8px;
  font-size: 0.84rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.inspector-meta {
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--ink-muted);
}

.color-dots {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.color-dot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1.5px solid rgba(37, 37, 37, 0.14);
  cursor: pointer;
  padding: 0;
  transition: transform 0.12s ease;
}

.color-dot.active {
  border: 2px solid var(--accent-pink-strong);
  box-shadow: 0 0 0 2px var(--accent-pink);
  transform: scale(1.06);
}

.range-slider {
  width: 100%;
  accent-color: var(--accent-pink-strong);
  cursor: pointer;
}

.switch-toggle {
  position: relative;
  display: inline-block;
  width: 40px;
  height: 22px;
}

.switch-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}

.switch-track {
  position: absolute;
  inset: 0;
  background: var(--border-strong);
  border-radius: 999px;
  transition: background-color 0.18s ease;
  cursor: pointer;
}

.switch-track::before {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  left: 3px;
  top: 3px;
  background: #ffffff;
  border-radius: 50%;
  transition: transform 0.18s ease;
}

.switch-toggle input:checked + .switch-track {
  background: var(--accent-pink-strong);
}

.switch-toggle input:checked + .switch-track::before {
  transform: translateX(18px);
}

.filter-thumb-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}

.filter-thumb-btn {
  border: none;
  background: transparent;
  padding: 0;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 4px;
  min-width: 0;
}

.filter-thumb-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid transparent;
  flex-shrink: 0;
}

.filter-thumb-btn.active .filter-thumb-img {
  border-color: var(--accent-pink-strong);
}

.filter-thumb-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.filter-thumb-btn span {
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--ink-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
  line-height: 1.2;
}

.filter-thumb-btn.active span {
  color: var(--ink);
}

.layout-icon-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.layout-card-btn {
  border: 1.5px solid var(--border);
  background: var(--bg);
  border-radius: 12px;
  padding: 9px 6px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--ink-muted);
}

.layout-card-btn.active {
  border-color: var(--accent-pink-strong);
  background: var(--accent-pink);
  color: var(--ink);
}

.bg-swatches {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
}

.bg-swatch {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  border: 1.5px solid var(--border-strong);
  cursor: pointer;
  padding: 0;
}

.bg-swatch.active {
  border-color: var(--btn-primary);
  box-shadow: 0 0 0 2px var(--accent-pink);
}

.crop-controls {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px 12px;
}

.crop-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--ink-muted);
}

.crop-row input {
  width: 66%;
}

.locale-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

/* Print & Collect Modal (Ritual Strip Dispensing Animation) */
.print-modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(37, 37, 37, 0.42);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.print-modal[hidden] {
  display: none;
}

.print-dialog {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  max-width: 760px;
  width: 100%;
  padding: 24px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.95fr);
  gap: 24px;
  align-items: center;
  position: relative;
  max-height: 92vh;
  overflow-y: auto;
}

.print-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  color: var(--ink);
  font-size: 1.1rem;
  cursor: pointer;
}

.dispenser-stage {
  background: var(--card);
  border-radius: var(--radius-lg);
  padding: 18px 20px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
}

.dispenser-slot {
  width: 82%;
  height: 11px;
  border-radius: 999px;
  background: linear-gradient(180deg, #1f1d1c, #494542);
  box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.65);
  margin-bottom: -4px;
  z-index: 2;
}

.dispenser-paper {
  padding-top: 10px;
  animation: stripPrintOut 1.15s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes stripPrintOut {
  from {
    transform: translateY(-70px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

#print-preview-img {
  max-width: 100%;
  max-height: 430px;
  border-radius: 6px;
  box-shadow: var(--shadow-lg);
}

.print-meta h3 {
  margin: 0 0 6px;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.print-meta p {
  margin: 0 0 14px;
  font-size: 0.86rem;
  color: var(--ink-muted);
}

.note-card-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 12px;
  margin-bottom: 14px;
}

.note-card-box label {
  display: block;
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--ink-muted);
  margin-bottom: 6px;
}

.note-card-box textarea {
  width: 100%;
  border: none;
  background: transparent;
  resize: none;
  font-family: var(--font-hand);
  font-size: 1.25rem;
  color: var(--ink);
  line-height: 1.35;
}

.note-card-box textarea:focus {
  outline: none;
}

.print-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

@media (max-width: 720px) {
  .print-dialog {
    grid-template-columns: 1fr;
  }
}

/* Interactive Single-Selfie 8-Filter Showcase (replaces 8-card grid) */
.filter-showcase-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 28px;
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(0, 1.15fr);
  gap: 32px;
  align-items: center;
}

.filter-showcase-stage {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 12px;
  box-shadow: var(--shadow-md);
}

.filter-showcase-stage img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 12px;
  transition: filter 0.22s ease;
}

.filter-showcase-controls {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.filter-showcase-info h3 {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
}

.filter-showcase-info p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--ink-muted);
  line-height: 1.6;
}

.filter-strip-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.filter-strip-pill {
  border: 1.5px solid var(--border);
  background: var(--surface);
  border-radius: 14px;
  padding: 6px 6px 8px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  transition: border-color 0.16s ease, transform 0.12s ease, box-shadow 0.16s ease;
}

.filter-strip-pill:hover {
  transform: translateY(-2px);
  border-color: var(--border-strong);
}

.filter-strip-pill.active {
  border-color: var(--accent-pink-strong);
  box-shadow: 0 0 0 2px var(--accent-pink);
}

.filter-strip-pill img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 9px;
}

.filter-strip-pill span {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

@media (max-width: 860px) {
  .filter-showcase-card {
    grid-template-columns: 1fr;
    padding: 20px;
    gap: 20px;
  }

  .filter-strip-row {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .filter-strip-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* V4.0 Why Choose Snapatoo (3x2 Advantages Grid) */
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.advantage-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px 24px;
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}

.advantage-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
  border-color: var(--brand-border);
}

.advantage-card .adv-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--brand-soft);
  border: 1px solid var(--brand-border);
  color: var(--brand-hover);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.advantage-card .adv-icon svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  margin-bottom: 0;
}

.advantage-card h3 {
  margin: 0 0 6px;
  font-size: 1rem;
  font-weight: 700;
}

.advantage-card p {
  margin: 0;
  font-size: 0.86rem;
  color: var(--ink-muted);
  line-height: 1.55;
}

.reorder-row {
  display: flex;
  gap: 6px;
  margin-top: 6px;
}

.reorder-row button {
  flex: 1;
}

@media (max-width: 900px) {
  .filter-gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 560px) {
  .advantages-grid {
    grid-template-columns: 1fr;
  }
}

/* Dedicated /korean-4-cut/ Page Modules (Zero Duplication with Homepage) */
.k-frames-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.k-frame-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 16px;
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}

.k-frame-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-strong);
}

.k-frame-canvas {
  aspect-ratio: 3 / 2;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  margin-bottom: 14px;
}

.k-frame-canvas.is-photo {
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(37, 37, 37, 0.06);
}

.k-frame-canvas.is-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.strip-layouts-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.spec-table-wrap {
  width: 100%;
  overflow-x: auto;
  margin-top: 10px;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}

.spec-table th,
.spec-table td {
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
}

.spec-table thead th {
  font-weight: 700;
  color: var(--ink);
  background: var(--surface-alt);
}

.spec-table tbody tr:last-child td {
  border-bottom: none;
}

@media (max-width: 960px) {
  .strip-layouts-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Blush Studio brand accents */
input[type="range"] {
  accent-color: var(--brand);
}

.step-num {
  background: var(--brand-soft);
  color: var(--brand-hover);
  border: 1px solid var(--brand-border);
}

.adv-icon {
  background: var(--brand-soft);
  color: var(--brand-hover);
}

.section-link:hover {
  color: var(--brand-hover);
}

.rental-notice-card {
  max-width: 780px;
  margin: 0 auto;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  text-align: center;
}

.rental-notice-card h2 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 1.32rem;
  font-weight: 700;
}

.rental-notice-card p {
  margin: 0;
  color: var(--ink-muted);
  font-size: 0.94rem;
  line-height: 1.65;
}

.k-frame-mini-strip {
  height: 100%;
  aspect-ratio: 1 / 2.6;
  border-radius: 6px;
  padding: 6px 6px 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  box-shadow: 0 6px 18px rgba(37, 37, 37, 0.12);
}

.k-frame-mini-strip img {
  flex: 1;
  width: 100%;
  min-height: 0;
  object-fit: cover;
  border-radius: 2px;
}

.k-frame-card h3 {
  margin: 0 0 4px;
  font-size: 1rem;
  font-weight: 700;
}

.k-frame-card p {
  margin: 0;
  font-size: 0.84rem;
  color: var(--ink-muted);
  line-height: 1.5;
}

.pose-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.pose-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px 24px;
}

.pose-card h3 {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
}

.pose-card ol {
  margin: 0;
  padding-left: 20px;
  color: var(--ink-muted);
  font-size: 0.9rem;
  line-height: 1.85;
}

.pose-tip-bar {
  margin-top: 16px;
  background: var(--card);
  border-radius: 14px;
  padding: 12px 18px;
  font-size: 0.86rem;
  color: var(--ink-muted);
  font-weight: 500;
}

.k-filters-4-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.k-filter-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 12px;
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.k-filter-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.k-filter-card img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 10px;
}

.k-filter-card h3 {
  margin: 0 0 4px;
  font-size: 0.94rem;
  font-weight: 700;
}

.k-filter-card p {
  margin: 0;
  font-size: 0.8rem;
  color: var(--ink-muted);
  line-height: 1.45;
}

.narrow-reading-box {
  max-width: 780px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 32px 36px;
}

.narrow-reading-box h2 {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 700;
}

.narrow-reading-box p {
  margin: 0 0 14px;
  font-size: 0.94rem;
  color: var(--ink-muted);
  line-height: 1.72;
}

.narrow-reading-box p:last-child {
  margin-bottom: 0;
}

.related-links-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.related-link-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-decoration: none;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px;
  transition: border-color 0.15s ease, transform 0.14s ease;
}

.related-link-card:hover {
  border-color: var(--brand-border);
  background: var(--brand-soft);
  transform: translateY(-2px);
}

.related-link-card:hover strong {
  color: var(--brand-hover);
}

.related-link-card strong {
  font-size: 0.94rem;
  font-weight: 700;
}

.related-link-card span {
  font-size: 0.8rem;
  color: var(--ink-muted);
  line-height: 1.45;
}

@media (max-width: 900px) {
  .k-frames-grid,
  .pose-cards-grid {
    grid-template-columns: 1fr;
  }

  .k-filters-4-grid,
  .related-links-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.k-frame-mini-polaroid {
  background: #ffffff;
  padding: 8px 8px 22px;
  border-radius: 5px;
  box-shadow: 0 6px 18px rgba(37, 37, 37, 0.12);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.k-frame-mini-polaroid img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  border-radius: 2px;
}

.p-classic { aspect-ratio: 88 / 107; }
.p-mini { aspect-ratio: 54 / 86; }
.p-wide { aspect-ratio: 108 / 86; }

.p-ideas-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.p-idea-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px 22px;
}

.p-idea-card h3 {
  margin: 0 0 6px;
  font-size: 0.96rem;
  font-weight: 700;
}

.p-idea-card p {
  margin: 0;
  font-size: 0.84rem;
  color: var(--ink-muted);
  line-height: 1.55;
}

.p-filters-6-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

@media (max-width: 900px) {
  .p-ideas-grid,
  .p-filters-6-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .p-ideas-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .dispenser-paper {
    animation: none !important;
  }
  html {
    scroll-behavior: auto;
  }
}

/* How It Works Band */
.how-band {
  background: var(--card);
  border-radius: var(--radius-xl);
  padding: 32px 36px;
  display: grid;
  grid-template-columns: minmax(190px, 0.85fr) repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: center;
}

.how-band h2 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.how-band > div:first-child p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--ink-muted);
}

.how-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
}

.how-step-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent-pink);
  display: flex;
  align-items: center;
  justify-content: center;
}

.how-step-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--ink);
}

.how-step strong {
  font-size: 0.92rem;
  font-weight: 700;
}

.how-step p {
  margin: 0;
  font-size: 0.8rem;
  color: var(--ink-muted);
  max-width: 24ch;
}

/* 4-Column Highlights */
.highlights-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  padding: 32px 8px;
}

.highlight-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.highlight-item svg {
  width: 22px;
  height: 22px;
  stroke: var(--ink);
  flex-shrink: 0;
  margin-top: 2px;
}

.highlight-item strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
}

.highlight-item span {
  display: block;
  font-size: 0.8rem;
  color: var(--ink-muted);
  margin-top: 2px;
}

/* Bottom CTA Banner (Clean Minimalist Centered Studio Card) */
.cta-banner {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 52px 28px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.cta-center {
  max-width: 560px;
  margin: 0 auto;
}

.cta-center h2 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 2.8vw, 2.3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.cta-center p {
  margin: 0 0 24px;
  font-size: 0.96rem;
  color: var(--ink-muted);
  line-height: 1.6;
}

.cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.cta-trust {
  margin: 18px 0 0 !important;
  font-size: 0.8rem !important;
  font-weight: 600;
  color: var(--ink-subtle) !important;
}

.hero-copy .hero-tagline {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--ink-muted);
  line-height: 1.3;
}

.hero-meta-line {
  margin: 14px 0 0;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink-muted);
}

/* V4.0 Alternating Left-Right Feature Sections (45:55 / 55:45) */
.split-features-section {
  padding-block: 44px;
  display: flex;
  flex-direction: column;
  gap: 72px;
}

.split-feature {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: 52px;
  align-items: center;
}

.split-feature.reverse {
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
}

.split-feature.reverse .split-copy {
  order: 2;
}

.split-feature.reverse .split-media {
  order: 1;
}

.split-copy h2 {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 2.4vw, 2.05rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.18;
}

.split-copy p {
  margin: 0 0 14px;
  font-size: 0.96rem;
  color: var(--ink-muted);
  line-height: 1.7;
  max-width: 52ch;
}

.split-copy ul {
  margin: 0 0 22px;
  padding-left: 20px;
  color: var(--ink-muted);
  font-size: 0.92rem;
  line-height: 1.75;
}

.split-copy ul strong {
  color: var(--ink);
}

.split-media {
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}

.split-media img {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 900px) {
  .split-features-section {
    gap: 48px;
  }

  .split-feature,
  .split-feature.reverse {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .split-feature.reverse .split-copy,
  .split-feature.reverse .split-media {
    order: initial;
  }
}

/* Editorial Content Blocks (from 4 copywriting docs) */
.editorial-section {
  padding-block: 28px;
}

.editorial-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.editorial-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px 28px;
}

.editorial-card.soft {
  background: var(--card);
  border-color: transparent;
}

.editorial-card h2 {
  margin: 0 0 10px;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.editorial-card p {
  margin: 0 0 12px;
  font-size: 0.92rem;
  color: var(--ink-muted);
  line-height: 1.65;
  max-width: 66ch;
}

.editorial-card p:last-child {
  margin-bottom: 0;
}

.editorial-list {
  margin: 10px 0 0;
  padding-left: 20px;
  color: var(--ink-muted);
  font-size: 0.9rem;
  line-height: 1.7;
}

.editorial-list strong {
  color: var(--ink);
}

@media (max-width: 860px) {
  .editorial-grid {
    grid-template-columns: 1fr;
  }
}

/* FAQ */
.faq-section {
  padding-block: 36px 20px;
}

.faq-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 26px 28px;
}

.faq-card h2 {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.faq-card details {
  border-top: 1px solid var(--border);
  padding: 13px 0;
}

.faq-card details:first-of-type {
  border-top: none;
  padding-top: 4px;
}

.faq-card summary {
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
}

.faq-card p {
  margin: 8px 0 0;
  font-size: 0.88rem;
  color: var(--ink-muted);
  line-height: 1.6;
}

/* Footer */
.site-footer {
  margin-top: 40px;
  border-top: 1px solid var(--border);
  padding: 28px 0 40px;
  font-size: 0.84rem;
  color: var(--ink-muted);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-links a {
  text-decoration: none;
  color: var(--ink-muted);
  font-weight: 600;
}

.footer-links a:hover {
  color: var(--ink);
}

/* Responsive Breakpoints (Tablet & Mobile / iOS Safari) */
@media (max-width: 1140px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  }

  .hero-strip-showcase {
    display: none;
  }

  .editor-workspace {
    grid-template-columns: 64px 220px minmax(0, 1fr);
  }

  .editor-inspector {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: start;
    gap: 18px;
  }

  .templates-grid,
  .styles-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-strip-showcase {
    display: none;
  }

  .how-band {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 24px 20px;
  }

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

  .cta-banner {
    grid-template-columns: 1fr;
  }

  .cta-side-img {
    display: none;
  }

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

  .editor-rail {
    flex-direction: row;
    justify-content: space-around;
  }

  .editor-drawer {
    min-height: auto;
  }

  .editor-inspector {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .container {
    padding: 0 16px;
  }

  .top-nav {
    display: none;
  }

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

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