/* Shared product landing page: white canvas, clear product imagery, green-to-teal accents. */
:root {
  --bg: #fff;
  --surface: #fff;
  --fg: #202c29;
  --muted: #5d6c65;
  --muted-dark: #46564f;
  --line: #dfe8e2;
  --brand: #17724f;
  --accent: #087b73;
  --accent-soft: #edf6f0;
  --lp-gradient: linear-gradient(135deg, #00865e 0%, #007f9a 100%);
  --lp-section-space: clamp(72px, 8vw, 112px);
}
body { background: var(--bg); line-height: 1.8; }
::selection { background: #ccebdc; color: #153e2c; }
a { text-underline-offset: .22em; }
a:focus-visible, summary:focus-visible, [tabindex]:focus-visible {
  outline: 3px solid #19815c;
  outline-offset: 5px;
  border-radius: 4px;
}
h1, h2, h3 { text-wrap: balance; overflow-wrap: break-word; }
h2 { letter-spacing: -.025em; line-height: 1.4; }
.lede { color: var(--muted-dark); line-height: 1.85; }
.eyebrow { display: none; }
.section:not(.hero) { padding-block: var(--lp-section-space); }
.section-head, .device-showcase__head { display: flex; flex-direction: column; align-items: center; width: 100%; max-width: 760px; margin: 0 auto 44px; text-align: center; }
.section-head > h2, .device-showcase__head > h2 { width: 100%; }
.section-head > .lede { margin-inline: auto; }
.section-head h2, .device-showcase__head h2 { margin-bottom: 16px; }
.site-header { background: #fff; border-color: var(--line); }
.brand .logo-img { border-radius: 12px; box-shadow: none; }
.nav-link { color: var(--muted-dark); }
.nav-link:hover { color: var(--brand); }
.home-menu[open] summary, .home-menu nav a:hover { background: var(--accent-soft); }
.store-badges a { border-radius: 6px; }
.store-badges a:hover { opacity: .86; }

/* The mascot belongs to the wordmark; the three real screens have their own space. */
.hero.section:first-of-type { padding-top: 32px; padding-bottom: 48px; background: #fff; }
.hero::before { background: none; }
.hero-inner {
  width: calc(100% - 48px);
  max-width: 1312px;
  padding: clamp(48px, 5.7vw, 80px);
  gap: clamp(32px, 4vw, 64px);
  align-items: center;
  border-radius: 24px;
  background: #fff;
}
.hero-copy { min-width: 0; }
.hero h1 { font-size: clamp(38px, 4vw, 56px); line-height: 1.3; letter-spacing: -.025em; }
.hero-name { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 20px; color: #185f43; font-size: 22px; font-weight: 700; letter-spacing: .01em; }
.hero-name .hero-mascot { position: static; width: 64px; height: 64px; object-fit: contain; }
.hero .underline { padding: 0 .035em; border-radius: 0; background: linear-gradient(transparent 75%, #d7efdd 75%); -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.hero-sub { max-width: 34em; color: #344e41; font-size: 17px; line-height: 1.95; margin-top: 24px; }
.cta-group { align-items: flex-start; margin-top: 32px; }
.hero-visual { min-width: 0; padding: 16px 0; justify-content: center; background: none; overflow: visible; }
.hero .mockup-stack { max-width: 400px; }
.hero .mockup.primary { width: clamp(220px, 18.5vw, 264px); transform: none; }
.hero .mockup.secondary { width: clamp(160px, 14.5vw, 205px); }
.hero .mockup.floating { width: clamp(150px, 13.5vw, 195px); }

/* Thin titanium rim: the screen, not a heavy mockup bezel, leads. */
.iphone17-pro {
  padding: clamp(2px, .22vw, 3px);
  border: 1px solid #49565e;
  border-radius: 15.2% / 7%;
  background: linear-gradient(105deg, #172128 0%, #69777e 18%, #202e35 50%, #53636b 82%, #172128 100%);
  box-shadow: 0 18px 32px rgba(21, 44, 34, .16), 0 3px 8px rgba(21, 44, 34, .1);
}
.iphone17-pro::before { display: none; }
.iphone17-pro::after { top: .45%; opacity: .55; }
.iphone17-pro__screen { border-radius: 14.4% / 6.6%; box-shadow: none; }
.iphone17-pro__button { width: .7%; }
/* Simulator captures omit the hardware island; older product images already include it. */
[data-screen="analysis-summary"] .iphone17-pro__screen::before,
html[lang="zh-Hans"] .iphone17-pro__screen::before {
  content: "";
  position: absolute;
  z-index: 5;
  top: 1.4%;
  left: 50%;
  width: 27%;
  height: 3%;
  transform: translateX(-50%);
  border-radius: 999px;
  background: #000;
  pointer-events: none;
}


/* Three meaningful steps, with text and full devices kept together. */
.workflow { background: #fff; }
.workflow .section-head, .device-showcase__head, .faq .section-head {
  max-width: 760px;
  margin-inline: auto;
  text-align: center;
}
.workflow .lede, .device-showcase__head .lede { margin-inline: auto; }
.workflow .lede, .workflow .step-body p { text-wrap: pretty; }
.section-illustration { display: block; height: auto; object-fit: contain; }
.workflow-illustration { width: 168px; max-height: 136px; margin: 0 auto 28px; }
.workflow .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.workflow .steps li {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 16px;
  padding: 24px 0 0;
  border: 0;
  border-top: 1px solid #90c5ab;
  border-radius: 0;
  background: none;
  box-shadow: none;
}
.workflow .step-no { width: 32px; height: 32px; margin: 0; border-radius: 50%; background: var(--lp-gradient); box-shadow: none; font-size: 15px; }
.workflow .step-body { display: flex; flex-direction: column; flex: 1; text-align: left; }
.workflow .step-body h3 { font-size: 21px; line-height: 1.5; }
.workflow .step-body p { margin-top: 8px; margin-bottom: 28px; }
.workflow .phone.sm { width: min(100%, 190px); margin: auto auto 0; box-shadow: 0 16px 24px #183f331f; }

/* Horizontal browsing retains large, intact screens on all device sizes. */
.device-showcase { border: 0; background: #f2f8f4; color: var(--fg); }
.device-showcase__head h2 { color: var(--fg); }
.device-showcase__head .lede { color: var(--muted-dark); }
.device-showcase__grid {
  display: grid;
  grid-template-columns: none;
  grid-auto-flow: column;
  grid-auto-columns: 200px;
  gap: 32px;
  margin: 44px 0 0;
  padding: 20px 8px 28px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: x proximity;
  scroll-padding-inline: 8px;
  scrollbar-color: #65a389 #e0ede5;
  scrollbar-width: thin;
}
.device-showcase__item:nth-child(n) { padding-top: 0; scroll-snap-align: start; }
.device-showcase__item .iphone17-pro { width: 170px; max-width: 100%; margin-inline: auto; box-shadow: 0 14px 24px #183f3324; }
.device-showcase__item figcaption { color: #50685a; line-height: 1.65; }
.device-showcase__item figcaption strong { color: #224734; font-size: 16px; }

/* Privacy stays on the open white canvas. */
.privacy { background: #fff; }
.privacy .container { max-width: 960px; }
.privacy .container { display: grid; grid-template-columns: minmax(0, 1fr) 220px; column-gap: 64px; align-items: center; }
.privacy .backup-illustration { grid-column: 2; grid-row: 1 / 5; width: 220px; }
.privacy h2, .privacy .checklist, .privacy .privacy-note { grid-column: 1; }
.privacy h2 { max-width: 18em; }
.privacy .checklist { gap: 16px; }
.checklist li::before { width: 8px; height: 8px; top: .65em; left: 4px; border: 0; border-radius: 50%; background: #218562; }
.checklist li { padding-left: 24px; }
.privacy-note a, .press-link { color: #17694f; text-decoration-thickness: 1px; }

/* Supporting reading stays compact, with enough space to scan long translated titles. */
#guides { background: #f6f9f7; }
#guides .container, .press .container { max-width: 1000px; }
#guides .section-head { text-align: center; margin-inline: auto; }
#guides .section-head > .press-link { align-self: center; margin-inline: auto; }
#guides .section-head .lede { margin-inline: auto; }
#guides .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; margin-top: 40px; border-top: 1px solid var(--line); }
#guides .feature-card { display: flex; flex-direction: column; min-height: 0; gap: 0; padding: 24px 0; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: none; box-shadow: none; }
#guides .feature-card:hover { transform: none; box-shadow: none; }
@media (min-width: 761px) {
  #guides .feature-card { align-items: center; text-align: center; padding-inline: 16px; }
  #guides .feature-card .press-link { align-self: center; }
}

#guides .feature-card h3 { font-size: 20px; line-height: 1.5; }
#guides .feature-card p { margin-top: 8px; line-height: 1.8; }
#guides .icon { display: none; }
#guides .feature-card .press-link { margin-top: 12px; }
.press-link { max-width: 100%; min-height: 44px; line-height: 1.65; }
.press-link::after { flex-shrink: 0; }
#guides .section-head .press-link, .gradient-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 52px;
  max-width: 100%;
  margin-top: 16px;
  padding: 12px 24px;
  border-radius: 999px;
  background: var(--lp-gradient);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  line-height: 1.6;
}
#guides .section-head .press-link:hover, .gradient-button:hover { filter: brightness(.9); }
.press { background: #fff; }
.press-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; }
.press-card { padding: 0 0 24px; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: none; box-shadow: none; }
.press-card::before { display: none; }
.press-card h3 { font-size: 21px; line-height: 1.6; }
.press-source { background: #edf4ef; color: #496354; }
@media (min-width: 761px) {
  .press-card { align-items: center; text-align: center; padding-inline: 16px; }
  .press-meta { justify-content: center; }
  .press-card .press-link { align-self: center; }
}

/* Native details provide compact, keyboard-accessible answers. */
.faq .container { max-width: 840px; }
.faq .section-head .lede { display: none; }
.faq-list { max-width: 720px; margin: 40px auto 0; gap: 0; }
.faq-item { padding: 0; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: none; box-shadow: none; }
.faq-item summary, .faq-more > summary {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 72px;
  padding: 22px 44px 22px 4px;
  list-style: none;
  cursor: pointer;
  font-weight: 700;
  line-height: 1.7;
}
.faq-item summary::-webkit-details-marker, .faq-more > summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: ""; position: absolute; right: 8px; width: 10px; height: 10px; border-right: 2px solid #176d4c; border-bottom: 2px solid #176d4c; transform: rotate(45deg) translateY(-3px); transition: transform 220ms cubic-bezier(0.16, 1, 0.3, 1); }
.faq-item details[open] summary::after { transform: rotate(225deg) translate(-2px, -1px); }
.faq-item p { margin: 0; padding: 0 36px 24px 4px; color: var(--muted-dark); line-height: 1.85; }
.faq-more > summary { justify-content: center; min-height: 64px; padding: 20px 4px; color: #17694f; text-decoration: underline; text-underline-offset: .22em; }
.faq-more > summary:hover, .faq-item summary:hover { color: #087b64; }
.faq-more[open] > summary { border-bottom: 1px solid var(--line); }

/* A warm neutral surface gives the download badges a quiet, distinct backdrop. */
.cta { background: #fff; text-align: center; }
.cta .container { width: calc(100% - 48px); padding: clamp(48px, 6vw, 80px) 32px; border-radius: 24px; background: #f5f4ef; color: #424b45; }
.cta h2 { max-width: 22em; margin-inline: auto; color: #214f3d; line-height: 1.45; text-wrap: balance; }
.cta-sub, .cta .fine { max-width: 40em; margin-inline: auto; color: #424b45; text-wrap: balance; }
.cta-sub { margin-bottom: 24px; }
.cta .fine { margin-top: 20px; }
.site-footer { background: #172d23; padding-block: 56px; }
.footer-inner a { opacity: 1; color: #edf6f0; }
.footer-inner a:hover { color: #fff; text-decoration: underline; }
.footer-inner .links a, .language-option { min-height: 44px; display: inline-flex; align-items: center; }
.language-option.current { background: #315140; }
.footer-note { opacity: 1; color: #bccfc3; }

@media (max-width: 1080px) {
  .hero-inner { text-align: center; background: #fff; }
  .hero-sub { margin-inline: auto; }
  .cta-group { align-items: center; }
  .hero-visual { width: 100%; max-width: 440px; margin-inline: auto; }
  .hero .mockup.primary { width: 240px; }
  .hero .mockup.secondary { width: 184px; }
  .hero .mockup.floating { width: 176px; }
  .workflow .steps { gap: 28px; }
  .privacy .container { column-gap: 40px; }
}
@media (min-width: 761px) and (max-width: 920px) {
  .workflow .steps { grid-template-columns: 1fr; gap: 40px; }
  .workflow .steps li { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 20px; padding-top: 32px; }
  .workflow .step-body { display: grid; grid-template-columns: minmax(0, 1fr) 180px; grid-template-rows: auto 1fr; gap: 12px 40px; }
  .workflow .step-body h3 { grid-column: 1; align-self: end; margin-top: 32px; }
  .workflow .step-body p { grid-column: 1; margin: 0; }
  .workflow .phone.sm { grid-column: 2; grid-row: 1 / 3; width: 180px; margin: 0; }
}
@media (max-width: 760px) {
  :root { --lp-section-space: 72px; }
  .section-head { margin-bottom: 32px; }
  .hero.section:first-of-type { padding-top: 16px; padding-bottom: 24px; }
  .hero-inner { width: calc(100% - 32px); padding: 36px 24px 32px; gap: 0; border-radius: 20px; }
  .hero h1 { font-size: clamp(28px, 8vw, 40px); line-height: 1.45; }
  .hero-name { margin-bottom: 12px; font-size: 18px; }
  .hero-name .hero-mascot { width: 52px; height: 52px; }
  .hero-sub { font-size: 16px; line-height: 1.85; margin-top: 16px; }
  .cta-group { order: 4; margin-top: 28px; }
  .hero .cta-group .store-badges img { height: 44px; }
  .hero-visual { order: 5; width: 100%; max-width: 360px; margin-top: 40px; padding: 8px 0 0; }
  .hero .mockup.primary { width: min(56vw, 218px); }
  .hero .mockup.secondary { width: min(40vw, 160px); left: 17%; }
  .hero .mockup.floating { width: min(39vw, 154px); right: 17%; }
  .workflow-illustration { width: 144px; margin-bottom: 24px; }
  #workflow-heading { font-size: clamp(22px, 6.7vw, 28px); }
  .workflow-heading__line { display: block; white-space: nowrap; }
  .workflow .steps { grid-template-columns: 1fr; gap: 40px; }
  .workflow .steps li { padding-top: 24px; }
  .workflow .step-body h3 { font-size: 20px; }
  .workflow .step-body p { margin-bottom: 28px; }
  .workflow .phone.sm { width: min(66%, 210px); }
  .device-showcase__grid { grid-auto-columns: 210px; gap: 24px; margin: 32px -8px 0; padding-inline: 8px; }
  .device-showcase__item .iphone17-pro { width: 180px; }
  .privacy .container { display: flex; flex-direction: column; align-items: flex-start; }
  .privacy .backup-illustration { width: 160px; align-self: center; margin-bottom: 28px; }
  #guides .feature-grid { grid-template-columns: 1fr; gap: 0; }
  #guides .feature-card h3 { font-size: 19px; }
  .press-grid { grid-template-columns: 1fr; gap: 32px; }
  .press-card h3 { font-size: 20px; }
  .faq-list { margin-top: 28px; }
  .faq-item summary { font-size: 16px; }
  .cta .container { width: calc(100% - 32px); padding: 48px 24px; border-radius: 20px; }
  .cta .cta-badges { gap: 12px; }
  .cta .appstore-badge.big img, .cta .googleplay-badge.big img { height: 44px; }
  .footer-inner .links { gap: 4px 20px; }
}
@media (max-width: 360px) {
  .hero-inner { padding-inline: 20px; }
  .hero h1 { font-size: 27px; }
  html[lang="ja"] .hero .underline { font-size: 26px; letter-spacing: -.035em; }
  .hero .cta-group .store-badges { gap: 8px; }
  .hero .cta-group .store-badges img { height: 36px; }
  .hero .mockup.primary { width: 176px; }
  .hero .mockup.secondary { width: 128px; }
  .hero .mockup.floating { width: 124px; }
  .cta .appstore-badge.big img, .cta .googleplay-badge.big img { height: 38px; }
}
@media (prefers-reduced-motion: reduce) {
  .store-badges a, .gradient-button, .faq-item summary::after { transition: none; }
}
