:root {
  --ktx-bg: #f8f4f2;
  --ktx-panel: #fffdfb;
  --ktx-panel-2: #fff0ee;
  --ktx-text: #282120;
  --ktx-muted: #746967;
  --ktx-line: #e4d8d5;
  --ktx-primary: #c63f36;
  --ktx-primary-dark: #8f2925;
  --ktx-primary-soft: #f8e4e2;
  --ktx-accent: #e35b4f;
  --ktx-sidebar: #2b1f1e;
  --ktx-focus: rgba(198, 63, 54, 0.24);
  --ktx-blue: #596d8f;
  --ktx-warning: #9a6a1f;
  --ktx-shadow: 0 18px 50px rgba(58, 48, 46, 0.11);
  --sidebar-width: 258px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 28px;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ktx-text);
  background: var(--ktx-bg);
  font-family: "LINE Seed JP", "Yu Gothic UI", "Meiryo", sans-serif;
  font-size: 16px;
  line-height: 1.8;
  letter-spacing: 0.01em;
}

body.is-menu-open {
  overflow: hidden;
}

button,
a,
summary {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
}

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

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

h1,
h2,
h3 {
  line-height: 1.35;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(29px, 4vw, 42px);
  letter-spacing: -0.03em;
}

h3 {
  margin-bottom: 8px;
  font-size: 19px;
}

p:last-child {
  margin-bottom: 0;
}

strong {
  font-weight: 600;
}

.material-symbols-rounded {
  display: inline-block;
  width: 1em;
  overflow: hidden;
  direction: ltr;
  font-family: "Material Symbols Rounded";
  font-feature-settings: "liga";
  font-size: 21px;
  font-style: normal;
  font-weight: normal;
  line-height: 1;
  white-space: nowrap;
}

html.js:not(.page-ready) .guide-sidebar > *,
html.js:not(.page-ready) .mobile-menu-button {
  visibility: hidden;
  opacity: 0;
}

html.js.page-ready .guide-sidebar > *,
html.js.page-ready .mobile-menu-button {
  transition: opacity 100ms ease;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 10px;
  left: 10px;
  transform: translateY(-140%);
  border-radius: 8px;
  padding: 9px 14px;
  background: var(--ktx-panel);
  color: var(--ktx-primary-dark);
  font-weight: 600;
  text-decoration: none;
  box-shadow: var(--ktx-shadow);
}

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

.guide-sidebar {
  position: fixed;
  z-index: 20;
  inset: 0 auto 0 0;
  display: flex;
  width: var(--sidebar-width);
  flex-direction: column;
  overflow-y: auto;
  padding: 24px 16px 18px;
  background: var(--ktx-sidebar);
  color: #fff4ef;
}

.guide-brand {
  display: grid;
  grid-template-columns: 48px 1fr;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  padding: 0 7px;
  color: #fff;
  text-decoration: none;
}

.guide-brand img {
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.24);
}

.guide-brand span {
  display: flex;
  min-width: 0;
  flex-direction: column;
  line-height: 1.25;
}

.guide-brand small {
  color: #ffb1a9;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.guide-brand strong {
  font-size: 24px;
}

.guide-brand em {
  color: #cfbfbb;
  font-size: 16px;
  font-style: normal;
}

.guide-nav {
  display: grid;
  gap: 5px;
}

.guide-nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  border: 1px solid transparent;
  border-radius: 9px;
  padding: 8px 10px;
  color: #e8dcd9;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
  text-decoration: none;
  transition: 160ms ease;
}

.guide-nav a:hover,
.guide-nav a:focus-visible,
.guide-nav a.is-active {
  border-color: rgba(255, 255, 255, 0.13);
  background: rgba(255, 255, 255, 0.09);
  color: #fff;
  outline: none;
}

.guide-nav a.is-active .material-symbols-rounded {
  color: #ff8f86;
  font-variation-settings: "FILL" 1;
}

.guide-nav .material-symbols-rounded {
  flex: 0 0 auto;
  color: #cdbbb7;
}

.sidebar-preview-notice {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  align-items: start;
  gap: 9px;
  margin-top: auto;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 13px;
  background: rgba(255, 255, 255, 0.06);
}

.sidebar-preview-notice > .material-symbols-rounded {
  color: #ffb1a9;
  font-size: 21px;
}

