/* =========================================================
   DailyTasky — Landing site
   Primary: #B88EFE (Flutter app's Palette.purple).
   ========================================================= */

:root {
  --bg:         #FAF8FF;
  --bg-alt:     #FFFFFF;
  --ink:        #141233;
  --ink-soft:   #413C67;
  --muted:      #6B6890;
  --line:       #ECE6F8;

  --primary:       #B88EFE;
  --primary-dark:  #9A6AED;
  --primary-deep:  #7A4FE0;
  --soft-primary:  #F1E7FF;
  --softer-primary:#FAF5FF;
  --accent:        var(--primary);

  --mint:        #4DD6C1;
  --peach:       #FFB38A;
  --blue:        #6EA8FF;
  --amber:       #FFB038;
  --pink:        #FF8FB4;

  --soft-mint:   #DDF7F0;
  --soft-peach:  #FFE6D5;
  --soft-blue:   #E1ECFF;
  --soft-red:    #FFE0E4;

  --radius-sm: 12px;
  --radius:    18px;
  --radius-lg: 28px;
  --radius-xl: 36px;

  --shadow-sm: 0 6px 14px rgba(20, 18, 51, 0.05);
  --shadow:    0 18px 40px rgba(20, 18, 51, 0.08);
  --shadow-lg: 0 30px 80px rgba(122, 79, 224, 0.22);

  --ease: cubic-bezier(.22, 1, .36, 1);
}

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

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }

h1, h2, h3, h4, h5 {
  font-family: "Plus Jakarta Sans", "Inter", sans-serif;
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0;
}

h1 { font-size: clamp(2.4rem, 5.4vw, 4.1rem); font-weight: 800; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.9rem); font-weight: 800; }
h3 { font-size: 1.3rem; font-weight: 700; }
h4 { font-size: 1.1rem; font-weight: 700; }
h5 { font-size: .85rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); font-weight: 700; }

p { margin: 0; color: var(--ink-soft); }

.grad-text {
  color: var(--primary);
}

.container {
  width: min(1180px, calc(100% - 2.4rem));
  margin: 0 auto;
}

/* Decorative blobs removed for a cleaner, more branded feel */
.bg-blobs { display: none; }

/* =============== HEADER ================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 246, 255, 0.78);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, background .25s ease;
}
.site-header.scrolled {
  background: rgba(247, 246, 255, 0.9);
  border-bottom-color: var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  height: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 800;
  font-size: 1.2rem;
}
.brand-mark { width: 34px; height: 34px; border-radius: 10px; object-fit: cover; }
.brand-word { letter-spacing: -.01em; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  font-size: .95rem;
  color: var(--ink-soft);
  font-weight: 500;
}
.nav-links a { position: relative; transition: color .2s ease; }
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 2px;
  border-radius: 2px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s var(--ease);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { transform: scaleX(1); }

.nav-cta { display: flex; align-items: center; gap: .6rem; }

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  border-radius: 10px;
}
.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .25s ease, opacity .25s ease;
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: .9rem;
  padding: 1.2rem;
  border-top: 1px solid var(--line);
  background: rgba(255,255,255,.98);
}
.mobile-menu a { font-weight: 600; color: var(--ink); }
.mobile-menu .btn { margin-top: .4rem; width: 100%; }

/* =============== BUTTONS ================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  font-weight: 600;
  font-size: .95rem;
  padding: .82rem 1.3rem;
  border-radius: 999px;
  transition: transform .2s var(--ease), box-shadow .25s ease, background .25s ease, color .25s ease;
  white-space: nowrap;
  border: 1px solid transparent;
}
.btn-sm { padding: .55rem 1rem; font-size: .88rem; }
.btn-lg { padding: 1rem 1.6rem; font-size: 1rem; }
.btn-block { width: 100%; }
.btn-icon { width: 18px; height: 18px; }

.btn-primary {
  background: var(--primary);
  color: white;
}
.btn-primary:hover {
  transform: translateY(-2px);
  background: var(--primary-dark);
}

.btn-ghost {
  background: white;
  color: var(--ink);
  border-color: var(--line);
  box-shadow: var(--shadow-sm);
}
.btn-ghost:hover { border-color: var(--primary); color: var(--primary-dark); }

.btn-dark {
  background: #000;
  color: white;
}
.btn-dark:hover { transform: translateY(-2px); background: #1a1a1a; }

/* =============== HERO ================= */
.hero { padding: 3rem 0 2rem; }

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: center;
  padding: 2rem 0;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  background: white;
  color: var(--ink);
  padding: .45rem .95rem;
  border-radius: 999px;
  font-size: .82rem;
  font-weight: 600;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
  margin-bottom: 1.6rem;
}
.badge-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(184,142,254,.25);
}
.badge-light { background: rgba(255,255,255,.95); }

.lead {
  font-size: clamp(1.02rem, 1.4vw, 1.18rem);
  max-width: 56ch;
  margin-top: 1.3rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  margin-top: 2rem;
}
.hero-actions.center { justify-content: center; }

