:root {
  color-scheme: light;
  --bg: #f4f8f6;
  --paper: #ffffff;
  --paper-soft: #edf5f2;
  --ink: #14212a;
  --muted: #55646f;
  --subtle: #87949e;
  --line: #d9e5df;
  --line-strong: #b9cac1;
  --accent: #007f78;
  --accent-dark: #005f5b;
  --accent-soft: #dff3ef;
  --navy: #132433;
  --blue: #286f9e;
  --blue-soft: #e2eff7;
  --amber: #9b6100;
  --amber-soft: #fff0c4;
  --rose: #9a4157;
  --rose-soft: #f8e3e8;
  --grid: rgba(24, 47, 57, 0.06);
  --shadow: 0 32px 82px rgba(20, 33, 42, 0.2);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(
      circle at 88% 120px,
      rgba(0, 127, 120, 0.12),
      transparent 310px
    ),
    linear-gradient(var(--grid) 1px, transparent 1px) 0 0 / 28px 28px,
    linear-gradient(90deg, var(--grid) 1px, transparent 1px) 0 0 / 28px 28px,
    linear-gradient(180deg, #fbfdfb 0, #f4f8f6 620px),
    var(--bg);
  color: var(--ink);
  font-family:
    -apple-system, BlinkMacSystemFont, "Hiragino Sans",
    "Hiragino Kaku Gothic ProN", "Yu Gothic", YuGothic, "Noto Sans JP",
    "Segoe UI", sans-serif;
  line-height: 1.65;
  overflow-x: hidden;
}

.skip-link {
  position: fixed;
  left: 18px;
  top: 12px;
  z-index: 100;
  border-radius: 6px;
  background: var(--navy);
  color: #fff;
  padding: 10px 14px;
  font-weight: 900;
  text-decoration: none;
  transform: translateY(-140%);
  transition: transform 160ms ease-out;
}

.skip-link:focus-visible {
  transform: translateY(0);
}

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(0, 127, 120, 0.34);
  outline-offset: 3px;
}

button,
input,
textarea,
select {
  font: inherit;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

p {
  color: var(--muted);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 14px clamp(20px, 4vw, 68px);
  border-bottom: 1px solid rgba(217, 229, 223, 0.86);
  background: rgba(244, 248, 246, 0.9);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  grid-template-columns: repeat(3, 11px);
  grid-auto-rows: 11px;
  gap: 3px;
}

.brand-mark span {
  background: var(--accent);
  border-radius: 1px;
}

.brand-mark span:nth-child(1),
.brand-mark span:nth-child(6) {
  background: #c7e4df;
}

.brand-mark span:nth-child(2),
.brand-mark span:nth-child(4),
.brand-mark span:nth-child(8) {
  background: #83c7c1;
}

.brand-text {
  display: grid;
  line-height: 1.08;
}

.brand-text strong {
  font-size: 22px;
  letter-spacing: 0;
}

.brand-text small {
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-header nav,
.site-footer nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: clamp(12px, 2vw, 24px);
}

.site-header nav a,
.site-footer nav a {
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  text-underline-offset: 5px;
}

.site-header nav a:hover,
.site-footer nav a:hover {
  text-decoration: underline;
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  font-weight: 900;
  text-align: center;
  text-decoration: none;
  transition:
    background-color 160ms ease-out,
    border-color 160ms ease-out,
    color 160ms ease-out,
    transform 160ms ease-out,
    box-shadow 160ms ease-out;
}

.header-cta {
  min-height: 42px;
  background: var(--accent);
  color: #fff;
  padding: 0 18px;
  font-size: 14px;
  box-shadow: 0 10px 24px rgba(0, 127, 120, 0.2);
}

.button {
  min-height: 56px;
  border: 1px solid var(--accent);
  padding: 0 22px;
  font-size: 17px;
}

.button.primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 12px 28px rgba(0, 127, 120, 0.23);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.74);
  color: var(--accent-dark);
}