.sidebar-preview-notice p {
  margin: 0;
  color: #d9cbc8;
  font-size: 16px;
  line-height: 1.55;
}

.sidebar-preview-notice strong {
  color: #fff;
  font-weight: 700;
}

.mobile-menu-button {
  display: none;
}

.guide-main {
  margin-left: var(--sidebar-width);
}

.page-anchor {
  height: 0;
}

.hero {
  position: relative;
  display: grid;
  min-height: min(760px, 100vh);
  grid-template-columns: minmax(360px, 0.88fr) minmax(0, 1.12fr);
  grid-template-areas: "visual copy";
  align-items: center;
  gap: clamp(34px, 6vw, 90px);
  overflow: hidden;
  padding: clamp(72px, 9vw, 118px) clamp(36px, 8vw, 112px);
  background: #f3ece9;
}

.hero-copy,
.hero-visual {
  position: relative;
  z-index: 1;
}

.hero-copy {
  grid-area: copy;
  container-type: inline-size;
}

.hero-visual {
  grid-area: visual;
}

.eyebrow {
  margin-bottom: 8px;
  color: var(--ktx-primary);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.hero h1 {
  width: max-content;
  max-width: 100%;
  margin-bottom: 26px;
  font-size: clamp(46px, 19cqi, 84px);
  letter-spacing: -0.055em;
  line-height: 1.1;
  white-space: nowrap;
}

.hero h1 span {
  color: var(--ktx-primary);
}

.hero-lead {
  max-width: 670px;
  margin-bottom: 30px;
  color: var(--ktx-muted);
  font-size: clamp(17px, 1.6vw, 21px);
  line-height: 1.85;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  border-radius: 9px;
  padding: 10px 20px;
  font-weight: 600;
  line-height: 1.3;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button:focus-visible {
  outline: 3px solid var(--ktx-focus);
  outline-offset: 3px;
}

.button-primary {
  background: var(--ktx-primary);
  color: #fff;
  box-shadow: 0 12px 24px rgba(198, 63, 54, 0.22);
}

.hero-reassurance {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--ktx-muted);
  font-size: 16px;
  font-weight: 700;
}

.hero-reassurance .material-symbols-rounded {
  color: var(--ktx-primary);
  font-size: 19px;
}

.hero-visual {
  display: grid;
  min-height: 530px;
  place-items: center;
}

.hero-app-shot {
  position: relative;
  z-index: 1;
  width: min(100%, 390px);
  margin: 0;
  border: 1px solid #cfbfbb;
  border-radius: 20px;
  padding: 12px;
  background: rgba(255, 253, 251, 0.92);
  box-shadow: 0 30px 80px rgba(74, 50, 46, 0.16);
  backdrop-filter: blur(8px);
}

.hero-app-shot img {
  width: 100%;
  height: auto;
  border: 1px solid var(--ktx-line);
  border-radius: 11px;
}

.hero-app-shot figcaption {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 11px 4px 2px;
  color: var(--ktx-muted);
  font-size: 16px;
  font-weight: 700;
}

.hero-app-shot figcaption span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ktx-primary);
  box-shadow: 0 0 0 4px var(--ktx-primary-soft);
}

.guide-section {
  max-width: 1240px;
  margin: 0 auto;
  padding: 104px clamp(30px, 7vw, 90px);
}

.guide-section + .guide-section {
  border-top: 1px solid var(--ktx-line);
}

.section-heading {
  max-width: 850px;
  margin-bottom: 42px;
}

.section-heading > p:not(.eyebrow) {
  max-width: 760px;
  margin-bottom: 0;
  color: var(--ktx-muted);
  font-size: 17px;
}

.creator-note {
  position: relative;
  overflow: hidden;
  margin-bottom: 36px;
  border: 1px solid #ead6d1;
  border-top: 4px solid var(--ktx-primary);
  border-radius: 0 0 18px 18px;
  padding: 36px 40px 38px;
  background: var(--ktx-panel);
}

.creator-note::after {
  content: "5";
  position: absolute;
  right: -14px;
  bottom: -85px;
  color: rgba(198, 63, 54, 0.06);
  font-size: 260px;
  font-weight: 600;
  line-height: 1;
}

.creator-note-heading,
.creator-note-body {
  position: relative;
  z-index: 1;
}