.trust-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 1.6rem 2.2rem;
  list-style: none;
  padding: 0;
  margin: 2.2rem 0 0;
  color: var(--ink-soft);
  font-size: .92rem;
}
.trust-bar li { display: flex; align-items: center; gap: .4rem; }
.trust-bar strong { color: var(--ink); font-weight: 700; margin-right: .1rem; }
.stars { display: inline-flex; gap: 2px; margin: 0 .3rem; }
.stars svg { width: 16px; height: 16px; }

/* ---- Hero phone mockups ---- */
.hero-visual {
  position: relative;
  min-height: 620px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.phone {
  width: 300px;
  height: 610px;
  border-radius: 44px;
  background: #14122E;
  padding: 10px;
  box-shadow:
    0 40px 80px rgba(31, 23, 90, .22),
    0 12px 30px rgba(31, 23, 90, .18),
    inset 0 0 0 2px rgba(255,255,255,.06);
  position: relative;
}
.phone::before {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 40px;
  background: rgba(255,255,255,.04);
  pointer-events: none;
}

.phone-front {
  position: relative;
  z-index: 2;
  animation: float 6s ease-in-out infinite;
}
.phone-back {
  position: absolute;
  left: calc(50% - 240px);
  top: 32px;
  transform: rotate(-8deg) scale(.88);
  opacity: .9;
  z-index: 1;
  animation: floatReverse 7s ease-in-out infinite;
}

@keyframes float {
  0%,100% { transform: translateY(0); }
  50%     { transform: translateY(-10px); }
}
@keyframes floatReverse {
  0%,100% { transform: rotate(-8deg) translateY(0) scale(.88); }
  50%     { transform: rotate(-8deg) translateY(10px) scale(.88); }
}

.phone-notch {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 110px;
  height: 28px;
  background: #0b0a1c;
  border-radius: 0 0 18px 18px;
  z-index: 3;
}

.phone-screen {
  height: 100%;
  border-radius: 36px;
  background: #FBFAFF;
  padding: 40px 18px 72px;
  overflow: hidden;
  position: relative;
}
.phone-screen-back {
  background: #141236;
  color: #E8E6FF;
  padding: 40px 22px;
}

.status-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .78rem;
  font-weight: 700;
  color: var(--ink);
  padding: 0 .4rem .8rem;
}
.status-dots { display: inline-flex; gap: 3px; }
.status-dots i { width: 4px; height: 4px; border-radius: 50%; background: var(--ink); display: inline-block; opacity: .8; }

.screen-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding: 0 .2rem 1rem;
}
.screen-kicker {
  color: var(--muted);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: .2rem;
}
.screen-title { font-size: 1.25rem; }

.avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: .85rem;
}
.avatar.a-mint   { background: #4DD6C1; }
.avatar.a-purple { background: var(--primary); }
.avatar.a-peach  { background: #FFB38A; }

.ai-bubble {
  display: flex;
  gap: .6rem;
  align-items: flex-start;
  background: white;
  border-radius: 16px;
  padding: .75rem .85rem;
  margin-bottom: .9rem;
  box-shadow: 0 4px 14px rgba(20,18,51,.06);
}
.ai-bubble p { color: var(--ink); font-size: .82rem; margin: 0; line-height: 1.45; }
.ai-avatar {
  flex-shrink: 0;
  width: 28px; height: 28px;
  border-radius: 8px;
  background: var(--primary);
  color: white;
  display: grid; place-items: center;
}
.ai-avatar svg { width: 16px; height: 16px; }

.task-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .5rem; }
.task {
  display: flex;
  gap: .7rem;
  align-items: center;
  padding: .7rem .8rem;
  background: white;
  border-radius: 14px;
  box-shadow: 0 3px 10px rgba(20,18,51,.04);
  opacity: 0;
  transform: translateY(6px);
  animation: slideIn .5s var(--ease) forwards;
  animation-delay: calc(.2s + var(--i) * .08s);
}
.task.active {
  background: var(--soft-primary);
  border: 1px solid rgba(184,142,254,.35);
}
.task.done .task-title { color: var(--muted); text-decoration: line-through; }

@keyframes slideIn { to { opacity: 1; transform: translateY(0); } }

.checkbox {
  width: 20px; height: 20px;
  border-radius: 6px;
  border: 2px solid #D6D2F0;
  flex-shrink: 0;
  position: relative;
  display: grid; place-items: center;
}
.checkbox.checked {
  background: var(--primary);
  border-color: transparent;
}
.checkbox.checked svg { width: 14px; height: 14px; }
.checkbox.pulse::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 10px;
  border: 2px solid var(--primary);
  animation: pulse 1.8s ease-in-out infinite;
}
@keyframes pulse {
  0%,100% { opacity: 0; transform: scale(1); }
  50%     { opacity: .6; transform: scale(1.12); }
}

.task-title { margin: 0; font-weight: 600; font-size: .83rem; color: var(--ink); }
.task-meta  { margin: 0; font-size: .72rem; color: var(--muted); }

