:root {
  --ink: #33413f;
  --muted: #697674;
  --line: #dce8e4;
  --paper: #ffffff;
  --mint: #77aaa1;
  --mint-dark: #527f77;
  --mint-pale: #eaf5f2;
  --sky: #edf6fa;
  --peach: #fff2e7;
  --yellow: #fff8dc;
  --lilac: #f2eef8;
  --danger: #b85757;
  --shadow: 0 18px 48px rgba(52, 76, 71, .10);
}

html { scroll-behavior: smooth; }
body {
  color: var(--ink);
  background: #fff;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  letter-spacing: 0;
}
button, input, textarea, select { font: inherit; letter-spacing: 0; }
button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible, summary:focus-visible {
  outline: 3px solid rgba(86, 151, 169, .28);
  outline-offset: 2px;
}

/* Navigation */
.navbar {
  height: 68px;
  padding: 0 max(28px, calc((100vw - 1240px) / 2));
  border-bottom: 1px solid rgba(220, 232, 228, .9);
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(14px);
}
.nav-logo { display: flex; align-items: center; gap: 11px; color: var(--mint-dark); }
.nav-logo-ic { width: 31px; height: 31px; color: var(--mint); }
.nav-brand { display: grid; gap: 1px; color: var(--ink); }
.nav-brand strong { font-size: 15px; line-height: 1.2; }
.nav-brand small { color: var(--muted); font-size: 10px; font-weight: 500; }
.nav-right { gap: 4px; }
.nav-link {
  min-height: 38px;
  padding: 0 12px;
  border: 0;
  border-radius: 6px;
  color: #53615f;
  background: transparent;
  font-size: 12px;
}
.nav-link:hover { color: var(--ink); background: var(--mint-pale); }
.nav-signup {
  min-height: 40px;
  margin-left: 8px;
  padding: 0 18px;
  border: 1px solid #78a9a1;
  border-radius: 8px;
  background: var(--mint);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  box-shadow: 0 7px 18px rgba(82, 127, 119, .18);
}
.nav-signup:hover { background: var(--mint-dark); }

/* Hero */
.intro-banner {
  padding: 0 28px 44px;
  overflow: hidden;
  background: #f4faf8;
  border-bottom: 1px solid var(--line);
}
.intro-inner {
  max-width: 1240px;
  min-height: 540px;
  margin: 0 auto;
  padding: 64px 0 42px;
  display: grid;
  grid-template-columns: minmax(420px, .92fr) minmax(470px, 1.08fr);
  gap: 70px;
  align-items: center;
}
.intro-eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 18px;
  color: var(--mint-dark);
  font-size: 11px;
  font-weight: 900;
}
.intro-eyebrow span { width: 30px; height: 2px; background: #d3ad5a; }
.intro-text h1 {
  max-width: 620px;
  margin: 0;
  color: var(--ink);
  font-size: 46px;
  line-height: 1.34;
  font-weight: 900;
  letter-spacing: 0;
}
.intro-text h1 .hl { color: var(--mint); }
.intro-text p {
  max-width: 550px;
  margin: 22px 0 26px;
  color: #566361;
  font-size: 15px;
  line-height: 1.95;
}
.intro-cta-row { display: flex; flex-wrap: wrap; gap: 11px; margin: 0 0 18px; }
.intro-cta, .intro-cta2 {
  min-height: 48px;
  padding: 0 20px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
}
.intro-cta {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  border: 1px solid var(--mint);
  color: #fff;
  background: var(--mint);
  box-shadow: 0 10px 22px rgba(82, 127, 119, .22);
}
.intro-cta:hover { background: var(--mint-dark); transform: translateY(-1px); }
.intro-cta .arw {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .18);
  font-size: 17px;
}
.intro-cta2 { border: 1px solid #9bbdb7; color: var(--mint-dark); background: #fff; }
.intro-cta2:hover { background: var(--mint-pale); }
.intro-note { display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--muted); font-size: 11px; }
.intro-note span { position: relative; padding-left: 15px; }
.intro-note span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--mint);
}