.button:hover,
.header-cta:hover {
  transform: translateY(-1px);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(620px, 1.18fr);
  gap: clamp(34px, 5vw, 76px);
  align-items: center;
  max-width: 1440px;
  margin: 0 auto;
  padding: 76px clamp(20px, 4vw, 68px) 44px;
}

.hero-copy {
  min-width: 0;
}

.eyebrow {
  margin-bottom: 14px;
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

h1 {
  max-width: 680px;
  margin-bottom: 20px;
  font-size: 66px;
  line-height: 1.08;
  letter-spacing: 0;
  text-wrap: balance;
}

h1 span {
  display: block;
  white-space: nowrap;
}

.title-accent {
  color: var(--accent-dark);
  text-decoration: underline;
  text-decoration-color: rgba(0, 127, 120, 0.22);
  text-decoration-thickness: 0.16em;
  text-underline-offset: -0.08em;
}

h2 {
  margin-bottom: 20px;
  font-size: 42px;
  line-height: 1.18;
  letter-spacing: 0;
  text-wrap: balance;
}

h3 {
  margin-bottom: 8px;
  font-size: 18px;
  line-height: 1.35;
  letter-spacing: 0;
}

.lead {
  max-width: 650px;
  margin-bottom: 28px;
  color: #3c4a54;
  font-size: 18px;
}

.hero-actions {
  display: grid;
  grid-template-columns: minmax(210px, 1fr) minmax(180px, 0.82fr);
  gap: 14px;
  max-width: 560px;
  margin-bottom: 18px;
}

.hero-trust-line {
  position: relative;
  max-width: 620px;
  margin: 0;
  border-left: 4px solid var(--accent);
  color: #43505a;
  padding-left: 14px;
  font-size: 13px;
  font-weight: 800;
}

.hero-reassurance {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-width: 620px;
}

.hero-reassurance span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  color: #43505a;
  padding: 0 11px;
  font-size: 12px;
  font-weight: 850;
}

.product-story {
  min-width: 0;
  border: 1px solid #c9d9d1;
  border-radius: 14px;
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.96),
      rgba(255, 255, 255, 0.9)
    ),
    var(--paper);
  box-shadow: var(--shadow);
  overflow: hidden;
  transform: rotate(0.2deg);
}

.product-story *,
.flow-grid article *,
.proof-points article *,
.price-card *,
.trust-grid article *,
.faq-grid article * {
  min-width: 0;
}

.story-top,
.story-export {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 18px;
}

.story-top {
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(223, 243, 239, 0.82), transparent 62%), #f9fcfa;
}

.story-top div {
  display: grid;
  gap: 2px;
}

.story-top span,
.story-upload small,
.panel-title span,
.queue-item small,
.edit-panel p,
.story-export span {
  color: var(--muted);
  font-size: 12px;
}

.story-top strong {
  font-size: 14px;
}

.story-top a {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
  background: var(--navy);
  color: #fff;
  padding: 0 12px;
  font-size: 12px;
  font-weight: 900;
  text-decoration: none;
}

.story-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  border-bottom: 1px solid var(--line);
  background: var(--line);
}

.story-metrics div {
  display: grid;
  gap: 2px;
  background: #fbfdfc;
  padding: 14px 18px;
}