.pill {
  margin-left: auto;
  padding: .2rem .55rem;
  border-radius: 999px;
  font-size: .68rem;
  font-weight: 700;
  background: #EFEDF8;
  color: var(--ink-soft);
}
.pill-green  { background: #DFF5E9; color: #1F8A5C; }
.pill-purple { background: var(--soft-primary); color: var(--primary-dark); }
.pill-blue   { background: var(--soft-blue); color: #3B6FE0; }
.pill-mint   { background: var(--soft-mint); color: #1FAE97; }

.screen-tabbar {
  position: absolute;
  left: 16px; right: 16px; bottom: 14px;
  height: 48px;
  border-radius: 999px;
  background: white;
  box-shadow: 0 6px 20px rgba(20,18,51,.08);
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 0 .6rem;
}
.screen-tabbar .tab {
  color: var(--muted);
  width: 32px; height: 32px;
  border-radius: 10px;
  display: grid; place-items: center;
}
.screen-tabbar .tab svg { width: 18px; height: 18px; }
.screen-tabbar .tab.active { color: var(--primary-dark); background: var(--soft-primary); }
.screen-tabbar .tab-fab {
  background: var(--primary);
  color: white;
  width: 40px; height: 40px;
  border-radius: 14px;
  transform: translateY(-10px);
  box-shadow: 0 8px 18px rgba(184,142,254,.35);
}

/* --- back phone content (insights preview) --- */
.mini-chart {
  display: flex;
  align-items: end;
  gap: 10px;
  height: 170px;
  margin-top: 20px;
}
.mini-chart .bar {
  flex: 1;
  height: var(--h);
  background: var(--primary);
  border-radius: 10px 10px 4px 4px;
}
.chart-caption {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 18px;
  font-size: .85rem;
  color: #C9C4FF;
}
.chart-caption strong { color: #4DD6C1; }

.streak-card {
  margin-top: 20px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 16px;
  padding: .9rem;
  display: flex;
  gap: .8rem;
  align-items: center;
}
.streak-flame { width: 38px; height: 38px; border-radius: 12px; background: rgba(255,120,71,.18); display: grid; place-items: center; }
.streak-flame svg { width: 22px; height: 22px; }
.streak-num { margin: 0; font-size: 1.1rem; font-weight: 700; color: white; }
.streak-label { margin: 0; font-size: .78rem; color: #A7A2D9; }

/* --- floating chips --- */
.chip {
  position: absolute;
  background: white;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: .65rem .85rem;
  display: flex;
  gap: .65rem;
  align-items: center;
  box-shadow: var(--shadow);
  animation: float 5s ease-in-out infinite;
  z-index: 3;
}
.chip-1 { top: 48px; right: 4px; animation-delay: .3s; }
.chip-2 { bottom: 70px; left: -10px; animation-delay: 1.2s; }
.chip-emoji { font-size: 1.2rem; }
.chip-title { margin: 0; font-size: .82rem; font-weight: 700; color: var(--ink); }
.chip-sub   { margin: 0; font-size: .72rem; color: var(--muted); }

/* =============== LOGO STRIP ================= */
.logo-strip {
  margin-top: 3rem;
  padding: 2rem 0 0;
  border-top: 1px dashed var(--line);
  text-align: center;
}
.logo-strip-label {
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .18em;
  color: var(--muted);
  margin-bottom: 1.2rem;
  font-weight: 600;
}
.logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  gap: 2rem;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 700;
  color: var(--muted);
  font-size: 1.15rem;
  opacity: .7;
  letter-spacing: .03em;
}

/* =============== SECTIONS ================= */
.section { padding: clamp(4rem, 8vw, 7rem) 0; }

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3.2rem;
}
.section-head.align-left { text-align: left; margin-left: 0; }
.section-lead {
  margin-top: 1rem;
  color: var(--muted);
  font-size: 1.05rem;
}

.eyebrow {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .18em;
  color: var(--primary-dark);
  margin-bottom: 1rem;
  padding: .35rem .85rem;
  background: var(--soft-primary);
  border-radius: 999px;
}

/* =============== VALUE ================= */
.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.3rem;
}
.value-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s ease;
}
.value-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}
.value-icon {
  width: 54px; height: 54px;
  border-radius: 16px;
  display: grid; place-items: center;
  margin-bottom: 1.2rem;
}
.value-icon svg { width: 26px; height: 26px; }
.icon-purple { background: var(--soft-primary); color: var(--primary-dark); }
.icon-mint   { background: var(--soft-mint); color: #1FAE97; }
.icon-peach  { background: var(--soft-peach); color: #E8763D; }
.value-card h3 { margin-bottom: .5rem; }
.value-card p  { font-size: .96rem; }

/* =============== FEATURES ================= */
.features {
  background: var(--bg-alt);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.feature-stack {
  display: flex;
  flex-direction: column;
  gap: clamp(3rem, 7vw, 5.5rem);
}

.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: center;
}
.feature.reverse { direction: rtl; }
.feature.reverse > * { direction: ltr; }

.feature-tag {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  color: var(--primary-dark);
  background: var(--soft-primary);
  border-radius: 999px;
  padding: .3rem .9rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: .1em;
}

.feature-copy h3 {
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  font-weight: 800;
  margin-bottom: 1rem;
  line-height: 1.2;
}
.feature-copy p { font-size: 1.02rem; }

.check-list {
  margin: 1.4rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: .6rem;
}
.check-list li {
  position: relative;
  padding-left: 1.9rem;
  color: var(--ink-soft);
  font-weight: 500;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 3px;
  width: 20px; height: 20px;
  background:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M5 12l5 5L20 7' stroke='white' stroke-width='3' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>") center/14px no-repeat,
    var(--primary);
  border-radius: 6px;
}

.feature-visual { position: relative; }

/* -- Feature UI: quick add -- */
.feature-card-ui {
  background: white;
  border-radius: var(--radius-lg);
  padding: 1.6rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}
.fui-label { font-size: .8rem; color: var(--muted); margin-bottom: .4rem; font-weight: 600; }
.fui-input {
  background: var(--soft-primary);
  border-radius: 14px;
  padding: .8rem 1rem;
  font-family: "Plus Jakarta Sans", sans-serif;
  color: var(--ink);
  display: flex;
  align-items: center;
  min-height: 46px;
}
.fui-caret {
  width: 2px; height: 18px;
  background: var(--primary-dark);
  margin-right: 6px;
  animation: blink 1.1s steps(2) infinite;
}
@keyframes blink { 0%,60% { opacity: 1; } 61%,100% { opacity: 0; } }
.typing {
  overflow: hidden;
  white-space: nowrap;
  border-right: 0;
  display: inline-block;
  animation: typewriter 4.2s steps(48) infinite;
  max-width: 100%;
}
@keyframes typewriter {
  0%   { width: 0; }
  55%  { width: 100%; }
  90%  { width: 100%; }
  100% { width: 0; }
}

.fui-result {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: .9rem;
}
.fui-chip {
  padding: .35rem .7rem;
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 600;
}
.chip-soft-purple { background: var(--soft-primary); color: var(--primary-dark); }
.chip-soft-red    { background: var(--soft-red); color: #D8355A; }
.chip-soft-mint   { background: var(--soft-mint); color: #1FAE97; }
.chip-soft-blue   { background: var(--soft-blue); color: #3B6FE0; }

.fui-preview {
  margin-top: 1rem;
  padding: 1rem;
  background: var(--bg);
  border-radius: 14px;
  display: flex;
  gap: .8rem;
  align-items: center;
}
.fui-dot {
  width: 10px; height: 44px;
  border-radius: 4px;
  background: var(--primary);
  flex-shrink: 0;
}
.fui-title { margin: 0; font-weight: 700; color: var(--ink); font-size: .95rem; }
.fui-sub   { margin: 0; font-size: .8rem; color: var(--muted); }

/* -- Feature UI: focus -- */
.focus-widget {
  background: white;
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.6rem;
  align-items: center;
}
.focus-ring { position: relative; width: 140px; height: 140px; }
.focus-ring svg { width: 100%; height: 100%; }
.focus-ring-label {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  text-align: center;
}
.focus-ring-label strong { display: block; font-size: 1.35rem; font-weight: 800; color: var(--ink); font-family: "Plus Jakarta Sans", sans-serif; }
.focus-ring-label span { font-size: .78rem; color: var(--muted); }

.focus-title { font-size: 1.1rem; font-weight: 700; color: var(--ink); margin: 0 0 .3rem; }
.focus-sub   { font-size: .9rem; color: var(--muted); margin: 0; }
.focus-actions { margin-top: 1rem; display: flex; gap: .5rem; flex-wrap: wrap; }
.mini-btn {
  background: var(--bg);
  color: var(--ink);
  padding: .5rem .9rem;
  border-radius: 999px;
  font-size: .82rem;
  font-weight: 600;
}
.mini-btn-primary { background: var(--primary); color: white; }

/* -- Feature UI: insights -- */
.insights-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 1.8rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}
.insight-row { display: flex; gap: 1.2rem; margin-bottom: 1.2rem; }
.insight-kpi { flex: 1; }
.kpi-label { font-size: .78rem; color: var(--muted); margin: 0 0 .3rem; }
.kpi-value { margin: 0; font-size: 1.4rem; font-weight: 800; color: var(--ink); font-family: "Plus Jakarta Sans", sans-serif; }
.kpi-delta { font-size: .75rem; font-weight: 700; padding: .15rem .5rem; border-radius: 999px; margin-left: .4rem; }
.kpi-delta.up { background: #DFF5E9; color: #1F8A5C; }

.insight-bars {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: .5rem;
  align-items: end;
  height: 130px;
}
.ib {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .4rem;
  height: 100%;
  justify-content: flex-end;
}
.ib span {
  width: 100%;
  height: var(--h);
  border-radius: 8px 8px 3px 3px;
  background: var(--primary);
  transition: transform .25s ease;
}
.ib:hover span { transform: scaleY(1.05); }
.ib em {
  font-style: normal;
  font-size: .7rem;
  color: var(--muted);
  font-weight: 600;
}

.streak-row { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.2rem; }
.streak-chip {
  padding: .45rem .9rem;
  border-radius: 999px;
  font-size: .82rem;
  font-weight: 600;
  background: var(--bg);
  color: var(--ink-soft);
}

/* -- Feature UI: chat -- */
.chat-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 1.4rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: .6rem;
}
.chat-head {
  display: flex;
  gap: .7rem;
  align-items: center;
  padding-bottom: .9rem;
  border-bottom: 1px solid var(--line);
  margin-bottom: .4rem;
}
.kora-avatar {
  width: 38px; height: 38px;
  border-radius: 12px;
  background: var(--primary);
  color: white;
  display: grid; place-items: center;
  flex-shrink: 0;
}
.kora-avatar.lg { width: 48px; height: 48px; }
.kora-avatar svg { width: 20px; height: 20px; }
.chat-title { margin: 0; font-weight: 700; color: var(--ink); font-size: .95rem; }
.chat-sub   { margin: 0; font-size: .78rem; color: var(--muted); }
.chat-msg {
  max-width: 82%;
  padding: .7rem .9rem;
  border-radius: 14px;
  font-size: .88rem;
  line-height: 1.5;
}
.chat-msg.mine {
  align-self: flex-end;
  background: var(--primary);
  color: white;
  border-bottom-right-radius: 4px;
}
.chat-msg.them {
  align-self: flex-start;
  background: var(--bg);
  color: var(--ink);
  border-bottom-left-radius: 4px;
}
.chat-msg.small { font-size: .82rem; }

/* =============== HOW IT WORKS ================= */
.how .steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  counter-reset: step;
}
.how .steps li {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}
.how .steps li::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--primary);
}
.step-num {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--primary);
  display: block;
  margin-bottom: .5rem;
  line-height: 1;
}