.creator-note-heading {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  margin-bottom: 27px;
  border-bottom: 1px solid var(--ktx-line);
  padding-bottom: 25px;
}

.creator-note-heading img {
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(58, 48, 46, 0.12);
}

.creator-note-heading .eyebrow {
  margin-bottom: 2px;
}

.creator-note-heading h3 {
  margin: 0;
  font-size: clamp(22px, 2.4vw, 30px);
}

.creator-note-body {
  max-width: 880px;
}

.creator-note-body p {
  margin-bottom: 17px;
  color: var(--ktx-muted);
  font-size: 16px;
  line-height: 1.9;
}

.creator-note-body p:last-child {
  margin-bottom: 0;
}

.creator-note-body .creator-note-lead {
  margin-bottom: 21px;
  color: var(--ktx-text);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.8;
}

.section-brand-label {
  position: absolute;
  z-index: 0;
  bottom: -0.26em;
  left: 50%;
  margin: 0;
  transform: translateX(-50%);
  font-size: clamp(96px, 13vw, 190px);
  font-weight: 600;
  letter-spacing: -0.06em;
  line-height: 1;
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
}

.hero .section-brand-label {
  color: rgba(198, 63, 54, 0.07);
}

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

.concept-grid article {
  min-height: 210px;
  border: 1px solid var(--ktx-line);
  border-radius: 14px;
  padding: 24px;
  background: var(--ktx-panel);
}

.concept-number {
  display: block;
  margin-bottom: 28px;
  color: var(--ktx-primary);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.1em;
}

.concept-grid h3 {
  font-size: 20px;
}

.concept-grid p {
  margin-bottom: 0;
  color: var(--ktx-muted);
  font-size: 16px;
}

.plain-message {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-top: 18px;
  border-left: 4px solid var(--ktx-primary);
  border-radius: 0 12px 12px 0;
  padding: 18px 22px;
  background: #fff;
  box-shadow: 0 8px 28px rgba(58, 48, 46, 0.07);
}

.plain-message > .material-symbols-rounded {
  margin-top: 4px;
  color: var(--ktx-primary);
  font-size: 27px;
}

.plain-message p {
  margin: 0;
}

.step-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 0 0 32px;
  padding: 0;
  list-style: none;
}

.step-list li {
  position: relative;
  min-height: 265px;
  border: 1px solid var(--ktx-line);
  border-radius: 14px;
  padding: 26px;
  background: var(--ktx-panel);
}

.step-number {
  position: absolute;
  top: 16px;
  right: 20px;
  color: #e6d6d2;
  font-size: 36px;
  font-weight: 600;
  line-height: 1;
}

.step-icon {
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  margin-bottom: 34px;
  border-radius: 12px;
  background: var(--ktx-primary-soft);
  color: var(--ktx-primary);
}

.step-icon .material-symbols-rounded {
  font-size: 27px;
}

.step-list h3 {
  font-size: 21px;
}

.step-list p {
  color: var(--ktx-muted);
  font-size: 16px;
  line-height: 1.75;
}

.step-example {
  display: inline-block;
  border-radius: 6px;
  padding: 5px 8px;
  background: var(--ktx-bg);
  color: var(--ktx-primary-dark);
  font-size: 16px;
  font-weight: 700;
}

.screen-figure {
  margin: 0;
}

.screen-frame {
  position: relative;
  overflow: hidden;
  border: 1px solid #cfbfbb;
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--ktx-shadow);
}

.screen-frame img {
  width: 100%;
  height: auto;
}

.screen-figure figcaption {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 13px;
  color: var(--ktx-muted);
  font-size: 16px;
}

.screen-figure figcaption .material-symbols-rounded {
  color: var(--ktx-primary);
}

.screen-marker {
  position: absolute;
  display: grid;
  width: clamp(28px, 3.2vw, 42px);
  height: clamp(28px, 3.2vw, 42px);
  place-items: center;
  border: 4px solid #fff;
  border-radius: 50%;
  background: var(--ktx-primary);
  color: #fff;
  font-size: clamp(14px, 1.4vw, 18px);
  font-weight: 600;
  box-shadow: 0 5px 18px rgba(67, 33, 30, 0.34);
}

.marker-one {
  top: 24%;
  left: 28%;
}

.marker-two {
  top: 34%;
  left: 16%;
}

