.world-erp { --ink: #14233a; --muted: #4b5d73; --paper: #e7edf3; --panel: #fff; --line: #d5deea; --accent: #1d4ed8; --accent-2: #0f2744; --on-accent: #fff; --on-dark: #fff; }
.world-erp.accent-1 { --accent: #1e40af; }
.world-erp.accent-2 { --accent: #0369a1; }
.world-erp.accent-3 { --accent: #0f2744; }
.world-ai { --ink: #eef6ff; --muted: #c5d7ea; --paper: #070b14; --panel: #10192b; --line: rgba(125, 211, 252, 0.28); --accent: #7dd3fc; --accent-2: #10284d; --on-accent: #062033; --on-dark: #fff; }
.world-care { --ink: #12312e; --muted: #3f625c; --paper: #f3faf8; --panel: #fff; --line: #d5ebe4; --accent: #0f766e; --accent-2: #115e59; --on-accent: #fff; --on-dark: #fff; }
.world-estate { --ink: #2a2118; --muted: #5c5146; --paper: #f6f1e8; --panel: #fffdf8; --line: #e4d8c8; --accent: #8a5a2b; --accent-2: #1c140c; --on-accent: #fff; --on-dark: #f6f1e8; }
.world-estate.shape-1 { --ink: #f6efe4; --muted: #e4d3bc; --paper: #1a120c; --panel: #2a2118; --line: rgba(232, 196, 140, 0.35); --accent: #e8c48c; --accent-2: #3a2a16; --on-accent: #1a120c; --on-dark: #fff; }
.world-stay { --ink: #3b2416; --muted: #6b4b38; --paper: #fbf6f0; --panel: #fff; --line: #eadccb; --accent: #c2410c; --accent-2: #7c2d12; --on-accent: #fff; --on-dark: #fff; }
.world-works { --ink: #f4f1ea; --muted: #d5d0c6; --paper: #14181c; --panel: #1d2329; --line: rgba(245, 158, 11, 0.35); --accent: #f59e0b; --accent-2: #0e1216; --on-accent: #1a1406; --on-dark: #fff; }
.world-shop { --ink: #1c1917; --muted: #57534e; --paper: #f6f3ef; --panel: #fff; --line: #e7e2da; --accent: #111111; --accent-2: #1c1917; --on-accent: #fff; --on-dark: #fff; }
.world-product { --ink: #0f172a; --muted: #475569; --paper: #f8fafc; --panel: #fff; --line: #e2e8f0; --accent: #2563eb; --accent-2: #0f172a; --on-accent: #fff; --on-dark: #fff; }
.world-product.accent-1 { --accent: #4f46e5; }
.world-product.accent-2 { --accent: #0f766e; }
.world-product.accent-3 { --accent: #0369a1; }
.world-finance.shape-0 { --ink: #e8eef8; --muted: #c5d0e0; --paper: #0c1424; --panel: #141e33; --line: rgba(232, 200, 114, 0.32); --accent: #e8c872; --accent-2: #070d18; --on-accent: #1a1406; --on-dark: #fff; }
.world-finance.shape-1 { --ink: #1c2430; --muted: #5c6b7c; --paper: #e7e2d8; --panel: #fffef9; --line: #ddd4c4; --accent: #8a6a2f; --accent-2: #1c2430; --on-accent: #fff; --on-dark: #fff; }
.world-city { --ink: #14233a; --muted: #4b5d73; --paper: #f4f7fb; --panel: #fff; --line: #d7e2ee; --accent: #0c2d48; --accent-2: #0c2d48; --on-accent: #fff; --on-dark: #fff; }
.world-journal { --ink: #1a1a1a; --muted: #3f3f3f; --paper: #fff; --panel: #fafafa; --line: #e6e6e6; --accent: #9a3412; --accent-2: #111; --on-accent: #fff; --on-dark: #fff; }

body:has(.world-erp) { background: #e7edf3 !important; background-image: none !important; color: #14233a !important; }
body:has(.world-ai) { background: #070b14 !important; background-image: none !important; color: #eef6ff !important; }
body:has(.world-care) { background: #f3faf8 !important; background-image: none !important; color: #12312e !important; }
body:has(.world-estate) { background: #f6f1e8 !important; background-image: none !important; color: #2a2118 !important; }
body:has(.world-estate.shape-1) { background: #1a120c !important; color: #f6efe4 !important; }
body:has(.world-stay) { background: #fbf6f0 !important; background-image: none !important; color: #3b2416 !important; }
body:has(.world-works) { background: #14181c !important; background-image: none !important; color: #f4f1ea !important; }
body:has(.world-shop) { background: #f6f3ef !important; background-image: none !important; color: #1c1917 !important; }
body:has(.world-product) { background: #f8fafc !important; background-image: none !important; color: #0f172a !important; }
body:has(.world-finance.shape-0) { background: #0c1424 !important; background-image: none !important; color: #e8eef8 !important; }
body:has(.world-finance.shape-1) { background: #e7e2d8 !important; background-image: none !important; color: #1c2430 !important; }
body:has(.world-city) { background: #f4f7fb !important; background-image: none !important; color: #14233a !important; }
body:has(.world-journal) { background: #fff !important; background-image: none !important; color: #1a1a1a !important; }

.tpl { color: var(--ink); }
.w-wrap { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }
.w-read { width: min(740px, calc(100% - 48px)); margin: 0 auto; }
.w-rest { padding: 10px 0 72px; }
.hero { position: relative; }
.tpl img { max-width: 100%; display: block; }
.tpl h1,
.tpl h2,
.tpl h3 {
  color: var(--ink) !important;
  -webkit-text-fill-color: var(--ink) !important;
  background: none;
  letter-spacing: -0.03em;
  line-height: 1.12;
}
.tpl p,
.tpl li { color: var(--muted) !important; }
.tpl h2 { font-size: clamp(1.35rem, 2vw, 1.75rem); margin: 0 0 8px; }
.tpl h3 { color: var(--ink) !important; }
.w-kicker {
  margin: 0 0 10px;
  font-family: "Segoe UI", sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent) !important;
}
.w-lead { font-size: 1.12rem; line-height: 1.6; max-width: 48ch; margin: 12px 0 0; }
.w-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.w-go,
.w-call {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  font-family: "Segoe UI", sans-serif;
  font-weight: 700;
  text-decoration: none !important;
}
.w-go { background: var(--accent); color: var(--on-accent) !important; }
.w-call { background: transparent; color: var(--ink) !important; border: 1px solid var(--line); }
.tpl .breadcrumb { background: transparent; padding: 0; margin: 0 0 16px; }
.tpl .breadcrumb a,
.tpl .breadcrumb span { color: var(--muted) !important; text-decoration: none; }

.erp-app { padding: 28px 0 8px; }
.erp-window { background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; box-shadow: 0 24px 50px rgba(15, 39, 68, 0.08); }
.erp-top { display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 0 16px; background: #0f2744; color: #fff; }
.erp-top strong { color: #fff !important; font-weight: 650; }
.erp-top em { margin-left: auto; color: #93c5fd !important; font-style: normal; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; }
.dots { display: inline-flex; gap: 6px; }
.dots i { width: 9px; height: 9px; border-radius: 50%; background: #fbbf24; display: block; }
.dots i:first-child { background: #f87171; }
.dots i:nth-child(2) { background: #fbbf24; }
.dots i:nth-child(3) { background: #34d399; }
.erp-body { display: grid; grid-template-columns: 250px minmax(0, 1fr); }
.erp-body aside { padding: 18px 12px 24px; background: #0f2744; }
.erp-body aside .w-kicker { color: #93c5fd !important; padding: 0 10px; }
.erp-mods { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.erp-mods li { padding: 10px 12px; border-radius: 8px; background: transparent; border: 0; color: #d5e4f5 !important; font-size: 13.5px; line-height: 1.35; }
.erp-mods li:first-child { background: rgba(255, 255, 255, 0.12); color: #fff !important; }
.erp-stage { padding: 26px 32px 28px; }
.erp-stage h1 { font-size: clamp(1.7rem, 2.3vw, 2.25rem); max-width: 22ch; margin: 0; font-weight: 650; }
.erp-stage .w-lead { font-size: 1rem; }
.world-erp .w-go,
.world-erp .w-call { min-height: 40px; border-radius: 8px; font-size: 14px; }
.erp-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 22px; }
.erp-kpis article { background: #f5f8fb; border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; }
.erp-kpis span { display: block; margin-bottom: 4px; color: #64748b !important; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; }
.erp-kpis strong { color: #14233a !important; font-size: 14px; font-weight: 650; }

.crm-board { padding: 36px 0 8px; }
.crm-board h1 { font-size: clamp(2.2rem, 4vw, 3.4rem); max-width: 14ch; margin: 0; }
.crm-stages { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; list-style: none; margin: 28px 0 0; padding: 0; }
.crm-stages { counter-reset: stage; }
.crm-stages li { counter-increment: stage; position: relative; background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--accent); border-radius: 12px; min-height: 0; padding: 36px 14px 16px; color: #14233a !important; box-shadow: 0 1px 2px rgba(15, 39, 68, 0.04); font-weight: 650; }
.crm-stages li::before { content: counter(stage, decimal-leading-zero); position: absolute; top: 12px; left: 14px; color: var(--accent) !important; font-size: 11px; letter-spacing: 0.12em; font-weight: 700; }

.rec-sheet { padding: 32px 0 8px; }
.rec-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 28px; align-items: center; }
.rec-grid h1 { font-size: clamp(2.1rem, 3.4vw, 3.2rem); margin: 0; }
.rec-grid figure { border-radius: 8px; overflow: hidden; border: 1px solid var(--line); background: #fff; }
.rec-grid img { width: 100%; height: 360px; object-fit: cover; }

.ai-studio { padding: 34px 0 10px; }
.ai-split { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr); gap: 42px; align-items: center; }
.ai-studio h1 {
  margin: 0;
  max-width: 12ch;
  font-size: clamp(2.5rem, 4.4vw, 4rem);
  line-height: 0.98;
  background: linear-gradient(100deg, #fff 8%, #7dd3fc 100%) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  color: transparent !important;
  -webkit-text-fill-color: transparent !important;
}
.ai-split figure { border-radius: 28px; overflow: hidden; border: 1px solid rgba(125, 211, 252, 0.45); box-shadow: 0 0 70px rgba(37, 99, 235, 0.35); }
.ai-split img { width: 100%; height: 460px; object-fit: cover; }
.ai-chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 18px 0 0; padding: 0; }
.ai-chips li { border: 1px solid rgba(125, 211, 252, 0.4); border-radius: 999px; padding: 7px 12px; color: #d6e6f8 !important; font-size: 13px; }

.ai-chat { padding: 28px 0 8px; }
.chat-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 22px; align-items: start; }
.ai-chat h1 {
  margin: 0 0 14px auto;
  width: min(100%, 520px);
  padding: 16px 18px;
  border-radius: 18px 18px 6px 18px;
  background: #1e293b !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  font-size: 1.35rem;
  line-height: 1.35;
}
.bubble { border-radius: 18px; padding: 16px 18px; margin-bottom: 14px; }
.bubble b { display: block; margin-bottom: 6px; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: #7dd3fc !important; }
.bubble.bot { width: min(100%, 560px); background: #102033; border: 1px solid rgba(125, 211, 252, 0.35); }
.bubble.bot p { margin: 0; color: #d6e6f8 !important; }
.chat-side img { width: 100%; height: 280px; object-fit: cover; border-radius: 20px; }
.chat-side ul { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.chat-side li { padding: 10px 12px; border-radius: 12px; background: #10192b; border: 1px solid rgba(125, 211, 252, 0.25); color: #d6e6f8 !important; }

.ai-lab { padding: 48px 0 12px; }
.ai-lab h1 { margin: 0; max-width: 14ch; font-size: clamp(2.6rem, 5vw, 4.2rem); line-height: 0.98; }
.lab-nodes { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.lab-nodes span { border: 1px solid rgba(125, 211, 252, 0.45); border-radius: 999px; padding: 8px 14px; color: #d6e6f8 !important; background: rgba(16, 25, 43, 0.8); }

.care-cover {
  min-height: 78vh;
  display: flex;
  align-items: flex-end;
  padding: 40px 0;
  background:
    linear-gradient(180deg, rgba(8, 40, 36, 0.05), rgba(8, 40, 36, 0.45)),
    var(--img) center / cover no-repeat;
}
.care-card { width: min(640px, 100%); background: rgba(255, 255, 255, 0.96); border-radius: 28px; padding: 28px; box-shadow: 0 20px 50px rgba(15, 60, 55, 0.16); }
.care-card h1 { margin: 0; font-size: clamp(2.1rem, 3.6vw, 3.2rem); }
.care-lesson { padding: 36px 0 8px; }
.lesson-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 36px; align-items: center; }
.lesson-grid h1 { margin: 0; font-size: clamp(2.2rem, 3.8vw, 3.4rem); }
.lesson-grid img { width: 100%; height: 460px; object-fit: cover; border-radius: 32px; }

.estate-bleed {
  min-height: 86vh;
  display: flex;
  align-items: flex-end;
  padding: 40px 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.55)),
    var(--img) center / cover no-repeat;
}
.estate-caption { width: min(680px, 100%); background: #f6f1e8; padding: 28px; }
.estate-caption h1 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-weight: 500; font-size: clamp(2.3rem, 4vw, 3.6rem); }
.jewel { padding: 36px 0 10px; }
.jewel-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 40px; align-items: center; }
.jewel img { width: 100%; height: 520px; object-fit: cover; }
.jewel h1 { margin: 0; font-family: Georgia, serif; font-weight: 500; font-size: clamp(2.4rem, 4vw, 3.8rem); color: #f6efe4 !important; -webkit-text-fill-color: #f6efe4 !important; }

.stay-split { display: grid; grid-template-columns: 1.05fr 0.95fr; min-height: 640px; background: #f6efe6; }
.stay-split img { width: 100%; height: 100%; min-height: 640px; object-fit: cover; }
.stay-copy { display: flex; flex-direction: column; justify-content: center; padding: 48px 40px; }
.stay-copy h1 { margin: 0; font-family: Georgia, serif; font-weight: 500; font-size: clamp(2.3rem, 3.6vw, 3.5rem); }
.dine { padding: 28px 0 8px; }
.dine-photo { margin: 0 0 22px; border-radius: 28px; overflow: hidden; }
.dine-photo img { width: 100%; height: 320px; object-fit: cover; }
.dine h1 { margin: 0; font-family: Georgia, serif; font-weight: 500; font-size: clamp(2.4rem, 4vw, 3.6rem); text-align: center; }
.dine .w-lead, .dine .w-actions, .dine .breadcrumb { margin-left: auto; margin-right: auto; }
.dine .w-actions, .dine .breadcrumb { justify-content: center; }
.dine .w-kicker, .dine .w-lead { text-align: center; }
.dine-notes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; list-style: none; margin: 22px 0 0; padding: 0; }
.dine-notes li { background: #fff; border-radius: 18px; padding: 16px; color: #3b2416 !important; border: 1px solid var(--line); }

.shop { padding: 28px 0 20px; }
.shop-nav { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; }
.shop-nav span { display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid #e7e2da; background: #fff; color: #44403c !important; font-size: 13px; font-weight: 650; }
.shop-nav span:first-child { background: #111; border-color: #111; color: #fff !important; }
.shop-stage { display: grid; grid-template-columns: 1.15fr 0.85fr; min-height: 560px; background: #fff; border: 1px solid #e7e2da; border-radius: 24px; overflow: hidden; }
.shop-photo { min-width: 0; }
.shop-photo img { width: 100%; height: 100%; min-height: 560px; object-fit: cover; }
.shop-buy { min-width: 0; display: flex; flex-direction: column; justify-content: center; padding: 40px 40px 40px 36px; }
.shop h1 { margin: 0; max-width: 16ch; font-size: clamp(1.85rem, 2.5vw, 2.55rem); line-height: 1.08; letter-spacing: -0.04em; font-weight: 650; }
.shop .w-lead { max-width: 38ch; font-size: 1rem; }
.shop .w-actions { flex-direction: column; align-items: stretch; max-width: 280px; }
.shop .w-go, .shop .w-call { width: 100%; border-radius: 10px; }
.shop .w-go { background: #111; }
.shop .w-call { background: #fff; border-color: #d6d3d1; }

.works-floor { padding-top: 34px; }
.works-floor h1 { margin: 0; font-size: clamp(2.4rem, 4.4vw, 3.8rem); max-width: 14ch; }
.works-film { margin: 26px 0 0; }
.works-film img { width: 100%; height: 380px; object-fit: cover; }
.route {
  min-height: 70vh;
  display: flex;
  align-items: flex-end;
  padding: 40px 0;
  background:
    linear-gradient(180deg, rgba(8, 10, 12, 0.2), rgba(8, 10, 12, 0.78)),
    var(--img) center / cover no-repeat;
}
.route h1, .route .w-lead, .route .w-kicker, .route .breadcrumb a, .route .breadcrumb span { color: #fff !important; -webkit-text-fill-color: #fff !important; }
.route h1 { margin: 0; font-size: clamp(2.4rem, 4vw, 3.6rem); max-width: 14ch; }
.route .w-call { color: #fff !important; border-color: rgba(255, 255, 255, 0.45); }
.stops { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 18px 0 0; padding: 0; }
.stops li { border: 1px solid rgba(255, 255, 255, 0.35); background: rgba(0, 0, 0, 0.35); color: #fff !important; border-radius: 999px; padding: 8px 12px; }
.blue { padding: 32px 0 8px; background-image: linear-gradient(rgba(245, 158, 11, 0.08) 1px, transparent 1px), linear-gradient(90deg, rgba(245, 158, 11, 0.08) 1px, transparent 1px); background-size: 28px 28px; }
.blue-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: center; }
.blue h1 { margin: 0; font-size: clamp(2.2rem, 3.6vw, 3.3rem); }
.blue img { width: 100%; height: 420px; object-fit: cover; border: 1px solid rgba(245, 158, 11, 0.4); }

.saas { padding: 42px 0 8px; text-align: center; }
.saas h1 { margin: 0 auto; max-width: 14ch; font-size: clamp(2.6rem, 5vw, 4.2rem); line-height: 0.98; }
.saas .w-lead { margin-left: auto; margin-right: auto; }
.saas .w-actions, .saas .breadcrumb { justify-content: center; }
.browser { margin: 28px auto 0; text-align: left; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: #fff; box-shadow: 0 30px 60px rgba(15, 23, 42, 0.1); }
.browser-bar { display: flex; align-items: center; gap: 6px; min-height: 42px; padding: 0 14px; background: #f1f5f9; }
.browser-bar i { width: 9px; height: 9px; border-radius: 50%; background: #cbd5e1; display: block; }
.browser-bar span { margin-left: 8px; color: #64748b !important; font-size: 13px; }
.browser img { width: 100%; height: 420px; object-fit: cover; }
.phone { padding: 36px 0 8px; }
.phone-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 24px; align-items: center; }
.phone h1 { margin: 0; font-size: clamp(2.4rem, 4vw, 3.6rem); max-width: 12ch; }
.handset { width: min(300px, 100%); margin: 0 auto; padding: 12px; border-radius: 36px; background: #0f172a; box-shadow: 0 24px 50px rgba(15, 23, 42, 0.18); }
.handset img { width: 100%; height: 520px; object-fit: cover; border-radius: 26px; }
.bento { padding: 28px 0 8px; }
.bento-grid { display: grid; grid-template-columns: 1.35fr 0.75fr; grid-template-rows: auto auto; gap: 12px; }
.bento-title { grid-column: 1; grid-row: 1 / span 2; background: #fff; border: 1px solid var(--line); border-radius: 28px; padding: 32px; }
.bento-title h1 { margin: 0; font-size: clamp(2.2rem, 3.6vw, 3.3rem); }
.bento-grid figure { grid-column: 2; grid-row: 1; border-radius: 28px; overflow: hidden; }
.bento-grid figure img { width: 100%; height: 240px; object-fit: cover; }
.bento-points { grid-column: 2; grid-row: 2; display: grid; gap: 12px; }
.bento-points p { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 14px; color: #0f172a !important; }

.fin-dash { padding: 40px 0 8px; }
.fin-dash h1 { margin: 0; font-size: clamp(2.4rem, 4.2vw, 3.7rem); max-width: 14ch; }
.fin-nums { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 28px; }
.fin-nums article { border-top: 1px solid var(--line); padding-top: 14px; }
.fin-nums b { display: block; font-size: 2rem; color: var(--accent) !important; }
.fin-nums span { color: var(--muted) !important; }
.invoice { padding: 36px 0 8px; }
.sheet { width: min(820px, 100%); margin: 0 auto; background: #fffef9; padding: 36px 40px 32px; box-shadow: 0 18px 50px rgba(40, 30, 10, 0.12); }
.sheet header { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px solid #e6dcc8; padding-bottom: 12px; margin-bottom: 18px; }
.sheet header span { color: #8a6a2f !important; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; }
.sheet h1 { margin: 0; font-size: clamp(2rem, 3vw, 2.8rem); }
.sheet-points { list-style: none; margin: 18px 0 0; padding: 0; }
.sheet-points li { padding: 10px 0; border-top: 1px solid #eee4d4; color: #1c2430 !important; }

.sky {
  min-height: 78vh;
  display: flex;
  align-items: flex-end;
  padding: 42px 0;
  background:
    linear-gradient(180deg, rgba(6, 16, 32, 0.12), rgba(6, 16, 32, 0.72)),
    var(--img) center / cover no-repeat;
}
.sky h1, .sky .w-lead, .sky .w-kicker, .sky .breadcrumb a, .sky .breadcrumb span { color: #fff !important; -webkit-text-fill-color: #fff !important; }
.sky h1 { margin: 0; max-width: 14ch; font-size: clamp(2.6rem, 5vw, 4.4rem); line-height: 0.98; }
.sky .w-call { color: #fff !important; border-color: rgba(255, 255, 255, 0.5); }
.city-card { padding: 28px 0 8px; }
.city-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 28px; align-items: center; }
.city-grid img { width: 100%; height: 460px; object-fit: cover; border-radius: 8px; }
.city-grid h1 { margin: 0; font-size: clamp(2.2rem, 3.6vw, 3.3rem); }
.city-facts { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.city-facts li { padding: 12px 14px; background: #fff; border-left: 3px solid var(--accent); color: #14233a !important; }

.essay { padding: 48px 0 10px; }
.essay h1 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-weight: 500; font-size: clamp(2.5rem, 4vw, 3.7rem); }
.world-journal .w-lead { font-family: Georgia, "Times New Roman", serif; font-size: 1.25rem; }
.mag { padding: 28px 0 8px; }
.mag-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 32px; align-items: center; }
.mag img { width: 100%; height: 460px; object-fit: cover; }
.mag h1 { margin: 0; font-family: Georgia, serif; font-weight: 500; font-size: clamp(2.3rem, 3.8vw, 3.5rem); }

.w-ledger { margin-top: 28px; background: var(--panel); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.sheet-cols, .w-ledger article { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 16px; padding: 18px 22px; }
.sheet-cols { background: var(--accent-2); }
.sheet-cols span { color: var(--on-dark) !important; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; }
.w-ledger article { border-top: 1px solid var(--line); }
.w-ledger b { color: var(--accent) !important; font-variant-numeric: tabular-nums; }
.w-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 28px; }
.w-cards article { background: var(--panel); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.w-cards img { width: 100%; height: 180px; object-fit: cover; }
.w-cards div { padding: 16px 18px 20px; }
.world-erp.shape-1 .w-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.world-ai.shape-2 .w-cards article { border-radius: 24px; box-shadow: 0 0 24px rgba(37, 99, 235, 0.16); }
.w-time { list-style: none; margin: 28px 0 0; padding: 0; }
.w-time li { position: relative; margin-left: 12px; padding: 0 0 26px 28px; border-left: 2px solid var(--line); }
.w-time b { position: absolute; left: -13px; top: 0; width: 24px; height: 24px; border-radius: 50%; background: var(--accent); color: var(--on-accent) !important; font-size: 10px; display: grid; place-items: center; }
.w-splits article { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 22px; align-items: center; margin-top: 26px; }
.w-splits article.flip img { order: 2; }
.w-splits img { width: 100%; height: 280px; object-fit: cover; border-radius: 18px; }
.w-chapters article { padding: 28px 0; border-top: 1px solid var(--line); }
.w-chapters .num { display: block; margin-bottom: 8px; color: var(--accent) !important; letter-spacing: 0.14em; font-size: 12px; }
.tpl .w-ledger ul,
.tpl .w-cards ul,
.tpl .w-time ul,
.tpl .w-splits ul,
.tpl .w-chapters ul,
.tpl .w-read ul { list-style: none; margin: 10px 0 0; padding: 0; }
.tpl .w-ledger li,
.tpl .w-cards li,
.tpl .w-time li,
.tpl .w-splits li,
.tpl .w-chapters li,
.tpl .w-read li { position: relative; padding: 3px 0 3px 14px; }
.tpl .w-ledger li::before,
.tpl .w-cards li::before,
.tpl .w-time li::before,
.tpl .w-splits li::before,
.tpl .w-chapters li::before,
.tpl .w-read li::before { content: ""; position: absolute; left: 0; top: 0.7em; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.tpl .w-time > li { padding: 0 0 26px 28px; }
.tpl .w-time > li::before { content: none; }

.tpl .fam-brief,
.tpl .fam-cards,
.tpl .fam-faqs { display: block !important; margin-top: 36px; }
.tpl .fam-brief::before,
.tpl .fam-cards::before,
.tpl .fam-faqs::before,
.tpl .fam-block-title::before,
.tpl .fam-block-title::after { content: none !important; display: none !important; }
.tpl .fam-block-title {
  display: block !important;
  margin: 0 0 14px !important;
  padding: 0 !important;
  background: none !important;
  border: 0 !important;
  box-shadow: none !important;
  text-align: left !important;
  font-size: clamp(1.5rem, 2vw, 2rem) !important;
  color: var(--ink) !important;
}
.tpl .card,
.tpl .faq-item,
.fam-points article,
.fam-pair > div {
  background: var(--panel) !important;
  color: var(--ink) !important;
  border: 1px solid var(--line) !important;
  box-shadow: none !important;
}
.fam-points { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.fam-points article, .fam-pair > div { border-radius: 16px; padding: 18px; }
.fam-pair { display: grid !important; grid-template-columns: 1fr 1fr; gap: 14px; background: none !important; }
.fam-pair h3, .fam-points h3, .tpl .card h3 { color: var(--ink) !important; }
.fam-pair li, .fam-points p, .tpl .card p, .tpl .card span, .tpl .faq-item p { color: var(--muted) !important; }
.tpl .faq-item { border-radius: 14px; padding: 4px 16px; margin: 0 0 10px; }
.tpl .faq-item summary { color: var(--ink) !important; cursor: pointer; padding: 12px 0; }
.tpl .cta-panel {
  background: var(--accent-2) !important;
  border-radius: 20px;
  padding: 28px !important;
  margin-top: 36px;
}
.tpl .cta-panel h2,
.tpl .cta-panel p { color: var(--on-dark) !important; -webkit-text-fill-color: var(--on-dark) !important; }
.world-stay .cta-panel, .world-works .cta-panel, .world-journal .cta-panel { border-radius: 0; }
.world-works .cta-panel { border-left: 6px solid #f59e0b; }
.world-ai .cta-panel { border: 1px solid rgba(125, 211, 252, 0.35) !important; box-shadow: 0 0 32px rgba(37, 99, 235, 0.2); }
.world-care .cta-panel { border-radius: 28px; }

@media (max-width: 900px) {
  .w-wrap, .w-read { width: min(1180px, calc(100% - 32px)); }
  .erp-body, .rec-grid, .ai-split, .chat-grid, .lesson-grid, .jewel-grid, .stay-split, .blue-grid, .phone-grid, .city-grid, .mag-grid, .bento-grid, .fin-nums, .erp-kpis, .shop-stage, .shop-grid, .w-cards, .fam-points, .fam-pair, .dine-notes, .world-erp.shape-1 .w-cards {
    display: grid !important;
    grid-template-columns: 1fr !important;
  }
  .bento-title, .bento-grid figure, .bento-points { grid-column: 1 !important; grid-row: auto !important; }
  .stay-split img, .lesson-grid img, .jewel img, .ai-split img, .city-grid img, .mag img, .blue img, .handset img, .shop-photo img { height: 240px; min-height: 0; }
  .shop-buy { padding: 22px 18px 26px; }
  .shop .w-actions { max-width: none; }
  .erp-stage { padding: 22px 16px 24px; }
  .erp-stage img, .browser img, .works-film img, .dine-photo img { height: 200px; }
  .stay-copy { padding: 28px 20px; }
  .sheet { padding: 22px 18px; }
  .care-cover, .estate-bleed, .sky, .route { min-height: 0; }
  .w-splits article { grid-template-columns: 1fr; }
  .w-splits article.flip img { order: 0; }
  .w-splits img { height: 200px; }
  .handset { width: min(240px, 70%); }
  .erp-kpis { grid-template-columns: 1fr 1fr !important; }
}

.tpl { font-family: "Segoe UI", system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
.w-rest { padding-top: 36px; }
.w-ledger { border-radius: 12px; box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04); }
.sheet-cols { background: color-mix(in srgb, var(--ink) 6%, var(--panel)); }
.sheet-cols span { color: var(--muted) !important; font-weight: 700; }
.w-ledger article { align-items: start; }
.w-ledger article + article { border-top: 1px solid var(--line); }
.world-erp .w-ledger b {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 28px;
  border-radius: 6px;
  background: #e8eef8;
  font-size: 12px;
}
.w-cards article { border-radius: 16px; box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04); }
.w-cards div { padding: 18px 18px 22px; }
.w-chapters article { padding: 32px 0; }
.tpl .fam-cards,
.tpl .fam-brief,
.tpl .fam-faqs { margin-top: 56px !important; }
.tpl .fam-block-title {
  font-size: 1.65rem !important;
  font-weight: 650 !important;
  letter-spacing: -0.03em !important;
  margin: 0 0 16px !important;
}
.tpl .card {
  border-radius: 16px !important;
  overflow: hidden;
  background: var(--panel) !important;
  border: 1px solid var(--line) !important;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05) !important;
}
.tpl .card:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(15, 23, 42, 0.08) !important; }
.tpl .card-img-top { height: 176px; object-fit: cover; }
.tpl .card-body,
.tpl .card .card-body { padding: 18px 18px 22px !important; }
.tpl .card h3 { margin: 0 0 6px; font-size: 1.05rem !important; }
.tpl .fam-ico,
.tpl .fam-pair .fam-ico,
.tpl .fam-pair h3 .fam-ico,
.tpl .fam-pair .is-later .fam-ico {
  background: color-mix(in srgb, var(--accent) 16%, var(--panel)) !important;
  color: var(--accent) !important;
  box-shadow: none !important;
  border-radius: 10px !important;
  transform: none !important;
}
.fam-points { gap: 16px; }
.fam-points article,
.fam-pair > div { border-radius: 16px; padding: 20px; }
.tpl .faq-item {
  background: var(--panel) !important;
  border: 1px solid var(--line) !important;
  border-radius: 12px !important;
  box-shadow: none !important;
  padding: 2px 18px !important;
  margin: 0 0 8px;
}
.tpl .faq-item summary { font-weight: 650; padding: 14px 0; }
.tpl .cta-panel { border-radius: 16px; padding: 32px !important; }
.tpl .cta-panel .btn { border-radius: 8px; }