/* =============== SHOWCASE ================= */
.showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: minmax(320px, auto);
  gap: 1.3rem;
}
.showcase-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.4rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: transform .3s var(--ease), box-shadow .3s ease;
}
.showcase-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.showcase-card.card-lg {
  grid-column: span 2;
  grid-row: span 2;
}

.mock-screen {
  flex: 1;
  border-radius: var(--radius);
  padding: 1.2rem;
  background: var(--bg);
  position: relative;
  overflow: hidden;
}

.showcase-label h4 { margin-bottom: .25rem; }
.showcase-label p { font-size: .92rem; color: var(--muted); }

.mock-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}
.mock-title { font-weight: 700; color: var(--ink); margin: 0; }
.mock-sub { font-size: .82rem; color: var(--muted); margin: 0; }
.mock-date { font-size: .85rem; color: var(--muted); }

.mock-week {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: .3rem;
  margin-bottom: 1rem;
}
.mock-week .day {
  text-align: center;
  padding: .5rem .2rem;
  border-radius: 12px;
  background: white;
  font-size: .75rem;
  color: var(--muted);
}
.mock-week .day em { display: block; font-style: normal; font-size: .68rem; margin-bottom: .2rem; }
.mock-week .day span { font-weight: 700; color: var(--ink); font-size: .95rem; }
.mock-week .day.active {
  background: var(--primary);
  color: white;
}
.mock-week .day.active em,
.mock-week .day.active span { color: white; }

