/* Salon Calendar support site.
   Local assets only: no external fonts, CDN, analytics, or tracking requests. */

:root {
  color-scheme: light;
  --black: #080808;
  --ink: #18191d;
  --ink-soft: #66686f;
  --muted: #9a9ba1;
  --white: #fbfaf7;
  --paper: #f3eee9;
  --line: rgba(24, 25, 29, 0.13);
  --line-dark: rgba(255, 255, 255, 0.18);
  --rose: #e7cfd0;
  --rose-strong: #cf6f7f;
  --graphite: #2a2d34;
  --brown: #604837;
  --blue: #3773bd;
  --red: #d34d52;
  --shadow: 0 34px 90px rgba(0, 0, 0, 0.22);
  --serif: "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.75;
}

body.home {
  background: #f9f7f3;
}

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

a {
  color: inherit;
  text-decoration-color: currentColor;
  text-underline-offset: 0.22em;
}

p {
  margin: 0;
  color: var(--ink-soft);
}

strong { font-weight: 700; }

.site-header,
.cinema-hero,
.style-gallery,
.pro-section,
.workflow-showcase,
.privacy-band,
.support-section,
.faq-section,
.site-footer {
  width: min(1240px, calc(100% - 44px));
  margin-inline: auto;
}

section[id] {
  scroll-margin-top: 104px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 0;
  color: var(--ink);
}

.home .product-header {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.9);
}

.home.scrolled .product-header {
  color: var(--ink);
}

.product-header::before {
  content: "";
  position: absolute;
  inset: 8px -14px;
  z-index: -1;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  transition: background 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.home.scrolled .product-header::before,
body:not(.home) .site-header::before {
  background: rgba(255, 252, 247, 0.82);
  border-color: rgba(24, 25, 29, 0.08);
  box-shadow: 0 14px 50px rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(18px);
}

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

.brand-mark {
  width: 34px;
  height: 34px;
  border: 1px solid currentColor;
  border-radius: 8px;
  opacity: 0.9;
  background:
    linear-gradient(currentColor 0 22%, transparent 22%),
    repeating-linear-gradient(0deg, transparent 0 7px, currentColor 7px 8px),
    repeating-linear-gradient(90deg, transparent 0 7px, currentColor 7px 8px);
}

.brand strong {
  display: block;
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.18;
}

.brand small {
  display: block;
  margin-top: 1px;
  color: currentColor;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  opacity: 0.72;
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 28px);
  font-size: 0.86rem;
  white-space: nowrap;
}

.nav a {
  text-decoration: none;
  opacity: 0.72;
  transition: opacity 160ms ease;
}

.nav a:hover { opacity: 1; }

.cinema-hero {
  min-height: 100svh;
  width: 100%;
  position: relative;
  overflow: clip;
  display: grid;
  grid-template-columns: minmax(500px, 0.9fr) minmax(520px, 1fr);
  align-items: center;
  gap: clamp(24px, 4vw, 66px);
  padding: 132px max(22px, calc((100vw - 1240px) / 2)) 78px;
  color: white;
  background:
    radial-gradient(circle at 72% 50%, rgba(231, 207, 208, 0.34), transparent 24rem),
    radial-gradient(circle at 86% 12%, rgba(255, 255, 255, 0.20), transparent 15rem),
    linear-gradient(115deg, #050505 0%, #11100f 48%, #342a26 100%);
}

.cinema-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 34%;
  pointer-events: none;
  background: linear-gradient(to bottom, transparent, rgba(249, 247, 243, 0.96));
}

.hero-copy {
  position: relative;
  z-index: 2;
  min-width: 0;
}

.hero-copy h1,
.pro-copy h2,
.section-intro h2,
.privacy-band h2,
.support-section h2,
.faq-section h2,
.privacy-page h1,
.policy-summary h2,
.policy-section h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: 0;
}

.hero-copy h1 {
  max-width: 780px;
  font-size: clamp(2.75rem, 3.7vw, 3.45rem);
  line-height: 1.07;
  overflow-wrap: normal;
  text-wrap: normal;
}

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

.hero-lead {
  max-width: 620px;
  margin-top: 26px;
  color: rgba(255, 255, 255, 0.76);
  font-size: clamp(1.02rem, 1.45vw, 1.22rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  transition: transform 180ms ease, opacity 180ms ease, background 180ms ease;
}

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

.button.light {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.92);
  border-color: transparent;
}

.button.dark {
  color: white;
  background: rgba(8, 8, 8, 0.82);
  border-color: transparent;
}

