/* Radact — Daylight Atelier Editorial Design System */
:root {
  --bg: #fafaf9;
  --surface: #ffffff;
  --surface-tint: #f5f3ff;
  --surface-muted: #f4f4f2;
  --dark-surface: #18181b;
  --dark-surface-2: #232329;
  --ink: #18181b;
  --ink-secondary: #52525b;
  --ink-muted: #71717a;
  --border: rgba(24, 24, 27, 0.09);
  --border-strong: rgba(24, 24, 27, 0.16);
  --accent: #7c3aed;
  --accent-hover: #6d28d9;
  --accent-soft: rgba(124, 58, 237, 0.1);
  --accent-text: #5b21b6;
  --success: #0f766e;
  --success-bg: #f0fdfa;
  --radius-card: 20px;
  --radius-sm: 12px;
  --radius-pill: 999px;
  --shadow-card: 0 10px 30px -12px rgba(24, 24, 27, 0.08), 0 1px 2px rgba(24, 24, 27, 0.04);
  --shadow-device: 0 28px 60px -20px rgba(24, 24, 27, 0.28), 0 4px 12px rgba(24, 24, 27, 0.08);
  --font-display: "Poppins", -apple-system, BlinkMacSystemFont, "Hiragino Sans", "PingFang TC", "Noto Sans JP", sans-serif;
  --font-body: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Hiragino Sans", "PingFang TC", "Noto Sans JP", sans-serif;
  --max-w: 1180px;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: clip;
}

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

a {
  color: inherit;
  text-decoration: none;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.container {
  width: min(var(--max-w), calc(100% - 40px));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: 68px;
  background: rgba(250, 250, 249, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.brand-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(124, 58, 237, 0.22);
}

.nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav a {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink-secondary);
  white-space: nowrap;
  transition: color 0.16s ease;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--ink);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lang-menu {
  position: relative;
}

.lang-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-pill);
  padding: 7px 13px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.lang-trigger:hover {
  background: var(--surface-muted);
}

.lang-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  inset-inline-end: 0;
  width: 240px;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: 16px;
  padding: 8px;
  box-shadow: 0 20px 44px -14px rgba(24, 24, 27, 0.18);
  z-index: 60;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px;
}

.lang-menu.open .lang-dropdown {
  display: grid;
}

.lang-dropdown a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 10px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-secondary);
  white-space: nowrap;
}

.lang-dropdown a:hover {
  background: var(--surface-muted);
  color: var(--ink);
}

.lang-dropdown a[aria-current="true"] {
  background: var(--surface-tint);
  color: var(--accent-text);
  font-weight: 700;
}

[dir="rtl"] .ba-after {
  clip-path: inset(0 var(--split, 52%) 0 0);
}

[dir="rtl"] .ba-divider {
  left: auto;
  right: var(--split, 52%);
  transform: translateX(1px);
}

[dir="rtl"] .hero {
  background: radial-gradient(72% 65% at 22% 18%, rgba(124, 58, 237, 0.08), transparent 72%);
}

[dir="rtl"] .step-list {
  padding-left: 0;
  padding-right: 20px;
}

.footer-langs {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 16px;
  padding-bottom: 18px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
}

.footer-langs a {
  color: var(--ink-secondary);
}

.footer-langs a[aria-current="true"] {
  color: var(--accent-text);
  font-weight: 600;
}

.footer-langs a:hover {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.menu-toggle {
  display: none;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  cursor: pointer;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  line-height: 1;
  padding: 14px 22px;
  white-space: nowrap;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.14s ease, background-color 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
}

.btn:active {
  transform: scale(0.98);
}

.btn-sm {
  font-size: 13.5px;
  padding: 10px 16px;
}

.btn-primary {
  background: var(--accent);
  color: #ffffff;
  box-shadow: 0 8px 20px -10px rgba(124, 58, 237, 0.65);
}

.btn-primary:hover {
  background: var(--accent-hover);
}

.btn-dark {
  background: var(--ink);
  color: #ffffff;
}

.btn-dark:hover {
  background: #27272a;
}

.btn-secondary {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--border-strong);
}

