/* Kufi Circle landing page (/circle/). Loaded after style.css only on pages
   with "landing": "circle". KufiCon's palette and artwork: charcoal, its lime,
   and pink, orange, blue, teal and purple as accents. Type stays the site's
   (Archivo condensed for display, Inter for reading). */

.lp-circle {
  --cc-ch: oklch(0.285 0.004 90);      /* KufiCon charcoal #2b2b2b */
  --cc-deep: oklch(0.235 0.004 90);    /* #1f1f1f */
  --cc-card: oklch(0.33 0.005 90);
  --cc-line: oklch(0.97 0.01 90 / 0.13);
  --cc-text: oklch(0.97 0.005 90);
  --cc-muted: oklch(0.83 0.006 90);
  --cc-lime: oklch(0.925 0.2 126);     /* #c5f746 */
  --cc-lime-ink: oklch(0.25 0.03 125);
  --cc-pink: oklch(0.66 0.26 352);
  --cc-orange: oklch(0.7 0.2 45);
  --cc-blue: oklch(0.57 0.22 262);
  --cc-teal: oklch(0.83 0.15 178);
  --cc-purple: oklch(0.58 0.26 300);
  --cc-tile-h: 42px;
  --cc-tile-w: calc(var(--cc-tile-h) * 1439 / 85);
  background: var(--cc-ch);
  color: var(--cc-text);
}
.lp-circle main { overflow: clip; }

/* Accent per item: cc-c1..cc-c5 */
.lp-circle .cc-c1 { --cc-c: var(--cc-pink); }
.lp-circle .cc-c2 { --cc-c: var(--cc-blue); }
.lp-circle .cc-c3 { --cc-c: var(--cc-orange); }
.lp-circle .cc-c4 { --cc-c: var(--cc-teal); }
.lp-circle .cc-c5 { --cc-c: var(--cc-purple); }
.lp-circle .cc-c6 { --cc-c: var(--cc-lime); }

/* ------------------------------------------------------------ type */
.cc-kicker { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 16px; font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--cc-lime); }
.cc-kicker::before { content: ''; width: 10px; height: 10px; border-radius: 50%; background: currentColor; }
.cc-h1, .cc-h2 { font-family: var(--display); font-stretch: 72%; font-weight: 800; text-transform: uppercase; letter-spacing: -0.005em; line-height: 0.92; margin: 0; text-wrap: balance; }
.cc-h1 { font-size: clamp(2.6rem, 1.5rem + 4.6vw, 5rem); }
.cc-h2 { font-size: clamp(2.2rem, 1.4rem + 3.2vw, 3.9rem); }
.cc-h3 { font-size: clamp(1.25rem, 1.1rem + 0.5vw, 1.5rem); font-weight: 700; letter-spacing: -0.01em; line-height: 1.2; margin: 0; }
.cc-lede { font-size: clamp(1.08rem, 1.02rem + 0.35vw, 1.25rem); line-height: 1.6; color: var(--cc-muted); max-width: 60ch; margin: 18px 0 0; }
.cc-note { font-size: 0.92rem; color: var(--cc-muted); margin: 16px 0 0; max-width: 62ch; }
.cc-note a, .cc-a a { color: var(--cc-lime); font-weight: 600; text-underline-offset: 3px; }
.cc-head-block { max-width: 760px; margin-bottom: clamp(32px, 4vw, 52px); }

/* --------------------------------------------------------- buttons */
/* KufiCon's buttons are square-cut; ours follow, in its lime. */
.lp-circle .btn { --b: var(--cc-lime); --c: var(--cc-lime-ink); border-radius: 6px; font-weight: 700; min-height: 52px; padding: 0 26px; }
.lp-circle .btn:hover { --b: oklch(0.95 0.17 126); transform: translateY(-2px); }
.lp-circle .btn:active { transform: none; }
.lp-circle .btn--line { --b: oklch(0.97 0.01 90 / 0.4); --c: var(--cc-text); background: transparent; }
.lp-circle .btn--line:hover { --b: var(--cc-text); background: oklch(0.97 0.01 90 / 0.06); }
.lp-circle .btn--sm { min-height: 40px; padding: 0 18px; }
.lp-circle :focus-visible { outline-color: var(--cc-lime); }
.lp-circle ::selection { background: var(--cc-lime); color: var(--cc-lime-ink); }

