:root {
  --bg: #ffffff;
  --bg-alt: #f5f5f7;
  --ink: #1d1d1f;
  --muted: #6e6e73;
  --muted-light: #86868b;
  --line: #d2d2d7;
  --line-soft: rgba(0, 0, 0, 0.06);
  --accent: #0071e3;
  --accent-hover: #0077ed;
  --radius-lg: 28px;
  --radius-md: 22px;
  --radius-pill: 980px;
  --maxw: 1080px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "PingFang SC", "Helvetica Neue", "Microsoft YaHei", sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
  font-size: 17px;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; transition: all 0.25s ease; }
img { display: block; width: 100%; height: auto; }

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

/* Frosted Glass Apple Global Nav */
.apple-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: 52px;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}
.nav-inner {
  max-width: var(--maxw);
  height: 100%;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-brand {
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-links a {
  font-size: 13px;
  color: var(--muted);
  font-weight: 400;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--ink);
}
.nav-pill {
  background: var(--ink);
  color: #ffffff !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
}
.nav-pill:hover {
  background: #333336;
}

/* Apple Minimalist Hero */
.hero {
  padding: 88px 0 48px;
  text-align: center;
}
.hero-eyebrow {
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 12px;
  display: block;
}
.hero h1 {
  margin: 0 auto 16px;
  font-size: 54px;
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.025em;
  max-width: 780px;
}
.hero-sub {
  margin: 0 auto 28px;
  font-size: 20px;
  line-height: 1.45;
  color: var(--muted);
  font-weight: 400;
  max-width: 720px;
}
.hero-actions {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 52px;
}
.btn-pill {
  display: inline-block;
  background: var(--accent);
  color: #ffffff;
  font-size: 15px;
  font-weight: 500;
  padding: 12px 24px;
  border-radius: var(--radius-pill);
}
.btn-pill:hover { background: var(--accent-hover); }
.btn-link {
  font-size: 16px;
  color: var(--accent);
  font-weight: 500;
}
.btn-link:hover { text-decoration: underline; }

.hero-showcase {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.08);
  aspect-ratio: 16 / 9;
  background: var(--bg-alt);
}
.hero-showcase img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Subpage Minimalist Header */
.sub-hero {
  padding: 76px 0 44px;
  text-align: center;
}
.sub-hero h1 {
  margin: 8px auto 14px;
  font-size: 44px;
  line-height: 1.14;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.sub-hero p {
  margin: 0 auto;
  font-size: 19px;
  color: var(--muted);
  max-width: 560px;
}

/* Sections with Generous Apple Breathing Room */
.section { padding: 96px 0; }
.section-grey { background: var(--bg-alt); }

.sec-header {
  text-align: center;
  margin-bottom: 56px;
}
.sec-header h2 {
  margin: 0 0 12px;
  font-size: 40px;
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.sec-header p {
  margin: 0 auto;
  font-size: 19px;
  color: var(--muted);
  max-width: 540px;
}

/* Bento 4-Metric Row */
.bento-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.stat-tile {
  background: var(--bg-alt);
  border-radius: var(--radius-md);
  padding: 34px 28px;
  text-align: center;
}
.section-grey .stat-tile { background: var(--bg); }
.stat-big {
  font-size: 40px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--ink);
  line-height: 1.1;
}
.stat-big small {
  font-size: 17px;
  font-weight: 600;
  margin-left: 2px;
}
.stat-caption {
  margin-top: 10px;
  font-size: 14px;
  color: var(--muted);
}

/* Bento Visual Space Cards */
.bento-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.bento-card {
  background: var(--bg);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.35s ease;
}
.section:not(.section-grey) .bento-card {
  background: var(--bg-alt);
}
.bento-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.06);
}
.bento-photo {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.bento-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.bento-card:hover .bento-photo img {
  transform: scale(1.03);
}
.bento-info {
  padding: 28px;
}
.bento-tag {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted-light);
  display: block;
  margin-bottom: 6px;
}
.bento-info h3 {
  margin: 0 0 8px;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.bento-info p {
  margin: 0;
  font-size: 15px;
  color: var(--muted);
  line-height: 1.55;
}

/* Minimalist 5-Step Strip */
.steps-minimal {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}
.step-tile {
  background: var(--bg-alt);
  border-radius: var(--radius-md);
  padding: 28px 22px;
}
.section-grey .step-tile { background: var(--bg); }
.step-idx {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  display: block;
  margin-bottom: 10px;
}
.step-tile h3 {
  margin: 0 0 6px;
  font-size: 18px;
  font-weight: 600;
}
.step-tile p {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
}

/* Apple-Style Minimalist Spec Drawer (<details>) */
.spec-drawer {
  margin-top: 36px;
  background: var(--bg-alt);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.section-grey .spec-drawer { background: var(--bg); }
.spec-drawer summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 28px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  user-select: none;
}
.spec-drawer summary::-webkit-details-marker { display: none; }
.spec-drawer summary::after {
  content: "+";
  font-size: 22px;
  font-weight: 400;
  color: var(--muted);
  transition: transform 0.25s ease;
}
.spec-drawer[open] summary::after {
  transform: rotate(45deg);
}
.drawer-body {
  padding: 8px 28px 32px;
  border-top: 1px solid var(--line-soft);
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.75;
}
.drawer-body h3 {
  font-size: 16px;
  color: var(--ink);
  margin: 22px 0 10px;
}
.drawer-body ul, .drawer-body ol {
  padding-left: 18px;
  margin: 8px 0 16px;
}
.drawer-body li { margin-bottom: 6px; }

/* Clean Minimalist Apple Tables */
.clean-table-wrap {
  overflow-x: auto;
  margin: 18px 0;
  background: var(--bg);
  border-radius: 16px;
  padding: 8px 16px;
}
.section:not(.section-grey) .clean-table-wrap {
  background: var(--bg-alt);
}
.drawer-body .clean-table-wrap {
  background: var(--bg-alt);
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
th, td {
  padding: 15px 14px;
  text-align: left;
  border-bottom: 1px solid var(--line-soft);
  vertical-align: top;
}
tr:last-child th, tr:last-child td { border-bottom: none; }
thead th {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted-light);
  letter-spacing: 0.02em;
}
tbody th {
  font-weight: 600;
  color: var(--ink);
  width: 170px;
  white-space: nowrap;
}
td { color: var(--muted); }

/* Apple Accordion FAQ */
.faq-accordion {
  max-width: 820px;
  margin: 0 auto;
  border-top: 1px solid var(--line);
}
.faq-row {
  border-bottom: 1px solid var(--line);
}
.faq-row summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 4px;
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.faq-row summary::-webkit-details-marker { display: none; }
.faq-row summary::after {
  content: "+";
  font-size: 22px;
  font-weight: 300;
  color: var(--muted-light);
  flex-shrink: 0;
  transition: transform 0.25s ease;
}
.faq-row[open] summary::after {
  transform: rotate(45deg);
}
.faq-row h3 {
  margin: 0;
  font-size: 17px;
  font-weight: 600;
}
.faq-answer {
  padding: 0 4px 22px;
  font-size: 15px;
  color: var(--muted);
  line-height: 1.7;
}

/* Minimalist Contact Card */
.contact-card {
  background: var(--bg-alt);
  border-radius: var(--radius-lg);
  padding: 64px 40px;
  text-align: center;
}
.section-grey .contact-card { background: var(--bg); }
.contact-card h2 {
  margin: 0 0 10px;
  font-size: 36px;
  letter-spacing: -0.02em;
}
.contact-card p {
  margin: 0 auto 26px;
  color: var(--muted);
  font-size: 17px;
  max-width: 460px;
}
.phone-pill {
  display: inline-block;
  background: var(--ink);
  color: #ffffff;
  font-size: 18px;
  font-weight: 600;
  padding: 14px 32px;
  border-radius: var(--radius-pill);
  letter-spacing: 0.02em;
}
.phone-pill:hover { background: var(--accent); }

/* Minimalist Apple Footer */
.apple-footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--line);
  padding: 36px 0 44px;
  font-size: 12px;
  color: var(--muted-light);
  line-height: 1.65;
}
.footer-note {
  padding-bottom: 18px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.footer-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}
