/* Kopnota marketing site · sections, cards, feature rows, window chrome, shared colour accents */
/* ---------- Sections ---------- */
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section.alt { background: var(--bg-alt); }
.section-head { max-width: 760px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head h2 { margin: 10px 0 16px; }
.section-head p:not(.kicker) { color: var(--muted); font-size: var(--step-1); line-height: 1.55; }
.kicker { display: inline-block; font: 600 var(--step--1)/1 var(--font-body); letter-spacing: .08em; text-transform: uppercase; color: var(--blue); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .kicker { color: var(--mint); } }
:root[data-theme="dark"] .kicker { color: var(--mint); }

.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.card { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); transition: transform .3s cubic-bezier(.2, .8, .2, 1), box-shadow .3s; overflow: hidden; }
.card::after { content: ""; position: absolute; inset: 0; background: radial-gradient(280px circle at var(--mx, 50%) var(--my, 0%), color-mix(in srgb, var(--blue) 12%, transparent), transparent 60%); opacity: 0; transition: opacity .3s; pointer-events: none; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card:hover::after { opacity: 1; }
.card h3 { margin: 18px 0 8px; }
.card p { color: var(--muted); font-size: .97rem; }
.card-ic { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; }
.card-ic svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.ic-blue { background: color-mix(in srgb, var(--blue) 14%, transparent); color: var(--blue); }
.ic-mint { background: color-mix(in srgb, var(--mint) 18%, transparent); color: var(--mint-deep); }
.ic-amber { background: color-mix(in srgb, var(--amber) 18%, transparent); color: #C97A12; }
.ic-violet { background: color-mix(in srgb, var(--violet) 16%, transparent); color: var(--violet); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .ic-blue { color: var(--blue-soft); } :root:not([data-theme="light"]) .ic-mint { color: var(--mint); } :root:not([data-theme="light"]) .ic-amber { color: var(--amber); } }

.feature-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(36px, 6vw, 84px); align-items: center; }
.feature-grid.reverse > .feature-copy { order: 2; }
.feature-copy h2 { margin: 10px 0 18px; }
.feature-copy > p:not(.kicker):not(.try) { color: var(--muted); font-size: var(--step-1); line-height: 1.55; }
.ticks { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 32px; color: var(--ink-2); }
.ticks li::before { content: ""; position: absolute; left: 0; top: .2em; width: 20px; height: 20px; border-radius: 6px; background: color-mix(in srgb, var(--mint) 20%, transparent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.3l2.8 2.8 6-6.4' fill='none' stroke='%2315A774' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat; }
.ticks b { color: var(--ink); }
.try { display: inline-flex; align-items: center; gap: 10px; margin-top: 26px; padding: 10px 16px; border-radius: 12px; background: var(--surface); border: 1px dashed var(--line-strong); color: var(--ink-2); font-size: var(--step--1); font-weight: 500; }
.try-dot { flex: none; width: 9px; height: 9px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 0 rgba(51, 85, 230, .5); animation: ping 2s infinite; }

.demo { position: relative; }
.demo-note { margin-top: 10px; font-size: .78rem; color: var(--muted); text-align: center; }

/* Window chrome */
.window { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-lg); overflow: hidden; }
.win-bar { display: flex; align-items: center; gap: 7px; padding: 12px 14px; border-bottom: 1px solid var(--line); background: var(--surface-2); }
.win-bar i { width: 11px; height: 11px; border-radius: 50%; background: #FF5F57; }
.win-bar i:nth-child(2) { background: #FEBC2E; }
.win-bar i:nth-child(3) { background: #28C840; }
.win-bar span { margin-left: auto; margin-right: auto; padding-right: 50px; font: 500 .78rem var(--font-mono); color: var(--muted); }

/* Card icon colours */
.ic-pink { background: color-mix(in srgb, var(--pink) 15%, transparent); color: #DB2777; }
.ic-teal { background: color-mix(in srgb, var(--teal-2) 16%, transparent); color: #0D9488; }
.ic-rainbow { background: conic-gradient(from 0deg, #F43F5E33, #F59E0B33, #10B98133, #06B6D433, #6366F133, #A855F733, #F43F5E33); color: #7C3AED; }
.cards .card:nth-child(n) { --cc: var(--blue); }
.card-ic { transition: transform .4s cubic-bezier(.3, 1.4, .5, 1); }
.card:hover .card-ic { transform: rotate(-8deg) scale(1.1); }

/* Kicker colours */
.k-violet { color: #7C3AED !important; } .k-mint { color: var(--mint-deep) !important; } .k-pink { color: #DB2777 !important; }
.k-amber { color: #C2410C !important; } .k-teal { color: #0D9488 !important; }
.k-rainbow { background: var(--rainbow); -webkit-background-clip: text; background-clip: text; color: transparent !important; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .k-violet { color: #C4B5FD !important; } :root:not([data-theme="light"]) .k-pink { color: #F9A8D4 !important; } :root:not([data-theme="light"]) .k-amber { color: #FDBA74 !important; } :root:not([data-theme="light"]) .k-teal { color: #5EEAD4 !important; } }
:root[data-theme="dark"] .k-violet { color: #C4B5FD !important; } :root[data-theme="dark"] .k-pink { color: #F9A8D4 !important; } :root[data-theme="dark"] .k-amber { color: #FDBA74 !important; } :root[data-theme="dark"] .k-teal { color: #5EEAD4 !important; }

/* Aurora bands behind colourful sections */
.colorful { position: relative; overflow: hidden; isolation: isolate; }
.aurora { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.aurora i { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .22; animation: drift 18s ease-in-out infinite alternate; }
.aurora i:nth-child(1) { width: 420px; height: 420px; background: #A855F7; left: -120px; top: 10%; }
.aurora i:nth-child(2) { width: 360px; height: 360px; background: #06B6D4; right: -100px; top: 40%; animation-delay: -6s; }
.aurora i:nth-child(3) { width: 300px; height: 300px; background: #F59E0B; left: 40%; bottom: -140px; opacity: .14; animation-delay: -12s; }
.aurora.a2 i:nth-child(1) { background: #EC4899; } .aurora.a2 i:nth-child(2) { background: #6366F1; }
.aurora.a3 i:nth-child(1) { background: #14B8A6; } .aurora.a3 i:nth-child(2) { background: #3B82F6; } .aurora.a3 i:nth-child(3) { background: #F43F5E; }
.aurora.a5 i:nth-child(1) { background: #6366F1; } .aurora.a5 i:nth-child(2) { background: #EC4899; } .aurora.a5 i:nth-child(3) { background: #10B981; }
.sub-h { font-size: var(--step-2); margin: 10px 0 14px; }
.sub-p { color: var(--muted); font-size: var(--step-0); line-height: 1.6; }
.section-head.center { margin-inline: auto; text-align: center; }

/* Chips (templates, theme categories, splash screens) */
.tpl-chips button, .splash-chips button, .theme-cats button { border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink-2); border-radius: 999px; padding: 9px 16px; font-size: .88rem; font-weight: 600; cursor: pointer; transition: background .25s, color .25s, border-color .25s, transform .2s; }
.tpl-chips button:hover, .splash-chips button:hover, .theme-cats button:hover { transform: translateY(-1px); }
.tpl-chips button[aria-selected="true"], .splash-chips button[aria-checked="true"], .theme-cats button[aria-selected="true"] { background: linear-gradient(135deg, #7C3AED, #EC4899); color: #fff; border-color: transparent; box-shadow: 0 8px 20px -10px rgba(236, 72, 153, .8); }