.btn-secondary:hover {
  background: var(--surface-muted);
  border-color: rgba(24, 24, 27, 0.25);
}

.apple-logo {
  width: 16px;
  height: 16px;
  fill: currentColor;
  flex-shrink: 0;
}

/* Hero — fits cleanly in 1440x900 above the fold */
.hero {
  padding: 44px 0 56px;
  background: radial-gradient(72% 65% at 78% 18%, rgba(124, 58, 237, 0.08), transparent 72%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
  align-items: center;
  gap: 48px;
}

.eyebrow {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-text);
}

.hero h1 {
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 3.6vw, 3.25rem);
  font-weight: 700;
  line-height: 1.09;
  letter-spacing: -0.03em;
  color: var(--ink);
}

:lang(ja) .hero h1,
:lang(zh-Hant) .hero h1,
:lang(zh-Hans) .hero h1,
:lang(ko) .hero h1 {
  font-size: clamp(1.85rem, 3.05vw, 2.72rem);
  line-height: 1.24;
  letter-spacing: -0.02em;
}

:lang(de) .hero h1,
:lang(fr) .hero h1,
:lang(es) .hero h1,
:lang(pt-BR) .hero h1,
:lang(it) .hero h1,
:lang(ru) .hero h1 {
  font-size: clamp(1.9rem, 3.1vw, 2.82rem);
  line-height: 1.13;
}

:lang(ar) {
  --font-display: "Noto Sans Arabic", "Poppins", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: "Noto Sans Arabic", "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, sans-serif;
}

:lang(ar) .hero h1 {
  font-size: clamp(1.9rem, 3.1vw, 2.85rem);
  line-height: 1.32;
  letter-spacing: 0;
}

:lang(ar) .eyebrow {
  text-transform: none;
  letter-spacing: 0;
}

:lang(ko) {
  --font-display: "Noto Sans KR", "Poppins", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: "Noto Sans KR", "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, sans-serif;
}

:lang(zh-Hans) {
  --font-display: "Noto Sans SC", "Poppins", -apple-system, BlinkMacSystemFont, "PingFang SC", sans-serif;
  --font-body: "Noto Sans SC", "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "PingFang SC", sans-serif;
}

.hero-sub {
  margin: 0 0 28px;
  font-size: 18px;
  line-height: 1.55;
  color: var(--ink-secondary);
  max-width: 48ch;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

/* Hero Visual: Real iPhone + Interactive Before/After Card */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.phone-frame {
  width: min(300px, 100%);
  background: #141418;
  padding: 10px;
  border-radius: 44px;
  box-shadow: var(--shadow-device);
  border: 1px solid rgba(255, 255, 255, 0.14);
  flex-shrink: 0;
}

.phone-frame img {
  width: 100%;
  height: auto;
  border-radius: 34px;
  aspect-ratio: 720 / 1565;
  object-fit: cover;
}

.interactive-demo {
  width: 248px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 16px;
  box-shadow: var(--shadow-card);
}

.demo-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-secondary);
}

.demo-chip {
  font-size: 11px;
  font-weight: 600;
  color: var(--success);
  background: var(--success-bg);
  padding: 3px 8px;
  border-radius: var(--radius-pill);
}

.ba-stage {
  position: relative;
  height: 188px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: #fafaf9;
  overflow: hidden;
  user-select: none;
  touch-action: none;
  cursor: ew-resize;
}

.ba-layer {
  position: absolute;
  inset: 0;
  padding: 14px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.ba-after {
  background: #ffffff;
  clip-path: inset(0 0 0 var(--split, 52%));
}

.ba-row-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-muted);
  margin-bottom: 2px;
}

.ba-val {
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
}

.ba-bar {
  display: block;
  height: 16px;
  border-radius: 5px;
  background: #18181b;
  margin-top: 2px;
}

.ba-bar.w80 { width: 82%; }
.ba-bar.w70 { width: 70%; }
.ba-bar.w60 { width: 58%; }

.ba-safe {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 8px;
  border-top: 1px dashed var(--border);
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
}

.ba-divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--split, 52%);
  width: 2px;
  background: var(--accent);
  transform: translateX(-1px);
  pointer-events: none;
}