.story-metrics span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.story-metrics strong {
  color: var(--navy);
  font-size: 28px;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.story-upload {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 12px;
  align-items: center;
  margin: 18px;
  border: 1px solid #a8c9c4;
  border-radius: 10px;
  background:
    linear-gradient(
      135deg,
      rgba(223, 243, 239, 0.82),
      rgba(255, 255, 255, 0.78)
    ),
    #f3faf8;
  padding: 16px;
}

.story-upload strong,
.story-upload small,
.queue-item strong,
.queue-item small {
  display: block;
}

.upload-symbol {
  position: relative;
  width: 52px;
  height: 52px;
  border: 1px solid #c9d9d4;
  border-radius: 7px;
  background:
    linear-gradient(90deg, #c4e1dd 50%, transparent 0) 0 0 / 18px 18px,
    linear-gradient(#e3efec 50%, transparent 0) 0 0 / 18px 18px,
    #fff;
}

.upload-symbol::after {
  position: absolute;
  left: 17px;
  top: 15px;
  width: 16px;
  height: 20px;
  border: 3px solid var(--accent);
  border-top: 0;
  content: "";
}

.upload-symbol::before {
  position: absolute;
  left: 20px;
  top: 11px;
  width: 11px;
  height: 11px;
  border-left: 3px solid var(--accent);
  border-top: 3px solid var(--accent);
  content: "";
  transform: rotate(45deg);
}

.story-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 16px;
  padding: 0 18px 18px;
}

.queue-panel,
.edit-panel {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  padding: 14px;
}

.panel-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.panel-title strong {
  color: var(--accent-dark);
  font-size: 13px;
}

.queue-item {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  min-height: 62px;
  border-top: 1px solid #eef2ef;
}

.queue-item:first-of-type {
  border-top: 0;
}

.queue-item.active {
  margin: 8px -8px 0;
  border: 1px solid #a8d5d0;
  border-radius: 9px;
  background: #f3fbf9;
  padding: 0 8px;
  box-shadow: 0 10px 24px rgba(0, 127, 120, 0.08);
}

.thumb {
  display: block;
  width: 52px;
  height: 36px;
  border-radius: 4px;
  background-color: #d8ddda;
  background-image:
    linear-gradient(
      45deg,
      rgba(255, 255, 255, 0.36) 25%,
      transparent 25% 75%,
      rgba(255, 255, 255, 0.36) 75%
    ),
    linear-gradient(
      45deg,
      rgba(255, 255, 255, 0.36) 25%,
      transparent 25% 75%,
      rgba(255, 255, 255, 0.36) 75%
    );
  background-position:
    0 0,
    8px 8px;
  background-size: 16px 16px;
}

.t2 {
  background-color: #d8e1d9;
}

.t3 {
  background-color: #ded9cf;
}

.t4 {
  background-color: #d8dce5;
}

.status {
  display: inline-flex;
  min-height: 25px;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  padding: 0 8px;
  font-size: 11px;
  font-weight: 900;
}

.status.need {
  background: var(--amber-soft);
  color: var(--amber);
}

.status.ready {
  background: var(--accent-soft);
  color: var(--accent-dark);
}

.edit-toolbar {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 12px;
}

.tool {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 5px;
  color: #40505b;
  font-size: 12px;
  font-weight: 900;
}

.tool.active {
  border-color: #8fcfc8;
  background: var(--accent-soft);
  color: var(--accent-dark);
}

.canvas-sample {
  position: relative;
  overflow: hidden;
  height: 190px;
  border: 1px solid #c8d4ce;
  border-radius: 10px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.34) 1px, transparent 1px) 0 0 / 18px
      18px,
    linear-gradient(90deg, rgba(255, 255, 255, 0.34) 1px, transparent 1px) 0 0 /
      18px 18px,
    linear-gradient(135deg, #d5dfdb 0 38%, #bdccc8 39% 62%, #e7ebe6 63%);
}

.image-shape {
  position: absolute;
  display: block;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.68);
}

.shape-one {
  left: 32px;
  top: 32px;
  width: 72px;
  height: 72px;
}

.shape-two {
  right: 38px;
  bottom: 44px;
  width: 82px;
  height: 58px;
  border-radius: 44% 56% 48% 52%;
}

.mosaic-stroke {
  position: absolute;
  display: block;
  height: 28px;
  border-radius: 999px;
  background: repeating-linear-gradient(
    90deg,
    rgba(21, 32, 38, 0.78) 0 8px,
    rgba(255, 255, 255, 0.3) 8px 13px
  );
  transform: rotate(-8deg);
}

.mosaic-stroke.one {
  left: 38px;
  top: 72px;
  width: 132px;
}

.mosaic-stroke.two {
  right: 32px;
  bottom: 50px;
  width: 100px;
  transform: rotate(11deg);
}

.brush-cursor {
  position: absolute;
  right: 64px;
  top: 62px;
  width: 34px;
  height: 34px;
  border: 3px solid #fff;
  border-radius: 50%;
  box-shadow: 0 0 0 2px var(--accent);
}