.footer-links a:hover { color: var(--ink); text-decoration: underline; }

/* Real Case Showcase & Editorial Gallery */
.case-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.case-card {
  display: flex;
  flex-direction: column;
  background: var(--bg);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.35s ease;
}
.section:not(.section-grey) .case-card {
  background: var(--bg-alt);
}
.case-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 52px rgba(0, 0, 0, 0.08);
}
.case-cover {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #e8e8ed;
}
.case-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
}
.case-card:hover .case-cover img {
  transform: scale(1.03);
}
.case-body {
  padding: 32px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.case-meta-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}
.meta-pill {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
  background: rgba(0, 0, 0, 0.055);
  padding: 5px 12px;
  border-radius: var(--radius-pill);
}
.meta-pill.accent {
  color: var(--accent);
  background: rgba(0, 113, 227, 0.09);
}
.case-body h3 {
  margin: 0 0 10px;
  font-size: 24px;
  line-height: 1.28;
  font-weight: 700;
  letter-spacing: -0.015em;
}
.case-body p {
  margin: 0 0 20px;
  font-size: 15px;
  color: var(--muted);
  line-height: 1.6;
  flex: 1;
}
.case-more {
  font-size: 15px;
  font-weight: 600;
  color: var(--accent);
}
.case-card:hover .case-more {
  text-decoration: underline;
}

