/* Visual direction: Coral-Indigo App — coral #FF7A59, indigo #5B7CFA, peach wash surfaces, phone-first cards */
:root {
  --coral: #ff7a59;
  --coral-deep: #ef5d3a;
  --indigo: #5b7cfa;
  --indigo-deep: #3f63e8;
  --peach: #ffe8df;
  --ink: #1c2430;
  --ink-soft: #5a6678;
  --line: rgba(95, 124, 250, 0.16);
  --bg: #fff7f3;
  --bg-2: #eef2ff;
  --surface: #ffffff;
  --shadow: 0 16px 36px rgba(239, 93, 58, 0.12);
  --radius: 18px;
  --max: 1100px;
  --font-display: "Zen Maru Gothic", "Noto Sans SC", sans-serif;
  --font-body: "Noto Sans SC", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(900px 420px at 0% 0%, rgba(255,122,89,.18), transparent 55%),
    radial-gradient(800px 380px at 100% 8%, rgba(91,124,250,.16), transparent 50%),
    linear-gradient(180deg, var(--bg) 0%, #ffffff 42%, var(--bg-2) 100%);
  line-height: 1.7;
  min-height: 100vh;
}
img { max-width: 100%; display: block; }
a { color: var(--indigo-deep); text-decoration: none; }
a:hover { color: var(--coral-deep); }
.container { width: min(100% - 2rem, var(--max)); margin-inline: auto; }

.site-header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(255,247,243,.9);
  border-bottom: 1px solid var(--line);
}
.nav-shell {
  width: min(100% - 1.5rem, var(--max));
  margin: 0 auto; min-height: 70px;
  display: flex; align-items: center; gap: 1rem;
}
.brand {
  display: inline-flex; align-items: center; gap: .65rem;
  font-family: var(--font-display); font-weight: 900; color: var(--ink);
  font-size: 1.2rem;
}
.brand img { border-radius: 12px; }
.site-nav { margin-left: auto; }
.site-nav ul { display: flex; gap: .15rem; list-style: none; margin: 0; padding: 0; }
.site-nav a {
  display: block; padding: .5rem .75rem; border-radius: 12px;
  color: var(--ink-soft); font-weight: 500; font-size: .94rem;
}
.site-nav a:hover, .site-nav a.active {
  color: var(--coral-deep); background: rgba(255,122,89,.12);
}
.nav-cta { display: flex; gap: .5rem; align-items: center; }
.nav-toggle {
  display: none; margin-left: auto; width: 44px; height: 44px;
  border: 1px solid var(--line); border-radius: 12px; background: #fff;
}
.nav-toggle span {
  display: block; width: 18px; height: 2px; margin: 4px auto;
  background: var(--ink); border-radius: 2px;
}

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: .7rem 1.15rem; border-radius: 14px;
  font-weight: 700; border: 1px solid transparent; transition: .2s ease;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--coral), var(--indigo));
  color: #fff !important; box-shadow: 0 10px 22px rgba(255,122,89,.28);
}
.btn-primary:hover { transform: translateY(-2px); filter: brightness(1.03); color: #fff !important; }
.btn-ghost {
  background: #fff; color: var(--indigo-deep) !important; border-color: rgba(91,124,250,.28);
}
.btn-ghost:hover { background: var(--peach); color: var(--coral-deep) !important; }
.btn-lg { min-height: 52px; padding: .85rem 1.45rem; font-size: 1.02rem; }

.hero {
  position: relative; overflow: hidden;
  padding: clamp(2.2rem, 5vw, 4.2rem) 0 clamp(2.6rem, 6vw, 4.5rem);
}
.hero-bg {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(circle at 80% 20%, rgba(91,124,250,.14), transparent 35%),
    linear-gradient(120deg, rgba(255,122,89,.1), transparent 40%);
}
.hero-grid {
  position: relative;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 2rem; align-items: center;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .35rem .75rem; border-radius: 10px;
  background: rgba(255,255,255,.88); border: 1px solid var(--line);
  color: var(--coral-deep); font-weight: 700; font-size: .86rem;
}
.hero h1 {
  margin: .9rem 0 .7rem;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5.5vw, 3.6rem);
  line-height: 1.15;
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(120deg, var(--coral-deep), var(--indigo));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-lead { margin: 0 0 1.25rem; color: var(--ink-soft); font-size: 1.05rem; max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: 1.3rem; }
.trust-row {
  display: flex; flex-wrap: wrap; gap: .65rem 1.1rem; color: var(--ink-soft); font-size: .9rem;
}
.trust-row strong { color: var(--ink); }

.phone-stage { position: relative; display: grid; place-items: center; min-height: 360px; }
.phone-frame {
  width: min(100%, 300px);
  aspect-ratio: 9 / 19;
  border-radius: 36px;
  padding: 10px;
  background: linear-gradient(160deg, #2a3344, #1c2430);
  box-shadow: var(--shadow), 0 0 0 1px rgba(255,255,255,.2);
  animation: floaty 5.5s ease-in-out infinite;
  position: relative; z-index: 1;
}
.phone-frame img {
  width: 100%; height: 100%; object-fit: cover; object-position: center top;
  border-radius: 28px;
}
.phone-notch {
  position: absolute; top: 18px; left: 50%; transform: translateX(-50%);
  width: 38%; height: 18px; border-radius: 12px; background: #111827; z-index: 2;
}
.chip {
  position: absolute; z-index: 2; background: #fff; border: 1px solid var(--line);
  border-radius: 14px; padding: .7rem .85rem; box-shadow: var(--shadow);
  font-size: .86rem; font-weight: 700; color: var(--ink);
  animation: drift 7s ease-in-out infinite;
}
.chip-a { top: 12%; left: 0; }
.chip-b { bottom: 18%; right: 0; animation-delay: -2.5s; }
.chip span { display: block; color: var(--ink-soft); font-weight: 500; font-size: .78rem; }

@keyframes floaty { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-8px)} }
@keyframes drift { 0%,100%{transform:translate(0,0)} 50%{transform:translate(6px,-10px)} }
@keyframes rise { from{opacity:0;transform:translateY(14px)} to{opacity:1;transform:translateY(0)} }
.reveal { animation: rise .65s ease both; }
.reveal-delay { animation-delay: .12s; }

