.marketing-page {
  color: var(--ink);
  background: #fff;
  line-height: 1.65;
}
.marketing-page .app-brand { font-size: 26px; }
.marketing-page .app-header .app-brand-mark { width: 34px; height: 34px; }
.marketing-page .app-header nav a { font-size: 15px; }

.marketing-page .bare-content {
  position: relative;
  isolation: isolate;
  display: flex;
  min-height: 100vh;
  min-height: 100svh;
  flex-direction: column;
}

.lp-atmosphere {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: url("/koedoor-atmosphere.jpg") center / cover no-repeat;
}
.lp-atmosphere[data-flow-day="0"] { background-position: 46% 48%; }
.lp-atmosphere[data-flow-day="1"] { background-position: 50% 46%; }
.lp-atmosphere[data-flow-day="2"] { background-position: 54% 48%; }
.lp-atmosphere[data-flow-day="3"] { background-position: 52% 54%; }
.lp-atmosphere[data-flow-day="5"] { background-position: 48% 54%; }
.lp-atmosphere[data-flow-day="6"] { background-position: 46% 50%; }

.app-page main.about-page {
  max-width: none;
  padding: 0;
  background: #fff url("/koedoor-atmosphere.jpg") center top / 100% auto no-repeat;
  color: var(--ink);
}
.about-wrap { width: min(1120px, calc(100% - 72px)); margin-inline: auto; }
.about-benefits { padding-block: clamp(34px, 5vw, 66px); }
.about-intro { margin-bottom: clamp(24px, 4vw, 42px); }
.about-section-label { color: var(--accent-ink); font-size: 12px; font-weight: 750; letter-spacing: .08em; }
.about-intro #about-title {
  margin: 0;
  font-size: clamp(25px, 4vw, 48px);
  line-height: 1.32;
  letter-spacing: -.06em;
  text-wrap: balance;
}
.about-lead { max-width: 43em; margin: 16px 0 0; color: #534b63; line-height: 1.8; text-wrap: pretty; }
.about-intro .about-start { margin: 18px 0 0; }
.about-benefit-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; list-style: none; margin: 0; padding: 0; }
.about-benefit-grid > li {
  padding: clamp(16px, 2.5vw, 28px);
  border: 1px solid #e9e2f0;
  border-radius: 20px;
  background: #ffffffdb;
}
.about-benefit-grid > li:nth-child(3) { --about-marker: #b4dfd780; background: #f1fbf7; }
.about-benefit-grid > li:nth-child(4) { --about-marker: #f8d4af80; background: #fff7ef; }
.about-value-details summary {
  position: relative;
  padding-right: 40px;
  list-style: none;
  cursor: pointer;
}
.about-value-details summary::-webkit-details-marker { display: none; }
.about-value-details summary::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 30px;
  height: 30px;
  border: 1px solid #dcd2ef;
  border-radius: 50%;
  background: linear-gradient(var(--accent-ink), var(--accent-ink)) center / 10px 1px no-repeat,
    linear-gradient(var(--accent-ink), var(--accent-ink)) center / 1px 10px no-repeat, #ffffffb8;
}
.about-value-details[open] summary::after { background-size: 10px 1px, 0 0, auto; }
.about-number {
  display: block;
  margin-bottom: 5px;
  color: var(--accent-ink);
  font-size: 12px;
  font-weight: 750;
  font-variant-numeric: tabular-nums;
  letter-spacing: .04em;
}
.about-value-title { display: block; margin-bottom: 5px; font-size: clamp(17px, 2.2vw, 22px); font-weight: 750; letter-spacing: -.025em; }
.about-value-title > span {
  padding-inline: .12em;
  margin-inline-start: -.12em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  background: linear-gradient(177deg, transparent 62%, var(--about-marker, #c7b8f478) 64% 88%, transparent 90%);
}
.about-value-lead, .about-value-details p { display: block; color: #534b63; margin: 0; line-height: 1.75; text-wrap: pretty; }
.about-value-details p { margin-top: 13px; padding-top: 12px; border-top: 1px solid #e3d9eb; }
.about-value-link { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; margin-top: 2px; color: var(--accent-ink); font-size: 13px; font-weight: 680; text-underline-offset: 3px; }
.about-try-bot { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 24px; padding: 14px 17px; border: 1px solid #e9e2f0; border-radius: 16px; background: #fff; }
.about-avatar { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: #eee8ff; }
.about-avatar .app-brand-mark { width: 22px; height: 22px; }
.about-try-bot p { flex: 1 1 12em; margin: 0; color: #534b63; }
.about-primary { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-left: auto; padding: 10px 16px; border-radius: 999px; background: #272337; color: #fff; text-decoration: none; font-weight: 680; }
.about-primary:hover { background: #4b3d91; }
.about-details-link { margin-top: 16px; }
@media (max-width: 760px) {
  .about-wrap { width: calc(100% - 36px); }
  .about-benefit-grid { grid-template-columns: 1fr; gap: 9px; }
}

.app-page main.service-guide {
  width: min(1120px, calc(100% - 48px));
  max-width: none;
  margin-inline: auto;
  padding: clamp(26px, 5vw, 64px) 0;
}
.service-guide-heading {
  padding: clamp(22px, 5vw, 54px);
  border: 1px solid #ebe3f3;
  border-radius: 24px;
  background: #fff url("/koedoor-atmosphere.jpg") center 50% / cover;
}
.service-guide-back { display: inline-block; min-height: 28px; color: var(--accent-ink); font-size: 13px; font-weight: 700; }
.service-guide-heading h1 { margin: 9px 0 8px; font-size: clamp(26px, 4.5vw, 48px); line-height: 1.23; letter-spacing: -.05em; }
.service-guide-heading p { margin: 0; color: #534b63; text-wrap: pretty; }
.service-guide-heading nav { display: flex; flex-wrap: wrap; gap: 6px 10px; margin-top: 16px; }
.service-guide-heading nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 13px;
  border: 1px solid #e4daf1;
  border-radius: 99px;
  background: #fff9;
  color: var(--accent-ink);
  font-size: 13px;
  font-weight: 680;
  text-decoration: none;
}
.service-guide-heading nav a:hover { background: #fff; text-decoration: underline; }
.service-guide-step {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: clamp(18px, 4vw, 50px);
  align-items: start;
  padding: clamp(24px, 5vw, 54px) 0;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 84px;
}
.service-guide-copy { padding-top: 9px; }
.service-guide-copy h2 { margin: 9px 0 15px; font-size: clamp(21px, 3vw, 32px); line-height: 1.35; letter-spacing: -.04em; }
.service-guide-number { color: var(--accent-ink); font-size: 13px; font-weight: 750; letter-spacing: .08em; }
.service-guide-copy ol { display: grid; gap: 8px; margin: 0; padding-left: 1.3em; color: #534b63; line-height: 1.75; }
.service-guide-copy li { padding-left: .2em; }
.service-guide-copy li::marker { color: var(--accent-ink); font-weight: 750; }
.service-guide-step figure {
  min-width: 0;
  margin: 0;
  padding: 10px;
  border: 1px solid #e9e1f1;
  border-radius: 16px;
  background: #f9f6fd;
  box-shadow: 0 10px 32px #2716500a;
}
.service-guide-step figure a { display: block; border-radius: 9px; background: #fff; }
.service-guide-step img { display: block; width: 100%; height: auto; max-height: 440px; object-fit: contain; border-radius: 9px; }
.service-guide-step figcaption { padding: 9px 3px 2px; color: #534b63; font-size: 12px; line-height: 1.5; }
.service-guide-next { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.service-guide-next p { margin: 0; color: #534b63; }
.guide-image-trigger { cursor: zoom-in; }
html:has(.guide-image-dialog[open]) { overflow: hidden; }
.guide-image-dialog {
  box-sizing: border-box;
  width: min(880px, calc(100% - 24px));
  max-width: none;
  max-height: calc(100% - 24px);
  padding: 0;
  border: 1px solid #e6dff0;
  border-radius: 16px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 24px 70px #20143942;
}
.guide-image-dialog::backdrop { background: #1d1735a8; }
.guide-image-toolbar {
  position: sticky;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 6px 10px 6px 14px;
  border-bottom: 1px solid #eee8f4;
  background: #fff;
}
.guide-image-toolbar p { margin: 0; color: #534b63; font-size: 13px; line-height: 1.45; }
.guide-image-toolbar button {
  flex: none;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid #ded4ee;
  border-radius: 9px;
  background: #f6f1fc;
  color: var(--accent-ink);
  font: inherit;
  font-weight: 680;
  cursor: pointer;
}
.guide-image-toolbar button:hover { background: #ede5fa; }
.guide-image-dialog > img {
  display: block;
  width: auto;
  height: auto;
  max-width: calc(100% - 16px);
  max-height: min(68vh, 610px);
  max-height: min(68dvh, 610px);
  margin: 8px auto;
  object-fit: contain;
}
@media (max-width: 740px) {
  .app-page main.service-guide { width: calc(100% - 36px); }
  .service-guide-step { grid-template-columns: minmax(0, 1fr); scroll-margin-top: 62px; }
  .service-guide-next .about-primary { margin-left: 0; }
}

.lp-main {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: center;
  width: min(1160px, calc(100% - 48px));
  margin: 0 auto;
  padding: clamp(32px, 5vh, 54px) 0 clamp(48px, 10vh, 100px);
}

.lp-message { text-align: center; margin-bottom: clamp(40px, 7vh, 72px); }
.lp-brand-emblem { margin: 0 auto clamp(20px, 3vh, 34px); width: 72px; height: 72px; }
.lp-brand-emblem .app-brand-mark { width: 72px; height: 72px; }
.lp-message .display-heading { margin: 0; font-size: clamp(30px, 4.6vw, 72px); line-height: 1.4; letter-spacing: -.045em; }
.lp-heading-context { display: block; margin-bottom: 16px; color: var(--ink); font-size: clamp(15px, 1.8vw, 23px); font-weight: 600; letter-spacing: -.025em; line-height: 1.7; word-break: keep-all; }
.lp-message-phrase { display: inline-block; word-break: keep-all; }
.lp-message > p {
  margin: clamp(14px, 2.7vh, 24px) auto 0;
  max-width: 950px;
  color: var(--ink);
  font-size: clamp(15px, 1.8vw, 26px);
  line-height: 1.85;
  letter-spacing: -.015em;
  text-wrap: pretty;
}

.lp-composer { width: min(100%, 1076px); margin: 0 auto; }
.lp-input-hint { display: block; margin: 0 14px 10px; color: var(--ink); font-size: 18px; font-weight: 550; }

.lp-url-form {
  border: 1px solid #c8cef1;
  border-radius: 28px;
  padding: 10px;
  background: #fff;
  box-shadow: 0 7px 18px #3438800d, 0 2px 5px #34388008;
  transition: border-color .15s, box-shadow .15s;
}
.lp-url-form:focus-within {
  border-color: #9d9cf7;
  box-shadow: 0 9px 24px #434bcf12, 0 0 0 3px #6d72f22b;
}
.lp-input-row { display: flex; align-items: center; gap: 12px; }
.lp-input-row input {
  flex: 1;
  min-width: 0;
  padding: 6px 0 6px 16px;
  border: 0;
  border-radius: 0;
  outline: none;
  background: transparent;
  color: var(--ink);
  font-size: clamp(16px, 1.9vw, 28px);
  line-height: 1.5;
}
.lp-input-row input::placeholder { color: #777185; opacity: 1; }
.lp-input-row button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 72px;
  padding: 10px clamp(14px, 2.35vw, 32px);
  border: 0;
  border-radius: 999px;
  background: var(--primary-fill);
  color: white;
  font-size: clamp(14px, 1.55vw, 21px);
  font-weight: 650;
  white-space: nowrap;
}
.lp-input-row button:hover { background: var(--purple-dark); }
.lp-input-row button:disabled { opacity: .62; cursor: not-allowed; }
.lp-reassurance { margin: 20px 0 0; text-align: center; color: var(--muted); font-size: 14px; }
.lp-error, .lp-unavailable { font-size: 12px; margin: 9px 15px 0; line-height: 1.7; }
.lp-error { color: #a33e36; }
.lp-unavailable { color: var(--muted); }
.lp-unavailable a { margin-left: 6px; }

.lp-footer {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-shrink: 0;
  gap: 22px;
  padding: 20px 100px max(28px, env(safe-area-inset-bottom)) clamp(24px, 4vw, 60px);
  color: var(--muted);
}
.lp-footer small, .lp-footer a { font-size: 12px; white-space: nowrap; }
.lp-footer nav { display: flex; gap: 20px; }
.lp-footer a { color: inherit; text-decoration: none; }
.lp-footer a:hover { color: var(--purple); }

.service-faq details { padding: 18px 0; margin: 0; border-bottom: 1px solid var(--line); border-top: 0; }
.service-faq summary { font-size: 14px; }
.service-faq details > p { padding-top: 10px; }

@media (max-width: 720px) {
  .marketing-page .app-brand { font-size: 16px; }
  .marketing-page .app-header .app-brand-mark { width: 24px; height: 24px; }
  .marketing-page .app-header nav a { font-size: 11px; }
  .lp-atmosphere { background-position: center; background-size: auto 100%; }
  .lp-main { width: calc(100% - 32px); padding-top: 32px; padding-bottom: clamp(50px, 10svh, 94px); }
  .lp-brand-emblem { width: 52px; height: 52px; margin-bottom: 22px; }
  .lp-brand-emblem .app-brand-mark { width: 52px; height: 52px; }
  .lp-message { margin-bottom: 34px; }
  .lp-message .display-heading { font-size: clamp(27px, 6vw, 42px); }
  .lp-heading-context { font-size: 15px; margin-bottom: 16px; }
  .lp-message > p { max-width: 28em; padding: 0 5px; }
  .lp-url-form { padding: 5px; }
  .lp-input-hint { font-size: 14px; }
  .lp-input-row { gap: 6px; }
  .lp-input-row input { padding-left: 10px; }
  .lp-input-row button { min-height: 44px; padding-inline: 13px; }
  .lp-footer { flex-direction: column; align-items: flex-start; gap: 7px; padding: 12px 68px max(16px, env(safe-area-inset-bottom)) 16px; }
  .lp-footer nav { flex-wrap: wrap; gap: 4px 12px; }
  .lp-footer small, .lp-footer a { font-size: 11px; }
}

@media (max-width: 355px) {
  .marketing-page .app-brand { font-size: 15px; }
  .marketing-page .app-header nav a { font-size: 10px; }
  .lp-input-row button { padding-inline: 10px; }
}

@media (max-height: 560px) {
  .lp-main { padding: 28px 0 52px; }
  .lp-message { margin-bottom: 22px; }
  .lp-brand-emblem { display: none; }
}

@media (max-width: 960px) and (max-height: 440px) {
  .marketing-page:has([data-ai-reception-host]) .lp-composer { width: calc(100% - 60px); margin-inline: 0 auto; }
}