.mock-blocks {
  position: relative;
  height: 300px;
  background: white;
  border-radius: 14px;
  overflow: hidden;
}
.mock-blocks::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    to bottom,
    transparent 0, transparent 37px,
    rgba(0,0,0,.04) 37px, rgba(0,0,0,.04) 38px
  );
}
.block {
  position: absolute;
  left: 12%;
  right: 8%;
  top: var(--t);
  height: var(--h);
  border-radius: 10px;
  padding: .45rem .7rem;
  color: var(--ink);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  font-size: .78rem;
  font-weight: 600;
  box-shadow: 0 4px 10px rgba(20,18,51,.06);
}
.block em { font-style: normal; font-size: .7rem; color: var(--ink-soft); font-weight: 500; }
.block span { line-height: 1.3; }
.b-purple { background: var(--soft-primary); }
.b-mint   { background: var(--soft-mint); }
.b-peach  { background: var(--soft-peach); }
.b-blue   { background: var(--soft-blue); }

.mock-projects { display: flex; flex-direction: column; gap: .7rem; }
.mock-proj {
  background: white;
  border-radius: 14px;
  padding: .85rem 1rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: .2rem .8rem;
  position: relative;
  overflow: hidden;
}
.mock-proj strong { font-weight: 700; color: var(--ink); font-size: .92rem; }
.mock-proj span   { font-size: .85rem; color: var(--muted); font-weight: 600; }
.mock-proj i {
  grid-column: 1 / -1;
  display: block;
  height: 6px;
  border-radius: 3px;
  background: var(--line);
  position: relative;
  overflow: hidden;
}
.mock-proj i::after {
  content: "";
  position: absolute;
  inset: 0;
  width: var(--w);
  border-radius: 3px;
}
.p-purple i::after { background: var(--primary); }
.p-mint i::after   { background: var(--mint); }
.p-peach i::after  { background: var(--peach); }
.p-blue i::after   { background: var(--blue); }