.ba-knob {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--accent);
  color: #ffffff;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(124, 58, 237, 0.35);
}

.demo-range {
  width: 100%;
  margin-top: 10px;
  accent-color: var(--accent);
}

.demo-caption {
  margin: 4px 0 0;
  font-size: 12px;
  color: var(--ink-muted);
  line-height: 1.4;
}

/* Proof Hairline Strip (Section 2 — no cards) */
.proof-strip {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--surface);
  padding: 26px 0;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.proof-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 4px;
}

.proof-item span {
  display: block;
  font-size: 13.5px;
  color: var(--ink-secondary);
  line-height: 1.45;
}

/* Sections */
.section {
  padding: 80px 0;
}

.section-head {
  max-width: 620px;
  margin-bottom: 40px;
}

.section-head h2 {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: -0.025em;
}

.section-head p {
  margin: 0;
  color: var(--ink-secondary);
  font-size: 17px;
  line-height: 1.6;
}

/* Section 3 — Asymmetric 5-Cell Bento Grid */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 20px;
}

.bento-card {
  border-radius: var(--radius-card);
  padding: 28px;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  overflow: hidden;
}

.bento-card h3 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.25;
}

.bento-card p {
  margin: 0;
  font-size: 15px;
  color: var(--ink-secondary);
  line-height: 1.55;
}

.bento-span-7 {
  grid-column: span 7;
}

.bento-span-5 {
  grid-column: span 5;
}

.bento-span-12 {
  grid-column: span 12;
}

.bento-dark {
  background: var(--dark-surface);
  border-color: rgba(255, 255, 255, 0.08);
  color: #fafaf9;
}

.bento-dark p {
  color: #a1a1aa;
}

.bento-tint {
  background: linear-gradient(150deg, #f5f3ff 0%, #ffffff 70%);
  border-color: rgba(124, 58, 237, 0.16);
}

.bento-media {
  display: flex;
  justify-content: center;
  margin-bottom: -36px;
}

.bento-phone {
  width: 240px;
  border-radius: 28px 28px 0 0;
  border: 6px solid #18181b;
  border-bottom: 0;
  overflow: hidden;
  box-shadow: 0 16px 36px rgba(24, 24, 27, 0.18);
}

.bento-dark .bento-phone {
  border-color: #32323a;
}

.bento-phone img {
  width: 100%;
  height: 310px;
  object-fit: cover;
  object-position: top center;
}

.exif-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 8px;
}

.exif-tag {
  background: var(--surface);
  border: 1px solid rgba(124, 58, 237, 0.16);
  border-radius: 12px;
  padding: 12px 14px;
}

.exif-tag strong {
  display: block;
  font-size: 13.5px;
  color: var(--ink);
}

.exif-tag span {
  font-size: 12.5px;
  color: var(--ink-secondary);
}

.bento-horizontal {
  flex-direction: row;
  align-items: center;
  gap: 32px;
}

.bento-horizontal > div:first-child {
  flex: 1;
}

.entry-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
  max-width: 480px;
}

.entry-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  background: var(--bg);
  border: 1px solid var(--border);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
}

/* Section 4 — Real App Gallery Carousel */
.gallery-section {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.gallery-bar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 32px;
}

.gallery-bar .section-head {
  margin-bottom: 0;
}

.gallery-controls {
  display: flex;
  gap: 8px;
}

.icon-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  color: var(--ink);
  font-size: 18px;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.icon-btn:hover {
  background: var(--surface-muted);
}

.gallery-track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 12px;
  scrollbar-width: thin;
}

.gallery-slide {
  flex: 0 0 264px;
  scroll-snap-align: start;
}

.gallery-frame {
  background: #141418;
  padding: 8px;
  border-radius: 36px;
  box-shadow: 0 18px 40px -20px rgba(24, 24, 27, 0.32);
  margin-bottom: 14px;
}

.gallery-frame img {
  border-radius: 28px;
  width: 100%;
  height: auto;
  aspect-ratio: 720 / 1565;
  object-fit: cover;
}

