/* ============================================================
   tomarin — Landing Page
   Modern, interactive, within the tomarin aesthetic.
   White-dominant, hairlines, no gradients, small accents.
   ============================================================ */

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--white);
  color: var(--black);
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: var(--brand-yellow); color: var(--black); }

button { font-family: inherit; }

/* =================== LAYOUT =================== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 48px;
}
.container-wide { max-width: 1320px; margin: 0 auto; padding: 0 48px; }
.container-narrow { max-width: 880px; margin: 0 auto; padding: 0 48px; }

@media (max-width: 780px) {
  .container, .container-wide, .container-narrow { padding: 0 22px; }
}

.section {
  padding: 112px 0;
  position: relative;
}
.section-sm { padding: 72px 0; }

.section.bg-off { background: var(--bg-off-white); }
.section.bg-yellow { background: var(--yellow-bg); }
.section + .section { border-top: none; }

.section-head {
  max-width: 640px;
  margin: 0 auto 56px;
  text-align: center;
}
.section-head .eyebrow {
  display: inline-block;
  margin-bottom: 16px;
}
.section-title {
  font-size: 36px;
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.3;
  text-wrap: balance;
}
.section-sub {
  margin-top: 14px;
  color: var(--text-dim);
  line-height: 1.9;
  font-size: 14px;
}

@media (max-width: 780px) {
  .section { padding: 80px 0; }
  .section-title { font-size: 28px; }
}

/* =================== NAV =================== */
.site-nav {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 32px;
  background: rgba(255,255,255,0.88);
  backdrop-filter: saturate(1.2) blur(10px);
  -webkit-backdrop-filter: saturate(1.2) blur(10px);
  border-bottom: 0.5px solid transparent;
  transition: border-color 200ms ease, background 200ms ease;
}
.site-nav.scrolled {
  border-bottom-color: var(--border-subtle);
  background: rgba(255,255,255,0.94);
}
.nav-brand {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; color: var(--black);
}
.nav-mark { width: 28px; height: 28px; }
.nav-word {
  font-size: 18px; font-weight: 500;
  letter-spacing: -0.02em;
}
.nav-logo-img {
  height: 26px;
  width: auto;
  display: block;
  object-fit: contain;
}
.nav-menu {
  display: flex; gap: 28px;
  list-style: none;
  font-size: 13px;
  color: var(--text-dim);
}
.nav-menu a {
  text-decoration: none; color: inherit;
  padding: 4px 0;
  position: relative;
  transition: color 180ms ease;
}
.nav-menu a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px;
  height: 1px; background: var(--brand-green);
  transform: scaleX(0); transform-origin: left;
  transition: transform 220ms cubic-bezier(.16,1,.3,1);
}
.nav-menu a:hover { color: var(--black); }
.nav-menu a:hover::after { transform: scaleX(1); }

.nav-cta { display: flex; gap: 8px; }

@media (max-width: 900px) {
  .nav-menu { display: none; }
}
@media (max-width: 540px) {
  .nav-cta .btn-outline { display: none; }
  .site-nav { padding: 12px 20px; }
}

/* Scroll progress bar */
.scroll-progress {
  position: fixed; top: 0; left: 0;
  height: 2px; background: var(--brand-green);
  z-index: 101;
  transform-origin: 0 50%;
  transition: transform 80ms linear;
  will-change: transform;
}

/* =================== BUTTONS =================== */
.btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 16px;
  font-size: 13px;
  font-weight: 500;
  border-radius: 6px;
  border: 0.5px solid transparent;
  background: transparent;
  color: var(--black);
  text-decoration: none;
  cursor: pointer;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease;
  white-space: nowrap;
  line-height: 1.2;
  font-family: inherit;
}
.btn-outline {
  border-color: rgba(0,0,0,0.18);
}
.btn-outline:hover {
  background: var(--bg-off-white);
  border-color: rgba(0,0,0,0.28);
}
.btn-primary {
  background: var(--brand-green);
  color: white;
}
.btn-primary:hover { background: var(--green-hover); }
.btn-dark {
  background: var(--black); color: white;
}
.btn-dark:hover { background: #222; }
.btn-lg { padding: 13px 22px; font-size: 13px; border-radius: 6px; }
.btn-xl { padding: 15px 28px; font-size: 14px; border-radius: 6px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--black);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  border-bottom: 0.5px solid var(--border-card);
  padding-bottom: 2px;
}
.link-arrow .arrow {
  display: inline-block;
  transition: transform 200ms cubic-bezier(.16,1,.3,1);
}
.link-arrow:hover { border-bottom-color: var(--brand-green); }
.link-arrow:hover .arrow { transform: translateX(4px); }