.poster-cinema {
  position: relative;
  z-index: 1;
  min-height: min(72vw, 720px);
}

.floating-poster {
  position: absolute;
  width: min(34vw, 386px);
  margin: 0;
  border-radius: 6px;
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow);
}

.floating-poster img {
  width: 100%;
  height: auto;
}

.poster-left {
  left: 0;
  top: 15%;
  transform: rotate(-7deg);
  filter: brightness(0.94);
}

.poster-center {
  left: 28%;
  top: 1%;
  z-index: 3;
  width: min(35vw, 414px);
  transform: translateY(2%) rotate(0.5deg);
  box-shadow: 0 46px 110px rgba(234, 172, 185, 0.28), var(--shadow);
}

.poster-right {
  right: 0;
  top: 14%;
  transform: rotate(6deg);
}

.hero-strip {
  position: absolute;
  left: max(22px, calc((100vw - 1240px) / 2));
  right: max(22px, calc((100vw - 1240px) / 2));
  bottom: 28px;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.hero-strip span {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.78);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
  font-size: 0.78rem;
  font-weight: 700;
}

.style-gallery {
  padding: clamp(70px, 10vw, 136px) 0;
}

.pro-copy h2,
.section-intro h2,
.privacy-band h2,
.support-section h2,
.faq-section h2 {
  font-size: clamp(2.55rem, 5vw, 5.5rem);
  line-height: 0.98;
}

.pro-copy h2 span,
.section-intro h2 span {
  display: block;
}

.pro-copy p,
.section-intro p,
.privacy-band p,
.support-copy p {
  max-width: 650px;
  margin-top: 24px;
  font-size: clamp(1rem, 1.3vw, 1.15rem);
}

.section-intro.wide {
  max-width: 980px;
}

.section-intro h2 {
  max-width: 980px;
  font-size: clamp(2.55rem, 4.5vw, 4.85rem);
  line-height: 1.06;
  text-wrap: balance;
}

.style-gallery .section-intro h2 span {
  display: inline-block;
  white-space: nowrap;
}

html[lang="ja"] .pro-copy h2 span {
  display: inline-block;
  white-space: nowrap;
}

.eyebrow {
  margin-bottom: 18px;
  color: var(--rose-strong);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.style-showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: clamp(44px, 6vw, 74px);
  border: 1px solid var(--line);
  background: var(--line);
}

.style-showcase-card {
  min-width: 0;
  display: grid;
  gap: 16px;
  grid-template-rows: auto auto auto 1fr;
  padding: clamp(22px, 3vw, 34px);
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.82), rgba(245, 239, 233, 0.74)),
    var(--paper);
}

.style-showcase-card figure {
  height: clamp(430px, 43vw, 650px);
  display: grid;
  place-items: center;
  margin: 0 0 8px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 8%, rgba(231, 207, 208, 0.36), transparent 18rem),
    rgba(255, 255, 255, 0.42);
}

.style-showcase-card img {
  width: auto;
  height: auto;
  max-width: min(88%, 360px);
  max-height: 88%;
  object-fit: contain;
  border-radius: 5px;
  box-shadow: 0 28px 80px rgba(24, 25, 29, 0.18);
}

.style-showcase-card > span {
  color: var(--rose-strong);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.style-showcase-card h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.42rem, 2vw, 2rem);
  font-weight: 500;
  line-height: 1.22;
  text-wrap: balance;
}

.style-showcase-card p {
  margin: 0;
}

.workflow-card span {
  color: var(--rose-strong);
  font-family: var(--serif);
  font-size: 2.2rem;
  line-height: 1;
}

.pro-section {
  width: 100%;
  overflow: clip;
  padding: clamp(80px, 11vw, 150px) max(22px, calc((100vw - 1240px) / 2));
  color: white;
  background:
    radial-gradient(circle at 82% 16%, rgba(214, 161, 171, 0.22), transparent 22rem),
    linear-gradient(145deg, #080808 0%, #111111 58%, #26201f 100%);
}

.pro-copy {
  max-width: 840px;
}

.pro-copy p,
.subscription-note {
  color: rgba(255, 255, 255, 0.72);
}

.pro-stage {
  display: grid;
  grid-template-columns: minmax(180px, 0.46fr) minmax(220px, 0.54fr) minmax(320px, 0.9fr);
  align-items: center;
  gap: clamp(20px, 4vw, 58px);
  margin-top: clamp(54px, 7vw, 86px);
}

.pro-poster {
  position: relative;
  margin: 0;
  display: grid;
  place-items: center;
}

.pro-poster img {
  width: auto;
  height: auto;
  max-width: min(100%, 360px);
  max-height: min(68vh, 640px);
  object-fit: contain;
  border-radius: 5px;
  box-shadow: 0 36px 110px rgba(0, 0, 0, 0.42);
}

.pro-poster.free {
  transform: rotate(-4deg);
  opacity: 0.9;
}

.pro-poster.pro {
  transform: translateY(-22px) rotate(4deg);
}

.pro-poster span {
  position: absolute;
  left: 20px;
  top: -18px;
  z-index: 2;
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 0 13px;
  border-radius: 999px;
  color: white;
  background: #050505;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.pro-list {
  display: grid;
  border-top: 1px solid var(--line-dark);
}

.pro-list div {
  display: grid;
  grid-template-columns: minmax(110px, 0.4fr) 1fr;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line-dark);
}