/* ------------------------------------------------- KufiCon tile strip */
/* Their star-tile border, sliding slowly. One copy of the artwork is
   1439x85; the strip repeats it. */
.cc-tiles { height: var(--cc-tile-h); background: url("assets/img/circle/kuficon-tiles.svg") 0 0 / var(--cc-tile-w) var(--cc-tile-h) repeat-x; animation: cc-slide 60s linear infinite; }
@keyframes cc-slide { to { background-position: calc(-1 * var(--cc-tile-w)) 0; } }

/* ----------------------------------------------------------- header */
.cc-head { position: sticky; top: 0; z-index: 50; background: oklch(0.235 0.004 90 / 0.86); backdrop-filter: saturate(140%) blur(10px); -webkit-backdrop-filter: saturate(140%) blur(10px); border-bottom: 1px solid var(--cc-line); }
.cc-head-in { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; min-height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.cc-brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 800; font-size: 1.1rem; letter-spacing: -0.01em; }
.cc-brand img { width: 44px; height: 44px; border-radius: 50%; }
.cc-head-links { display: flex; align-items: center; gap: 22px; font-size: 0.95rem; font-weight: 600; }
.cc-head-links a:not(.btn) { color: var(--cc-muted); text-decoration: none; }
.cc-head-links a:not(.btn):hover { color: var(--cc-text); }
@media (max-width: 640px) { .cc-head-home { display: none; } .cc-head-links { gap: 16px; } }

/* -------------------------------------------------------------- hero */
/* KufiCon's hero artwork frames the words; its dark centre is where they
   sit. It drifts a little, nothing more. */
.lp-circle .s { padding-block: clamp(64px, 8vw, 112px); }
.cc-hero { position: relative; isolation: isolate; min-height: min(calc(100svh - 68px - 76px), 820px); display: grid; align-items: center; padding-block: clamp(40px, 6vh, 72px) !important; text-align: center; background: oklch(0.16 0.004 90); }
.cc-hero-art { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.cc-hero-art img { width: 100%; height: 100%; object-fit: cover; animation: cc-drift 26s ease-in-out infinite alternate; }
.cc-hero-art::after { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 52% 50% at 50% 50%, oklch(0.14 0.004 90 / 0.92) 0%, oklch(0.14 0.004 90 / 0.7) 55%, oklch(0.14 0.004 90 / 0.15) 100%); }
@keyframes cc-drift { from { transform: scale(1.04); } to { transform: scale(1.12) rotate(0.6deg); } }
.cc-hero-in { display: flex; flex-direction: column; align-items: center; }
.cc-hero-logo { width: clamp(110px, min(16vw, 17vh), 210px); margin-bottom: clamp(10px, 2vh, 22px); animation: cc-rise 0.9s var(--ease) both; }
.cc-hero-logo img { width: 100%; }
.cc-hero .cc-kicker { animation: cc-rise 0.9s 0.08s var(--ease) both; }
.cc-hero .cc-kicker::before { display: none; }
.cc-hero .cc-h1 { font-size: clamp(2.6rem, min(1.5rem + 4.6vw, 9vh), 5rem); max-width: 16ch; animation: cc-rise 0.9s 0.14s var(--ease) both; }
.cc-hero .cc-lede { max-width: 54ch; margin-inline: auto; animation: cc-rise 0.9s 0.22s var(--ease) both; }
.cc-hero .btns { justify-content: center; margin-top: clamp(22px, 3.5vh, 34px); animation: cc-rise 0.9s 0.3s var(--ease) both; }
@keyframes cc-rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* --------------------------------------------------- intro (lime) */
.lp-circle .cc-intro { background: var(--cc-lime); color: var(--cc-lime-ink); padding-top: 0; }
.cc-intro > .cc-tiles, .cc-tiers > .cc-tiles, .cc-cta > .cc-tiles { margin-bottom: clamp(56px, 7vw, 96px); }
.cc-intro > .cc-tiles { background-color: var(--cc-ch); }
.cc-intro .cc-kicker { color: var(--cc-lime-ink); }
.cc-intro-grid { display: grid; gap: clamp(40px, 6vw, 80px); align-items: center; }
@media (min-width: 900px) { .cc-intro-grid { grid-template-columns: 1.05fr 1fr; } }
.cc-body { font-size: 1.12rem; line-height: 1.65; max-width: 58ch; margin-top: 20px; }
.cc-body p { margin: 0 0 14px; }
.cc-frames { display: grid; gap: 28px; justify-items: center; }
.cc-frame { margin: 0; width: min(100%, 440px); padding: 12px 12px 0; background: var(--cc-c, var(--cc-pink)); box-shadow: 0 18px 40px oklch(0.25 0.03 125 / 0.28); transition: opacity 0.8s var(--ease), transform 0.5s var(--ease); }
.cc-frame:nth-child(1) { --cc-c: var(--cc-pink); transform: rotate(-3deg); }
.cc-frame:nth-child(2) { --cc-c: var(--cc-teal); transform: rotate(2.5deg); justify-self: end; }
.cc-frame:hover { transform: rotate(0deg) scale(1.02); }
.cc-frame img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.cc-frame figcaption { padding: 10px 4px 12px; font-size: 0.95rem; font-weight: 700; color: oklch(0.99 0.005 90); }
.cc-frame:nth-child(2) figcaption { color: var(--cc-lime-ink); }
@media (min-width: 900px) { .cc-frames { gap: 0; } .cc-frame:nth-child(2) { margin-top: -48px; margin-right: -12px; } .cc-frame:nth-child(1) { justify-self: start; } }