.mock-kora { display: flex; flex-direction: column; gap: .8rem; }
.kora-top { display: flex; gap: .8rem; align-items: center; }
.kora-msg, .kora-reply {
  padding: .75rem 1rem;
  border-radius: 14px;
  font-size: .88rem;
  line-height: 1.5;
  max-width: 90%;
}
.kora-msg { background: white; color: var(--ink); align-self: flex-end; }
.kora-reply { background: var(--primary); color: white; }

.mock-streak { display: flex; flex-direction: column; align-items: center; gap: .8rem; text-align: center; }
.streak-big {
  display: flex;
  align-items: baseline;
  gap: .4rem;
  font-size: 1rem;
  color: var(--muted);
}
.streak-big strong {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 3rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}
.streak-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 5px;
  width: 100%;
}
.sq {
  aspect-ratio: 1;
  border-radius: 5px;
  background: var(--line);
}
.sq.on { background: var(--primary); }

/* =============== TESTIMONIALS ================= */
.testimonials {
  background: white;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.3rem;
}
.testimonial {
  margin: 0;
  background: var(--bg);
  border-radius: var(--radius-lg);
  padding: 1.8rem;
  border: 1px solid var(--line);
  position: relative;
  transition: transform .3s var(--ease), box-shadow .3s ease, border-color .3s ease;
}
.testimonial:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: rgba(184,142,254,.30);
}
.quote-mark {
  font-family: "Plus Jakarta Sans", serif;
  font-size: 4rem;
  font-weight: 800;
  line-height: 1;
  color: var(--primary);
  opacity: .35;
  margin-bottom: -1.2rem;
}
.testimonial blockquote {
  margin: 0 0 1.4rem;
  font-size: 1rem;
  color: var(--ink);
  line-height: 1.6;
}
.testimonial figcaption {
  display: flex;
  align-items: center;
  gap: .8rem;
}
.testimonial figcaption strong { display: block; color: var(--ink); font-weight: 700; font-size: .95rem; }
.testimonial figcaption span { font-size: .82rem; color: var(--muted); }

/* =============== PRICING ================= */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.3rem;
}
.plan {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: .7rem;
  transition: transform .3s var(--ease), box-shadow .3s ease;
  position: relative;
}
.plan:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.plan-featured {
  background: var(--ink);
  color: white;
  border-color: transparent;
  box-shadow: var(--shadow-lg);
  transform: translateY(-10px);
}
.plan-featured:hover { transform: translateY(-14px); }
.plan-featured .plan-name,
.plan-featured .plan-price,
.plan-featured .plan-sub,
.plan-featured .check-list li { color: #EDE9FF; }
.plan-featured .check-list li::before { background: white url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M5 12l5 5L20 7' stroke='%23B88EFE' stroke-width='3' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>") center/14px no-repeat; }

.plan-featured .btn-dark,
.cta-card .btn-dark {
  background: #fff;
  color: #000;
  border-color: transparent;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .35);
}
.plan-featured .btn-dark:hover,
.cta-card .btn-dark:hover {
  background: #f1ecff;
  color: #000;
}

.plan-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: white;
  padding: .3rem .9rem;
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  box-shadow: 0 6px 16px rgba(184,142,254,.35);
}
.plan-name { font-weight: 700; color: var(--muted); margin: 0; text-transform: uppercase; letter-spacing: .12em; font-size: .82rem; }
.plan-price {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 2.4rem;
  font-weight: 800;
  margin: 0;
  color: var(--ink);
}
.plan-price span { font-size: .9rem; color: var(--muted); font-weight: 500; margin-left: .25rem; }
.plan-sub { font-size: .92rem; color: var(--muted); margin: 0 0 .6rem; }
.plan .check-list { margin-bottom: 1rem; }
.plan .btn { margin-top: auto; }

/* =============== FAQ ================= */
.faq-grid {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 4rem;
  align-items: flex-start;
}
.faq-list { display: flex; flex-direction: column; gap: .8rem; }
.faq-list details {
  background: white;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.1rem 1.3rem;
  transition: border-color .25s ease, box-shadow .25s ease;
}
.faq-list details[open] {
  border-color: rgba(184,142,254,.50);
  box-shadow: var(--shadow-sm);
}
.faq-list summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  cursor: pointer;
  list-style: none;
  font-weight: 600;
  color: var(--ink);
  font-size: 1.02rem;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list details p {
  margin-top: .8rem;
  color: var(--muted);
  font-size: .95rem;
  line-height: 1.65;
}
.caret {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--soft-primary);
  position: relative;
  flex-shrink: 0;
  transition: background .25s ease, transform .25s ease;
}
.caret::before,
.caret::after {
  content: "";
  position: absolute;
  background: var(--primary-dark);
  border-radius: 2px;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
}
.caret::before { width: 12px; height: 2px; }
.caret::after  { width: 2px; height: 12px; transition: transform .25s ease; }
.faq-list details[open] .caret::after { transform: translate(-50%,-50%) scaleY(0); }

.underline-link {
  color: var(--primary-dark);
  font-weight: 600;
  border-bottom: 1px solid currentColor;
}

