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

body {
  font-family: 'Hanken Grotesk', system-ui, sans-serif;
  color: #22303C;
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: 'Schibsted Grotesk', system-ui, sans-serif; margin: 0; }
p { margin: 0; }
a { color: #0D9488; text-decoration: none; }
a:hover { color: #0B7C72; }

section[id] { scroll-margin-top: 84px; }

.page { width: 100%; overflow-x: hidden; }

/* ---------- Reveal animations ---------- */
[data-anim] { opacity: 0; transform: translateY(20px); transition: opacity .4s ease, transform .4s ease; }
[data-anim="left"] { transform: translateX(-20px); }
[data-anim][data-revealed] { opacity: 1; transform: none; }
[data-glow][data-revealed] { animation: popGlow 1.6s ease-out 1; }

@keyframes popGlow {
  0% { box-shadow: 0 12px 40px rgba(13,148,136,0.10); }
  45% { box-shadow: 0 0 0 4px rgba(13,148,136,0.22), 0 14px 44px rgba(13,148,136,0.20); }
  100% { box-shadow: 0 12px 40px rgba(13,148,136,0.10); }
}

@keyframes floatUp {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

@keyframes navyShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@media (prefers-reduced-motion: reduce) {
  [data-anim] { opacity: 1 !important; transform: none !important; transition: none !important; }
  .final-cta { animation: none !important; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: 'Schibsted Grotesk', sans-serif;
  font-weight: 600;
  border-radius: 8px;
  background-color: #0D9488;
  transition: background .15s ease;
}
.btn:hover { color: #fff; background: #d94f4f; }
.btn--sm { font-size: 14px; padding: 9px 18px; border-radius: 7px; box-shadow: 0 1px 2px rgba(27,43,58,0.10); }
.btn--lg { font-size: 17px; padding: 15px 30px; box-shadow: 0 2px 6px rgba(232,93,93,0.25); }
.btn--block { margin-top: 26px; font-size: 15px; padding: 12px 20px; width: 100%; }
.btn--outline { background: #fff; color: #1B2B3A; border: 1px solid #C9D2D8; }
.btn--outline:hover { background: #fff; color: #1B2B3A; border-color: #1B2B3A; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid #E4E9EC;
}
.site-header__inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  font-family: 'Schibsted Grotesk', sans-serif;
  font-weight: 700;
  font-size: 22px;
  letter-spacing: 0.04em;
  color: #1B2B3A;
}
.nav { display: flex; align-items: center; gap: 32px; }
.nav a:not(.btn) { font-size: 15px; color: #5A6B78; font-weight: 500; }
.nav a:not(.btn):hover { color: #1B2B3A; }

/* ---------- Hero ---------- */
.hero { background: #ffffff; padding: 88px 24px 64px; }
.hero__inner { max-width: 820px; margin: 0 auto; text-align: center; }
.hero h1 {
  font-size: clamp(36px, 5.2vw, 60px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  font-weight: 700;
  color: #1B2B3A;
}
.hero__subtitle {
  max-width: 660px;
  margin: 24px auto 0;
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.55;
  color: #5A6B78;
}
.hero__cta { margin-top: 34px; }
.hero__checks {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 30px;
}
.check-item {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 15px;
  color: #3B4A55;
  font-weight: 500;
}
.check-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #0D9488;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}
.hero__shot-wrap { max-width: 1240px; margin: 56px auto 0; }
.hero__shot {
  width: 100%;
  border: 1px solid #E4E9EC;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(27,43,58,0.05);
  transition: box-shadow .6s ease;
}
.hero__shot img { display: block; width: 100%; height: auto; }

/* ---------- Pain points ---------- */
.pain { background: #F6F8F9; padding: 88px 24px; }
.pain__inner { max-width: 820px; margin: 0 auto; }
.section-title {
  font-size: clamp(28px, 4vw, 42px);
  letter-spacing: -0.02em;
  color: #1B2B3A;
  text-align: center;
}
.pain__list {
  margin-top: 44px;
  background: #fff;
  border: 1px solid #E4E9EC;
  border-radius: 14px;
  overflow: hidden;
}
.pain__item {
  padding: 26px 30px;
  border-bottom: 1px solid #EEF1F3;
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.5;
  color: #22303C;
}
.pain__item--last { border-bottom: none; }
.pain__resolve {
  margin-top: 32px;
  text-align: center;
  font-family: 'Schibsted Grotesk', sans-serif;
  font-weight: 600;
  font-size: clamp(20px, 2.4vw, 26px);
  color: #1B2B3A;
}

/* ---------- Product tabs ---------- */
.product { background: #ffffff; padding: 88px 24px; }
.product__inner { max-width: 1280px; margin: 0 auto; }
.product .section-title { max-width: 760px; margin: 0 auto; }
.tabs {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}
.tab-btn {
  cursor: pointer;
  font-family: 'Schibsted Grotesk', sans-serif;
  font-size: 15px;
  line-height: 1.3;
  padding: 11px 18px;
  border-radius: 999px;
  background: #fff;
  color: #5A6B78;
  font-weight: 500;
  border: 1px solid #D8DFE3;
}
.tab-btn.is-active {
  background: #0D9488;
  color: #ffffff;
  font-weight: 600;
  border: 1px solid #0D9488;
}
.tab-copy {
  margin-top: 32px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  animation: floatUp .34s ease both;
}
.tab-copy h3 { font-size: 22px; color: #1B2B3A; letter-spacing: -0.01em; }
.tab-copy p { margin-top: 10px; font-size: 17px; line-height: 1.6; color: #5A6B78; }
.tab-shot { margin-top: 32px; animation: floatUp .34s ease both; }
.tab-shot__img {
  width: 100%;
  border: 1px solid #E4E9EC;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(27,43,58,0.10);
}
.tab-shot__img img { display: block; width: 100%; height: auto; }

/* ---------- How it works ---------- */
.how { background: #F6F8F9; padding: 88px 24px; }
.how__inner { max-width: 1040px; margin: 0 auto; }
.how__grid {
  margin-top: 52px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 36px;
}
.how__num {
  font-family: 'Schibsted Grotesk', sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: #0D9488;
  letter-spacing: 0.08em;
}
.how__step h3 { margin-top: 14px; font-size: 20px; color: #1B2B3A; }
.how__step p { margin-top: 12px; font-size: 16px; line-height: 1.6; color: #5A6B78; }

/* ---------- Pricing ---------- */
.pricing { background: #ffffff; padding: 88px 24px; }
.pricing__inner { max-width: 1120px; margin: 0 auto; }
.pricing__grid {
  margin-top: 52px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  align-items: stretch;
}
.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #E4E9EC;
  border-radius: 14px;
  padding: 32px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.plan:hover { transform: translateY(-4px); box-shadow: 0 16px 38px rgba(27,43,58,0.12); }
.plan--featured {
  border: 2px solid #0D9488;
  box-shadow: 0 12px 40px rgba(13,148,136,0.10);
}
.plan--featured:hover { transform: translateY(-4px); box-shadow: 0 20px 48px rgba(13,148,136,0.20); }
.plan h3 { font-size: 20px; color: #1B2B3A; }
.plan__badge {
  position: absolute;
  top: -13px;
  left: 32px;
  background: #0D9488;
  color: #fff;
  font-family: 'Schibsted Grotesk', sans-serif;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.04em;
  padding: 5px 12px;
  border-radius: 20px;
}
.plan__price { margin-top: 14px; display: flex; align-items: baseline; gap: 6px; }
.plan__amount { font-family: 'Schibsted Grotesk', sans-serif; font-weight: 700; font-size: 40px; color: #1B2B3A; }
.plan__amount--custom { font-size: 32px; }
.plan__period { font-size: 15px; color: #7A8A95; }
.plan__desc { margin-top: 10px; font-size: 15px; color: #5A6B78; }
.plan__features { margin-top: 22px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.plan__feature { display: flex; gap: 10px; font-size: 15px; color: #3B4A55; line-height: 1.4; }
.tick { color: #0D9488; font-weight: 700; }
.pricing__trial { margin-top: 32px; text-align: center; font-size: 15px; color: #7A8A95; }

/* ---------- Final CTA ---------- */
.final-cta {
  background: linear-gradient(120deg, #1B2B3A 0%, #223a4d 50%, #1B2B3A 100%);
  background-size: 200% 200%;
  animation: navyShift 8s ease-in-out infinite;
  padding: 96px 24px;
}
.final-cta__inner { max-width: 720px; margin: 0 auto; text-align: center; }
.final-cta h2 { font-size: clamp(30px, 4.4vw, 46px); letter-spacing: -0.02em; color: #ffffff; }
.final-cta__button { margin-top: 32px; }
.final-cta__note { margin-top: 22px; font-size: 16px; color: #9BAAB6; }

/* ---------- Footer ---------- */
.site-footer { background: #ffffff; border-top: 1px solid #E4E9EC; padding: 32px 24px; }
.site-footer__inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.copyright { font-size: 14px; color: #7A8A95; }
.footer-links { display: flex; align-items: center; gap: 26px; }
.footer-links button {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font-family: 'Hanken Grotesk', sans-serif;
  font-size: 14px;
  color: #5A6B78;
}
.footer-links button:hover { color: #0D9488; }

/* ---------- Modal ---------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(27,43,58,0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.modal-overlay[hidden] { display: none; }
.modal {
  width: 100%;
  max-width: 560px;
  max-height: 86vh;
  overflow-y: auto;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 24px 70px rgba(0,0,0,0.35);
}
.modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 28px;
  border-bottom: 1px solid #EEF1F3;
  position: sticky;
  top: 0;
  background: #fff;
}
.modal__header h3 { font-size: 20px; color: #1B2B3A; }
.modal__close {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
  color: #7A8A95;
  padding: 4px;
}
.modal__close:hover { color: #1B2B3A; }
.modal__body { padding: 28px; display: flex; flex-direction: column; gap: 16px; }
.modal__body p { font-size: 15px; line-height: 1.65; color: #5A6B78; }

/* Contact form */
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.contact-form label {
  font-size: 14px;
  font-weight: 600;
  color: #3B4A55;
  margin-bottom: 6px;
  display: block;
  font-family: 'Hanken Grotesk', sans-serif;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 11px 13px;
  font-size: 15px;
  font-family: 'Hanken Grotesk', sans-serif;
  color: #22303C;
  border: 1px solid #C9D2D8;
  border-radius: 8px;
  box-sizing: border-box;
  background: #fff;
}
.contact-form textarea { min-height: 120px; resize: vertical; }
.contact-form__submit {
  margin-top: 4px;
  background: #E85D5D;
  color: #fff;
  font-family: 'Schibsted Grotesk', sans-serif;
  font-weight: 600;
  font-size: 16px;
  padding: 13px 22px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
}
.contact-form__hint { font-size: 13px; color: #7A8A95; }
