/* ==========================================
   Seekalise Landing Page
   Brand: Stylish & Retro / Warm Palette
   （src/public/style.css のトークンに準拠）
   ========================================== */

:root {
  --font-main: 'Zen Maru Gothic', 'Hiragino Sans', 'Yu Gothic', sans-serif;
  --font-serif: 'Shippori Mincho', 'Yu Mincho', serif;
  --font-logo: 'Outfit', 'Georgia', serif;

  --bg-darkest: #e8ded0;
  --bg-app: #fdfbf7;
  --bg-pane: #f5efe6;
  --bg-card: #ffffff;
  --bg-active: #eae0d0;

  --border-color: #dcd1bf;
  --border-light: #c8baa4;

  --text-main: #2c2a29;
  --text-muted: #665e56;
  --text-dark: #8c8275;

  --primary: #d96b43;
  --primary-hover: #c25947;
  --primary-glow: rgba(217, 107, 67, 0.18);

  --accent-mustard: #e5a93c;
  --accent-sage: #4a6b5d;
  --accent-terracotta: #c25947;
  --accent-blue: #3e6b89;

  --shadow-hard: 3px 3px 0 var(--border-light);
  --shadow-soft: 0 10px 30px rgba(44, 42, 41, 0.08);
  --radius: 12px;
  --wrap: 1120px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* hidden 属性は常に非表示（display:flex 等の指定に負けないように） */
[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-app);
  color: var(--text-main);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img,
svg {
  max-width: 100%;
}

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

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

.wrap-narrow {
  max-width: 760px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--text-main);
  color: #fff;
  padding: 10px 16px;
  z-index: 3000;
  border-radius: 0 0 8px 0;
}

.skip-link:focus {
  left: 0;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 2000;
  background: rgba(253, 251, 247, 0.86);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.site-header.scrolled {
  border-bottom-color: var(--border-color);
  box-shadow: 0 2px 12px rgba(44, 42, 41, 0.05);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-mark {
  color: var(--primary);
  flex-shrink: 0;
}

.brand-text {
  font-family: var(--font-logo);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

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

.site-nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.15s ease;
}

.site-nav a:hover {
  color: var(--primary);
}

.site-nav .nav-cta {
  background: var(--primary);
  color: #fff;
  padding: 9px 18px;
  border-radius: 8px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-hard);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.site-nav .nav-cta:hover {
  color: #fff;
  transform: translate(1px, 1px);
  box-shadow: 2px 2px 0 var(--border-light);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text-main);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 15px;
  padding: 14px 26px;
  border-radius: 10px;
  border: 1px solid var(--border-light);
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background-color 0.12s ease;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: var(--shadow-hard);
}

.btn-primary:hover {
  background: var(--primary-hover);
  color: #fff;
  transform: translate(2px, 2px);
  box-shadow: 1px 1px 0 var(--border-light);
}

.btn-ghost {
  background: var(--bg-card);
  color: var(--text-main);
  box-shadow: var(--shadow-hard);
}

.btn-ghost:hover {
  transform: translate(2px, 2px);
  box-shadow: 1px 1px 0 var(--border-light);
}

.btn-lg {
  font-size: 16px;
  padding: 16px 34px;
}

/* ---------- Hero ---------- */
.hero {
  padding: 72px 0 84px;
  background:
    radial-gradient(1100px 460px at 78% -8%, var(--primary-glow), transparent 60%),
    linear-gradient(180deg, var(--bg-pane), var(--bg-app));
  border-bottom: 1px solid var(--border-color);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

/* ヒーローのポジショニング行（セクションの小見出しラベルは廃止） */
.hero-kicker {
  font-family: var(--font-logo);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 18px;
}

.hero-copy h1 {
  font-family: var(--font-serif);
  font-weight: 800;
  font-size: clamp(2.3rem, 5.2vw, 3.5rem);
  line-height: 1.32;
  letter-spacing: 0.5px;
  margin-bottom: 24px;
}

.lead {
  font-size: 17px;
  color: var(--text-muted);
  margin-bottom: 30px;
  max-width: 34em;
}

.lead strong {
  color: var(--text-main);
  border-bottom: 2px solid var(--accent-mustard);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 18px;
}

.hero-note {
  font-size: 13px;
  color: var(--text-dark);
}

/* Hero visual: Seek Tree card */
.hero-visual {
  display: flex;
  justify-content: center;
}

.tree-card {
  width: 100%;
  max-width: 420px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: 22px;
  transform: rotate(-1.2deg);
}

.tree-row {
  display: grid;
  grid-template-columns: 16px 1fr;
  gap: 10px;
  align-items: start;
  padding: 9px 0;
}

.tree-row .dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  margin-top: 7px;
  background: var(--border-light);
}

.tree-goal .dot {
  background: var(--primary);
}

.tree-milestone .dot {
  background: var(--accent-blue);
}

.tree-task .dot {
  background: var(--accent-sage);
}

.tree-body {
  font-size: 14px;
  font-weight: 500;
}

.tree-kind {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-dark);
  background: var(--bg-pane);
  border: 1px solid var(--border-color);
  border-radius: 5px;
  padding: 1px 7px;
  margin-right: 8px;
}

