/* My Insight App — Direction A (Airy & Structured) */

:root {
  --teal: #0f766e;
  --teal-dark: #0c5751;
  --teal-50: #ecfbf6;
  --teal-100: #d2f0e9;
  --indigo: #4f46e5;
  --indigo-50: #eeeffe;
  --honey: #e8a33d;
  --honey-50: #fbf0dd;
  --ink: #0e1f1d;
  --text: #102826;
  --text-body: #3e5450;
  --text-muted: #5e7370;
  --text-soft: #7c8e8b;
  --border: #eef2f1;
  --border-strong: #e2e8e6;
  --paper: #fbfcfb;
  --bg: #eaeeec;
  --white: #ffffff;
  --radius: 12px;
  --radius-lg: 20px;
  --radius-xl: 26px;
  --shadow-sm: 0 2px 4px rgba(16, 40, 38, 0.05);
  --shadow-md: 0 30px 60px -30px rgba(16, 40, 38, 0.28);
  --shadow-card: 0 40px 80px -30px rgba(16, 40, 38, 0.55);
  --font-display: "Schibsted Grotesk", system-ui, sans-serif;
  --font-body: "Hanken Grotesk", system-ui, sans-serif;
  --max: 1180px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body { font-family: var(--font-body); color: var(--text-body); background: var(--bg); line-height: 1.6; }
::selection { background: var(--teal); color: #fff; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
.container { width: min(100% - 3rem, var(--max)); margin-inline: auto; }

.site-nav {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; gap: 1.75rem;
  padding: 1.1rem 2.5rem;
  background: rgba(251, 252, 251, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.brand {
  display: flex; align-items: center; gap: 0.7rem;
  font-family: var(--font-display); font-weight: 800; font-size: 1.125rem;
  letter-spacing: -0.02em; color: var(--text);
}
.nav-links { display: flex; gap: 1.6rem; margin-left: 0.5rem; }
.nav-links a { font-weight: 600; font-size: 0.9rem; color: var(--text-body); transition: color 0.2s; }
.nav-links a:hover { color: var(--teal); }
.nav-end { margin-left: auto; display: flex; align-items: center; gap: 1rem; }
.lang-toggle { display: inline-flex; background: #f2f5f4; border-radius: 999px; padding: 3px; gap: 2px; border: none; }
.lang-toggle button {
  font-family: var(--font-display); font-weight: 700; font-size: 0.72rem;
  border: none; background: transparent; color: var(--text-muted);
  padding: 6px 12px; border-radius: 999px; cursor: pointer;
}
.lang-toggle button.active { background: var(--teal); color: #fff; }
.nav-signin { font-weight: 600; font-size: 0.9rem; color: var(--teal); }
.menu-btn { display: none; background: none; border: none; cursor: pointer; padding: 0.5rem; }
.menu-btn span { display: block; width: 22px; height: 2px; background: var(--text); margin: 5px 0; }
.mobile-drawer {
  display: none; position: fixed; inset: 0; top: 60px; z-index: 99;
  background: rgba(251, 252, 251, 0.98); backdrop-filter: blur(12px);
  padding: 2rem; flex-direction: column; gap: 1.25rem;
}
.mobile-drawer.open { display: flex; }
.mobile-drawer a { font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; color: var(--text); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font-family: var(--font-display); font-weight: 700; font-size: 0.9rem;
  border: none; border-radius: var(--radius); cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s; white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-honey { color: var(--ink); background: var(--honey); padding: 0.7rem 1.15rem; box-shadow: 0 8px 18px -10px rgba(232, 163, 61, 0.7); }
.btn-honey-lg { padding: 1rem 1.65rem; font-size: 0.97rem; box-shadow: 0 12px 26px -12px rgba(232, 163, 61, 0.75); }
.btn-outline { color: var(--teal); background: var(--white); border: 1.5px solid var(--border-strong); padding: 0.85rem 1.4rem; }

.page-shell { max-width: 1240px; margin: 0 auto 5rem; padding: 0 1.5rem; }
.page-card { background: var(--paper); border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-sm), var(--shadow-md); }

.hero {
  display: grid; grid-template-columns: 1.04fr 1fr; gap: 3.5rem;
  align-items: center; padding: 4.5rem 2.5rem 4rem;
}
.eyebrow {
  display: inline-flex; font-size: 0.78rem; font-weight: 600; color: var(--teal);
  background: var(--teal-50); padding: 8px 14px; border-radius: 999px; margin-bottom: 1.5rem;
}
.hero h1 {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(2.5rem, 5vw, 3.5rem); line-height: 1.04;
  letter-spacing: -0.03em; color: var(--text); margin-bottom: 1.25rem;
}
.hero h1 .accent { color: var(--teal); }
.hero-lead { font-size: 1.15rem; line-height: 1.6; max-width: 46ch; margin-bottom: 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.85rem; margin-bottom: 2rem; }
.hero-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem; font-size: 0.81rem; color: var(--text-soft); }
.hero-meta .divider { width: 1px; height: 26px; background: var(--border-strong); }
.stars { color: var(--honey); letter-spacing: 1px; }

.hero-visual { position: relative; min-height: 480px; }
.portal-mock {
  position: absolute; right: 0; top: 24px; width: min(340px, 90%);
  background: var(--white); border-radius: 20px;
  box-shadow: 0 30px 60px -30px rgba(16, 40, 38, 0.4);
  border: 1px solid var(--border); padding: 1.1rem; transform: rotate(2.2deg);
}
.portal-mock-head { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.85rem; }
.portal-mock-head strong { font-family: var(--font-display); font-size: 0.75rem; color: var(--text); }
.portal-mock-head .pill { margin-left: auto; font-size: 0.62rem; font-weight: 600; color: var(--teal); background: var(--teal-50); padding: 4px 9px; border-radius: 999px; }
.stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.65rem; margin-bottom: 0.75rem; }
.stat-box { background: var(--paper); border: 1px solid var(--border); border-radius: 13px; padding: 0.75rem; }
.stat-box .num { font-family: var(--font-display); font-weight: 800; font-size: 1.35rem; line-height: 1; margin-bottom: 3px; }
.stat-box .num.teal { color: var(--teal); }
.stat-box .num.indigo { color: var(--indigo); }
.stat-box .lbl { font-size: 0.66rem; color: var(--text-soft); }
.revenue-bar { background: var(--honey-50); border-radius: 13px; padding: 0.7rem 0.85rem; font-size: 0.66rem; font-weight: 700; color: #9a6b16; }

.phone-mock { position: absolute; left: 0; bottom: 0; width: 262px; background: var(--ink); border-radius: 38px; padding: 11px; box-shadow: var(--shadow-card); }
.phone-screen { background: var(--white); border-radius: 30px; overflow: hidden; }
.live-view { position: relative; height: 188px; background: repeating-linear-gradient(135deg, #d9e7e4 0 13px, #d1e1dd 13px 26px); }
.live-badge { position: absolute; top: 12px; left: 12px; display: inline-flex; align-items: center; gap: 6px; background: rgba(14, 31, 29, 0.78); color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 0.62rem; padding: 6px 10px; border-radius: 999px; }
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: #f2755c; animation: pulse 1.6s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.45; } }
.room-label { position: absolute; bottom: 12px; left: 12px; font-size: 0.66rem; font-weight: 600; color: var(--text-body); background: rgba(255, 255, 255, 0.82); padding: 5px 9px; border-radius: 8px; }
.feed-body { padding: 14px; }
.feed-header { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.feed-avatar { width: 26px; height: 26px; border-radius: 50%; background: var(--teal-100); }
.feed-meta strong { display: block; font-family: var(--font-display); font-size: 0.69rem; color: var(--text); }
.feed-meta span { font-size: 0.6rem; color: #9aa9a7; }
.tag-photo { margin-left: auto; font-size: 0.56rem; font-weight: 600; color: var(--indigo); background: var(--indigo-50); padding: 4px 7px; border-radius: 6px; }
.feed-image { height: 88px; border-radius: 11px; background: repeating-linear-gradient(135deg, #eae1f2 0 11px, #e3d8ee 11px 22px); margin-bottom: 10px; }
.feed-footer { display: flex; align-items: center; gap: 8px; font-size: 0.66rem; font-weight: 600; }
.feed-footer .btn-honey { margin-left: auto; padding: 6px 10px; font-size: 0.62rem; border-radius: 8px; }

.module-strip { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.5rem 2.5rem; padding: 0.5rem 2.5rem 3.5rem; }
.module-strip span { font-family: var(--font-display); font-weight: 700; font-size: 0.75rem; color: #c2cecb; text-transform: uppercase; letter-spacing: 0.06em; }

.section { padding: 4rem 2.5rem; border-top: 1px solid var(--border); }
.section.alt { background: var(--paper); }
.section.white { background: var(--white); }
.section-head { text-align: center; max-width: 60ch; margin: 0 auto 2.75rem; }
.section-label { display: block; font-family: ui-monospace, monospace; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--teal); margin-bottom: 0.85rem; }
.section-title { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.75rem, 3.5vw, 2.375rem); line-height: 1.1; letter-spacing: -0.025em; color: var(--text); }
.section-title .honey { color: var(--honey); }

.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.value-card { border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.65rem; background: var(--paper); }
.icon-box { width: 46px; height: 46px; border-radius: 13px; display: flex; align-items: center; justify-content: center; margin-bottom: 1.1rem; }
.icon-box.teal { background: var(--teal-50); color: var(--teal); }
.icon-box.indigo { background: var(--indigo-50); color: var(--indigo); }
.icon-box.honey { background: var(--honey-50); color: #b57e1e; }
.value-card h3 { font-family: var(--font-display); font-weight: 700; font-size: 1.125rem; color: var(--text); margin-bottom: 0.5rem; }
.value-card p { font-size: 0.9rem; line-height: 1.55; color: var(--text-muted); }

.portal-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.portal-panel { border-radius: 22px; padding: 2rem; }
.portal-panel.light { background: var(--white); border: 1px solid var(--border); }
.portal-panel.dark { background: linear-gradient(155deg, #13312d, var(--ink)); border: 1px solid var(--ink); color: #c8e8e2; }
.portal-panel-head { display: flex; align-items: center; gap: 0.7rem; margin-bottom: 1.35rem; }
.portal-panel-head .icon-box { width: 38px; height: 38px; border-radius: 11px; margin-bottom: 0; }
.portal-panel h3 { font-family: var(--font-display); font-weight: 800; font-size: 1.3rem; color: var(--text); }
.portal-panel.dark h3 { color: #fff; }
.check-list { display: flex; flex-direction: column; gap: 0.85rem; }
.check-list li { display: flex; gap: 0.7rem; align-items: flex-start; font-size: 0.94rem; font-weight: 500; }
.check-list .mark { font-weight: 700; color: var(--teal); }
.portal-panel.dark .check-list .mark { color: var(--honey); }

.compare-wrap { max-width: 880px; margin: 0 auto; border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }
.compare-row { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; border-bottom: 1px solid #f1f4f3; }
.compare-row:last-child { border-bottom: none; }
.compare-row.head { background: var(--paper); border-bottom: 1px solid var(--border); }
.compare-row span { padding: 1rem 0.75rem; font-size: 0.8rem; }
.compare-row.head span { font-weight: 600; color: var(--text-soft); }
.compare-row.head span.brand-col { font-family: var(--font-display); font-weight: 800; color: var(--teal); text-align: center; }
.compare-row .cap { padding-left: 1.25rem; font-weight: 600; color: var(--text); font-size: 0.875rem; }
.compare-row .yes { text-align: center; color: var(--teal); font-weight: 800; }
.compare-row .no { text-align: center; color: #c7d0ce; }
.compare-row .partial { text-align: center; color: #9aa9a7; font-weight: 600; font-size: 0.75rem; }

.cta-band { padding: 4.5rem 2.5rem; background: linear-gradient(160deg, var(--teal), var(--teal-dark)); text-align: center; }
.cta-band h2 { font-family: var(--font-display); font-weight: 800; font-size: clamp(2rem, 4vw, 2.5rem); line-height: 1.08; letter-spacing: -0.03em; color: #fff; max-width: 20ch; margin: 0 auto 1rem; }
.cta-band p { color: #bfe3dc; font-size: 1.05rem; max-width: 48ch; margin: 0 auto 1.75rem; }
.cta-form { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0.75rem; margin-bottom: 1rem; }
.cta-note { font-size: 0.81rem; color: #86c5ba; }
.cta-note a { text-decoration: underline; }

.site-footer { padding: 3rem 2.5rem 2.5rem; background: var(--ink); color: #9ab0ac; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; margin-bottom: 2.25rem; }
.site-footer .brand { color: #fff; margin-bottom: 0.85rem; }
.footer-tagline { font-size: 0.81rem; line-height: 1.6; color: #7d938f; max-width: 34ch; margin-bottom: 0.75rem; }
.footer-col h4 { font-family: var(--font-display); font-weight: 700; font-size: 0.75rem; color: #fff; margin-bottom: 0.85rem; }
.footer-col a { display: block; font-size: 0.81rem; color: #9ab0ac; margin-bottom: 0.55rem; }
.footer-col a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.08); padding-top: 1.25rem; display: flex; flex-wrap: wrap; gap: 0.75rem; font-size: 0.75rem; color: #6b807c; }
.footer-bottom .links { margin-left: auto; }

.legal-page { max-width: 720px; margin: 0 auto; padding: 6rem 1.5rem 4rem; }
.legal-page h1 { font-family: var(--font-display); font-size: 2.5rem; font-weight: 800; color: var(--text); margin-bottom: 0.5rem; }
.legal-page .updated { font-size: 0.9rem; color: var(--text-soft); margin-bottom: 2rem; }
.legal-page h2 { font-family: var(--font-display); font-size: 1.2rem; font-weight: 700; color: var(--text); margin: 2rem 0 0.75rem; }
.legal-page p, .legal-page li { font-size: 0.95rem; line-height: 1.75; color: var(--text-muted); margin-bottom: 1rem; }
.legal-page ul { list-style: disc; padding-left: 1.5rem; }
.legal-page a { color: var(--teal); text-decoration: underline; }

@media (max-width: 1024px) {
  .hero { grid-template-columns: 1fr; }
  .hero-visual { order: -1; max-width: 520px; margin-inline: auto; min-height: 420px; }
  .value-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .site-nav { padding: 1rem 1.25rem; }
  .nav-links, .nav-signin { display: none; }
  .menu-btn { display: block; }
  .hero, .section { padding-left: 1.25rem; padding-right: 1.25rem; }
  .value-grid, .portal-duo { grid-template-columns: 1fr; }
  .compare-row { grid-template-columns: 1.2fr 0.8fr 0.8fr 0.8fr; }
  .phone-mock { width: 220px; }
  .portal-mock { width: 260px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom .links { margin-left: 0; }
}
