/* Wekin.app v2 — Modern Warm Editorial Design System (2026-11-27) */
:root {
  --bg: #FAF6F1;
  --surface: #FFFFFF;
  --surface-soft: #F3ECE3;
  --ink: #231D1A;
  --ink-2: #5A514B;
  --ink-3: #837871;
  --line: rgba(35, 29, 26, 0.08);
  --line-strong: rgba(35, 29, 26, 0.14);
  --coral: #ED7868;
  --coral-deep: #C95443;
  --coral-soft: #FDF0ED;
  --mint: #2F7D57;
  --mint-soft: #EAF4EE;
  --peach-soft: #FAF0E5;
  --rose-soft: #F7ECEE;
  --sky-soft: #ECF2F8;
  --dark: #221C19;
  --dark-card: #2C2521;
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --shadow-sm: 0 6px 20px rgba(35, 29, 26, 0.05);
  --shadow-md: 0 18px 46px rgba(35, 29, 26, 0.08);
  --shadow-phone: 0 28px 60px rgba(35, 29, 26, 0.18);
  --max-w: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "PingFang TC", "Hiragino Sans", "Apple SD Gothic Neo", "Noto Sans TC", "Segoe UI", sans-serif;
  line-height: 1.6;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.shell {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.skip {
  position: absolute;
  left: -9999px;
}
.skip:focus {
  left: 16px; top: 16px; z-index: 200;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px;
}

/* ===== Sticky Header ===== */
.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 246, 241, 0.84);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}
.topbar-inner {
  height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand-link {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}
.brand-link img {
  height: 28px;
  width: auto;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-2);
}
.nav-links a {
  transition: color 0.16s ease;
  white-space: nowrap;
}
.nav-links a:hover { color: var(--ink); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

/* Language Switcher */
.lang-switch {
  position: relative;
}
.lang-switch summary {
  list-style: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 13px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.72);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
  user-select: none;
}
.lang-switch summary::-webkit-details-marker { display: none; }
.lang-switch summary:hover { background: #fff; }
.lang-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  min-width: 152px;
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  padding: 6px;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  gap: 2px;
  z-index: 120;
}
.lang-menu a {
  padding: 8px 12px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-2);
  transition: background 0.14s ease, color 0.14s ease;
}
.lang-menu a:hover { background: var(--surface-soft); color: var(--ink); }
.lang-menu a[aria-current="page"] {
  background: var(--coral-soft);
  color: var(--coral-deep);
  font-weight: 700;
}

.btn-nav-dl {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 18px;
  border-radius: 999px;
  background: var(--ink);
  color: #FFFDF9;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  transition: transform 0.15s ease, background 0.15s ease;
}
.btn-nav-dl:hover { background: #3A302B; transform: translateY(-1px); }

/* ===== Official Apple iPhone Bezel Component (0px corner bleed) ===== */
.phone-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 1350 / 2760;
  filter: drop-shadow(0 24px 44px rgba(35, 29, 26, 0.16));
}
.phone-screen {
  position: absolute;
  inset: 0;
  background: #F6F5F1;
  -webkit-mask: url('/assets/device/screen-mask.png') center / 100% 100% no-repeat;
  mask: url('/assets/device/screen-mask.png') center / 100% 100% no-repeat;
}
.phone-screen img {
  position: absolute;
  left: 5.3333%;
  top: 2.5%;
  width: 89.3333%;
  height: 95%;
  object-fit: cover;
  object-position: top center;
}
.phone-bezel {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  padding: 64px 0 84px;
  background:
    radial-gradient(640px 520px at 84% 26%, rgba(237, 120, 104, 0.14), transparent 68%),
    radial-gradient(560px 520px at 14% 14%, rgba(116, 179, 138, 0.12), transparent 68%);
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
  align-items: center;
  gap: 56px;
}
.eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--coral-soft);
  border: 1px solid rgba(237, 120, 104, 0.24);
  color: var(--coral-deep);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.01em;
}
.eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--coral);
}
.hero h1 {
  margin: 18px 0 0;
  font-size: clamp(2.15rem, 4.1vw, 3.4rem);
  font-weight: 850;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--ink);
}
.hero-lede {
  margin: 20px 0 0;
  font-size: clamp(1.02rem, 1.35vw, 1.16rem);
  line-height: 1.68;
  color: var(--ink-2);
  max-width: 540px;
}
.hero-actions {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}
.store-badge {
  display: inline-block;
  transition: transform 0.15s ease;
}
.store-badge:hover { transform: translateY(-2px); }
.store-badge img { height: 50px; width: auto; }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 50px;
  padding: 0 22px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--line-strong);
  color: var(--ink);
  font-size: 15px;
  font-weight: 700;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.btn-secondary:hover {
  border-color: rgba(35, 29, 26, 0.28);
  transform: translateY(-1px);
}