.edit-panel p {
  margin: 12px 0 0;
}

.story-export {
  border-top: 1px solid var(--line);
  background: var(--navy);
  color: #fff;
}

.story-export span {
  color: rgba(255, 255, 255, 0.78);
  font-weight: 850;
}

.story-export strong {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
  background: #fff;
  color: var(--accent-dark);
  padding: 0 14px;
  font-size: 13px;
}

.section {
  max-width: 1440px;
  margin: 0 auto;
  padding: 58px clamp(20px, 4vw, 68px);
  scroll-margin-top: 88px;
}

.trust-section {
  scroll-margin-top: 264px;
}

.section-heading {
  max-width: 880px;
  margin-bottom: 24px;
}

.section-heading p {
  font-size: 16px;
}

.proof-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 18px;
}

.flow-grid article,
.proof-points article,
.guide-grid article,
.price-card,
.trust-grid article,
.faq-grid article {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
  padding: 24px;
}

.plan-label {
  display: inline-flex;
  min-height: 26px;
  align-items: center;
  border-radius: 999px;
  padding: 0 10px;
  font-size: 12px;
  font-weight: 900;
}

.plan-label {
  background: var(--accent-soft);
  color: var(--accent-dark);
}

.flow-grid,
.guide-grid,
.pricing-grid,
.trust-grid,
.faq-grid,
.proof-points {
  display: grid;
  gap: 16px;
}

.flow-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--line);
  overflow: hidden;
}

.flow-grid article {
  min-height: 220px;
  border: 0;
  border-radius: 0;
}

.flow-grid article > span {
  display: inline-flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  border-radius: 10px;
  background: var(--navy);
  color: #fff;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
}

.proof-section {
  padding-top: 30px;
  padding-bottom: 32px;
}

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

.guide-grid article {
  display: flex;
  min-height: 250px;
  flex-direction: column;
  box-shadow: 0 12px 28px rgba(20, 33, 42, 0.07);
}

.guide-grid span {
  display: inline-flex;
  align-self: flex-start;
  min-height: 26px;
  align-items: center;
  border-radius: 999px;
  background: var(--blue-soft);
  color: var(--blue);
  padding: 0 10px;
  font-size: 12px;
  font-weight: 900;
}

.guide-grid h3 {
  margin-top: 14px;
}

.guide-grid a {
  display: inline-flex;
  align-items: center;
  margin-top: auto;
  color: var(--accent-dark);
  font-weight: 900;
  text-decoration: none;
  text-underline-offset: 5px;
}

.guide-grid a:hover {
  text-decoration: underline;
}

.guide-grid a::after {
  margin-left: 8px;
  content: ">";
}

.proof-layout {
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  background:
    linear-gradient(135deg, rgba(228, 239, 247, 0.7), transparent 42%), #fff;
  padding: clamp(24px, 4vw, 42px);
}

.proof-points {
  grid-template-columns: 1fr;
}

.proof-points article {
  min-height: 100px;
  border-color: #cbd8d0;
}

.proof-points strong {
  display: block;
  margin-bottom: 6px;
  font-size: 18px;
}

.proof-points span {
  color: var(--muted);
}

.pricing {
  scroll-margin-top: 24px;
  margin-top: 18px;
  max-width: none;
  background: var(--navy);
  color: #fff;
  padding-right: max(clamp(20px, 4vw, 68px), calc((100vw - 1440px) / 2 + 68px));
  padding-left: max(clamp(20px, 4vw, 68px), calc((100vw - 1440px) / 2 + 68px));
}

.pricing .eyebrow {
  color: #75d0c8;
}

.pricing h2,
.pricing h3 {
  color: #fff;
}

.pricing-heading p,
.pricing .note {
  color: rgba(255, 255, 255, 0.76);
}

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