/* =============== CTA ================= */
.cta-card {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: white;
  border-radius: var(--radius-xl);
  padding: clamp(2.5rem, 6vw, 4.5rem) clamp(1.5rem, 5vw, 3.5rem);
  text-align: center;
  box-shadow: var(--shadow-lg);
}
.cta-card h2, .cta-card .section-lead { color: white; }
.cta-card .section-lead { color: rgba(255,255,255,.78); max-width: 60ch; margin: 1rem auto 2rem; }
.cta-card .tiny { margin-top: 1.3rem; font-size: .82rem; color: rgba(255,255,255,.6); }

.cta-glow { display: none; }
.cta-card .badge { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.2); color: white; }

/* =============== FOOTER ================= */
.site-footer {
  background: white;
  border-top: 1px solid var(--line);
  padding: 4rem 0 1.5rem;
  margin-top: 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}
.footer-brand { max-width: 300px; }
.footer-tag { font-size: .92rem; color: var(--muted); margin: 1rem 0 1.4rem; }
.socials { display: flex; gap: .6rem; }
.socials a {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--bg);
  display: grid; place-items: center;
  color: var(--ink-soft);
  transition: background .25s ease, color .25s ease, transform .25s ease;
}
.socials a:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-2px);
}
.socials svg { width: 18px; height: 18px; }

.footer-col { display: flex; flex-direction: column; gap: .65rem; }
.footer-col h5 { margin-bottom: .5rem; }
.footer-col a { color: var(--ink-soft); font-size: .94rem; transition: color .2s; }
.footer-col a:hover { color: var(--primary-dark); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .88rem;
}
.footer-bottom a:hover { color: var(--primary-dark); }

/* =============== REVEAL ANIMATIONS ================= */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* =============== RESPONSIVE ================= */
@media (max-width: 1024px) {
  .nav-links { display: none; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { min-height: 560px; margin-top: 1rem; }
  .phone-back { display: none; }
  .value-grid,
  .testimonial-grid,
  .pricing-grid,
  .how .steps { grid-template-columns: 1fr 1fr; }
  .feature,
  .feature.reverse { grid-template-columns: 1fr; direction: ltr; }
  .showcase-grid { grid-template-columns: 1fr 1fr; }
  .showcase-card.card-lg { grid-column: span 2; grid-row: auto; }
  .faq-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .nav-cta .btn-ghost { display: none; }
  .menu-toggle { display: flex; }
  .value-grid,
  .testimonial-grid,
  .pricing-grid,
  .how .steps,
  .showcase-grid { grid-template-columns: 1fr; }
  .showcase-card.card-lg { grid-column: auto; }
  .focus-widget { grid-template-columns: 1fr; text-align: center; }
  .focus-actions { justify-content: center; }
  .plan-featured { transform: none; }
  .plan-featured:hover { transform: translateY(-4px); }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: .6rem; text-align: center; }
  .chip-1, .chip-2 { display: none; }
  .hero-visual { min-height: 680px; }
  .phone { transform: scale(.95); }
}

@media (max-width: 480px) {
  .btn-lg { width: 100%; }
  .hero-actions:not(.center) .btn { flex: 1; }
  .trust-bar { gap: 1rem; font-size: .85rem; }
}

/* ====== Reduced motion ====== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* =========================================================
   LEGAL PAGES (Privacy, Terms)
   ========================================================= */
.legal-hero {
  padding: clamp(3rem, 6vw, 5rem) 0 2rem;
  text-align: center;
}
.legal-hero .eyebrow { margin-bottom: 1.1rem; }
.legal-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: .8rem;
}
.legal-hero .updated {
  color: var(--muted);
  font-size: .95rem;
}

.legal {
  padding: 1rem 0 4rem;
}
.legal-wrap {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 3rem;
  align-items: flex-start;
}

.legal-toc {
  position: sticky;
  top: 92px;
  font-size: .92rem;
}
.legal-toc h5 {
  font-size: .72rem;
  letter-spacing: .16em;
  margin-bottom: .8rem;
}
.legal-toc ol {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: .45rem;
}
.legal-toc a {
  color: var(--ink-soft);
  display: block;
  padding: .35rem .7rem;
  border-radius: 8px;
  transition: background .2s ease, color .2s ease;
  line-height: 1.35;
}
.legal-toc a:hover {
  background: var(--soft-primary);
  color: var(--primary);
}

.legal-body {
  max-width: 760px;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.6rem, 3.5vw, 3rem);
  box-shadow: var(--shadow-sm);
  line-height: 1.75;
  color: var(--ink-soft);
  font-size: 1rem;
}
.legal-body > *:first-child { margin-top: 0; }
.legal-body > *:last-child { margin-bottom: 0; }