/* Case Detail Page */
.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted-light);
  margin-bottom: 14px;
}
.breadcrumb a:hover { color: var(--ink); }

.case-facts-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 36px 0 44px;
}
.fact-box {
  background: var(--bg-alt);
  border-radius: 18px;
  padding: 22px 20px;
  text-align: left;
}
.section-grey .fact-box { background: var(--bg); }
.fact-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted-light);
  display: block;
  margin-bottom: 6px;
}
.fact-val {
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.35;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}
.gallery-grid.cols-3 {
  grid-template-columns: repeat(3, 1fr);
}
.gallery-item {
  margin: 0;
  background: var(--bg);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.section:not(.section-grey) .gallery-item {
  background: var(--bg-alt);
}
.gallery-item.wide {
  grid-column: span 2;
}
.gallery-photo {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #ececf0;
}
.gallery-photo.tall {
  aspect-ratio: 3 / 4;
}
.gallery-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gallery-item figcaption {
  padding: 16px 20px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
}
.gallery-item figcaption strong {
  color: var(--ink);
  font-weight: 600;
  margin-right: 6px;
}

.notice-card {
  background: var(--bg);
  border-radius: var(--radius-md);
  padding: 28px 32px;
  margin-top: 32px;
  border: 1px solid var(--line-soft);
}
.section:not(.section-grey) .notice-card {
  background: var(--bg-alt);
}
.notice-card h3 {
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 600;
}
.notice-card p {
  margin: 0;
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.7;
}

/* Guides & Editorial Article Layout */
.guide-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.guide-card {
  display: flex;
  flex-direction: column;
  background: var(--bg);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  border: 1px solid var(--line-soft);
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.3s ease;
}
.section:not(.section-grey) .guide-card {
  background: var(--bg-alt);
  border-color: transparent;
}
.guide-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.06);
}
.guide-card h3 {
  margin: 0 0 12px;
  font-size: 20px;
  line-height: 1.38;
  font-weight: 700;
  letter-spacing: -0.015em;
}
.guide-card p {
  margin: 0 0 20px;
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.65;
  flex: 1;
}

.article-shell {
  max-width: 860px;
  margin: 0 auto;
  background: var(--bg);
  border-radius: var(--radius-lg);
  padding: 48px 52px;
  border: 1px solid var(--line-soft);
}
.article-shell h2 {
  margin: 36px 0 14px;
  font-size: 25px;
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.article-shell h2:first-child { margin-top: 0; }
.article-shell h3 {
  margin: 24px 0 10px;
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
}
.article-shell p {
  margin: 0 0 16px;
  font-size: 16px;
  line-height: 1.8;
  color: var(--muted);
}
.article-shell p strong { color: var(--ink); }
.article-shell ul, .article-shell ol {
  margin: 0 0 18px;
  padding-left: 20px;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.8;
}
.article-shell li { margin-bottom: 8px; }
.article-shell li strong { color: var(--ink); }
.article-shell .clean-table-wrap {
  background: var(--bg-alt);
  margin: 20px 0 24px;
}
.tldr-box {
  background: var(--bg-alt);
  border-left: 4px solid var(--accent);
  border-radius: 14px;
  padding: 22px 26px;
  margin-bottom: 32px;
}
.tldr-box > strong {
  display: block;
  font-size: 14px;
  color: var(--accent);
  margin-bottom: 8px;
}
.tldr-box p strong {
  color: var(--ink);
  font-weight: 600;
}
.tldr-box p {
  margin: 0;
  font-size: 15px;
  color: var(--ink);
  line-height: 1.7;
}
.related-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--line-soft);
}

@media (max-width: 900px) {
  .hero h1 { font-size: 38px; }
  .bento-stats { grid-template-columns: repeat(2, 1fr); }
  .bento-cards, .guide-grid { grid-template-columns: 1fr; }
  .case-grid { grid-template-columns: 1fr; }
  .case-facts-bar { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid, .gallery-grid.cols-3 { grid-template-columns: 1fr; }
  .gallery-item.wide { grid-column: span 1; }
  .steps-minimal { grid-template-columns: 1fr 1fr; }
  .sec-header h2 { font-size: 30px; }
  .article-shell { padding: 32px 24px; }
}

@media (max-width: 640px) {
  .nav-links { gap: 12px; }
  .bento-stats, .steps-minimal, .case-facts-bar { grid-template-columns: 1fr; }
  .hero { padding: 56px 0 32px; }
  .section { padding: 64px 0; }
  .contact-card { padding: 44px 24px; }
  .case-body { padding: 24px; }
}