.gallery-slide h3 {
  margin: 0 0 4px;
  font-family: var(--font-display);
  font-size: 15.5px;
  font-weight: 600;
}

.gallery-slide p {
  margin: 0;
  font-size: 13.5px;
  color: var(--ink-secondary);
}

/* Section 5 — Privacy Architecture Comparison */
.compare-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.compare-panel {
  border-radius: var(--radius-card);
  padding: 32px;
  border: 1px solid var(--border);
  background: var(--surface);
}

.compare-panel.highlight {
  background: var(--surface-tint);
  border-color: rgba(124, 58, 237, 0.24);
}

.compare-panel h3 {
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
}

.compare-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.compare-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 15px;
  color: var(--ink-secondary);
}

.compare-panel.highlight .compare-list li {
  color: var(--ink);
}

.marker {
  font-weight: 700;
  flex-shrink: 0;
  width: 20px;
}

.marker.good { color: var(--accent); }
.marker.bad { color: var(--ink-muted); }

/* Section 6 — Accessible FAQ Accordion */
.faq-list {
  display: grid;
  gap: 12px;
  max-width: 820px;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 0 22px;
  transition: border-color 0.16s ease;
}

.faq-item[open] {
  border-color: rgba(124, 58, 237, 0.28);
}

.faq-item summary {
  list-style: none;
  padding: 18px 0;
  font-family: var(--font-display);
  font-size: 16.5px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 20px;
  font-weight: 400;
  color: var(--accent);
  transition: transform 0.18s ease;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item p {
  margin: 0 0 18px;
  color: var(--ink-secondary);
  font-size: 15px;
  line-height: 1.65;
}

/* Section 7 — Final CTA Band */
.cta-band {
  padding: 24px 0 84px;
}

.cta-box {
  background: var(--dark-surface);
  color: #fafaf9;
  border-radius: 28px;
  padding: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.cta-copy {
  display: flex;
  align-items: center;
  gap: 20px;
  max-width: 620px;
}

.cta-icon {
  width: 68px;
  height: 68px;
  border-radius: 16px;
  flex-shrink: 0;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
}

.cta-box h2 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 2.1rem);
  font-weight: 700;
  line-height: 1.2;
}

.cta-box p {
  margin: 0;
  color: #a1a1aa;
  font-size: 15.5px;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--surface);
  padding: 36px 0;
  font-size: 14px;
  color: var(--ink-secondary);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-links a:hover {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* Legal & Support Pages */
.legal-layout {
  padding: 56px 0 84px;
}

.legal-content {
  max-width: 780px;
  margin-inline: auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 44px;
  box-shadow: var(--shadow-card);
}

.legal-content h1 {
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3vw, 2.5rem);
  line-height: 1.15;
}

.legal-content h2 {
  margin: 28px 0 10px;
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 600;
}

.legal-content p,
.legal-content li {
  color: var(--ink-secondary);
  font-size: 15.5px;
  line-height: 1.7;
}

.legal-content a {
  color: var(--accent-text);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 28px 0 32px;
}

.support-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px;
}

.support-card h3 {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-size: 16.5px;
}

.support-card p {
  margin: 0;
  font-size: 14.5px;
}

/* Hub-and-Spoke SEO Guides */
.guides-section {
  background: var(--bg);
}

.guides-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.guide-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  padding: 26px 28px;
  border-radius: var(--radius-card);
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow-card);
  transition: border-color 0.16s ease, transform 0.16s ease;
}

.guide-card:hover {
  border-color: rgba(124, 58, 237, 0.34);
  transform: translateY(-2px);
}

.guide-card h3 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 18.5px;
  font-weight: 600;
  line-height: 1.3;
}

.guide-card p {
  margin: 0;
  font-size: 14.5px;
  color: var(--ink-secondary);
  line-height: 1.55;
}

.guide-link-label {
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--accent-text);
}

/* Dedicated Guide Article Layout (GEO / AI-Overview Ready) */
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  font-size: 13.5px;
  color: var(--ink-muted);
}

.breadcrumbs a {
  color: var(--ink-secondary);
}

.breadcrumbs a:hover {
  color: var(--accent-text);
  text-decoration: underline;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 0 0 24px;
  font-size: 13.5px;
  color: var(--ink-muted);
}