.price-card {
  min-height: 190px;
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.price-card.featured,
.price-card.popular {
  border-color: #7bd2cb;
  background: rgba(0, 139, 132, 0.22);
}

.price-card.add-on {
  border-style: dashed;
}

.price-card h3 {
  margin-top: 10px;
}

.price {
  margin-bottom: 8px;
  color: #fff;
  font-size: 32px;
  font-weight: 900;
  line-height: 1.12;
}

.price span {
  margin-left: 3px;
  font-size: 14px;
}

.price-card p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 13px;
}

.note {
  margin: 16px auto 0;
  max-width: 900px;
  text-align: center;
  font-size: 13px;
}

.pricing-action {
  margin: 20px 0 80px;
  text-align: center;
}

.pricing-action .button {
  min-width: 250px;
}

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

.trust-grid article {
  min-height: 190px;
}

.trust-icon {
  position: relative;
  display: inline-flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-dark);
}

.lock-icon::before {
  width: 18px;
  height: 15px;
  border: 3px solid currentColor;
  border-radius: 2px;
  content: "";
  transform: translateY(4px);
}

.lock-icon::after {
  position: absolute;
  width: 14px;
  height: 12px;
  border: 3px solid currentColor;
  border-bottom: 0;
  border-radius: 10px 10px 0 0;
  content: "";
  transform: translateY(-8px);
}

.file-icon::before {
  width: 21px;
  height: 27px;
  border: 3px solid currentColor;
  border-radius: 2px;
  content: "";
}

.file-icon::after {
  position: absolute;
  width: 12px;
  height: 3px;
  background: currentColor;
  box-shadow: 0 7px 0 currentColor;
  content: "";
  transform: translateY(2px);
}

.database-icon::before {
  width: 24px;
  height: 24px;
  border: 3px solid currentColor;
  border-radius: 50% / 22%;
  content: "";
}

.shield-icon::before {
  width: 24px;
  height: 28px;
  background: currentColor;
  clip-path: polygon(50% 0, 88% 16%, 82% 72%, 50% 100%, 18% 72%, 12% 16%);
  content: "";
}

.sample-icon::before {
  width: 24px;
  height: 24px;
  border: 3px solid currentColor;
  border-radius: 50%;
  content: "";
}

.sample-icon::after {
  position: absolute;
  width: 18px;
  height: 3px;
  background: currentColor;
  content: "";
  transform: rotate(-45deg);
}

.card-icon::before {
  width: 26px;
  height: 18px;
  border: 3px solid currentColor;
  border-radius: 3px;
  content: "";
}

.card-icon::after {
  position: absolute;
  width: 20px;
  height: 3px;
  background: currentColor;
  content: "";
  transform: translateY(-3px);
}

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

.faq-grid article {
  min-height: 150px;
}

.final-cta {
  max-width: 940px;
  margin: 24px auto 0;
  padding: 50px 20px 24px;
  text-align: center;
}

.final-cta h2 {
  margin-bottom: 22px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 36px;
  background: var(--navy);
  color: #fff;
  padding: 28px clamp(20px, 4vw, 68px);
}

.footer-brand {
  color: rgba(255, 255, 255, 0.8);
  font-weight: 850;
}

.site-footer nav a {
  color: rgba(255, 255, 255, 0.86);
  font-size: 13px;
}

.doc {
  max-width: 860px;
  margin: 0 auto;
  padding: 56px 20px;
}

.doc section {
  border-top: 1px solid var(--line);
  margin-top: 24px;
  padding-top: 24px;
}

.guide-page {
  max-width: 1180px;
  margin: 0 auto;
  padding: 68px clamp(20px, 4vw, 68px) 36px;
}

.guide-article {
  border: 1px solid var(--line);
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(223, 243, 239, 0.5), transparent 36%),
    var(--paper);
  box-shadow: var(--shadow);
  padding: clamp(28px, 5vw, 56px);
}

.guide-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.52fr);
  gap: clamp(28px, 5vw, 56px);
  align-items: center;
}

.guide-article h1 {
  max-width: 840px;
  font-size: 56px;
}