.section { padding: clamp(2.6rem, 5.5vw, 4.4rem) 0; }
.section-head { max-width: 700px; margin-bottom: 1.7rem; }
.section-head h2 {
  margin: 0 0 .55rem; font-family: var(--font-display);
  font-size: clamp(1.55rem, 3.2vw, 2.2rem); line-height: 1.25;
}
.section-head p { margin: 0; color: var(--ink-soft); }

.metric-strip {
  display: grid; grid-template-columns: repeat(4,1fr); gap: .85rem;
  margin-top: -1.2rem; position: relative; z-index: 2;
}
.metric {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 16px; padding: 1rem .85rem; text-align: center;
}
.metric strong {
  display: block; font-family: var(--font-display);
  font-size: 1.35rem; color: var(--coral-deep); margin-bottom: .15rem;
}
.metric span { color: var(--ink-soft); font-size: .88rem; }

.feature-flow { display: grid; grid-template-columns: repeat(3,1fr); gap: .9rem; }
.feature-item {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.25rem 1.1rem;
  transition: transform .2s ease, box-shadow .2s ease;
}
.feature-item:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.feature-item .icon {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  margin-bottom: .8rem; font-weight: 900; color: #fff;
  background: linear-gradient(135deg, var(--coral), var(--indigo));
  font-family: var(--font-display);
}
.feature-item h3 { margin: 0 0 .4rem; font-family: var(--font-display); font-size: 1.08rem; }
.feature-item p { margin: 0; color: var(--ink-soft); font-size: .93rem; }

.app-panels { display: grid; grid-template-columns: repeat(2,1fr); gap: 1rem; }
.soft-panel {
  background: rgba(255,255,255,.86); border: 1px solid var(--line);
  border-radius: 22px; padding: clamp(1.2rem, 2.8vw, 1.7rem);
}
.checklist { list-style: none; margin: .9rem 0 0; padding: 0; }
.checklist li { position: relative; padding: .5rem 0 .5rem 1.55rem; color: var(--ink-soft); }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .8rem;
  width: 11px; height: 11px; border-radius: 3px;
  background: linear-gradient(135deg, var(--coral), var(--indigo));
}