.marker-three {
  top: 45%;
  left: 43%;
}

.callout {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 14px;
  margin-top: 28px;
  border-radius: 13px;
  padding: 20px 22px;
}

.callout > .material-symbols-rounded {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 50%;
  font-size: 22px;
}

.callout h3 {
  margin-bottom: 3px;
  font-size: 20px;
}

.callout p {
  margin: 0;
  font-size: 16px;
}

.callout-success {
  border: 1px solid #d7dfd2;
  background: #f5faf2;
}

.callout-success > .material-symbols-rounded {
  background: #e2f0dc;
  color: #497b3d;
}

.callout-warning {
  border: 1px solid #eadcbf;
  background: #fff9eb;
}

.callout-warning > .material-symbols-rounded {
  background: #f6e9c9;
  color: var(--ktx-warning);
}

.example-layout {
  display: grid;
  grid-template-columns: minmax(0, 350px) minmax(290px, 1fr);
  gap: 28px;
}

.example-form-card {
  width: 100%;
  max-width: 350px;
  overflow: hidden;
  border: 1px solid var(--ktx-line);
  border-radius: 14px;
  background: var(--ktx-panel);
  box-shadow: var(--ktx-shadow);
}

.example-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 52px;
  padding: 0 19px;
  background: var(--ktx-sidebar);
  color: #fff4ef;
  font-size: 16px;
  font-weight: 700;
}

.example-window-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 4px;
  border-radius: 50%;
  background: #ad9691;
}

.example-window-dot:first-child {
  background: #f0786f;
}

.example-fields {
  display: grid;
  gap: 13px;
  padding: 22px;
}

.example-fields label {
  display: grid;
  gap: 6px;
}

.example-fields label > span {
  color: var(--ktx-muted);
  font-size: 16px;
  font-weight: 700;
}

.example-fields b,
.example-fields em {
  margin-left: 5px;
  border-radius: 999px;
  padding: 2px 5px;
  font-size: 16px;
  font-style: normal;
}

.example-fields b {
  background: var(--ktx-primary-soft);
  color: var(--ktx-primary);
}

.example-fields em {
  background: #eeeae8;
  color: var(--ktx-muted);
}

.example-fields strong {
  min-height: 44px;
  border: 1px solid var(--ktx-line);
  border-radius: 8px;
  padding: 8px 11px;
  background: #fff;
  font-size: 16px;
  font-weight: 400;
}

.example-presets {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  padding: 0 22px 20px;
}

.example-presets span {
  min-width: 54px;
  border: 1px solid var(--ktx-line);
  border-radius: 999px;
  padding: 5px 10px;
  background: #fff;
  color: var(--ktx-muted);
  font-size: 16px;
  font-weight: 700;
  text-align: center;
}

.example-presets .is-selected {
  border-color: var(--ktx-primary);
  background: var(--ktx-primary-soft);
  color: var(--ktx-primary-dark);
}

.example-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 48px;
  margin: 0 22px 22px;
  border-radius: 8px;
  background: var(--ktx-primary);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
}

.writing-tips {
  padding: 8px 0;
}

.writing-tips h3 {
  margin-bottom: 18px;
  font-size: 23px;
}

.before-after {
  display: grid;
  gap: 9px;
  margin-bottom: 24px;
}

.before-after > div {
  border-radius: 11px;
  padding: 14px 17px;
}

.before-after span {
  font-size: 16px;
  font-weight: 600;
}

.before-after p {
  margin: 3px 0 0;
  font-size: 20px;
  font-weight: 600;
}

.before {
  border: 1px solid var(--ktx-line);
  background: #eeeae8;
  color: var(--ktx-muted);
}

.after {
  border: 1px solid #e2c1bc;
  background: var(--ktx-primary-soft);
  color: var(--ktx-primary-dark);
}

.before-after .arrow {
  justify-self: center;
  color: var(--ktx-primary);
}

.check-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: var(--ktx-muted);
  font-size: 16px;
}

.check-list .material-symbols-rounded {
  margin-top: 4px;
  color: var(--ktx-primary);
  font-size: 17px;
  font-weight: 600;
}

.sample-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 30px;
}