.guide-points {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.guide-points span {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  border: 1px solid #b7d7d2;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  color: var(--accent-dark);
  padding: 0 12px;
  font-size: 13px;
  font-weight: 900;
}

.guide-preview {
  border: 1px solid #c8d9d1;
  border-radius: 12px;
  background: #fbfdfc;
  box-shadow: 0 18px 42px rgba(20, 33, 42, 0.12);
  overflow: hidden;
}

.guide-preview-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(223, 243, 239, 0.82), transparent 68%), #f8fcfa;
  padding: 14px 16px;
}

.guide-preview-top span,
.guide-preview-list small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.guide-preview-top strong {
  color: var(--navy);
  font-size: 13px;
}

.guide-preview-list {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  margin: 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  padding: 12px;
}

.guide-preview-list strong,
.guide-preview-list small {
  display: block;
}

.guide-preview-thumb {
  display: block;
  width: 54px;
  height: 40px;
  border-radius: 6px;
  background-color: #d7dfdb;
  background-image:
    linear-gradient(
      45deg,
      rgba(255, 255, 255, 0.36) 25%,
      transparent 25% 75%,
      rgba(255, 255, 255, 0.36) 75%
    ),
    linear-gradient(
      45deg,
      rgba(255, 255, 255, 0.36) 25%,
      transparent 25% 75%,
      rgba(255, 255, 255, 0.36) 75%
    );
  background-position:
    0 0,
    8px 8px;
  background-size: 16px 16px;
}

.guide-preview-meter {
  height: 10px;
  margin: 0 16px 16px;
  border-radius: 999px;
  background: #e4eee9;
  overflow: hidden;
}

.guide-preview-meter span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--accent);
}

.guide-preview-meter .meter-80 {
  width: 80%;
}

.guide-preview-footer {
  background: var(--navy);
  color: #fff;
  padding: 12px 16px;
  font-size: 13px;
  font-weight: 900;
  text-align: right;
}

.guide-preview-canvas {
  position: relative;
  overflow: hidden;
  height: 190px;
  margin: 16px;
  border: 1px solid #c8d4ce;
  border-radius: 10px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.34) 1px, transparent 1px) 0 0 / 18px
      18px,
    linear-gradient(90deg, rgba(255, 255, 255, 0.34) 1px, transparent 1px) 0 0 /
      18px 18px,
    linear-gradient(135deg, #d5dfdb 0 38%, #bdccc8 39% 62%, #e7ebe6 63%);
}

.guide-preview-shape {
  position: absolute;
  left: 48px;
  top: 42px;
  display: block;
  width: 92px;
  height: 78px;
  border-radius: 46% 54% 48% 52%;
  background: rgba(255, 255, 255, 0.7);
}

.guide-preview-stroke {
  position: absolute;
  left: 48px;
  top: 88px;
  display: block;
  width: 180px;
  height: 30px;
  border-radius: 999px;
  background: repeating-linear-gradient(
    90deg,
    rgba(21, 32, 38, 0.78) 0 8px,
    rgba(255, 255, 255, 0.3) 8px 13px
  );
  transform: rotate(-8deg);
}

.guide-preview-cursor {
  position: absolute;
  right: 56px;
  top: 66px;
  width: 34px;
  height: 34px;
  border: 3px solid #fff;
  border-radius: 50%;
  box-shadow: 0 0 0 2px var(--accent);
}

.guide-preview-tools,
.guide-preview-queue {
  display: grid;
  gap: 8px;
  padding: 0 16px 16px;
}