/* =================== HERO =================== */
.hero {
  padding: 72px 0 96px;
  position: relative;
  overflow: hidden;
  background: white;
}
.hero-inner {
  position: relative;
  text-align: center;
  max-width: 880px;
  margin: 0 auto;
  padding: 0 48px;
}

.hero-shapes { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.hero-shape {
  position: absolute;
  will-change: transform;
  transition: transform 800ms cubic-bezier(.16,1,.3,1);
}

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 11px; font-weight: 500;
  color: var(--text-dim);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 28px;
  padding: 6px 14px 6px 8px;
  border: 0.5px solid var(--border-subtle);
  border-radius: 999px;
  background: white;
}
.hero-eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--brand-green);
  box-shadow: 0 0 0 3px rgba(111,175,42,0.2);
  animation: softPulse 2.4s ease-in-out infinite;
}
@keyframes softPulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(111,175,42,0.15); }
  50% { box-shadow: 0 0 0 5px rgba(111,175,42,0.25); }
}

.hero h1 {
  font-size: 64px;
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.12;
  margin-bottom: 28px;
  position: relative;
  text-wrap: balance;
}
.hero h1 .serif {
  font-family: var(--font-serif);
  font-weight: 400;
  font-style: normal;
}
.hero h1 .mark {
  position: relative;
  display: inline-block;
  white-space: nowrap;
}
.hero h1 .mark::before {
  content: "";
  position: absolute;
  left: -6px; right: -6px;
  bottom: 4px; height: 14px;
  background: var(--brand-yellow);
  opacity: 0.55;
  z-index: -1;
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  animation: drawMark 900ms 600ms cubic-bezier(.16,1,.3,1) forwards;
}
@keyframes drawMark {
  to { transform: scaleX(1); }
}

.hero-sub {
  font-size: 16px;
  color: var(--text-dim);
  line-height: 2;
  max-width: 520px;
  margin: 0 auto 40px;
}

.hero-buttons {
  display: flex; gap: 10px;
  justify-content: center;
  margin-bottom: 64px;
}

@media (max-width: 780px) {
  .hero h1 { font-size: 40px; }
  .hero-sub { font-size: 14px; }
  .hero-buttons { flex-direction: column; align-items: stretch; max-width: 280px; margin-left: auto; margin-right: auto; }
}

/* Hero stats strip */
.hero-stats {
  display: flex;
  justify-content: center;
  gap: 48px;
  margin-bottom: 72px;
  padding-top: 32px;
  border-top: 0.5px solid var(--border-subtle);
  max-width: 640px;
  margin-left: auto; margin-right: auto;
}
.hero-stat-num {
  font-family: var(--font-en);
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.hero-stat-label {
  font-size: 11px;
  color: var(--text-dim);
  letter-spacing: 0.08em;
  margin-top: 4px;
}
@media (max-width: 640px) {
  .hero-stats { gap: 28px; flex-wrap: wrap; }
  .hero-stat-num { font-size: 22px; }
}

/* =================== PRODUCT MOCK =================== */
.product-mock {
  max-width: 1000px;
  margin: 0 auto;
  background: white;
  border: 0.5px solid var(--border-subtle);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(17,17,17,0.03), 0 20px 50px -20px rgba(17,17,17,0.12);
  position: relative;
}
.mock-chrome {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 16px;
  border-bottom: 0.5px solid var(--border-subtle);
  background: var(--bg-off-white);
}
.mock-dots { display: flex; gap: 6px; }
.mock-dots span {
  width: 10px; height: 10px; border-radius: 50%;
  background: #E3E1DC;
}
.mock-url {
  flex: 1;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-quiet);
  letter-spacing: 0.02em;
}

.mock-grid {
  display: grid;
  grid-template-columns: 200px 1fr;
  min-height: 480px;
}

.mock-sidebar {
  background: var(--bg-off-white);
  border-right: 0.5px solid var(--border-subtle);
  padding: 20px 14px;
  font-size: 12px;
}
.mock-sidebar-brand {
  display: flex; align-items: center; gap: 8px;
  padding: 0 8px 16px;
  border-bottom: 0.5px solid var(--border-subtle);
  margin-bottom: 14px;
}
.mock-sidebar-brand span { font-weight: 500; font-size: 13px; }
.mock-sidebar-section {
  padding: 8px;
  font-size: 10px;
  color: var(--text-quiet);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 10px;
}
.mock-nav-item {
  display: flex; align-items: center; gap: 10px;
  padding: 7px 10px;
  border-radius: 6px;
  color: var(--text-dim);
  cursor: pointer;
  transition: background 150ms ease, color 150ms ease;
}
.mock-nav-item:hover { background: rgba(0,0,0,0.03); color: var(--black); }
.mock-nav-item.active {
  background: white;
  color: var(--black);
  font-weight: 500;
  box-shadow: 0 1px 2px rgba(0,0,0,0.03);
}
.mock-nav-item .nav-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--border-card);
}
.mock-nav-item.active .nav-dot { background: var(--brand-green); }