/* -------------------------------------------- pillars + groups */
.lp-circle .cc-pillars { background: var(--cc-ch); }
.cc-pillar-grid { display: grid; gap: 40px 32px; }
@media (min-width: 820px) { .cc-pillar-grid { grid-template-columns: repeat(3, 1fr); } }
.cc-pillar h3 { font-size: 1.3rem; font-weight: 700; line-height: 1.25; margin: 0 0 10px; letter-spacing: -0.01em; }
.cc-pillar p { margin: 0; color: var(--cc-muted); max-width: 40ch; }
.cc-num { display: block; font-family: var(--display); font-stretch: 72%; font-weight: 800; font-size: clamp(4rem, 3rem + 3vw, 6rem); line-height: 0.82; color: var(--cc-c); margin-bottom: 14px; letter-spacing: -0.02em; }
.cc-groups { margin-top: clamp(56px, 7vw, 88px); padding-top: clamp(36px, 4vw, 48px); border-top: 1px solid var(--cc-line); display: grid; gap: 24px; }
@media (min-width: 900px) { .cc-groups { grid-template-columns: 300px 1fr; align-items: start; } }
.cc-groups-head p { margin: 8px 0 0; color: var(--cc-muted); }
.cc-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.cc-chip { padding: 11px 18px; border-radius: 6px; background: var(--cc-c); color: oklch(0.99 0.005 90); font-weight: 700; font-size: 1rem; line-height: 1.2; transition: transform 0.3s var(--ease); }
.cc-chip.cc-c4, .cc-chip.cc-c3 { color: var(--cc-lime-ink); }
.cc-chip:hover { transform: translateY(-3px) rotate(-1.5deg); }