.guide-preview-tools {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.guide-preview-queue {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.guide-preview-tools span,
.guide-preview-queue span {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 900;
}

.guide-article section {
  border-top: 1px solid var(--line);
  margin-top: 34px;
  padding-top: 34px;
}

.guide-article section p {
  font-size: 16px;
}

.guide-cta {
  display: grid;
  grid-template-columns: minmax(220px, 0.6fr) minmax(180px, 0.4fr);
  gap: 14px;
  max-width: 620px;
  margin-top: 34px;
  margin-bottom: 42px;
}

.cookie-consent {
  position: fixed;
  right: clamp(14px, 3vw, 28px);
  bottom: clamp(14px, 3vw, 28px);
  z-index: 30;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  width: min(720px, calc(100vw - 28px));
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 45px rgba(23, 33, 43, 0.18);
  padding: 18px;
}

body.app-body .cookie-consent {
  width: min(520px, calc(100vw - 28px));
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  padding: 14px;
}

.cookie-consent strong {
  display: block;
  margin-bottom: 4px;
}

.cookie-consent p {
  margin-bottom: 0;
  font-size: 13px;
  line-height: 1.55;
}

.cookie-consent-actions {
  display: flex;
  gap: 10px;
}

body.app-body .cookie-consent-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.cookie-consent button {
  min-height: 38px;
  border: 1px solid var(--accent);
  border-radius: 6px;
  background: var(--accent);
  color: #fff;
  padding: 0 14px;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.cookie-consent button[data-analytics-consent-decline] {
  background: #fff;
  color: var(--accent-dark);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

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

  h1 {
    font-size: 58px;
  }

  h2 {
    font-size: 38px;
  }

  .product-story {
    max-width: 920px;
    transform: none;
  }

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

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

@media (max-width: 840px) {
  .site-header {
    position: static;
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .site-header nav {
    justify-content: flex-start;
    gap: 8px 13px;
  }

  .site-header nav a {
    font-size: 13px;
  }

  .header-cta {
    display: none;
  }

  .hero {
    padding-top: 42px;
  }

  h1 {
    font-size: 30px;
    line-height: 1.16;
    overflow-wrap: anywhere;
  }

  h2 {
    font-size: 31px;
  }

  h1 span,
  .lead,
  .button,
  .story-top,
  .story-upload,
  .panel-title,
  .story-export,
  .hero-reassurance span {
    overflow-wrap: anywhere;
  }

  .hero-copy,
  .story-top > *,
  .story-upload > *,
  .panel-title > *,
  .story-export > *,
  .hero-reassurance span {
    max-width: 100%;
    min-width: 0;
  }

  .hero-copy,
  .product-story {
    width: calc(100vw - 40px);
    max-width: calc(100vw - 40px);
  }

  .lead {
    font-size: 16px;
  }

  .hero-actions,
  .proof-layout,
  .guide-hero,
  .flow-grid,
  .guide-grid,
  .pricing-grid,
  .trust-grid,
  .faq-grid,
  .guide-cta {
    grid-template-columns: 1fr;
  }

  .hero-reassurance {
    display: grid;
    grid-template-columns: 1fr;
    max-width: 100%;
  }

  .guide-article h1 {
    font-size: 34px;
  }

  .guide-points {
    display: grid;
    grid-template-columns: 1fr;
  }

  .story-grid {
    grid-template-columns: 1fr;
  }

  .story-metrics {
    grid-template-columns: 1fr;
  }

  .queue-panel,
  .edit-panel,
  .queue-item > div {
    min-width: 0;
  }

  .story-top,
  .panel-title,
  .story-export {
    align-items: flex-start;
    flex-direction: column;
  }

  .story-upload {
    grid-template-columns: 1fr;
  }

  .canvas-sample {
    height: 170px;
  }

  .pricing {
    padding-right: 20px;
    padding-left: 20px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-footer nav {
    align-items: flex-start;
    flex-direction: column;
  }

  .cookie-consent {
    left: 14px;
    right: 14px;
    bottom: 14px;
    grid-template-columns: 1fr;
    width: calc(100vw - 28px);
  }

  .cookie-consent-actions,
  body.app-body .cookie-consent-actions {
    display: grid;
    grid-template-columns: 1fr;
  }
}

@media (max-width: 360px) {
  h1 {
    font-size: 26px;
  }
}

@media (max-width: 460px) {
  .hero,
  .section {
    padding-right: 16px;
    padding-left: 16px;
  }

  .hero-copy,
  .product-story {
    width: calc(100vw - 32px);
    max-width: calc(100vw - 32px);
  }

  h1 {
    font-size: 33px;
  }

  .queue-item {
    grid-template-columns: 48px minmax(0, 1fr);
  }

  .queue-item .status {
    grid-column: 2;
    justify-self: start;
  }

  .thumb {
    width: 46px;
  }
}