.mock-main { padding: 24px; text-align: left; }

.mock-topbar {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 22px;
}
.mock-title-jp { font-size: 15px; font-weight: 500; }
.mock-date-chip {
  font-family: var(--font-en);
  font-size: 11px;
  color: var(--text-dim);
  padding: 4px 10px;
  border: 0.5px solid var(--border-subtle);
  border-radius: 999px;
  font-variant-numeric: tabular-nums;
}

.mock-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 22px;
}
.mock-stat {
  border: 0.5px solid var(--border-subtle);
  border-radius: 8px;
  padding: 14px;
  background: white;
}
.mock-stat-label {
  font-size: 10px;
  color: var(--text-dim);
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}
.mock-stat-val {
  font-family: var(--font-en);
  font-size: 24px; font-weight: 500;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  display: flex; align-items: baseline; gap: 2px;
}
.mock-stat-val .unit { font-size: 12px; color: var(--text-dim); font-weight: 400; }
.mock-stat-val .delta {
  margin-left: auto;
  font-size: 11px;
  color: var(--green-text);
  font-weight: 500;
}

.mock-chart {
  border: 0.5px solid var(--border-subtle);
  border-radius: 8px;
  padding: 16px;
  background: white;
}
.mock-chart-head {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 10px;
  font-size: 11px;
}
.mock-chart-head .title { font-weight: 500; }
.mock-chart-head .legend {
  display: flex; gap: 12px;
  font-size: 10px;
  color: var(--text-dim);
}
.mock-chart-head .legend i {
  display: inline-block; width: 8px; height: 2px;
  vertical-align: middle; margin-right: 4px;
}

@media (max-width: 780px) {
  .mock-sidebar { display: none; }
  .mock-grid { grid-template-columns: 1fr; min-height: 360px; }
  .mock-stats { grid-template-columns: 1fr 1fr; }
}

/* =================== REVEAL ON SCROLL =================== */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  filter: blur(5px);
  transition: opacity 700ms ease, transform 900ms cubic-bezier(.16,1,.3,1), filter 700ms ease;
  will-change: opacity, transform, filter;
}
.reveal.in { opacity: 1; transform: none; filter: none; }

[data-motion="off"] .reveal { opacity: 1; transform: none; filter: none; transition: none; }
[data-motion="off"] * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; }

/* =================== STRENGTHS =================== */
.strengths-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.strength-card {
  position: relative;
  background: white;
  border: 0.5px solid var(--border-card);
  border-radius: 12px;
  padding: 32px 28px;
  transition: border-color 200ms ease, transform 200ms ease;
}
.strength-card:hover {
  border-color: #D9D7CF;
}
.strength-card .num-mark {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 20px;
}
.strength-card .num {
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--text-dim);
  font-weight: 500;
}
.strength-card .shape-mark {
  width: 22px; height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.strength-card h3 {
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
  line-height: 1.5;
}
.strength-card p {
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.9;
}
.strength-card .corner-mark {
  position: absolute;
  top: 22px; right: 22px;
  opacity: 0.6;
  transition: opacity 200ms ease, transform 200ms ease;
}
.strength-card:hover .corner-mark {
  opacity: 1;
  transform: rotate(12deg);
}
@media (max-width: 900px) { .strengths-grid { grid-template-columns: 1fr; } }

/* =================== VALUE PILLARS =================== */
.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 0.5px solid var(--border-subtle);
  border-radius: 14px;
  overflow: hidden;
  background: white;
}
.value-card {
  padding: 36px 32px;
  border-right: 0.5px solid var(--border-subtle);
}
.value-card:last-child { border-right: none; }
.value-card .value-label {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--text-dim);
  margin-bottom: 20px;
}
.value-card .value-num {
  font-variant-numeric: tabular-nums;
}
.value-card .value-dash {
  flex: 1;
  height: 1px;
  background: var(--border-subtle);
}
.value-card h3 {
  font-size: 19px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: -0.01em;
  margin-bottom: 14px;
}
.value-card p {
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.9;
}
@media (max-width: 900px) {
  .value-grid { grid-template-columns: 1fr; }
  .value-card { border-right: none; border-bottom: 0.5px solid var(--border-subtle); }
  .value-card:last-child { border-bottom: none; }
}

/* =================== FEATURE HIGHLIGHTS =================== */
.highlight {
  padding: 96px 0;
  position: relative;
  border-top: 0.5px solid var(--border-subtle);
}
.highlight.bg-yellow { background: var(--yellow-bg); }
.highlight.bg-off { background: var(--bg-off-white); }

.highlight-grid {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 48px;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 72px;
  align-items: center;
}
.highlight-grid.reverse {
  grid-template-columns: 1.1fr 1fr;
}
.highlight-grid.reverse .highlight-copy { order: 2; }
.highlight-grid.reverse .highlight-visual { order: 1; }