/* ------------------------------------------------------------ tiers */
.lp-circle .cc-tiers { background: var(--cc-deep); padding-top: 0; }
.cc-tier-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); align-items: stretch; }
.cc-tier { --cc-c: var(--cc-lime); --cc-on: var(--cc-lime-ink); display: flex; flex-direction: column; background: var(--cc-card); border-radius: 10px; overflow: hidden; transition: opacity 0.8s var(--ease), transform 0.35s var(--ease), box-shadow 0.35s var(--ease); }
.cc-tier:hover { transform: translateY(-6px); box-shadow: 0 22px 44px oklch(0.1 0.004 90 / 0.5); }
.cc-t2 { --cc-c: var(--cc-teal); --cc-on: var(--cc-lime-ink); }
.cc-t3 { --cc-c: var(--cc-pink); --cc-on: oklch(0.99 0.005 90); }
.cc-t4 { --cc-c: var(--cc-orange); --cc-on: oklch(0.2 0.03 45); }
.cc-tier-top { position: relative; padding: 22px 22px 20px; background: var(--cc-c); color: var(--cc-on); }
.cc-tier-top h3 { font-family: var(--display); font-stretch: 72%; font-weight: 800; text-transform: uppercase; font-size: 1.9rem; line-height: 1; margin: 0; }
.cc-price { margin: 12px 0 0; font-size: 2.3rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.cc-price small { font-size: 0.95rem; font-weight: 600; letter-spacing: 0; opacity: 0.8; }
.cc-tag { display: inline-block; margin-top: 12px; padding: 5px 10px; border-radius: 4px; background: oklch(0.2 0.03 45 / 0.16); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }
.cc-tier ul { list-style: none; margin: 0; padding: 22px; display: grid; gap: 11px; font-size: 0.95rem; line-height: 1.45; }
.cc-tier li { display: flex; gap: 10px; }
.cc-tier li::before { content: ''; flex: none; width: 9px; height: 9px; margin-top: 7px; background: var(--cc-c); transform: rotate(45deg); }
.cc-tier-foot { margin-top: clamp(28px, 3.5vw, 40px); display: flex; flex-wrap: wrap; align-items: center; gap: 4px 28px; }
.cc-tier-foot .btns { margin-top: 0; }
.cc-tier-foot .cc-note { margin: 0; }

/* ------------------------------------------------------------ steps */
.lp-circle .cc-steps { background: var(--cc-ch); }
.cc-steps-grid { display: grid; gap: clamp(40px, 5vw, 72px); }
@media (min-width: 960px) { .cc-steps-grid { grid-template-columns: 0.9fr 1.1fr; align-items: start; } .cc-steps-head { position: sticky; top: 108px; } }
.cc-step-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; counter-reset: none; }
.cc-step { display: grid; grid-template-columns: 64px 1fr; gap: 18px; padding: 22px 24px 22px 18px; background: var(--cc-card); border-radius: 10px; }
.cc-step .cc-num { font-size: 3.6rem; margin: 0; text-align: center; }
.cc-step h3 { font-size: 1.2rem; font-weight: 700; margin: 4px 0 6px; letter-spacing: -0.01em; }
.cc-step p { margin: 0; color: var(--cc-muted); }
.cc-step p b { color: var(--cc-text); }
.cc-apps { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.cc-app { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 6px; border: 1px solid oklch(0.97 0.01 90 / 0.35); font-weight: 700; font-size: 0.9rem; text-decoration: none; }
.cc-app:hover { border-color: var(--cc-text); background: oklch(0.97 0.01 90 / 0.06); }

/* ------------------------------------------------------------ after */
.lp-circle .cc-after { background: var(--cc-deep); }
.cc-after-grid { display: grid; gap: 18px; }
@media (min-width: 820px) { .cc-after-grid { grid-template-columns: repeat(3, 1fr); } }
.cc-after-item { padding: 26px 24px; border-radius: 10px; background: var(--cc-c); color: oklch(0.99 0.005 90); }
.cc-after-item.cc-c3, .cc-after-item.cc-c4 { color: var(--cc-lime-ink); }
.cc-after-item h3 { font-family: var(--display); font-stretch: 72%; font-weight: 800; text-transform: uppercase; font-size: 1.7rem; line-height: 1; margin: 0 0 12px; }
.cc-after-item p { margin: 0; font-weight: 500; }
.cc-tips { margin-top: clamp(40px, 5vw, 64px); display: grid; gap: 18px; }
@media (min-width: 900px) { .cc-tips { grid-template-columns: 340px 1fr; } }
.cc-h3 { text-wrap: balance; }
.cc-tips ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.cc-tips li { display: flex; gap: 14px; font-size: 1.05rem; }
.cc-tips li::before { content: ''; flex: none; width: 12px; height: 12px; margin-top: 8px; background: var(--cc-lime); transform: rotate(45deg); }

/* -------------------------------------------------------------- faq */
.lp-circle .cc-faq { background: var(--cc-ch); }
.cc-faq-grid { display: grid; gap: 8px 72px; }
@media (min-width: 960px) { .cc-faq-grid { grid-template-columns: 0.8fr 1.2fr; align-items: start; } }
.cc-faq-list { display: grid; }
.cc-q { border-bottom: 1px solid var(--cc-line); }
.cc-q:first-child { border-top: 1px solid var(--cc-line); }
.cc-q summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 2px; font-size: 1.12rem; font-weight: 700; }
.cc-q summary::-webkit-details-marker { display: none; }
.cc-q summary svg { width: 18px; height: 18px; flex: none; color: var(--cc-lime); transition: transform 0.3s var(--ease); }
.cc-q[open] summary svg { transform: rotate(180deg); }
.cc-a { padding: 0 2px 20px; color: var(--cc-muted); max-width: 64ch; }
.cc-a p { margin: 0; }