.tree-milestone .tree-body,
.tree-task .tree-body {
  grid-column: 2;
}

.tree-row .bar {
  grid-column: 2;
  height: 6px;
  background: var(--bg-active);
  border-radius: 4px;
  margin-top: 8px;
  overflow: hidden;
}

.tree-row .bar i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--accent-mustard));
}

.tree-today {
  margin-top: 12px;
  padding-top: 14px;
  border-top: 1px dashed var(--border-light);
}

.today-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--accent-sage);
  margin-bottom: 8px;
}

.today-item {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  color: var(--text-muted);
  padding: 4px 0;
}

.today-item input {
  accent-color: var(--primary);
}

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

.section-alt {
  background: var(--bg-pane);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.section-title {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(1.6rem, 3.6vw, 2.3rem);
  line-height: 1.45;
  margin-bottom: 22px;
}

.section-title.center {
  text-align: center;
}

.section-lead {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 40em;
}

.section-lead.center {
  margin: 0 auto 8px;
  text-align: center;
}

/* ---------- Problem ---------- */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 40px;
}

.problem-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 26px 24px;
  box-shadow: var(--shadow-hard);
}

.problem-num {
  font-family: var(--font-logo);
  font-size: 30px;
  font-weight: 700;
  color: var(--accent-mustard);
  display: block;
  margin-bottom: 8px;
}

.problem-item p {
  font-size: 15px;
  color: var(--text-muted);
}

/* ---------- Solution ---------- */
.solution-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.check-list {
  list-style: none;
  margin-top: 22px;
  display: grid;
  gap: 12px;
}

.check-list li {
  position: relative;
  padding-left: 30px;
  font-size: 15px;
  color: var(--text-main);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--accent-sage);
}

.check-list li::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 12px;
  width: 5px;
  height: 8px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(42deg);
}

.solution-visual {
  display: flex;
  justify-content: center;
}

.flow {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 30px 24px;
  box-shadow: var(--shadow-soft);
}

.flow-node {
  font-weight: 700;
  font-size: 15px;
  padding: 12px 18px;
  border-radius: 10px;
  border: 1px solid var(--border-light);
  background: var(--bg-pane);
}

.flow-goal {
  background: var(--primary);
  color: #fff;
}

.flow-ms {
  background: var(--accent-blue);
  color: #fff;
}

.flow-task {
  background: var(--accent-sage);
  color: #fff;
}

.flow-today {
  background: var(--accent-mustard);
  color: var(--text-main);
}

.flow-arrow {
  color: var(--text-dark);
  font-weight: 700;
}

/* ---------- Features ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 46px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 26px 22px;
  box-shadow: var(--shadow-hard);
  transition: transform 0.14s ease, box-shadow 0.14s ease;
}

.feature-card:hover {
  transform: translate(2px, 2px);
  box-shadow: 1px 1px 0 var(--border-light);
}

.feature-icon {
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: var(--primary-glow);
  color: var(--primary);
  margin-bottom: 16px;
}

.feature-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.75;
}

/* ---------- Seek Sherpa ---------- */
.section-sherpa {
  background:
    radial-gradient(900px 380px at 12% 0%, var(--primary-glow), transparent 60%),
    var(--bg-app);
}

.sherpa-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.chat {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: 22px;
  display: grid;
  gap: 12px;
}

.chat-msg {
  font-size: 14px;
  padding: 12px 15px;
  border-radius: 12px;
  max-width: 88%;
}

.chat-msg.user {
  justify-self: end;
  background: var(--primary);
  color: #fff;
  border-bottom-right-radius: 4px;
}

.chat-msg.bot {
  justify-self: start;
  background: var(--bg-pane);
  border: 1px solid var(--border-color);
  border-bottom-left-radius: 4px;
}

.bot-name {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--accent-sage);
  margin-bottom: 4px;
}

.chat-msg.bot-later {
  margin-top: 8px;
  border-style: dashed;
  border-color: var(--border-light);
}

/* ---------- Examples ---------- */
.example-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 46px;
}

.example-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 26px 24px;
  box-shadow: var(--shadow-hard);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.example-head {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
}

.example-tag {
  flex-shrink: 0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  color: #fff;
  background: var(--accent-sage);
  border: 1px solid var(--border-light);
  border-radius: 999px;
  padding: 2px 10px;
}

.example-head h3 {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.6;
}

.example-meta {
  font-size: 12px;
  color: var(--text-dark);
  margin-top: -6px;
}

.example-branch {
  border-left: 3px solid var(--accent-mustard);
  padding-left: 14px;
}

.branch-label,
.example-today .today-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.example-branch ul {
  list-style: none;
  display: grid;
  gap: 6px;
}

.example-branch li {
  position: relative;
  padding-left: 18px;
  font-size: 14px;
}

.example-branch li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-blue);
}

.example-today {
  background: var(--bg-pane);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 12px 14px;
}

.example-today .today-label {
  color: var(--accent-sage);
}