.direct-answer {
  background: var(--surface-tint);
  border: 1px solid rgba(124, 58, 237, 0.22);
  border-radius: 16px;
  padding: 20px 24px;
  margin: 0 0 28px;
}

.direct-answer strong {
  display: block;
  font-family: var(--font-display);
  font-size: 14px;
  color: var(--accent-text);
  margin-bottom: 6px;
}

.direct-answer p {
  margin: 0;
  color: var(--ink);
  font-size: 15.5px;
  line-height: 1.6;
}

.step-list {
  padding-left: 20px;
  margin: 14px 0 24px;
  display: grid;
  gap: 10px;
}

.seo-table-wrap {
  overflow-x: auto;
  margin: 20px 0 28px;
  border: 1px solid var(--border);
  border-radius: 14px;
}

.seo-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
  text-align: left;
}

.seo-table th,
.seo-table td {
  padding: 13px 16px;
  border-bottom: 1px solid var(--border);
}

.seo-table th {
  background: var(--surface-muted);
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--ink);
}

.seo-table tr:last-child td {
  border-bottom: 0;
}

.article-cta {
  margin: 32px 0 28px;
  padding: 26px;
  border-radius: 18px;
  background: var(--dark-surface);
  color: #fafaf9;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.article-cta h3 {
  margin: 0 0 4px;
  font-family: var(--font-display);
  font-size: 18px;
  color: #ffffff;
}

.article-cta p {
  margin: 0;
  color: #a1a1aa;
  font-size: 14.5px;
}

.article-cta .btn-primary {
  color: #ffffff;
  text-decoration: none;
}

.related-guides {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.related-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.related-links a {
  display: block;
  padding: 14px 16px;
  border-radius: 12px;
  background: var(--bg);
  border: 1px solid var(--border);
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  font-size: 14.5px;
}

.related-links a:hover {
  border-color: rgba(124, 58, 237, 0.34);
  color: var(--accent-text);
}

.freshness-note {
  margin-top: 14px;
  font-size: 13px;
  color: var(--ink-muted);
}

@media (max-width: 768px) {
  .guides-grid,
  .related-links {
    grid-template-columns: 1fr;
  }
}

/* Responsive */
@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .hero-visual {
    justify-content: flex-start;
    flex-wrap: wrap;
  }
  .proof-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .bento-span-7,
  .bento-span-5 {
    grid-column: span 12;
  }
  .bento-horizontal {
    flex-direction: column;
    align-items: flex-start;
  }
  .entry-pills {
    justify-content: flex-start;
  }
  .compare-grid {
    grid-template-columns: 1fr;
  }
  .cta-box {
    flex-direction: column;
    align-items: flex-start;
    padding: 32px;
  }
}

@media (max-width: 768px) {
  .container {
    width: calc(100% - 32px);
  }
  .header-inner {
    gap: 10px;
  }
  .lang-dropdown {
    width: 224px;
  }
  .nav,
  .header-actions .btn-sm {
    display: none;
  }
  .nav.open {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--surface);
    padding: 20px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-card);
  }
  .menu-toggle {
    display: inline-flex;
    flex-shrink: 0;
  }
  .hero {
    padding: 24px 0 44px;
  }
  .hero h1 {
    font-size: 2rem;
    line-height: 1.12;
  }
  .hero-sub {
    font-size: 15.5px;
  }
  .hero-cta .btn {
    padding: 12px 18px;
    font-size: 14px;
  }
  .hero-visual {
    justify-content: center;
  }
  .phone-frame {
    width: min(260px, 82vw);
  }
  .interactive-demo {
    width: 100%;
  }
  .section {
    padding: 52px 0;
  }
  .proof-grid,
  .exif-list,
  .support-grid {
    grid-template-columns: 1fr;
  }
  .bento-phone {
    width: min(220px, 80%);
  }
  .gallery-slide {
    flex: 0 0 232px;
  }
  .legal-content {
    padding: 28px 20px;
  }
  .cta-copy {
    flex-direction: column;
    align-items: flex-start;
  }
}

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