.pro-list strong {
  color: white;
}

.pro-list span {
  color: rgba(255, 255, 255, 0.66);
}

.subscription-note {
  max-width: 780px;
  margin-top: 36px;
  font-size: 0.9rem;
}

.workflow-showcase {
  padding: clamp(84px, 11vw, 150px) 0;
}

.section-intro {
  max-width: 860px;
}

.workflow-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: clamp(44px, 6vw, 74px);
  background: var(--line);
  border: 1px solid var(--line);
}

.workflow-card {
  min-height: auto;
  overflow: hidden;
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 30px;
  padding: clamp(24px, 3vw, 38px);
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.78), rgba(245, 239, 233, 0.72)),
    var(--paper);
}

.workflow-card h3 {
  margin: 20px 0 0;
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2vw, 2rem);
  font-weight: 500;
  line-height: 1.2;
}

.workflow-card p {
  margin-top: 12px;
}

.workflow-card img {
  width: auto;
  height: auto;
  max-width: min(100%, 290px);
  max-height: 520px;
  object-fit: contain;
  align-self: end;
  justify-self: center;
  border-radius: 32px;
  box-shadow: 0 28px 80px rgba(24, 25, 29, 0.20);
}

.privacy-band,
.support-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
  padding: clamp(50px, 7vw, 88px) 0;
  border-top: 1px solid var(--line);
}

.privacy-band h2,
.support-section h2 {
  font-size: clamp(2rem, 4vw, 4.2rem);
}

.support-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

.compact-faq {
  padding: clamp(50px, 7vw, 92px) 0;
  border-top: 1px solid var(--line);
}

.compact-faq h2 {
  font-size: clamp(2rem, 4vw, 4rem);
}

.faq-list {
  max-width: 900px;
  margin-top: 28px;
  border-top: 1px solid var(--line);
}

details {
  border-bottom: 1px solid var(--line);
}

summary {
  cursor: pointer;
  list-style: none;
  position: relative;
  padding: 24px 48px 24px 0;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.16rem;
}

summary::-webkit-details-marker { display: none; }

summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--rose-strong);
  font-family: var(--sans);
  font-size: 1.35rem;
}

details[open] summary::after { content: "-"; }

details p {
  max-width: 760px;
  padding: 0 0 24px;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 24px;
  padding: 34px 0 44px;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.84rem;
}

.site-footer strong {
  display: block;
  color: var(--ink);
  font-family: var(--serif);
  font-weight: 500;
}

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

.updated {
  color: var(--muted);
  font-size: 0.82rem;
}

.note { color: var(--muted); }