.sample-grid article {
  min-height: 150px;
  border-top: 3px solid var(--ktx-primary);
  border-radius: 3px 3px 11px 11px;
  padding: 18px;
  background: var(--ktx-panel);
  box-shadow: 0 7px 20px rgba(58, 48, 46, 0.06);
}

.sample-category {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--ktx-muted);
  font-size: 16px;
  font-weight: 600;
}

.sample-grid p {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.7;
}

.result-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 11px;
  margin-top: 32px;
}

.result-grid article {
  min-height: 210px;
  border: 1px solid var(--ktx-line);
  border-radius: 13px;
  padding: 21px;
  background: var(--ktx-panel);
}

.result-grid article > .material-symbols-rounded {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  margin-bottom: 28px;
  border-radius: 50%;
  font-size: 24px;
}

.result-grid h3 {
  font-size: 20px;
}

.result-grid p {
  margin: 0;
  color: var(--ktx-muted);
  font-size: 16px;
}

.result-complete > .material-symbols-rounded {
  background: var(--ktx-primary-soft);
  color: var(--ktx-primary);
}

.result-continue > .material-symbols-rounded {
  background: #e9eef6;
  color: var(--ktx-blue);
}

.result-interrupt > .material-symbols-rounded {
  background: #f7edda;
  color: var(--ktx-warning);
}

.result-hold > .material-symbols-rounded {
  background: #eeeae8;
  color: var(--ktx-muted);
}

.continue-tip {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 32px;
  margin-top: 16px;
  border: 1px solid var(--ktx-line);
  border-radius: 13px;
  padding: 26px;
  background: var(--ktx-panel);
}

.continue-tip h3 {
  font-size: 20px;
}

.continue-tip p:not(.eyebrow) {
  margin: 0;
  color: var(--ktx-muted);
  font-size: 16px;
}

.continue-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 7px;
}

.continue-buttons span {
  border: 1px solid var(--ktx-primary);
  border-radius: 8px;
  padding: 7px 10px;
  color: var(--ktx-primary-dark);
  font-size: 16px;
  font-weight: 600;
}

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

.screen-guide-card {
  position: relative;
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 16px;
  min-height: 180px;
  border: 1px solid var(--ktx-line);
  border-radius: 13px;
  padding: 24px;
  background: var(--ktx-panel);
}

.screen-guide-card.is-important {
  border-color: #e2c1bc;
  background: #fff6f4;
}

.screen-guide-icon {
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  border-radius: 11px;
  background: var(--ktx-primary-soft);
  color: var(--ktx-primary);
}

.screen-guide-icon .material-symbols-rounded {
  font-size: 27px;
}

.screen-guide-card h3 {
  margin-bottom: 7px;
  font-size: 20px;
}

.screen-guide-card p {
  margin: 0;
  color: var(--ktx-muted);
  font-size: 16px;
}

.recommended {
  display: inline-block;
  margin-bottom: 4px;
  color: var(--ktx-primary);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.settings-list {
  display: grid;
  gap: 10px;
}

.settings-list article {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 16px;
  border: 1px solid var(--ktx-line);
  border-radius: 12px;
  padding: 20px;
  background: var(--ktx-panel);
}

.settings-list article > .material-symbols-rounded {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 50%;
  background: var(--ktx-primary-soft);
  color: var(--ktx-primary);
}

.settings-list h3 {
  font-size: 18px;
}

.settings-list p {
  margin: 0;
  color: var(--ktx-muted);
  font-size: 16px;
}

.backup-card {
  border-radius: 16px;
  padding: 30px;
  background: var(--ktx-sidebar);
  color: #fff4ef;
  box-shadow: var(--ktx-shadow);
}

.backup-card .backup-icon {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  margin-bottom: 23px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.09);
  color: #ff8f86;
  font-size: 29px;
}

.backup-card .eyebrow {
  color: #ff8f86;
}

.backup-card h3 {
  font-size: 23px;
}

.backup-card > p:not(.eyebrow, .backup-note) {
  color: #d9cbc8;
  font-size: 16px;
}

.backup-card ol {
  display: grid;
  gap: 9px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.backup-card li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 700;
}

.backup-card li span {
  display: grid;
  width: 25px;
  height: 25px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: var(--ktx-primary);
  font-size: 14px;
}

.backup-note {
  margin-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 16px;
  color: #c9b8b4;
  font-size: 16px;
}

.data-management {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 0;
}