.legal-body h2 {
  font-size: 1.4rem;
  margin: 2.4rem 0 .8rem;
  color: var(--ink);
  scroll-margin-top: 90px;
  padding-top: .4rem;
  border-top: 1px solid var(--line);
}
.legal-body h2:first-of-type {
  margin-top: 1rem;
  border-top: 0;
  padding-top: 0;
}
.legal-body h3 {
  font-size: 1.05rem;
  margin: 1.6rem 0 .6rem;
  color: var(--ink);
}
.legal-body p { margin: 0 0 1rem; }
.legal-body ul,
.legal-body ol {
  margin: 0 0 1.1rem;
  padding-left: 1.2rem;
}
.legal-body li { margin-bottom: .45rem; }
.legal-body strong { color: var(--ink); font-weight: 600; }
.legal-body a {
  color: var(--primary);
  font-weight: 500;
  border-bottom: 1px solid rgba(184,142,254,.40);
  transition: border-color .2s ease;
}
.legal-body a:hover { border-bottom-color: var(--primary); }
.legal-body code {
  background: var(--soft-primary);
  color: var(--primary-dark);
  padding: .1rem .4rem;
  border-radius: 6px;
  font-size: .9em;
  font-family: "SF Mono", ui-monospace, Menlo, Consolas, monospace;
}
.legal-body .callout {
  background: var(--softer-primary);
  border-left: 3px solid var(--primary);
  padding: 1rem 1.2rem;
  border-radius: 0 12px 12px 0;
  margin: 1.4rem 0;
  color: var(--ink);
}
.legal-body .callout p:last-child { margin-bottom: 0; }

@media (max-width: 900px) {
  .legal-wrap { grid-template-columns: 1fr; gap: 1.5rem; }
  .legal-toc { position: static; }
  .legal-body { padding: 1.4rem 1.2rem; }
}

/* =========================================================
   CONTACT PAGE
   ========================================================= */
.contact {
  padding: 1rem 0 5rem;
}
.contact-wrap {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 2.5rem;
  align-items: flex-start;
}

.contact-side {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  position: sticky;
  top: 92px;
}

.contact-card {
  background: linear-gradient(160deg, var(--soft-primary) 0%, #FFFFFF 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.4rem;
  box-shadow: var(--shadow-sm);
}
.contact-card h5 {
  margin: 0 0 .8rem;
  font-size: .72rem;
  letter-spacing: .16em;
}
.contact-email {
  display: inline-block;
  font-family: "Plus Jakarta Sans", "Inter", sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-deep);
  letter-spacing: -.01em;
  border-bottom: 2px solid rgba(122, 79, 224, .25);
  transition: border-color .2s ease, color .2s ease;
}
.contact-email:hover {
  color: var(--primary-dark);
  border-bottom-color: var(--primary);
}
.contact-side-note {
  margin: .7rem 0 0;
  font-size: .9rem;
  color: var(--ink-soft);
}

.contact-points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.contact-points li {
  display: flex;
  gap: .85rem;
  align-items: flex-start;
}
.contact-dot {
  flex: 0 0 auto;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-top: .55rem;
  background: var(--primary);
  box-shadow: 0 0 0 4px var(--soft-primary);
}
.contact-points strong {
  display: block;
  color: var(--ink);
  font-weight: 600;
  margin-bottom: .15rem;
}
.contact-points p {
  margin: 0;
  font-size: .92rem;
  color: var(--ink-soft);
  line-height: 1.55;
}

.contact-body {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.6rem, 3.5vw, 2.4rem);
  box-shadow: var(--shadow-sm);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: .45rem;
}
.form-row label {
  font-size: .82rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: .01em;
}
.form-row input,
.form-row textarea {
  font: inherit;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: .85rem 1rem;
  width: 100%;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.form-row input::placeholder,
.form-row textarea::placeholder {
  color: var(--muted);
}
.form-row input:hover,
.form-row textarea:hover {
  border-color: #D9CFF0;
}
.form-row input:focus,
.form-row textarea:focus {
  border-color: var(--primary);
  background: white;
  box-shadow: 0 0 0 4px rgba(184, 142, 254, .18);
}
.form-row textarea {
  min-height: 140px;
  resize: vertical;
  line-height: 1.55;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  margin-top: .4rem;
}
.form-actions .btn { flex: 0 0 auto; }

.form-hint {
  margin: .2rem 0 0;
  font-size: .85rem;
  color: var(--muted);
}
.form-hint a {
  color: var(--primary-dark);
  border-bottom: 1px solid rgba(184, 142, 254, .4);
}
.form-hint a:hover { border-bottom-color: var(--primary); }

.form-status {
  margin-top: .4rem;
  padding: 1rem 1.2rem;
  background: var(--softer-primary);
  border-left: 3px solid var(--primary);
  border-radius: 0 12px 12px 0;
  color: var(--ink);
}
.form-status strong { display: block; margin-bottom: .2rem; }
.form-status p { margin: 0; font-size: .9rem; color: var(--ink-soft); }
.form-status a {
  color: var(--primary-dark);
  border-bottom: 1px solid rgba(184, 142, 254, .4);
}
.form-status a:hover { border-bottom-color: var(--primary); }

@media (max-width: 900px) {
  .contact-wrap { grid-template-columns: 1fr; gap: 1.5rem; }
  .contact-side { position: static; }
  .contact-body { padding: 1.4rem 1.2rem; }
  .form-actions .btn { width: 100%; }
}