/* Privacy pages */
.product-line,
.section-kicker {
  color: var(--brown);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.privacy-page {
  width: min(980px, calc(100% - 44px));
  margin: 0 auto;
  padding: 44px 0 96px;
  overflow-wrap: anywhere;
}

.privacy-page .privacy-hero {
  padding: 54px 0 64px;
}

.privacy-page h1 {
  max-width: 820px;
  margin-top: 18px;
  font-size: clamp(2.4rem, 5vw, 5rem);
  line-height: 1.04;
  overflow-wrap: anywhere;
}

.privacy-page .lead {
  max-width: 760px;
  margin-top: 24px;
  font-size: 1.04rem;
}

.policy-summary {
  display: grid;
  grid-template-columns: minmax(0, 0.54fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 70px);
  align-items: start;
  margin: 28px 0 50px;
  padding: clamp(26px, 5vw, 46px);
  background: white;
  border: 1px solid var(--line);
  box-shadow: 0 18px 50px rgba(24, 25, 29, 0.08);
  overflow-wrap: anywhere;
}

.policy-summary h2 {
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  line-height: 1.16;
}

.policy-summary ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.policy-summary li {
  display: grid;
  grid-template-columns: 16px minmax(0, 1fr);
  gap: 12px;
  color: var(--ink-soft);
}

.policy-summary li::before {
  content: "";
  width: 8px;
  height: 8px;
  margin-top: 0.7em;
  background: var(--rose-strong);
}

.policy-section {
  padding: 34px 0;
  border-top: 1px solid var(--line);
}

.policy-section h2 {
  margin-bottom: 14px;
  font-size: clamp(1.45rem, 2.8vw, 2.2rem);
}

.policy-section p + p,
.policy-section ul + p {
  margin-top: 16px;
}

.policy-section ul {
  margin: 14px 0 0;
  padding-left: 1.2em;
  color: var(--ink-soft);
}

.policy-section li {
  margin: 8px 0;
}

.policy-contact {
  margin-top: 18px;
  padding: 28px;
  background: white;
  border: 1px solid var(--line);
}

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

@media (max-width: 1060px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .home .product-header {
    width: min(1240px, calc(100% - 32px));
  }

  .nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .cinema-hero {
    grid-template-columns: 1fr;
    padding-top: 132px;
  }

  .poster-cinema {
    min-height: 600px;
  }

  .floating-poster {
    width: min(42vw, 360px);
  }

  .poster-center {
    left: 30%;
    width: min(44vw, 390px);
  }

  .pro-stage,
  .workflow-grid,
  .style-showcase-grid {
    grid-template-columns: 1fr;
  }

  .style-showcase-card {
    grid-template-columns: minmax(220px, 0.72fr) minmax(0, 1fr);
    grid-template-rows: auto auto 1fr;
    align-items: center;
  }

  .style-showcase-card figure {
    grid-row: 1 / 4;
    height: 460px;
    margin: 0;
  }

  .workflow-card {
    min-height: auto;
    grid-template-columns: minmax(0, 0.8fr) minmax(220px, 0.62fr);
    grid-template-rows: auto;
    align-items: center;
  }

  .workflow-card img {
    max-width: min(100%, 250px);
    max-height: 470px;
  }
}

@media (max-width: 720px) {
  .site-header,
  .style-gallery,
  .workflow-showcase,
  .privacy-band,
  .support-section,
  .faq-section,
  .site-footer,
  .privacy-page {
    width: min(100% - 28px, 1240px);
  }

  .home .product-header {
    width: min(100% - 28px, 1240px);
    position: absolute;
    left: 14px;
    right: 14px;
    transform: none;
  }

  .cinema-hero {
    min-height: 920px;
    padding-inline: 14px;
    padding-bottom: 86px;
  }

  .hero-copy h1 {
    max-width: 100%;
    font-size: clamp(1.95rem, 8.6vw, 2.18rem);
    line-height: 1.12;
    text-wrap: normal;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .button {
    min-height: 44px;
    padding-inline: 14px;
    font-size: 0.82rem;
  }

  .poster-cinema {
    min-height: 470px;
  }

  .floating-poster {
    width: 48vw;
  }

  .poster-left {
    left: -12%;
    top: 20%;
  }

  .poster-center {
    left: 23%;
    top: 2%;
    width: 55vw;
  }

  .poster-right {
    right: -14%;
    top: 24%;
  }

  .hero-strip {
    left: 14px;
    right: 14px;
    bottom: 18px;
    justify-content: flex-start;
  }

  section[id] {
    scroll-margin-top: 28px;
  }

  .style-showcase-card {
    grid-template-columns: 1fr;
  }

  .style-showcase-card figure {
    grid-row: auto;
    height: min(112vw, 520px);
  }

  .pro-section {
    padding-inline: 14px;
  }

  .pro-stage {
    gap: 30px;
  }

  .pro-poster.free,
  .pro-poster.pro {
    max-width: 78vw;
    margin-inline: auto;
    transform: none;
  }

  .pro-poster img {
    max-height: 560px;
  }

  .pro-list div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .workflow-card {
    grid-template-columns: 1fr;
  }

  .workflow-card img {
    max-width: min(100%, 270px);
    max-height: 500px;
  }

  .privacy-band,
  .support-section,
  .site-footer,
  .policy-summary {
    grid-template-columns: 1fr;
  }

  .privacy-page h1 {
    font-size: clamp(1.95rem, 7.6vw, 2.1rem);
    line-height: 1.12;
    word-break: break-word;
  }

  .policy-summary li {
    grid-template-columns: 12px minmax(0, 1fr);
  }

  .support-actions {
    justify-content: flex-start;
  }
}