/* -------------------------------------------------------- cta (lime) */
.lp-circle .cc-cta { background: var(--cc-lime); color: var(--cc-lime-ink); padding-top: 0; }
.cc-cta > .cc-tiles { background-color: var(--cc-ch); }
.cc-cta-in { display: grid; gap: 28px; align-items: center; }
@media (min-width: 820px) { .cc-cta-in { grid-template-columns: 280px 1fr; gap: 56px; } }
.cc-cta-logo { width: min(240px, 60vw); }
.cc-cta-logo img { border-radius: 50%; box-shadow: 0 18px 40px oklch(0.25 0.03 125 / 0.25); }
.cc-cta-logo img { width: 100%; }
.cc-cta .cc-lede { color: oklch(0.32 0.03 125); }
.lp-circle .cc-cta .btn { --b: var(--cc-lime-ink); --c: var(--cc-lime); }
.lp-circle .cc-cta .btn:hover { --b: oklch(0.33 0.03 125); }
.lp-circle .cc-cta .btn--line { --b: oklch(0.25 0.03 125 / 0.5); --c: var(--cc-lime-ink); background: transparent; }
.lp-circle .cc-cta .btn--line:hover { --b: var(--cc-lime-ink); }

/* ----------------------------------------------------------- footer */
.cc-foot { background: var(--cc-deep); color: var(--cc-muted); font-size: 0.95rem; }
.cc-foot-in { padding-block: clamp(36px, 4vw, 52px) 28px; display: grid; gap: 24px; }
.cc-foot-brand { display: flex; gap: 18px; align-items: center; text-decoration: none; max-width: 640px; }
.cc-foot-brand img { width: 52px; height: auto; flex: none; }
.cc-foot-links { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; }
.cc-foot-links a { color: var(--cc-text); text-decoration: none; }
.cc-foot-links a:hover { color: var(--cc-lime); }
.cc-social { display: inline-grid; place-items: center; width: 36px; height: 36px; }
.cc-social svg { width: 20px; height: 20px; }
.cc-foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; padding-top: 18px; border-top: 1px solid var(--cc-line); font-size: 0.85rem; }
.cc-foot-base a { color: var(--cc-text); }

/* ------------------------------------------------------------ phones */
@media (max-width: 559px) {
  .lp-circle { --cc-tile-h: 30px; }
  .lp-circle .s { padding-block: 56px; }
  .lp-circle .cc-intro, .lp-circle .cc-tiers, .lp-circle .cc-cta { padding-top: 0; }
  .cc-hero { min-height: calc(100svh - 68px - 52px); }
  .cc-hero .btns { flex-direction: column; align-self: stretch; }
  .cc-hero .btn { width: 100%; }
  .cc-step { grid-template-columns: 44px 1fr; gap: 12px; padding: 18px 16px 18px 12px; }
  .cc-step .cc-num { font-size: 2.8rem; }
  .cc-frame:nth-child(2) { justify-self: center; }
}

@media (prefers-reduced-motion: reduce) {
  .cc-tiles, .cc-hero-art img, .cc-hero-logo, .cc-hero .cc-kicker, .cc-hero .cc-h1, .cc-hero .cc-lede, .cc-hero .btns { animation: none; }
  .cc-tier:hover, .cc-chip:hover, .lp-circle .btn:hover { transform: none; }
}