.trust-row {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-2);
}
.trust-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.trust-item .chk { color: var(--mint); font-weight: 800; }

h1, h2, h3 {
  text-wrap: balance;
}
.sec-head p, .hero-lede {
  text-wrap: pretty;
}
/* Dual Staggered Hero Phones */
.hero-stage {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 560px;
  max-width: 100%;
  overflow: hidden;
  padding: 16px 0;
}
.hero-phone-main {
  position: relative;
  z-index: 2;
  width: 274px;
  transform: translateX(-34px);
}
.hero-phone-back {
  position: absolute;
  z-index: 1;
  width: 236px;
  right: 14px;
  top: 56px;
  opacity: 0.96;
  transform: rotate(3.5deg);
}

/* ===== Section Headings ===== */
.section {
  padding: 88px 0;
}
.section-tight {
  padding: 64px 0;
}
.sec-head {
  max-width: 680px;
  margin-bottom: 44px;
}
.sec-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.sec-kicker {
  font-size: 13.5px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--coral-deep);
  margin: 0 0 10px;
}
.sec-head h2 {
  margin: 0;
  font-size: clamp(1.75rem, 3.1vw, 2.55rem);
  font-weight: 850;
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.sec-head p {
  margin: 14px 0 0;
  font-size: 1.04rem;
  color: var(--ink-2);
}

/* ===== 3-Card Shift Superpower Bento Grid ===== */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.bento-card {
  position: relative;
  border-radius: var(--radius-xl);
  padding: 32px 28px 0;
  border: 1px solid var(--line);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
}
.bento-card.mint { background: linear-gradient(180deg, #EDF6F0 0%, #E1EFE6 100%); }
.bento-card.peach { background: linear-gradient(180deg, #FBF2E8 0%, #F4E4D4 100%); }
.bento-card.rose { background: linear-gradient(180deg, #F9EFF1 0%, #F1DFE3 100%); }

.bento-tag {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 800;
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.bento-card.mint .bento-tag { background: #2F7D57; color: #fff; }
.bento-card.peach .bento-tag { background: #C95443; color: #fff; }
.bento-card.rose .bento-tag { background: #B84A62; color: #fff; }

.bento-card h3 {
  margin: 0;
  font-size: 1.32rem;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.015em;
}
.bento-card p {
  margin: 10px 0 24px;
  font-size: 0.95rem;
  line-height: 1.62;
  color: var(--ink-2);
}
.bento-phone-crop {
  width: 228px;
  margin: 0 auto;
  height: 368px;
  overflow: hidden;
}

/* ===== Dark Editorial Web Shift Link Band ===== */
.webshare-card {
  background: var(--dark);
  color: #FFFDF9;
  border-radius: 36px;
  padding: 56px 52px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 48px;
  align-items: center;
  box-shadow: 0 30px 70px rgba(35, 29, 26, 0.2);
}
.webshare-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(237, 120, 104, 0.18);
  border: 1px solid rgba(237, 120, 104, 0.36);
  color: #FFA99C;
  font-size: 13px;
  font-weight: 700;
}
.webshare-card h2 {
  margin: 16px 0 0;
  font-size: clamp(1.65rem, 2.8vw, 2.3rem);
  font-weight: 850;
  line-height: 1.24;
  letter-spacing: -0.02em;
}
.webshare-card .ws-desc {
  margin: 16px 0 0;
  font-size: 1rem;
  color: rgba(255, 253, 249, 0.78);
  line-height: 1.68;
}
.ws-checks {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}
.ws-checks li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  color: rgba(255, 253, 249, 0.92);
}
.ws-checks li::before {
  content: "✓";
  color: var(--coral);
  font-weight: 900;
  flex-shrink: 0;
}
.ws-btn {
  margin-top: 28px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: 14px;
  background: rgba(255, 253, 249, 0.1);
  border: 1px solid rgba(255, 253, 249, 0.2);
  color: #FFFDF9;
  font-size: 14.5px;
  font-weight: 700;
  transition: background 0.16s ease;
}
.ws-btn:hover { background: rgba(255, 253, 249, 0.18); }

/* Live Browser Visual Mockup (Zero Android mentions, 100% localized) */
.browser-mock {
  background: #FAF8F4;
  color: var(--ink);
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 24px 54px rgba(0, 0, 0, 0.36);
}
.browser-bar {
  background: #EFEAE2;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid rgba(35, 29, 26, 0.08);
}
.browser-dots { display: flex; gap: 6px; }
.browser-dots i {
  width: 10px; height: 10px; border-radius: 50%; display: block;
}
.browser-url {
  flex: 1;
  background: #fff;
  border-radius: 8px;
  padding: 5px 12px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-2);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.browser-body {
  padding: 22px;
}
.bm-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.bm-title { font-size: 16px; font-weight: 800; }
.bm-badge {
  font-size: 12px; font-weight: 700; padding: 4px 10px;
  border-radius: 999px; background: var(--mint-soft); color: var(--mint);
}
.bm-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 6px;
}
.bm-cell {
  background: #fff;
  border: 1px solid rgba(35, 29, 26, 0.06);
  border-radius: 10px;
  padding: 7px 4px;
  text-align: center;
}
.bm-day { font-size: 11px; font-weight: 700; color: var(--ink-3); margin-bottom: 5px; }
.bm-pill {
  font-size: 11px; font-weight: 800; padding: 3px 4px; border-radius: 6px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.bm-pill.off { background: #D2E7D3; color: #234226; }
.bm-pill.day { background: #F3DEC9; color: #4A3623; }
.bm-pill.eve { background: #F5EAC0; color: #4A401A; }
.bm-pill.night { background: #E3D5F5; color: #35264A; }
.bm-foot {
  margin-top: 16px;
  padding: 12px 14px;
  border-radius: 14px;
  background: #F1EBE2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-2);
}
.bm-cta-tag {
  background: var(--coral-deep);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  padding: 6px 12px;
  border-radius: 999px;
  white-space: nowrap;
}

/* ===== Everyday Shared Life Strip (3 Cards) ===== */
.shared-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.shared-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 24px 0;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.shared-card h3 {
  margin: 0;
  font-size: 1.18rem;
  font-weight: 800;
}
.shared-card p {
  margin: 10px 0 22px;
  font-size: 0.94rem;
  color: var(--ink-2);
  line-height: 1.62;
}
.shared-phone-crop {
  width: 210px;
  margin: 0 auto;
  height: 290px;
  overflow: hidden;
}

/* ===== Pricing Comparison ===== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  max-width: 920px;
  margin: 0 auto;
}
.plan-card {
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-xl);
  padding: 36px 32px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}
.plan-card.plus {
  border: 2px solid var(--coral);
  background: linear-gradient(180deg, #FFFFFF 0%, #FFF7F4 100%);
  box-shadow: var(--shadow-md);
}
.plan-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.plan-name {
  font-size: 1.35rem;
  font-weight: 850;
}
.plan-badge {
  font-size: 12.5px;
  font-weight: 800;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--coral);
  color: #fff;
}
.plan-sub {
  margin: 10px 0 0;
  font-size: 0.95rem;
  color: var(--ink-2);
}
.plan-group-banner {
  margin-top: 16px;
  padding: 11px 14px;
  border-radius: 12px;
  background: var(--mint-soft);
  color: var(--mint);
  font-size: 13.5px;
  font-weight: 800;
}
.plan-rule {
  height: 1px;
  background: var(--line);
  margin: 22px 0;
}
.plan-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--ink);
}
.plan-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.plan-list li::before {
  content: "✓";
  color: var(--mint);
  font-weight: 900;
  flex-shrink: 0;
}
.plan-card.plus .plan-list li::before { color: var(--coral-deep); }
.plan-note {
  margin-top: 22px;
  font-size: 13px;
  color: var(--ink-3);
}

/* ===== Collapsible FAQ ===== */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}
.faq-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 0 24px;
  box-shadow: var(--shadow-sm);
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 0;
  font-size: 1.03rem;
  font-weight: 750;
  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: 1.35rem;
  font-weight: 500;
  color: var(--ink-3);
  transition: transform 0.16s ease;
}
.faq-item[open] summary::after {
  content: "−";
  color: var(--coral-deep);
}
.faq-item p {
  margin: 0 0 20px;
  font-size: 0.96rem;
  color: var(--ink-2);
  line-height: 1.68;
}

/* ===== Closing CTA ===== */
.closing-box {
  background: linear-gradient(135deg, #27211D 0%, #352A24 100%);
  color: #FFFDF9;
  border-radius: 36px;
  padding: 64px 40px;
  text-align: center;
  box-shadow: 0 28px 66px rgba(35, 29, 26, 0.22);
}
.closing-wordmark {
  height: 44px;
  width: auto;
  margin: 0 auto 22px;
}
.closing-box h2 {
  margin: 0 auto;
  max-width: 640px;
  font-size: clamp(1.75rem, 3.2vw, 2.6rem);
  font-weight: 850;
  line-height: 1.22;
  letter-spacing: -0.02em;
}
.closing-box p {
  margin: 14px auto 0;
  max-width: 540px;
  font-size: 1.02rem;
  color: rgba(255, 253, 249, 0.8);
}
.closing-actions {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 14px;
}
.closing-tool-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 50px;
  padding: 0 22px;
  border-radius: 14px;
  background: rgba(255, 253, 249, 0.1);
  border: 1px solid rgba(255, 253, 249, 0.22);
  color: #FFFDF9;
  font-size: 15px;
  font-weight: 700;
}
.closing-tool-link:hover { background: rgba(255, 253, 249, 0.18); }
.closing-fine {
  margin-top: 18px;
  font-size: 13px;
  color: rgba(255, 253, 249, 0.62);
}

/* ===== Footer ===== */
.footer {
  border-top: 1px solid var(--line);
  padding: 36px 0 48px;
  margin-top: 32px;
  color: var(--ink-3);
  font-size: 14px;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 28px;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 24px;
  font-weight: 600;
  color: var(--ink-2);
}
.footer-links a:hover { color: var(--ink); }

/* ===== Responsive ===== */
@media (max-width: 980px) {
  .nav-links { display: none; }
  .hero-grid { grid-template-columns: 1fr; gap: 44px; text-align: center; }
  .hero-lede { margin-left: auto; margin-right: auto; }
  .hero-actions, .trust-row { justify-content: center; }
  .hero-stage { min-height: 490px; }
  .hero-phone-main { width: 244px; transform: translateX(-26px); }
  .hero-phone-back { width: 206px; right: calc(50% - 178px); top: 44px; }
  .bento-grid, .shared-grid, .pricing-grid { grid-template-columns: 1fr; }
  .webshare-card { grid-template-columns: 1fr; padding: 36px 26px; gap: 32px; }
}
@media (max-width: 560px) {
  .shell { padding: 0 18px; }
  .topbar-inner { height: 64px; gap: 10px; }
  .brand-link img { height: 22px; }
  .nav-actions { gap: 8px; }
  .lang-switch summary { padding: 6px 10px; font-size: 12.5px; }
  .btn-nav-dl { padding: 7px 12px; font-size: 12.5px; }
  .hero { padding: 32px 0 48px; }
  .hero h1 { font-size: 1.85rem; }
  .hero-stage { min-height: 410px; }
  .hero-phone-main { width: 196px; transform: translateX(-18px); }
  .hero-phone-back { width: 162px; right: calc(50% - 140px); top: 38px; }
  .section { padding: 54px 0; }
  .bento-card { padding: 26px 20px 0; }
  .bento-phone-crop { width: 204px; height: 318px; }
  .webshare-card { padding: 28px 20px; border-radius: 26px; }
  .browser-body { padding: 14px; }
  .bm-grid { gap: 3px; }
  .bm-cell { padding: 5px 2px; border-radius: 7px; }
  .bm-day { font-size: 9.5px; }
  .bm-pill { font-size: 9.5px; padding: 2px 1px; }
  .bm-foot { flex-direction: column; align-items: flex-start; }
  .plan-card { padding: 26px 20px; }
  .closing-box { padding: 40px 20px; border-radius: 26px; }
}