.example-today p {
  font-size: 13.5px;
  color: var(--text-muted);
}

.example-sherpa {
  margin-top: auto;
  border-left: 3px solid var(--accent-sage);
  padding-left: 12px;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.75;
}

.example-sherpa span {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--accent-sage);
  margin-bottom: 2px;
}

/* ---------- Plans ---------- */
.plan-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 46px;
}

.plan-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: var(--shadow-hard);
  display: flex;
  flex-direction: column;
}

.plan-featured {
  border-color: var(--primary);
  box-shadow: 4px 4px 0 var(--primary-glow);
}

.plan-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.plan-head h3 {
  font-family: var(--font-logo);
  font-size: 22px;
  font-weight: 700;
}

.plan-status {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 3px 10px;
  border-radius: 999px;
  border: 1px solid var(--border-light);
}

.status-soon {
  background: var(--primary);
  color: #fff;
}

.status-dev {
  background: var(--accent-mustard);
  color: var(--text-main);
}

.status-plan {
  background: var(--bg-pane);
  color: var(--text-muted);
}

.plan-price {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 6px;
}

.plan-price span {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-dark);
}

.plan-desc {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 18px;
  min-height: 3em;
}

.plan-list {
  list-style: none;
  display: grid;
  gap: 10px;
}

.plan-list li {
  position: relative;
  padding-left: 24px;
  font-size: 14px;
}

.plan-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent-sage);
}

.plan-list li.plan-planned {
  color: var(--text-dark);
}

.plan-list li.plan-planned::before {
  background: var(--border-light);
}

.plan-list li.plan-planned span {
  font-size: 12px;
}

.plan-foot {
  margin-top: 28px;
  text-align: center;
  font-size: 13px;
  color: var(--text-dark);
}

/* ---------- CTA ---------- */
.section-cta {
  background: var(--bg-darkest);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.cta-inner {
  text-align: center;
  display: grid;
  gap: 18px;
  justify-items: center;
}

.cta-inner .section-lead {
  text-align: center;
}

.waitlist-form {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 520px;
}

.waitlist-form input[type="email"] {
  flex: 1 1 240px;
  min-width: 0;
  font-family: var(--font-main);
  font-size: 16px;
  color: var(--text-main);
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 10px;
  padding: 15px 16px;
  box-shadow: var(--shadow-hard);
}

.waitlist-form input[type="email"]::placeholder {
  color: var(--text-dark);
}

.waitlist-form input[type="email"]:focus {
  outline: 2px solid var(--primary);
  outline-offset: 1px;
}

.waitlist-form .btn-lg {
  flex: 0 0 auto;
}

/* ハニーポット: 画面外に隠す（display:none だと一部botが警戒するため座標で隠す） */
.wl-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.waitlist-msg {
  font-size: 14px;
  font-weight: 700;
  color: var(--accent-sage);
  margin-top: -4px;
}

.waitlist-msg.is-error {
  color: var(--accent-terracotta);
}

/* ---------- FAQ ---------- */
.faq {
  margin-top: 36px;
  display: grid;
  gap: 12px;
}

.faq details {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 4px 20px;
  box-shadow: var(--shadow-hard);
}

.faq summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 15px;
  padding: 16px 28px 16px 0;
  list-style: none;
  position: relative;
}

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

.faq summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  font-weight: 400;
  color: var(--primary);
}

.faq details[open] summary::after {
  content: "\2013";
}

.faq details p {
  padding: 0 0 18px;
  font-size: 14px;
  color: var(--text-muted);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--bg-pane);
  padding: 54px 0 30px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.footer-brand {
  display: grid;
  grid-template-columns: auto auto;
  align-items: center;
  gap: 8px 10px;
}

.footer-brand .brand-mark {
  color: var(--primary);
}

.footer-brand .brand-text {
  font-family: var(--font-logo);
  font-size: 20px;
  font-weight: 600;
}

.footer-tagline {
  grid-column: 1 / -1;
  font-family: var(--font-serif);
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 4px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  align-content: flex-start;
}

.footer-links a {
  font-size: 14px;
  color: var(--text-muted);
  transition: color 0.15s ease;
}

.footer-links a:hover {
  color: var(--primary);
}

.footer-legal {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-legal p {
  font-size: 12.5px;
  color: var(--text-dark);
}

/* ---------- Utilities ---------- */
.sp-only {
  display: none;
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-grid,
  .solution-grid,
  .sherpa-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-visual {
    order: -1;
  }

  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .problem-grid,
  .plan-grid,
  .example-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .site-nav {
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--bg-app);
    border-bottom: 1px solid var(--border-color);
    padding: 8px 24px 20px;
    display: none;
    box-shadow: var(--shadow-soft);
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav a {
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
  }

  .site-nav .nav-cta {
    text-align: center;
    margin-top: 12px;
    border-bottom: 1px solid var(--border-light);
  }

  .nav-toggle {
    display: flex;
  }

  .section {
    padding: 60px 0;
  }

  .hero {
    padding: 48px 0 60px;
  }

  .sp-only {
    display: inline;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  * {
    transition: none !important;
  }
}