.article-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: .9rem; }
.article-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 16px; padding: 1.1rem; display: flex; flex-direction: column; gap: .5rem;
  transition: transform .2s ease, box-shadow .2s ease;
}
.article-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.tag {
  display: inline-flex; width: fit-content; padding: .18rem .5rem; border-radius: 8px;
  background: var(--peach); color: var(--coral-deep); font-size: .78rem; font-weight: 700;
}
.article-card h3 { margin: 0; font-size: 1rem; line-height: 1.4; font-family: var(--font-display); }
.article-card h3 a { color: var(--ink); }
.article-card p { margin: 0; color: var(--ink-soft); font-size: .9rem; flex: 1; }
.article-card .more { font-weight: 700; color: var(--indigo-deep); }

.faq-list { display: grid; gap: .75rem; }
.faq-item { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.faq-item summary {
  cursor: pointer; list-style: none; padding: .95rem 1.05rem;
  font-weight: 700; font-family: var(--font-display);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item[open] summary { color: var(--coral-deep); }
.faq-item p { margin: 0; padding: 0 1.05rem 1rem; color: var(--ink-soft); }

.cta-band {
  border-radius: 24px; padding: clamp(1.6rem, 3.5vw, 2.3rem);
  background: linear-gradient(135deg, rgba(255,122,89,.95), rgba(91,124,250,.92));
  color: #fff; text-align: center; box-shadow: var(--shadow);
}
.cta-band h2 { margin: 0 0 .5rem; font-family: var(--font-display); font-size: clamp(1.45rem, 2.8vw, 2rem); }
.cta-band p { margin: 0 0 1.1rem; opacity: .95; }
.cta-band .btn-primary { background: #fff; color: var(--coral-deep) !important; box-shadow: none; }
.cta-band .btn-ghost { background: transparent; color: #fff !important; border-color: rgba(255,255,255,.55); }
.cta-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: .75rem; }

.page-hero { padding: 2.1rem 0 1rem; }
.page-hero h1 {
  margin: .65rem 0 .55rem; font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.8vw, 2.5rem); line-height: 1.2;
}
.page-hero p { margin: 0; color: var(--ink-soft); max-width: 42em; }

.content-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 1.1rem; }
.side-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 18px; padding: 1.1rem; position: sticky; top: 88px;
}
.side-card h3 { margin: 0 0 .65rem; font-family: var(--font-display); }
.side-card ul { margin: 0; padding-left: 1.05rem; color: var(--ink-soft); }
.side-card li { margin: .3rem 0; }

.steps { display: grid; gap: .8rem; }
.step {
  display: grid; grid-template-columns: 46px 1fr; gap: .8rem;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 16px; padding: .95rem 1rem;
}
.step-num {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--coral), var(--indigo));
  color: #fff; font-weight: 900; font-family: var(--font-display);
}
.step h3 { margin: 0 0 .2rem; font-size: 1.02rem; font-family: var(--font-display); }
.step p { margin: 0; color: var(--ink-soft); font-size: .92rem; }