.intro-illus { position: relative; min-height: 380px; }
.intro-image-frame {
  position: absolute;
  inset: 20px 26px 20px 42px;
  overflow: hidden;
  border: 1px solid #d9e6e2;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 24px 58px rgba(52, 76, 71, .15);
}
.intro-image-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 0 12px rgba(255, 255, 255, .35);
  pointer-events: none;
}
.intro-image-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.intro-bubble {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 42px;
  padding: 7px 13px 7px 8px;
  border: 1px solid #dbe8e4;
  border-radius: 8px;
  background: rgba(255, 255, 255, .96);
  color: #4c5b58;
  box-shadow: 0 12px 28px rgba(52, 76, 71, .13);
  font-size: 11px;
  font-weight: 800;
  animation: floatTag 6s ease-in-out infinite;
}
.intro-bubble b {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 7px;
  color: var(--mint-dark);
  background: var(--mint-pale);
  font-size: 10px;
}
.ib1 { right: 0; top: 0; }
.ib2 { left: 0; top: 148px; animation-delay: .7s; }
.ib3 { right: 4px; bottom: 7px; animation-delay: 1.4s; }
.intro-image-note {
  position: absolute;
  z-index: 3;
  left: 58px;
  bottom: 30px;
  padding: 6px 9px;
  border-radius: 5px;
  color: #65726f;
  background: rgba(255, 255, 255, .88);
  font-size: 9px;
}
@keyframes floatTag { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

.intro-fcards {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}
.intro-fcard {
  min-height: 126px;
  padding: 23px 20px;
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 13px;
  border-right: 1px solid #e7efec;
}
.intro-fcard:last-child { border-right: 0; }
.intro-fcard .ifi {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin: 0;
  border-radius: 8px;
  color: var(--mint-dark);
  background: var(--mint-pale);
  font-size: 11px;
  font-weight: 900;
}
.intro-fcard:nth-child(2) .ifi { color: #817243; background: var(--yellow); }
.intro-fcard:nth-child(3) .ifi { color: #5d7584; background: var(--sky); }
.intro-fcard:nth-child(4) .ifi { color: #8b6551; background: var(--peach); }
.intro-fcard h3 { margin: 1px 0 6px; color: var(--ink); font-size: 13px; line-height: 1.4; }
.intro-fcard p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.7; }

/* Builder */
.hero.builder3 {
  width: 100%;
  max-width: none;
  min-height: 0;
  margin: 0;
  padding: 76px max(28px, calc((100vw - 1240px) / 2)) 92px;
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
  background: #fff;
}
.build-nav {
  position: sticky;
  top: 86px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfdfc;
  box-shadow: none;
}
.build-nav-title {
  margin: 0 0 20px;
  padding: 0 0 17px;
  border: 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-size: 16px;
  font-weight: 900;
}
.build-nav-title span { display: block; margin-bottom: 5px; color: var(--mint); font-size: 9px; font-weight: 900; }
.build-steps { position: relative; display: grid; gap: 2px; }
.build-steps::before { content: ""; position: absolute; left: 18px; top: 30px; bottom: 30px; width: 1px; background: #dce8e4; }
.bstep {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 12px;
  align-items: center;
  min-height: 65px;
  margin: 0;
  padding: 8px;
  border-radius: 7px;
}
.bstep.active { background: var(--mint-pale); }
.bstep-n {
  width: 36px;
  height: 36px;
  border: 5px solid #fbfdfc;
  border-radius: 50%;
  color: #74817f;
  background: #e8eeec;
  font-size: 11px;
}
.bstep.active .bstep-n { color: #fff; background: var(--mint); }
.bstep-t strong { color: var(--ink); font-size: 12px; }
.bstep-t em { margin-top: 3px; color: var(--muted); font-size: 10px; }
.build-side-note {
  margin-top: 20px;
  padding: 16px;
  border: 1px solid #efdcc9;
  border-radius: 8px;
  background: var(--peach);
}
.build-side-note > strong { display: block; margin-bottom: 11px; color: #684f42; font-size: 12px; }
.build-side-note dl { display: grid; gap: 7px; margin: 0; }
.build-side-note dl div { display: grid; grid-template-columns: 52px 1fr; gap: 8px; font-size: 10px; }
.build-side-note dt { color: #927462; font-weight: 800; }
.build-side-note dd { margin: 0; color: #5e514a; }
.build-side-note p { margin: 12px 0 0; padding-top: 11px; border-top: 1px solid #efdcc9; color: #7b6659; font-size: 10px; line-height: 1.65; }

.hero.builder3 .input-card {
  width: 100%;
  max-width: 900px;
  margin: 0;
  padding: 0 34px 34px;
  border: 1px solid var(--line) !important;
  border-radius: 8px !important;
  background: #fff !important;
  box-shadow: var(--shadow) !important;
}
.form-heading {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 96px;
  margin: 0 -34px 24px;
  padding: 22px 34px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: #fbfdfc;
}
.form-heading > div { display: grid; gap: 5px; }
.form-heading small { color: var(--mint); font-size: 9px; font-weight: 900; }
.form-heading strong { color: var(--ink); font-size: 20px; }
.form-heading > span {
  padding: 6px 9px;
  border: 1px solid #cfe1dc;
  border-radius: 6px;
  color: var(--mint-dark);
  background: var(--mint-pale);
  font-size: 10px;
}
.input-mode-switch {
  position: sticky;
  top: 76px;
  z-index: 12;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px;
  margin: 0 0 10px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(244, 249, 247, .97);
  backdrop-filter: blur(10px);
}
.mode-btn {
  min-height: 54px;
  padding: 8px 12px;
  border: 0;
  border-radius: 6px;
  color: #697674;
  background: transparent;
}
.mode-btn strong { margin-bottom: 3px; font-size: 13px; }
.mode-btn span { font-size: 10px; }
.mode-btn.active { color: var(--ink); background: #fff; box-shadow: 0 3px 12px rgba(52, 76, 71, .09); }
.mode-guidance {
  margin: 0 0 22px;
  padding: 9px 11px;
  border-left: 3px solid #8eb9b1;
  color: #66736f;
  background: #f7fbfa;
  font-size: 11px;
}
.ifield { gap: 7px; margin-bottom: 18px; }
.ilabel { color: #45524f; font-size: 12px; font-weight: 800; }
.ilabel em { color: var(--danger); }
.iinput, .itextarea, .isub {
  border: 1px solid #d6e1de;
  border-radius: 7px;
  color: var(--ink);
  background: #fff;
}
.iinput, .itextarea { min-height: 46px; padding: 11px 13px; font-size: 13px; }
.itextarea { line-height: 1.7; }
.iinput::placeholder, .itextarea::placeholder { color: #a0aaa8; }
.iinput:focus, .itextarea:focus, .isub:focus { border-color: var(--mint); box-shadow: 0 0 0 3px rgba(119, 170, 161, .16); }
.field-help, .char-count { color: #7b8784; font-size: 10px; }
.input-example {
  margin-top: 5px;
  padding: 11px 12px;
  border: 1px solid #e7e0ca;
  border-radius: 7px;
  color: #766d50;
  background: var(--yellow);
  font-size: 10px;
  line-height: 1.65;
}
.cat-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 20px; }
.cat-btn {
  min-height: 76px;
  padding: 10px 7px;
  border: 1px solid #dce6e3;
  border-radius: 7px;
  color: #5d6a67;
  background: #fff;
  font-size: 11px;
}
.cat-btn:hover { border-color: #94bcb5; background: #f8fbfa; transform: translateY(-1px); }
.cat-btn.active { border-color: #88b2aa; color: var(--mint-dark); background: var(--mint-pale); }
.cat-btn .cat-icon { font-size: 20px; }
.iradio-row { gap: 8px 16px; }
.iradio, .icheck { min-height: 30px; color: #54615e; font-size: 11px; }
.iradio input, .icheck input { accent-color: var(--mint-dark); }
.icheck-grid { gap: 6px 12px; }
.isub { padding: 5px 7px; }
.company-field { padding-top: 3px; }
.adv-toggle { display: none !important; }
#advWrap { gap: 14px; padding: 16px; border: 1px solid var(--line); border-radius: 7px; background: #fbfdfc; }
.adv-section-title { color: var(--mint-dark); font-size: 10px; }
.style-select { min-height: 30px; border-color: #d6e1de; }
.theme-picker-wrap { margin: 24px 0 8px; }
.theme-picker-head { margin-bottom: 11px; }
.theme-picker-label { color: #45524f; font-size: 12px; font-weight: 800; }
.theme-scroll-btn {
  width: 32px;
  height: 32px;
  border: 1px solid #d6e1de;
  border-radius: 6px;
  color: var(--mint-dark);
  background: #fff;
}
.theme-card-wrap { position: relative; width: 84px; flex-basis: 84px; }
.theme-card-wrap .theme-card { width: 84px; border: 1px solid #dce6e3; border-radius: 7px; }
.theme-card-wrap .theme-card.active { border-color: var(--mint-dark); box-shadow: 0 0 0 2px rgba(82, 127, 119, .14); }
.theme-card-name { padding: 6px 3px; color: #66736f; font-size: 9px; }
.theme-preview-btn {
  position: absolute;
  top: 5px;
  right: 5px;
  z-index: 2;
  width: 29px;
  height: 29px;
  padding: 0;
  display: grid;
  place-items: center;
  border: 1px solid #b8d1cb;
  border-radius: 6px;
  color: var(--mint-dark);
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 2px 8px rgba(52, 76, 71, .12);
  cursor: pointer;
  transition: color .15s ease, background .15s ease, border-color .15s ease, transform .15s ease;
}
.zoom-icon {
  position: relative;
  display: block;
  width: 13px;
  height: 13px;
  border: 2px solid currentColor;
  border-radius: 50%;
}
.zoom-icon::before,
.zoom-icon::after {
  content: "";
  position: absolute;
  background: currentColor;
}
.zoom-icon::before { left: 3px; right: 3px; top: 4px; height: 1.5px; }
.zoom-icon::after { top: 3px; bottom: 3px; left: 4px; width: 1.5px; }
.theme-preview-btn .zoom-icon { transform: translate(-1px, -1px); }
.theme-preview-btn .zoom-icon::after { box-shadow: 7px 8px 0 0 currentColor; }
.theme-preview-btn:hover { border-color: var(--mint-dark); color: #fff; background: var(--mint-dark); transform: translateY(-1px); }
.theme-preview-btn:focus-visible { outline: 3px solid rgba(82, 127, 119, .24); outline-offset: 2px; }
.confidential-note {
  margin-top: 18px;
  padding: 13px 14px;
  border: 1px solid #efd6c0;
  border-radius: 7px;
  color: #765a49;
  background: var(--peach);
}
.confidential-note strong { font-size: 11px; }
.confidential-note span { font-size: 10px; line-height: 1.65; }
.consent-row {
  margin-top: 13px;
  padding: 12px 13px;
  border: 1px solid var(--line);
  border-radius: 7px;
  color: #5a6764;
  background: #f8fbfa;
  font-size: 10px;
}
.generate-caution {
  margin-top: 10px;
  padding: 12px 13px;
  border: 1px solid #e6e1d2;
  border-radius: 7px;
  color: #6f6858;
  background: #fcfaf3;
  font-size: 10px;
  line-height: 1.7;
}
.gen-btn {
  min-height: 54px;
  margin-top: 18px;
  border: 1px solid var(--mint-dark);
  border-radius: 8px;
  color: #fff;
  background: var(--mint);
  box-shadow: 0 10px 22px rgba(82, 127, 119, .20);
  font-size: 14px;
  font-weight: 900;
}
.gen-btn::before { display: none; }
.gen-btn:not(:disabled):hover { background: var(--mint-dark); box-shadow: 0 12px 26px rgba(82, 127, 119, .24); }
.gen-note { margin-top: 9px; color: #7d8886; font-size: 10px; }
.status-inline { justify-content: center; }
#stext { font-size: 10px; }

/* Generated preview and purchase */
#previewSection { padding: 54px 0 68px; border-top: 1px solid var(--line); background: #f4f8f7; }
.preview-header { max-width: 1240px; margin-bottom: 26px; padding: 0 28px; }
.preview-h2 { color: var(--ink); font-size: 23px; }
.preview-sub { color: var(--muted); font-size: 11px; }
#pdfBtn, #pptxBtn, #clearBtn { min-height: 40px; border-radius: 7px; }
#pdfBtn { background: var(--mint); }
#pptxBtn { background: #637f92; }
.modal, .confirm-dialog, .theme-modal { border-radius: 8px; }
.modal-buy-btn, .confirm-submit { border-radius: 7px; background: var(--mint); }

.flow-demo-banner { max-width: 1240px; margin: 14px auto 0; padding: 10px 14px; display: flex; align-items: center; justify-content: center; gap: 12px; border: 1px solid #e7d397; border-radius: 6px; color: #6f602d; background: #fff9df; font-size: 10px; }
.flow-demo-banner[hidden] { display: none; }
.flow-demo-banner strong { font-size: 10px; }
.flow-demo-banner span { color: #827546; }
@media (max-width: 640px) { .flow-demo-banner { margin: 10px 12px 0; align-items: flex-start; flex-direction: column; gap: 3px; } }
.dev-demo-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.dev-demo-actions button {
  min-height: 30px; padding: 0 12px; border: 1px solid #d8c169; border-radius: 5px;
  color: #6f602d; background: #fff; font-size: 10px; font-weight: 800; cursor: pointer;
}
.dev-demo-actions button:hover { color: #fff; background: #b99b2f; }
/* Trial outline */
.trial-result { width: min(1040px, calc(100% - 32px)); overflow: hidden; border: 1px solid var(--line); border-radius: 8px; color: var(--ink); background: #fff; box-shadow: 0 18px 42px rgba(52, 76, 71, .08); }
.trial-cover { min-height: 156px; padding: 30px 34px; display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; border-bottom: 1px solid var(--line); background: var(--mint-pale); }
.trial-cover > div { min-width: 0; }
.trial-cover span, .trial-label { display: block; margin-bottom: 8px; color: var(--mint-dark); font-size: 9px; font-weight: 900; }
.trial-cover h3 { margin: 0; font-size: 27px; line-height: 1.35; overflow-wrap: anywhere; }
.trial-cover p { margin: 5px 0 0; color: var(--muted); font-size: 11px; }
.trial-cover > strong { flex: 0 0 auto; color: var(--mint-dark); font-size: 11px; }
.trial-summary { margin: 0; padding: 22px 34px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 12px; line-height: 1.8; }
.trial-columns { display: grid; grid-template-columns: 1.15fr .85fr; }
.trial-toc { padding: 28px 34px 32px; border-right: 1px solid var(--line); }
.trial-toc ol { margin: 0; padding: 0; list-style: none; counter-reset: trial-toc; }
.trial-toc li { min-height: 48px; padding: 10px 0; display: grid; grid-template-columns: 28px minmax(0, .8fr) minmax(0, 1.2fr); gap: 10px; align-items: center; border-bottom: 1px solid var(--line); counter-increment: trial-toc; }
.trial-toc li::before { content: counter(trial-toc, decimal-leading-zero); color: var(--mint-dark); font-size: 9px; font-weight: 900; }
.trial-toc b { font-size: 11px; }
.trial-toc li span { color: var(--muted); font-size: 10px; line-height: 1.55; }
.trial-side { min-width: 0; }
.trial-sample, .trial-input-fit { padding: 28px 30px; }
.trial-input-fit { border-top: 1px solid var(--line); background: #fbfdfc; }
.trial-sample h4 { margin: 0 0 14px; font-size: 14px; }
.trial-sample ul, .trial-input-fit ul { margin: 0; padding-left: 18px; }
.trial-sample li, .trial-input-fit li { margin-bottom: 9px; color: var(--muted); font-size: 10px; line-height: 1.7; }
.trial-footer { padding: 17px 34px; display: flex; gap: 18px; align-items: center; border-top: 1px solid #ead9ab; background: #fffaf0; }
.trial-footer strong { flex: 0 0 auto; color: #786329; font-size: 10px; }
.trial-footer span { color: #746b54; font-size: 10px; line-height: 1.65; }

@media (max-width: 720px) {
  .trial-result { width: calc(100% - 20px); }
  .trial-cover { min-height: 132px; padding: 24px 20px; align-items: flex-start; flex-direction: column; gap: 14px; }
  .trial-cover h3 { font-size: 22px; }
  .trial-summary { padding: 18px 20px; }
  .trial-columns { grid-template-columns: 1fr; }
  .trial-toc { padding: 24px 20px; border-right: 0; border-bottom: 1px solid var(--line); }
  .trial-toc li { grid-template-columns: 24px minmax(0, 1fr); }
  .trial-toc li span { grid-column: 2; }
  .trial-sample, .trial-input-fit { padding: 24px 20px; }
  .trial-footer { padding: 16px 20px; align-items: flex-start; flex-direction: column; gap: 5px; }
}
/* Large theme preview */
.theme-modal-bg { padding: 16px; background: rgba(35, 52, 49, .72); }
.theme-modal {
  width: min(1240px, calc(100vw - 32px));
  max-width: none;
  max-height: calc(100dvh - 32px);
  padding: 18px 20px 14px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #cfdfda;
  border-radius: 8px;
  color: var(--ink);
  background: #f8fbfa;
  box-shadow: 0 28px 70px rgba(29, 48, 44, .25);
}
.theme-modal-hd { flex: 0 0 auto; margin-bottom: 10px; }
.theme-modal-name { color: var(--ink); font-size: 17px; }
.theme-modal-sub { color: var(--muted); font-size: 10px; }
.theme-modal-close { width: 34px; height: 34px; padding: 0; border: 1px solid #cbdad6; border-radius: 6px; color: var(--mint-dark); background: #fff; font-size: 19px; }
.theme-modal-close:hover { border-color: var(--mint-dark); color: #fff; background: var(--mint-dark); }
.theme-modal-disclaimer { flex: 0 0 auto; margin-bottom: 11px; padding: 9px 11px; border-left: 3px solid #d2ad5d; color: #726442; background: #fffaf0; font-size: 10px; line-height: 1.6; }
.theme-modal-pages { min-height: 0; flex: 1 1 auto; gap: 16px; overflow-x: auto; overflow-y: hidden; align-items: flex-start; padding: 4px 3px 12px; scroll-snap-type: x mandatory; scrollbar-color: #9ebbb5 #e5efec; }
.theme-modal-pages > div { flex: 0 0 auto; scroll-snap-align: start; }
.theme-page-outer { box-shadow: 0 10px 28px rgba(45, 66, 61, .17); }
.theme-page-lbl { margin-top: 7px; color: var(--muted); font-size: 9px; }

@media (max-width: 699px) {
  .theme-modal-bg { padding: 6px; align-items: stretch; }
  .theme-modal { width: calc(100vw - 12px); height: calc(100dvh - 12px); max-height: calc(100dvh - 12px); padding: 14px 12px 10px; }
  .theme-modal-hd { margin-bottom: 8px; }
  .theme-modal-name { font-size: 15px; }
  .theme-modal-sub { max-width: 260px; }
  .theme-modal-disclaimer { margin-bottom: 8px; padding: 8px 9px; font-size: 9px; }
  .theme-modal-pages {
    width: 100%;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    overflow-x: hidden;
    overflow-y: auto;
    padding: 4px 0 14px;
    scroll-snap-type: y proximity;
    overscroll-behavior: contain;
  }
  .theme-modal-pages > div { scroll-snap-align: start; }
}
/* Sample library */
.sample-library { padding: 76px 28px 84px; border-top: 1px solid var(--line); background: #fff; }
.sample-library-inner { max-width: 1240px; margin: 0 auto; }
.sample-library-head { margin-bottom: 28px; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.sample-library-head p { margin: 0 0 8px; color: var(--mint-dark); font-size: 10px; font-weight: 900; }
.sample-library-head h2 { margin: 0; color: var(--ink); font-size: 30px; line-height: 1.35; }
.sample-library-head > span { color: var(--muted); font-size: 10px; }
.sample-library-head small { display: block; margin-top: 8px; color: var(--muted); font-size: 11px; font-weight: 400; }
.sample-card-purpose { display: block; margin-bottom: 5px; color: var(--ink); font-size: 11px; }
.m-overview-photo { overflow: hidden; border: 0; background: #f4f7f5; }
.m-overview-photo img { width: 100%; height: 100%; display: block; object-fit: cover; }
.sample-library-grid { display: grid; grid-template-columns: 1.3fr repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sample-card { min-width: 0; padding: 24px 22px 22px; display: flex; flex-direction: column; border-right: 1px solid var(--line); background: #fff; }
.sample-card:last-child { border-right: 0; }
.sample-card-featured { background: var(--mint-pale); }
.sample-card-meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.sample-card-meta span { color: var(--mint-dark); font-size: 9px; font-weight: 900; }
.sample-card-meta em { color: #899592; font-size: 8px; font-style: normal; text-transform: uppercase; }
.sample-card h3 { margin: 18px 0 9px; color: var(--ink); font-size: 15px; line-height: 1.5; overflow-wrap: anywhere; }
.sample-card p { margin: 0 0 22px; color: var(--muted); font-size: 10px; line-height: 1.75; }
.sample-card-actions { margin-top: auto; display: flex; flex-direction: column; gap: 6px; }
.sample-card button { min-height: 38px; padding: 0 12px; border: 1px solid #a9c6c0; border-radius: 6px; color: var(--mint-dark); background: #fff; font-size: 10px; font-weight: 800; cursor: pointer; }
.sample-card button:hover { border-color: var(--mint-dark); color: #fff; background: var(--mint-dark); }
.sample-card button.sample-card-pptx { border-style: dashed; color: var(--muted); font-weight: 700; }
.sample-card button.sample-card-pptx:hover { border-color: var(--mint-dark); color: var(--mint-dark); background: #fff; }
.sample-card button:disabled { opacity: .6; cursor: default; }

.contact-form { margin-top: 16px; max-width: 480px; display: flex; flex-direction: column; gap: 14px; }
.contact-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.cf-row { display: flex; flex-direction: column; gap: 6px; }
.cf-row label { font-size: 11px; font-weight: 700; color: #334155; }
.cf-req { color: #c2410c; font-weight: 700; font-size: 10px; }
.cf-row input, .cf-row select, .cf-row textarea {
  border: 1px solid #d8e2de; border-radius: 6px; padding: 9px 11px;
  font-size: 12px; font-family: inherit; color: #1f2937; background: #fff;
}
.cf-row input:focus, .cf-row select:focus, .cf-row textarea:focus { outline: none; border-color: var(--mint-dark); }
.cf-row textarea { resize: vertical; line-height: 1.6; }
#cf-submit {
  align-self: flex-start; min-height: 40px; padding: 0 22px; border: none; border-radius: 6px;
  color: #fff; background: var(--mint-dark); font-size: 12px; font-weight: 800; cursor: pointer;
}
#cf-submit:hover { opacity: .9; }
#cf-submit:disabled { opacity: .6; cursor: default; }
.cf-status { font-size: 11px; color: var(--muted); min-height: 1em; }
.cf-status.is-error { color: #c2410c; }
.cf-status.is-ok { color: var(--mint-dark); }

@media (max-width: 900px) {
  .sample-library-grid { grid-template-columns: 1fr 1fr; }
  .sample-card { border-bottom: 1px solid var(--line); }
  .sample-card:nth-child(2) { border-right: 0; }
  .sample-card:nth-child(3), .sample-card:nth-child(4) { border-bottom: 0; }
}
@media (max-width: 600px) {
  .sample-library { padding: 56px 16px 64px; }
  .sample-library-head { align-items: flex-start; flex-direction: column; gap: 8px; }
  .sample-library-head h2 { font-size: 25px; }
  .sample-library-grid { grid-template-columns: 1fr; }
  .sample-card, .sample-card:nth-child(2), .sample-card:nth-child(3) { border-right: 0; border-bottom: 1px solid var(--line); }
  .sample-card:last-child { border-bottom: 0; }
}
/* Use cases */
.usecase-section { padding: 92px 28px 100px; background: #f5faf8; }
.usecase-inner, .flow-inner, .output-inner, .info-inner { max-width: 1240px; margin: 0 auto; }
.usecase-eyebrow, .flow-eyebrow, .output-eyebrow { margin-bottom: 10px; color: var(--mint-dark); font-size: 11px; font-weight: 900; }
.usecase-h2, .flow-h2, .output-h2 { color: var(--ink); font-size: 34px; line-height: 1.35; letter-spacing: 0; }
.usecase-h2 span { color: var(--mint-dark); }
.usecase-lead, .flow-lead, .output-lead { max-width: 760px; margin-top: 14px; color: var(--muted); font-size: 13px; line-height: 1.85; }
.usecase-grid {
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  border: 0;
  counter-reset: none;
}
.usecase-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 12px;
  align-items: start;
  min-height: 0;
  padding: 0 0 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(52, 76, 71, .06);
}
.usecase-card::before { display: none; }
.usecase-card:hover { transform: translateY(-3px); border-color: #bdd3ce; box-shadow: 0 16px 34px rgba(52, 76, 71, .10); }
.usecase-img { grid-column: 1 / -1; width: 100%; height: 165px; margin: 0; border: 0; object-fit: cover; }
.usecase-title { grid-column: 1; margin: 9px 0 0; padding-left: 18px; color: var(--ink); font-size: 14px; }
.usecase-desc { grid-column: 1 / -1; padding: 0 18px; color: var(--muted); font-size: 11px; line-height: 1.75; }
.usecase-tag {
  grid-column: 2;
  grid-row: 2;
  align-self: center;
  margin: 9px 18px 0 0;
  padding: 5px 7px;
  border-radius: 5px;
  color: #52736d;
  background: var(--mint-pale);
  font-size: 9px;
}
.usecase-card:nth-child(2) .usecase-tag, .usecase-card:nth-child(6) .usecase-tag { color: #855f4a; background: var(--peach); }
.usecase-card:nth-child(3) .usecase-tag { color: #5f7180; background: var(--sky); }
.usecase-card:nth-child(4) .usecase-tag { color: #756b43; background: var(--yellow); }
.usecase-card:nth-child(5) .usecase-tag { color: #6f6481; background: var(--lilac); }

/* Flow and output */
.flow-section { padding: 90px 28px; border-color: var(--line); background: #fff; }
.flow-grid {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}
.flow-card { min-height: 210px; padding: 24px; border: 0; border-right: 1px solid var(--line); background: #fff; }
.flow-card:last-child { border-right: 0; }
.flow-step { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 8px; color: var(--mint-dark); background: var(--mint-pale); }
.flow-card:nth-child(2) .flow-step { color: #817243; background: var(--yellow); }
.flow-card:nth-child(3) .flow-step { color: #5d7584; background: var(--sky); }
.flow-card:nth-child(4) .flow-step { color: #8b6551; background: var(--peach); }
.flow-title { margin-top: 20px; color: var(--ink); font-size: 14px; }
.flow-text { color: var(--muted); font-size: 11px; line-height: 1.75; }
.price-note { margin-top: 18px; }
.price-pill { border-radius: 6px; }

.output-section { padding: 90px 28px 100px; border-color: var(--line); background: #f8faf9; }
.output-grid {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  border: 0;
}
.output-item {
  min-height: 154px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}
.output-num { color: var(--mint); font-size: 10px; }
.output-title { color: var(--ink); font-size: 13px; }
.output-desc { color: var(--muted); font-size: 10px; line-height: 1.7; }
.output-note { border-radius: 7px; }
.info-section { border-color: var(--line); }
.info-block { border-radius: 8px; }
.site-footer { border-color: var(--line); }

/* Motion */
.scroll-reveal { transition: opacity .45s ease, transform .45s ease; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
}

@media (max-width: 1050px) {
  .nav-link:nth-child(1), .nav-link:nth-child(3) { display: none; }
  .intro-inner { grid-template-columns: 1fr 1fr; gap: 34px; }
  .intro-text h1 { font-size: 39px; }
  .intro-fcards { grid-template-columns: 1fr 1fr; }
  .intro-fcard:nth-child(2) { border-right: 0; }
  .intro-fcard:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .hero.builder3 { grid-template-columns: 240px minmax(0, 1fr); }
  .usecase-grid { grid-template-columns: 1fr 1fr; }
  .flow-grid { grid-template-columns: 1fr 1fr; }
  .flow-card:nth-child(2) { border-right: 0; }
  .flow-card:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}

@media (max-width: 760px) {
  .navbar { height: 60px; padding: 0 16px; }
  .nav-brand small, .nav-link { display: none; }
  .nav-signup { min-height: 36px; margin-left: 0; padding: 0 13px; }
  .intro-banner { padding: 0 16px 28px; }
  .intro-inner { min-height: 0; padding: 38px 0 30px; grid-template-columns: 1fr; gap: 30px; }
  .intro-text h1 { font-size: 33px; line-height: 1.38; }
  .intro-text p { font-size: 13px; }
  .intro-cta, .intro-cta2 { width: 100%; justify-content: center; }
  .intro-note { gap: 7px 14px; }
  .intro-illus { min-height: 285px; }
  .intro-image-frame { inset: 18px 20px; }
  .intro-bubble { min-height: 37px; padding: 5px 9px 5px 6px; font-size: 9px; }
  .intro-bubble b { width: 25px; height: 25px; }
  .ib1 { right: 0; }
  .ib2 { left: 0; top: 114px; }
  .ib3 { right: 0; }
  .intro-image-note { left: 30px; bottom: 26px; font-size: 8px; }
  .intro-fcards { grid-template-columns: 1fr; }
  .intro-fcard { min-height: 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .intro-fcard:last-child { border-bottom: 0; }
  .hero.builder3 { padding: 54px 16px 70px; grid-template-columns: 1fr; gap: 16px; }
  .build-nav { position: static; }
  .build-steps { grid-template-columns: repeat(5, 1fr); gap: 4px; }
  .build-steps::before { left: 10%; right: 10%; top: 22px; bottom: auto; width: auto; height: 1px; }
  .bstep { min-height: 76px; padding: 4px; grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .bstep-n { width: 34px; height: 34px; }
  .bstep-t strong { font-size: 9px; }
  .bstep-t em { display: none; }
  .build-side-note { display: none; }
  .hero.builder3 .input-card { max-width: none; padding: 0 18px 24px !important; }
  .form-heading { min-height: 84px; margin: 0 -18px 20px; padding: 18px; }
  .form-heading strong { font-size: 17px; }
  .form-heading > span { display: none; }
  .input-mode-switch { top: 66px; }
  .mode-btn { min-height: 52px; padding: 7px 5px; }
  .mode-btn strong { font-size: 11px; }
  .mode-btn span { font-size: 8px; }
  .cat-grid { grid-template-columns: 1fr 1fr; }
  .icheck-grid { grid-template-columns: 1fr; }
  .usecase-section, .flow-section, .output-section { padding: 66px 16px 72px; }
  .usecase-h2, .flow-h2, .output-h2 { font-size: 27px; }
  .usecase-grid, .flow-grid, .output-grid { grid-template-columns: 1fr; }
  .usecase-img { height: 190px; }
  .flow-card { min-height: 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .flow-card:last-child { border-bottom: 0; }
  .preview-header { align-items: flex-start; flex-direction: column; gap: 16px; padding: 0 16px; }
  .preview-actions { width: 100%; }
}

@media (max-width: 390px) {
  .intro-text h1 { font-size: 29px; }
  .intro-note span { width: 100%; }
  .bstep-t strong { font-size: 8px; }
  .theme-card-wrap { width: 78px; flex-basis: 78px; }
  .theme-card-wrap .theme-card { width: 78px; }
}
/* Interaction clarity: static information stays visually static. */
.intro-image-note {
  left: auto;
  right: 28px;
  bottom: 0;
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: #6c7875;
}
.intro-fcards {
  border-left: 0;
  border-right: 0;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
}
.intro-fcard { background: transparent; }
.intro-fcard .ifi,
.intro-fcard:nth-child(2) .ifi,
.intro-fcard:nth-child(3) .ifi,
.intro-fcard:nth-child(4) .ifi {
  display: block;
  width: auto;
  height: auto;
  padding-top: 2px;
  border-radius: 0;
  color: var(--mint-dark);
  background: transparent;
  font-size: 12px;
}

.hero.builder3 {
  display: block;
  padding-top: 72px;
}
.builder-intro {
  width: 100%;
  max-width: 900px;
  margin: 0 auto 26px;
}
.builder-kicker {
  margin: 0 0 8px;
  color: var(--mint-dark);
  font-size: 10px;
  font-weight: 900;
}
.builder-intro h2 {
  margin: 0;
  color: var(--ink);
  font-size: 30px;
  line-height: 1.35;
}
.builder-intro > p:not(.builder-kicker) {
  max-width: 720px;
  margin: 11px 0 20px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
}
.builder-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 0;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.builder-facts div {
  display: grid;
  grid-template-columns: 62px 1fr;
  gap: 9px;
  padding: 0 18px;
  border-right: 1px solid var(--line);
}
.builder-facts div:first-child { padding-left: 0; }
.builder-facts div:last-child { border-right: 0; }
.builder-facts dt {
  color: #7b8784;
  font-size: 10px;
  font-weight: 800;
}
.builder-facts dd {
  margin: 0;
  color: #475451;
  font-size: 11px;
  font-weight: 700;
}
.hero.builder3 .input-card {
  max-width: 900px;
  margin: 0 auto;
  box-shadow: 0 14px 36px rgba(52, 76, 71, .07) !important;
}

.form-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 24px 0 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}
.form-section-head > div { display: flex; align-items: center; gap: 9px; }
.form-section-head span {
  color: var(--mint-dark);
  font-size: 10px;
  font-weight: 900;
}
.form-section-head strong { color: var(--ink); font-size: 14px; }
.form-section-head p { margin: 0; color: #7a8683; font-size: 10px; }
.form-section-head em { color: var(--danger); font-style: normal; }
.style-section-head { margin-top: 30px; }

.input-mode-switch {
  position: sticky;
  top: 76px;
  gap: 0;
  padding: 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: rgba(255, 255, 255, .98);
  backdrop-filter: blur(10px);
}
.mode-btn {
  min-height: 58px;
  padding: 8px 12px 10px;
  border: 0;
  border-bottom: 3px solid transparent;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  transition: none !important;
}
.mode-btn:hover { color: var(--ink); background: #f8fbfa; }
.mode-btn.active {
  color: var(--mint-dark);
  border-bottom-color: var(--mint-dark);
  background: transparent;
  box-shadow: none;
}
.mode-guidance {
  margin-bottom: 0;
  padding: 10px 0 0;
  border: 0;
  background: transparent;
  transition: none !important;
}
.input-card,
.input-card .cat-fields,
.input-card #advWrap,
.input-card .company-field,
.input-card .input-example {
  animation: none !important;
  transition: none !important;
}

.usecase-card { box-shadow: none; }
.usecase-card:hover {
  transform: none;
  border-color: var(--line);
  box-shadow: none;
}
.usecase-tag,
.usecase-card:nth-child(2) .usecase-tag,
.usecase-card:nth-child(3) .usecase-tag,
.usecase-card:nth-child(4) .usecase-tag,
.usecase-card:nth-child(5) .usecase-tag,
.usecase-card:nth-child(6) .usecase-tag {
  padding: 0;
  border-radius: 0;
  color: var(--mint-dark);
  background: transparent;
  font-weight: 800;
}
.flow-grid { border-left: 0; border-right: 0; border-radius: 0; }
.flow-step,
.flow-card:nth-child(2) .flow-step,
.flow-card:nth-child(3) .flow-step,
.flow-card:nth-child(4) .flow-step {
  display: block;
  width: auto;
  height: auto;
  border-radius: 0;
  color: var(--mint-dark);
  background: transparent;
  font-size: 11px;
  font-weight: 900;
}
.output-grid { gap: 0; border-top: 1px solid var(--line); }
.output-item {
  border: 0;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
}
.output-item:nth-child(3n) { border-right: 0; }

@media (max-width: 760px) {
  .hero.builder3 { padding-top: 50px; }
  .builder-intro { margin-bottom: 18px; }
  .builder-intro h2 { font-size: 25px; }
  .builder-facts { grid-template-columns: 1fr; padding: 0; }
  .builder-facts div,
  .builder-facts div:first-child {
    grid-template-columns: 58px 1fr;
    padding: 10px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .builder-facts div:last-child { border-bottom: 0; }
  .input-mode-switch { top: 66px; }
  .form-section-head { align-items: flex-start; flex-direction: column; gap: 4px; }
  .style-section-head p { line-height: 1.55; }
  .output-item, .output-item:nth-child(3n) { border-right: 0; }
}
.format-difference-note {
  margin: 14px 0;
  padding: 10px 12px;
  border-left: 3px solid #d5a95a;
  color: #665f4f;
  background: #fffcf1;
  font-size: 10px;
  line-height: 1.65;
}
.preview-format-note {
  max-width: 640px;
  margin-top: 6px;
  color: #7a7160;
  font-size: 10px;
  line-height: 1.6;
}