.highlight-label {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 22px;
  flex-wrap: wrap;
}
.highlight-label .dot {
  width: 10px; height: 10px; border-radius: 50%;
}
.highlight-label .dot.green { background: var(--brand-green); }
.highlight-label .dot.yellow { background: var(--brand-yellow); }
.highlight-label .dot.blue { background: var(--brand-blue); }
.highlight-label .text {
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.highlight-label .text.green { color: var(--green-text); }
.highlight-label .text.yellow { color: var(--yellow-text); }
.highlight-label .text.blue { color: var(--blue-text); }

.coming-soon {
  font-family: var(--font-en);
  font-size: 10px; font-weight: 500;
  letter-spacing: 0.1em;
  padding: 3px 10px;
  background: var(--blue-bg);
  color: var(--blue-text);
  border-radius: 999px;
  border: 0.5px solid rgba(158,212,226,0.6);
}

.highlight h2 {
  font-size: 36px;
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.25;
  margin-bottom: 22px;
  text-wrap: balance;
}
.highlight h2 .ruby {
  font-size: 15px;
  color: var(--text-quiet);
  margin-left: 12px;
  font-weight: 400;
  letter-spacing: 0;
}
.highlight-tagline {
  font-family: var(--font-body);
  font-size: 17px;
  color: var(--black);
  line-height: 1.7;
  margin-bottom: 20px;
  font-weight: 500;
}
.highlight-body {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 2;
  margin-bottom: 28px;
}
.checklist { display: grid; gap: 12px; }
.check-item {
  display: flex; gap: 12px; align-items: flex-start;
  font-size: 14px;
  line-height: 1.7;
}
.check-item svg { flex-shrink: 0; margin-top: 4px; }

/* Visual containers */
.vis-card {
  background: white;
  border: 0.5px solid var(--border-subtle);
  border-radius: 14px;
  padding: 24px;
}

@media (max-width: 900px) {
  .highlight-grid, .highlight-grid.reverse {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .highlight-grid.reverse .highlight-visual { order: 2; }
  .highlight-grid.reverse .highlight-copy { order: 1; }
  .highlight h2 { font-size: 28px; }
}

/* =================== FEATURES GRID =================== */
.features-filter {
  display: flex; justify-content: center; gap: 6px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.filter-chip {
  padding: 8px 16px;
  font-size: 12px;
  font-weight: 500;
  border: 0.5px solid var(--border-subtle);
  border-radius: 999px;
  background: white;
  color: var(--text-dim);
  cursor: pointer;
  transition: all 180ms ease;
}
.filter-chip:hover { color: var(--black); border-color: #D9D7CF; }
.filter-chip.active {
  background: var(--black);
  color: white;
  border-color: var(--black);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.feature-card {
  position: relative;
  background: white;
  border: 0.5px solid var(--border-subtle);
  border-radius: 12px;
  padding: 26px 22px;
  transition: all 250ms cubic-bezier(.16,1,.3,1);
  cursor: pointer;
  overflow: hidden;
}
.feature-card:hover {
  border-color: #D9D7CF;
  transform: translateY(-2px);
}
.feature-card::after {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 2px;
  background: var(--border-card);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 250ms ease;
}
.feature-card.green::after { background: var(--brand-green); }
.feature-card.yellow::after { background: var(--brand-yellow); }
.feature-card.blue::after { background: var(--brand-blue); }
.feature-card:hover::after { transform: scaleX(1); }

.feature-icon-wrap {
  width: 36px; height: 36px;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.feature-icon-wrap.green { background: var(--green-bg); color: var(--brand-green); }
.feature-icon-wrap.yellow { background: var(--yellow-bg); color: var(--yellow-stroke); }
.feature-icon-wrap.blue { background: var(--blue-bg); color: var(--blue-text); }

.feature-card h4 {
  font-size: 15px;
  font-weight: 500;
  margin-bottom: 10px;
}
.feature-tagline {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 13px;
  color: var(--black);
  line-height: 1.65;
  margin-bottom: 10px;
  min-height: 42px;
}
.feature-body {
  font-size: 12px;
  color: var(--text-dim);
  line-height: 1.85;
}
.feature-body strong {
  color: var(--green-text);
  font-weight: 500;
}

@media (max-width: 1080px) { .features-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .features-grid { grid-template-columns: 1fr; } }

/* =================== RESERVATION DEMO =================== */
.demo-wrap {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 48px;
}
.demo-card {
  background: white;
  border: 0.5px solid var(--border-subtle);
  border-radius: 16px;
  overflow: hidden;
}
.demo-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 24px;
  border-bottom: 0.5px solid var(--border-subtle);
  background: var(--bg-off-white);
  font-size: 13px;
}
.demo-head .demo-title { font-weight: 500; }
.demo-head .demo-right {
  display: flex; align-items: center; gap: 10px;
  color: var(--text-dim);
  font-size: 12px;
}
.demo-ctrl {
  width: 28px; height: 28px;
  border-radius: 6px;
  border: 0.5px solid var(--border-subtle);
  background: white;
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer;
  color: var(--text-dim);
  transition: all 180ms ease;
}
.demo-ctrl:hover { color: var(--black); border-color: #D9D7CF; }

.chart-grid {
  display: grid;
  grid-template-columns: 120px repeat(14, 1fr);
  font-size: 11px;
  position: relative;
}
.chart-grid .day-head {
  padding: 10px 4px;
  text-align: center;
  border-bottom: 0.5px solid var(--border-subtle);
  border-right: 0.5px solid var(--border-subtle);
  background: white;
  font-variant-numeric: tabular-nums;
  color: var(--text-dim);
}
.chart-grid .day-head.weekend { background: var(--bg-off-white); }
.chart-grid .day-head.today {
  color: var(--brand-green);
  font-weight: 500;
  background: var(--green-bg);
}
.chart-grid .day-head .num { font-size: 13px; color: var(--black); display: block; }
.chart-grid .day-head.today .num { color: var(--green-text); }
.chart-grid .day-head .wk { font-size: 10px; opacity: 0.6; }

.chart-grid .room-head {
  padding: 14px 16px;
  border-bottom: 0.5px solid var(--border-subtle);
  border-right: 0.5px solid var(--border-subtle);
  background: var(--bg-off-white);
  font-weight: 500;
  font-size: 12px;
}
.chart-grid .room-head .type {
  font-size: 10px;
  color: var(--text-dim);
  font-weight: 400;
  display: block;
}

.chart-grid .cell {
  border-bottom: 0.5px solid var(--border-subtle);
  border-right: 0.5px solid var(--border-subtle);
  height: 56px;
  position: relative;
}
.chart-grid .cell.weekend { background: rgba(0,0,0,0.012); }

.chart-row { display: contents; }

.booking {
  position: absolute;
  top: 10px; bottom: 10px;
  left: 3px; right: 3px;
  border-radius: 6px;
  padding: 7px 10px;
  font-size: 11px;
  font-weight: 500;
  cursor: pointer;
  overflow: hidden;
  display: flex; flex-direction: column; justify-content: center;
  border: 0.5px solid;
  transition: transform 180ms ease, box-shadow 180ms ease;
  z-index: 1;
}
.booking:hover {
  z-index: 5;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(17,17,17,0.08);
}
.booking.green { background: var(--green-bg); color: var(--green-text); border-color: rgba(111,175,42,0.3); }
.booking.yellow { background: var(--yellow-bg); color: var(--yellow-text); border-color: rgba(201,156,11,0.3); }
.booking.blue { background: var(--blue-bg); color: var(--blue-text); border-color: rgba(158,212,226,0.5); }
.booking.gray { background: var(--bg-off-white); color: var(--text-dim); border-color: var(--border-subtle); }
.booking .name { font-size: 11px; font-weight: 500; line-height: 1.3; }
.booking .meta { font-size: 10px; opacity: 0.7; margin-top: 2px; font-variant-numeric: tabular-nums; }
.booking.new {
  animation: bookingSlide 500ms cubic-bezier(.16,1,.3,1);
}
@keyframes bookingSlide {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

.demo-footer {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 24px;
  border-top: 0.5px solid var(--border-subtle);
  font-size: 12px;
  color: var(--text-dim);
}
.demo-legend { display: flex; gap: 16px; }
.demo-legend span { display: inline-flex; align-items: center; gap: 6px; }
.demo-legend i {
  display: inline-block; width: 10px; height: 10px;
  border-radius: 3px;
  border: 0.5px solid rgba(0,0,0,0.1);
}
.demo-legend i.green { background: var(--green-bg); border-color: rgba(111,175,42,0.3); }
.demo-legend i.yellow { background: var(--yellow-bg); border-color: rgba(201,156,11,0.3); }
.demo-legend i.blue { background: var(--blue-bg); border-color: rgba(158,212,226,0.5); }

.ticker {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 4px 10px;
  background: var(--green-bg);
  color: var(--green-text);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 500;
  border: 0.5px solid rgba(111,175,42,0.3);
}
.ticker .ping {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--brand-green);
  animation: softPulse 2s ease-in-out infinite;
}

@media (max-width: 900px) {
  .chart-grid { grid-template-columns: 100px repeat(7, 1fr); overflow-x: auto; }
}

/* =================== PRICING (STATIC) =================== */
.pricing-wrap-static {
  max-width: 1040px;
  margin: 0 auto;
}
.pricing-grid-static {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 32px;
}
@media (max-width: 780px) {
  .pricing-grid-static { grid-template-columns: 1fr; }
}
.pricing-card-static {
  background: #fff;
  border: 0.5px solid var(--border-subtle);
  border-radius: 12px;
  padding: 36px 32px;
  display: flex; flex-direction: column;
}
.pricing-card-static.growth {
  background: var(--green-bg, #F5FBEE);
  border-color: rgba(111,175,42,0.35);
}
.pricing-card-static .tier-label {
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--text-dim);
  margin-bottom: 14px;
}
.pricing-card-static.growth .tier-label { color: var(--green-text); }
.pricing-card-static .tier-title {
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.4;
  color: var(--black);
  margin-bottom: 24px;
}
.pricing-card-static .tier-features {
  list-style: none;
  padding: 0;
  margin: 0 0 28px 0;
  display: flex; flex-direction: column; gap: 10px;
}
.pricing-card-static .tier-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-dim);
}
.pricing-card-static .tier-features li svg { flex-shrink: 0; margin-top: 5px; }
.pricing-card-static .tier-rows {
  border-top: 0.5px solid var(--border-subtle);
  margin-bottom: 24px;
}
.pricing-card-static.growth .tier-rows { border-top-color: rgba(111,175,42,0.25); }
.pricing-card-static .tier-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 14px 0;
  border-bottom: 0.5px solid var(--border-subtle);
}
.pricing-card-static.growth .tier-row { border-bottom-color: rgba(111,175,42,0.25); }
.pricing-card-static .tier-row:last-child { border-bottom: none; }
.pricing-card-static .row-label {
  font-size: 12px;
  color: var(--text-dim);
  letter-spacing: 0.02em;
}
.pricing-card-static .row-value {
  display: flex;
  align-items: baseline;
  gap: 6px;
  font-variant-numeric: tabular-nums;
}
.pricing-card-static .row-value .num {
  font-family: var(--font-en);
  font-size: 22px;
  font-weight: 500;
  color: var(--black);
  letter-spacing: -0.01em;
}
.pricing-card-static.growth .row-value .num { color: var(--green-text); }
.pricing-card-static .row-value .row-unit {
  font-size: 11px;
  color: var(--text-quiet);
}
.pricing-card-static .btn { margin-top: auto; }

/* =================== PRICING =================== */
.pricing-wrap-static {
  max-width: 1000px;
  margin: 0 auto;
}
.pricing-grid-static {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 32px;
}
.pricing-card-static {
  background: white;
  border: 0.5px solid var(--border-subtle);
  border-radius: 16px;
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  transition: border-color 220ms ease, transform 220ms ease, box-shadow 220ms ease;
}
.pricing-card-static:hover {
  border-color: #D9D7CF;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px -12px rgba(0,0,0,0.08);
}
.pricing-card-static.growth {
  background: linear-gradient(180deg, #F6FBEE 0%, #FFFFFF 60%);
  border-color: rgba(111,175,42,0.35);
}
.pricing-card-static.growth:hover {
  border-color: var(--brand-green);
}
.pricing-card-static .tier-label {
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  color: var(--text-dim);
}
.pricing-card-static.growth .tier-label { color: var(--green-text); }
.pricing-card-static .tier-title {
  font-size: 26px;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.3;
  margin: -8px 0 0;
}
.pricing-card-static .tier-features {
  list-style: none;
  display: grid;
  gap: 12px;
  padding: 20px 0;
  border-top: 0.5px solid var(--border-subtle);
  border-bottom: 0.5px solid var(--border-subtle);
}
.pricing-card-static .tier-features li {
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--black);
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.pricing-card-static .tier-features li svg {
  flex-shrink: 0;
  margin-top: 4px;
}
.pricing-card-static .tier-rows {
  display: grid;
  gap: 14px;
}
.pricing-card-static .tier-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding-bottom: 12px;
  border-bottom: 0.5px dashed var(--border-subtle);
}
.pricing-card-static .tier-row:last-child { border-bottom: none; padding-bottom: 0; }
.pricing-card-static .row-label {
  font-size: 12px;
  color: var(--text-dim);
  letter-spacing: 0.02em;
}
.pricing-card-static .row-value {
  display: flex;
  align-items: baseline;
  gap: 6px;
  font-variant-numeric: tabular-nums;
}
.pricing-card-static .row-value .num {
  font-family: var(--font-en);
  font-size: 22px;
  font-weight: 500;
  color: var(--black);
  letter-spacing: -0.01em;
}
.pricing-card-static.growth .row-value .num { color: var(--green-text); }
.pricing-card-static .row-value .row-unit {
  font-size: 12px;
  color: var(--text-dim);
}
.pricing-card-static .btn {
  margin-top: 4px;
}
.pricing-note {
  text-align: center;
  margin-top: 28px;
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.9;
}
@media (max-width: 780px) {
  .pricing-grid-static { grid-template-columns: 1fr; }
  .pricing-card-static { padding: 32px 24px; }
}

/* =================== FAQ =================== */
.faq-wrap {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 48px;
}
.faq-item {
  border-bottom: 0.5px solid var(--border-subtle);
}
.faq-q {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 4px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 500;
  transition: color 180ms ease;
}
.faq-q:hover { color: var(--brand-green); }
.faq-q .plus {
  flex-shrink: 0;
  width: 20px; height: 20px;
  position: relative;
  transition: transform 250ms cubic-bezier(.16,1,.3,1);
}
.faq-q .plus::before, .faq-q .plus::after {
  content: ""; position: absolute;
  background: var(--text-dim);
  border-radius: 1px;
}
.faq-q .plus::before {
  top: 50%; left: 0; right: 0; height: 1.5px; transform: translateY(-50%);
}
.faq-q .plus::after {
  left: 50%; top: 0; bottom: 0; width: 1.5px; transform: translateX(-50%);
  transition: transform 250ms ease;
}
.faq-item.open .faq-q .plus::after { transform: translateX(-50%) scaleY(0); }

.faq-a {
  overflow: hidden;
  max-height: 0;
  transition: max-height 350ms cubic-bezier(.16,1,.3,1), padding 200ms ease;
  color: var(--text-dim);
  line-height: 1.95;
  font-size: 14px;
}
.faq-item.open .faq-a {
  max-height: 400px;
  padding: 0 4px 24px;
}

/* =================== CASE STUDIES =================== */
.case-teaser {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 48px;
}
.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 36px;
}
.case-card {
  background: white;
  border: 0.5px solid var(--border-subtle);
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  transition: border-color 200ms ease;
}
.case-card:hover { border-color: #D9D7CF; }
.case-img {
  aspect-ratio: 4/3;
  background: var(--bg-off-white);
  border-bottom: 0.5px solid var(--border-subtle);
  position: relative;
  overflow: hidden;
}
.case-body { padding: 22px; }
.case-body .region {
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  margin-bottom: 8px;
}
.case-body h4 {
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 10px;
}
.case-body .quote {
  font-family: var(--font-serif);
  font-size: 13px;
  line-height: 1.75;
  color: var(--text-dim);
  margin-bottom: 14px;
}
.case-body .stat {
  display: flex; align-items: baseline; gap: 8px;
  padding-top: 14px;
  border-top: 0.5px solid var(--border-subtle);
}
.case-body .stat .n {
  font-family: var(--font-en);
  font-size: 22px;
  font-weight: 500;
  color: var(--brand-green);
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.case-body .stat .l { font-size: 12px; color: var(--text-dim); }

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

/* =================== FINAL CTA =================== */
.final-cta {
  padding: 120px 48px;
  text-align: center;
  background: white;
  position: relative;
  overflow: hidden;
}
.final-cta .bg-shapes { position: absolute; inset: 0; pointer-events: none; }
.final-cta .bg-shapes > * { position: absolute; opacity: 0.14; }
.final-cta h2 {
  font-size: 44px;
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.2;
  margin-bottom: 20px;
  position: relative;
  text-wrap: balance;
}
.final-cta h2 .serif { font-family: var(--font-serif); font-weight: 400; }
.final-cta p {
  font-size: 15px;
  color: var(--text-dim);
  margin-bottom: 36px;
  position: relative;
}
.final-cta .cta-buttons {
  display: flex; gap: 12px; justify-content: center;
  position: relative;
}
@media (max-width: 640px) {
  .final-cta { padding: 80px 24px; }
  .final-cta h2 { font-size: 30px; }
  .final-cta .cta-buttons { flex-direction: column; max-width: 280px; margin: 0 auto; }
}

/* =================== FOOTER =================== */
footer {
  background: white;
  padding: 72px 48px 40px;
  font-size: 13px;
  color: var(--text-dim);
}
footer .foot-grid {
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
  gap: 36px;
  padding-bottom: 48px;
  border-bottom: 0.5px solid var(--border-subtle);
}
footer .foot-brand { max-width: 280px; }
footer .foot-brand p { margin-top: 16px; line-height: 1.85; font-size: 12px; }
footer .foot-col h5 {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--text-dim);
  text-transform: uppercase;
  margin-bottom: 16px;
}
footer .foot-col a {
  display: block;
  color: var(--black);
  text-decoration: none;
  padding: 5px 0;
  font-size: 13px;
  transition: color 180ms ease;
}
footer .foot-col a:hover { color: var(--brand-green); }
footer .foot-base {
  max-width: 1160px;
  margin: 36px auto 0;
  display: flex; justify-content: space-between;
  font-size: 12px;
  flex-wrap: wrap; gap: 12px;
}
footer .foot-base .meta a {
  color: var(--text-dim);
  text-decoration: none;
  margin-right: 18px;
}
footer .foot-base .meta a:hover { color: var(--black); }

@media (max-width: 900px) {
  footer .foot-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  footer .foot-brand { grid-column: 1 / -1; max-width: none; }
}
@media (max-width: 540px) {
  footer .foot-grid { grid-template-columns: 1fr 1fr; }
  footer { padding: 48px 20px 28px; }
}

/* =================== TWEAKS PANEL =================== */
.tweaks-panel {
  position: fixed;
  bottom: 24px; right: 24px;
  width: 280px;
  background: white;
  border: 0.5px solid var(--border-subtle);
  border-radius: 14px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.04), 0 12px 32px rgba(0,0,0,0.08);
  padding: 18px;
  z-index: 500;
  font-size: 13px;
  max-height: calc(100vh - 48px);
  overflow-y: auto;
}
.tweaks-panel h4 {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 14px;
  display: flex; justify-content: space-between; align-items: center;
}
.tweaks-panel h4 .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--brand-green);
}
.tweak-row { margin-bottom: 14px; }
.tweak-label {
  font-size: 11px;
  color: var(--text-dim);
  margin-bottom: 6px;
  letter-spacing: 0.04em;
}
.tweak-options {
  display: flex; gap: 4px;
  border: 0.5px solid var(--border-subtle);
  border-radius: 8px;
  padding: 2px;
  background: var(--bg-off-white);
}
.tweak-options button {
  flex: 1;
  padding: 6px 8px;
  font-size: 11px;
  border: none;
  background: transparent;
  border-radius: 6px;
  cursor: pointer;
  color: var(--text-dim);
  transition: all 150ms ease;
  font-family: inherit;
}
.tweak-options button:hover { color: var(--black); }
.tweak-options button.active {
  background: white;
  color: var(--black);
  font-weight: 500;
  box-shadow: 0 1px 2px rgba(0,0,0,0.04);
}
.tweak-swatches {
  display: flex; gap: 6px;
}
.tweak-swatch {
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 2px solid white;
  box-shadow: 0 0 0 1px var(--border-card);
  cursor: pointer;
  transition: transform 150ms ease, box-shadow 150ms ease;
}
.tweak-swatch:hover { transform: scale(1.08); }
.tweak-swatch.active { box-shadow: 0 0 0 2px var(--black); }