.table-wrap { overflow-x: auto; border-radius: 14px; border: 1px solid var(--line); }
table { width: 100%; border-collapse: collapse; background: #fff; min-width: 500px; }
th, td { padding: .8rem .95rem; text-align: left; border-bottom: 1px solid var(--line); }
th { background: #fff1eb; color: var(--coral-deep); font-weight: 700; }
tr:last-child td { border-bottom: 0; }

.price-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: .9rem; }
.price-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 20px; padding: 1.25rem;
}
.price-card.featured {
  border-color: rgba(255,122,89,.45); box-shadow: var(--shadow);
  background: linear-gradient(180deg, #fff, #fff5f0);
}
.price-card h3 { margin: 0 0 .25rem; font-family: var(--font-display); }
.price-card .price {
  font-family: var(--font-display); font-size: 1.65rem; color: var(--coral-deep); margin: .35rem 0 .9rem;
}
.price-card ul { margin: 0 0 1.1rem; padding-left: 1.05rem; color: var(--ink-soft); }

.timeline { display: grid; gap: .8rem; }
.tl-item {
  display: grid; grid-template-columns: 110px 1fr; gap: .8rem;
  background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: .9rem 1rem;
}
.tl-item strong { color: var(--indigo-deep); font-family: var(--font-display); }
.tl-item p { margin: .2rem 0 0; color: var(--ink-soft); font-size: .92rem; }

.article-page { padding-bottom: 2.6rem; }
.article-body {
  background: rgba(255,255,255,.9); border: 1px solid var(--line);
  border-radius: 20px; padding: clamp(1.15rem, 2.8vw, 1.8rem);
}
.article-body h2 { margin: 1.45rem 0 .65rem; font-family: var(--font-display); font-size: 1.28rem; }
.article-body h3 { margin: 1.1rem 0 .45rem; font-size: 1.05rem; }
.article-body p, .article-body li { color: var(--ink-soft); }
.article-body ul, .article-body ol { padding-left: 1.15rem; }
.lead { font-size: 1.03rem; color: var(--ink) !important; }
.meta-line { color: var(--ink-soft); font-size: .88rem; margin: .35rem 0 1.1rem; }
.related { display: grid; grid-template-columns: repeat(3,1fr); gap: .7rem; margin-top: 1.1rem; }
.related a {
  display: block; background: #fff; border: 1px solid var(--line);
  border-radius: 12px; padding: .8rem; color: var(--ink); font-weight: 600;
}

.site-footer {
  margin-top: 1.8rem; padding: 2.3rem 0 1.1rem;
  background: linear-gradient(180deg, transparent, rgba(255,122,89,.07));
  border-top: 1px solid var(--line);
}
.footer-grid { display: grid; grid-template-columns: 1.35fr 1fr 1fr 1fr; gap: 1.2rem; }
.footer-brand p { color: var(--ink-soft); font-size: .9rem; }
.site-footer h3 { margin: 0 0 .65rem; font-size: .98rem; font-family: var(--font-display); }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: .3rem 0; }
.site-footer a { color: var(--ink-soft); }
.site-footer a:hover { color: var(--coral-deep); }
.footer-bottom {
  width: min(100% - 2rem, var(--max)); margin: 1.4rem auto 0;
  padding-top: .9rem; border-top: 1px solid var(--line);
  color: var(--ink-soft); font-size: .84rem;
}
.back-top {
  position: fixed; right: 1rem; bottom: 1rem; z-index: 40;
  width: 44px; height: 44px; border-radius: 12px;
  display: grid; place-items: center;
  background: #fff; border: 1px solid var(--line); color: var(--coral-deep);
  box-shadow: var(--shadow); opacity: 0; pointer-events: none; transition: .2s;
}
.back-top.show { opacity: 1; pointer-events: auto; }

@media (max-width: 960px) {
  .hero-grid, .metric-strip, .feature-flow, .article-grid, .price-grid, .related, .footer-grid, .app-panels, .content-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .side-card { position: static; }
  .tl-item { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .nav-toggle { display: inline-block; }
  .site-nav, .nav-cta { display: none; }
  body.nav-open .site-nav {
    display: block; position: absolute; left: 0; right: 0; top: 70px;
    background: rgba(255,255,255,.98); border-bottom: 1px solid var(--line);
    padding: .75rem 1rem 1rem;
  }
  body.nav-open .site-nav ul { flex-direction: column; }
  body.nav-open .nav-cta {
    display: flex; position: absolute; left: 1rem; right: 1rem; top: calc(70px + 270px);
    padding-bottom: 1rem;
  }
  .hero-grid, .metric-strip, .feature-flow, .article-grid, .price-grid, .related, .footer-grid, .app-panels, .content-grid {
    grid-template-columns: 1fr;
  }
  .hero-actions .btn, .cta-actions .btn, .nav-cta .btn { width: 100%; }
}