.data-management > article {
  border: 1px solid var(--ktx-line);
  border-radius: 14px;
  padding: 24px;
  background: var(--ktx-panel);
}

.data-card-heading {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 14px;
  align-items: center;
  margin-bottom: 18px;
}

.data-card-heading > .material-symbols-rounded {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 12px;
  background: var(--ktx-primary-soft);
  color: var(--ktx-primary);
  font-size: 26px;
}

.data-card-heading .eyebrow {
  margin-bottom: 1px;
}

.data-card-heading h3 {
  margin: 0;
  font-size: 19px;
}

.data-management article > p {
  color: var(--ktx-muted);
  font-size: 16px;
}

.data-management code {
  display: block;
  overflow-x: auto;
  border: 1px solid var(--ktx-line);
  border-radius: 8px;
  padding: 11px 13px;
  background: var(--ktx-bg);
  color: var(--ktx-primary-dark);
  font-family: "Consolas", "Yu Gothic UI", monospace;
  font-size: 16px;
  line-height: 1.55;
  white-space: nowrap;
}

.data-management .data-hint {
  margin-top: 16px;
  margin-bottom: 0;
  border-left: 3px solid var(--ktx-primary);
  padding-left: 12px;
  font-size: 16px;
}

.uninstall-card ol {
  display: grid;
  gap: 9px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.uninstall-card li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: var(--ktx-text);
  font-size: 16px;
}

.uninstall-card li > span {
  display: grid;
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  place-items: center;
  margin-top: 2px;
  border-radius: 50%;
  background: var(--ktx-primary);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
}

.uninstall-card li code {
  display: inline;
  overflow: visible;
  border: 0;
  padding: 0 3px;
  background: transparent;
  font-size: 16px;
  white-space: normal;
}

.faq-list {
  border-top: 1px solid var(--ktx-line);
}

.faq-list details {
  border-bottom: 1px solid var(--ktx-line);
}

.faq-list summary {
  display: grid;
  grid-template-columns: 38px 1fr 30px;
  align-items: center;
  gap: 12px;
  min-height: 82px;
  padding: 15px 2px;
  font-weight: 600;
  list-style: none;
  cursor: pointer;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary > span:first-child,
.faq-answer > span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  background: var(--ktx-primary-soft);
  color: var(--ktx-primary);
  font-size: 16px;
  font-weight: 600;
}

.faq-arrow {
  color: var(--ktx-muted);
  transition: transform 180ms ease;
}

details[open] .faq-arrow {
  transform: rotate(180deg);
}

.faq-answer {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 12px;
  padding: 0 44px 24px 2px;
}

.faq-answer > span {
  background: var(--ktx-primary);
  color: #fff;
}

.faq-answer p {
  margin: 1px 0 0;
  color: var(--ktx-muted);
}

.shortcut-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--ktx-line);
  border-radius: 13px;
  background: var(--ktx-panel);
}

.shortcut-table-wrap table {
  width: 100%;
  border-collapse: collapse;
}

.shortcut-table-wrap th,
.shortcut-table-wrap td {
  border-bottom: 1px solid var(--ktx-line);
  padding: 17px 20px;
  text-align: left;
}

.shortcut-table-wrap tr:last-child td {
  border-bottom: 0;
}

.shortcut-table-wrap th {
  background: var(--ktx-primary-soft);
  color: var(--ktx-primary-dark);
  font-size: 16px;
}

.shortcut-table-wrap td:first-child {
  width: 44%;
  white-space: nowrap;
}

.shortcut-table-wrap td > span {
  margin: 0 5px;
  color: var(--ktx-muted);
  font-size: 16px;
}

kbd {
  display: inline-grid;
  min-width: 38px;
  min-height: 32px;
  place-items: center;
  border: 1px solid #cfc1bd;
  border-bottom-width: 3px;
  border-radius: 6px;
  padding: 3px 8px;
  background: #fff;
  color: var(--ktx-text);
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  box-shadow: 0 2px 0 #eee5e2;
}

.last-message {
  position: relative;
  overflow: hidden;
  padding: 86px clamp(40px, 8vw, 112px);
  background: #5a3936;
  color: #fff4ef;
}

.last-message > div {
  position: relative;
  z-index: 1;
}

.last-message .eyebrow {
  color: #ffb1a9;
}