/* ---------- Dashboard mock: ops view ---------- */
.mock-stat-val .sub {
  margin-left: auto;
  font-family: var(--font-jp);
  font-size: 10px; font-weight: 500;
  color: var(--text-quiet);
  white-space: nowrap;
}
.mock-stat-val .sub.warn { color: #B4530A; }
.mock-today {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 14px;
  margin-top: 14px;
}
.mt-col {
  background: white; border: 0.5px solid var(--border-subtle);
  border-radius: 10px; padding: 14px 16px 10px;
}
.mt-head {
  font-size: 10px; font-weight: 600; letter-spacing: 0.08em;
  color: var(--text-quiet); text-transform: uppercase;
  margin-bottom: 8px;
}
.mt-item {
  display: flex; align-items: center; gap: 10px;
  padding: 7px 0;
  border-top: 0.5px solid rgba(0,0,0,0.05);
  opacity: 0; animation: mtIn 500ms cubic-bezier(.16,1,.3,1) forwards;
}
@keyframes mtIn { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.mt-time {
  font-family: var(--font-en); font-size: 10.5px; font-weight: 600;
  color: var(--text-dim); width: 34px; flex-shrink: 0;
  font-variant-numeric: tabular-nums;
}
.mt-what { display: flex; flex-direction: column; gap: 1px; min-width: 0; flex: 1; }
.mt-what strong { font-size: 11px; font-weight: 600; color: var(--black); line-height: 1.4; }
.mt-who { font-size: 10px; color: var(--text-quiet); line-height: 1.4; }
.mt-tags { display: flex; gap: 4px; flex-shrink: 0; flex-wrap: wrap; justify-content: flex-end; }
.mt-tag {
  font-style: normal; font-size: 9px; font-weight: 600;
  border-radius: 999px; padding: 2px 7px; white-space: nowrap;
}
.mt-tag.green { background: var(--green-bg); color: var(--green-text); }
.mt-tag.blue { background: rgba(158,212,226,0.35); color: #2A6A7C; }
.mt-tag.yellow { background: rgba(240,200,90,0.25); color: #8A6410; }
.mt-tag.red { background: rgba(200,72,52,0.1); color: #B03A28; }
.mt-dot {
  width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0;
  background: var(--border-card);
}
.mt-dot.urgent { background: #D97742; }
@media (max-width: 860px) {
  .mock-today { grid-template-columns: 1fr; }
}