.last-message h2 {
  max-width: 720px;
  font-size: clamp(28px, 3.6vw, 44px);
}

.last-message p:not(.eyebrow, .section-brand-label) {
  max-width: 650px;
  color: #eadfdd;
}

.last-message p.section-brand-label {
  color: rgba(255, 255, 255, 0.08);
}

.button-light {
  margin-top: 18px;
  background: #fff;
  color: var(--ktx-primary-dark);
}

.guide-footer {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 120px;
  padding: 30px 24px 30px clamp(30px, 7vw, 90px);
  background: #211817;
  color: #cdbbb7;
}

.footer-brand {
  order: 1;
  display: flex;
  align-items: center;
  gap: 11px;
}

.footer-brand img {
  border-radius: 9px;
}

.footer-brand span {
  display: flex;
  flex-direction: column;
  line-height: 1.35;
}

.footer-brand strong {
  color: #fff;
}

.footer-brand small {
  font-size: 16px;
}

.footer-copyright {
  order: 3;
  width: 100%;
  flex: 0 0 100%;
  margin: 4px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding-top: 18px;
  color: #bba9a5;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-align: center;
}

.back-to-top {
  position: fixed;
  z-index: 35;
  right: 24px;
  bottom: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  padding: 0;
  background: #211817;
  color: #fff4ef;
  text-decoration: none;
  box-shadow: 0 10px 28px rgba(58, 48, 46, 0.16);
  opacity: 0;
  pointer-events: none;
  transform: translateY(24px);
  transition: opacity 180ms ease, transform 220ms ease, background-color 160ms ease;
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.back-to-top.is-docked {
  position: absolute;
  top: 30px;
  right: 24px;
  bottom: auto;
}

.back-to-top:hover {
  background: #3a2a28;
}

.back-to-top:focus-visible {
  outline: 3px solid var(--ktx-focus);
  outline-offset: 3px;
}

.back-to-top .material-symbols-rounded {
  font-size: 22px;
}

@media (max-width: 1180px) {
  :root {
    --sidebar-width: 230px;
  }

  .hero {
    grid-template-columns: minmax(240px, 0.78fr) minmax(0, 1.22fr);
    grid-template-areas: "visual copy";
    gap: clamp(20px, 3vw, 40px);
    padding: 80px clamp(20px, 3vw, 38px);
  }

  .hero-copy {
    max-width: 800px;
  }

  .hero-visual {
    min-height: 460px;
  }

  .hero-app-shot {
    width: min(100%, 320px);
    padding: 9px;
  }

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

@media (max-width: 900px) {
  html {
    scroll-padding-top: 72px;
  }

  .mobile-menu-button {
    position: fixed;
    z-index: 40;
    top: 12px;
    left: 12px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 42px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 9px;
    padding: 7px 12px;
    background: var(--ktx-sidebar);
    color: #fff;
    font: inherit;
    font-size: 16px;
    font-weight: 600;
    box-shadow: 0 9px 24px rgba(43, 31, 30, 0.2);
    cursor: pointer;
  }

  .mobile-menu-button:focus-visible {
    outline: 3px solid var(--ktx-focus);
    outline-offset: 2px;
  }

  .guide-sidebar {
    width: min(310px, 88vw);
    padding-top: 72px;
    transform: translateX(-104%);
    box-shadow: 18px 0 50px rgba(43, 31, 30, 0.2);
    transition: transform 200ms ease;
  }

  body.is-menu-open .guide-sidebar {
    transform: translateX(0);
  }

  body.is-menu-open::after {
    content: "";
    position: fixed;
    z-index: 15;
    inset: 0;
    background: rgba(43, 31, 30, 0.42);
  }

  .guide-main {
    margin-left: 0;
  }

  .hero {
    min-height: auto;
    padding-top: 104px;
  }

  .guide-section {
    padding-block: 80px;
  }

  .concept-grid,
  .step-list {
    grid-template-columns: 1fr;
  }

  .concept-grid article,
  .step-list li {
    display: grid;
    min-height: auto;
    grid-template-columns: auto 1fr;
    align-items: start;
    gap: 17px;
  }

  .concept-number {
    margin: 3px 0 0;
  }

  .step-icon {
    margin: 0;
  }

  .step-number {
    display: none;
  }

  .example-layout,
  .data-management {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 760px) {
  .hero {
    grid-template-columns: 1fr;
    grid-template-areas:
      "visual"
      "copy";
    gap: 60px;
  }

  .hero-copy {
    max-width: 100%;
  }

  .hero-visual {
    min-height: auto;
  }

  .hero-app-shot {
    width: min(100%, 390px);
    padding: 12px;
  }
}

@media (max-width: 620px) {
  body {
    font-size: 16px;
  }

  .desktop-only {
    display: none;
  }

  .hero {
    gap: 60px;
    padding: 94px 20px 62px;
  }

  .hero h1 {
    font-size: clamp(46px, 19cqi, 84px);
  }

  .hero-lead {
    font-size: 16px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-reassurance {
    justify-content: center;
  }

  .hero-visual {
    min-height: auto;
  }

  .hero-app-shot {
    width: min(92%, 390px);
  }

  .guide-section {
    padding: 68px 20px;
  }

  .section-heading {
    margin-bottom: 30px;
  }

  .section-heading > p:not(.eyebrow) {
    font-size: 15px;
  }

  .creator-note {
    padding: 25px 21px 27px;
  }

  .creator-note-heading {
    grid-template-columns: 50px 1fr;
    gap: 13px;
    margin-bottom: 21px;
    padding-bottom: 20px;
  }

  .creator-note-heading img {
    width: 50px;
    height: 50px;
    border-radius: 11px;
  }

  .creator-note-body p {
    font-size: 15px;
  }

  .creator-note-body .creator-note-lead {
    font-size: 17px;
  }

  .concept-grid article,
  .step-list li {
    display: block;
  }

  .concept-number {
    margin-bottom: 18px;
  }

  .step-icon {
    margin-bottom: 20px;
  }

  .screen-frame {
    border-radius: 8px;
  }

  .screen-frame img {
    min-width: 760px;
    max-width: none;
    transform: translateX(-10%);
  }

  .screen-frame {
    overflow-x: auto;
  }

  .screen-marker {
    display: none;
  }

  .screen-figure figcaption {
    align-items: flex-start;
  }

  .callout {
    grid-template-columns: 34px 1fr;
    padding: 17px;
  }

  .sample-grid,
  .result-grid {
    grid-template-columns: 1fr;
  }

  .sample-grid article,
  .result-grid article {
    min-height: auto;
  }

  .result-grid article {
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 2px 12px;
  }

  .result-grid article > .material-symbols-rounded {
    grid-row: 1 / span 2;
    margin: 0;
  }

  .continue-tip {
    grid-template-columns: 1fr;
  }

  .continue-buttons {
    justify-content: flex-start;
  }

  .screen-guide-card {
    grid-template-columns: 46px 1fr;
    gap: 12px;
    min-height: auto;
    padding: 18px;
  }

  .screen-guide-icon {
    width: 43px;
    height: 43px;
  }

  .backup-card {
    padding: 24px 21px;
  }

  .data-management > article {
    padding: 20px;
  }

  .data-card-heading {
    grid-template-columns: 43px 1fr;
    gap: 11px;
  }

  .data-card-heading > .material-symbols-rounded {
    width: 41px;
    height: 41px;
  }

  .faq-list summary {
    grid-template-columns: 34px 1fr 24px;
    gap: 8px;
    font-size: 16px;
  }

  .faq-answer {
    grid-template-columns: 34px 1fr;
    gap: 8px;
    padding-right: 2px;
  }

  .shortcut-table-wrap {
    font-size: 16px;
  }

  .shortcut-table-wrap th,
  .shortcut-table-wrap td {
    padding: 14px 12px;
  }

  .shortcut-table-wrap td:first-child {
    width: auto;
  }

  kbd {
    min-width: 31px;
    min-height: 29px;
    padding-inline: 6px;
  }

  .last-message {
    padding: 68px 20px;
  }

  .last-message h2 {
    font-size: 28px;
  }

  .guide-footer {
    align-items: flex-start;
    flex-direction: column;
    padding: 28px 14px 28px 20px;
  }

  .footer-copyright {
    flex-basis: auto;
  }

  .back-to-top {
    right: 14px;
    bottom: 14px;
    width: 48px;
    height: 48px;
  }

  .back-to-top.is-docked {
    top: 28px;
    right: 14px;
    bottom: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
