/* Signed-out home page. AutoGuardian's purple and gold, from its avatar and banner */
.landing {
  --land-w: 1160px; --brand-1: #7b5cf0; --brand-2: #4b2fb8; --brand-deep: #1d1150; --gold-1: #ffe08a; --gold-2: #f5a623;
  overflow-x: hidden;
}
.land-wrap { max-width: var(--land-w); margin: 0 auto; padding: 0 20px; }
.land-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 26px; border-radius: 12px; font-weight: 700; font-size: 16px; text-decoration: none; transition: transform .14s, box-shadow .14s, filter .14s, background .14s; }
.land-btn svg { width: 18px; height: 18px; }
.land-btn:hover { transform: translateY(-2px); }
.land-btn.primary { color: #fff; background: linear-gradient(135deg, var(--brand-1), var(--brand-2)); box-shadow: 0 8px 24px color-mix(in srgb, var(--brand-2) 45%, transparent); }
.land-btn.primary:hover { filter: brightness(1.1); box-shadow: 0 12px 30px color-mix(in srgb, var(--brand-2) 55%, transparent); }
.land-btn.white { color: var(--brand-2); background: #fff; box-shadow: 0 10px 30px rgba(0, 0, 0, .25); }
.land-btn.white:hover { box-shadow: 0 14px 36px rgba(0, 0, 0, .32); }
.land-btn.glass { color: #fff; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .28); backdrop-filter: blur(6px); }
.land-btn.glass:hover { background: rgba(255, 255, 255, .18); }
.land-btn.small { padding: 8px 16px; font-size: 14px; border-radius: 10px; }
.gold-text { background: linear-gradient(90deg, var(--gold-1), var(--gold-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Hero: full width purple, always dark so white text reads in either theme */
.land-hero {
  position: relative; color: #fff; padding-bottom: 120px;
  background:
    radial-gradient(60% 70% at 78% 40%, rgba(245, 176, 46, .28), transparent 70%),
    radial-gradient(50% 60% at 10% 10%, rgba(123, 92, 240, .55), transparent 70%),
    linear-gradient(160deg, #2b1a6a 0%, #3a2392 45%, #1d1150 100%);
}
.land-hero::before {
  content: ''; position: absolute; inset: 0; opacity: .5; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='97'%3E%3Cpath d='M28 0 56 16.2v32.3L28 64.7 0 48.5V16.2zM0 80.8l28 16.2 28-16.2' fill='none' stroke='%23ffffff' stroke-opacity='.08' stroke-width='1.5'/%3E%3C/svg%3E");
}
.land-hero::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 90px; background: var(--bg); clip-path: ellipse(75% 100% at 50% 100%); }
.land-hero > * { position: relative; z-index: 1; }
.land-nav { display: flex; align-items: center; gap: 16px; padding-top: 20px; padding-bottom: 20px; }
.land-brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 19px; color: #fff; text-decoration: none; margin-right: auto; }
.land-avatar { width: 38px; height: 38px; border-radius: 50%; box-shadow: 0 0 0 2px rgba(255, 255, 255, .25); }
.land-nav nav { display: flex; align-items: center; gap: 6px; margin-left: auto; flex: none; overflow: visible; padding: 0; }
.land-nav nav a:not(.land-btn) { color: rgba(255, 255, 255, .8); text-decoration: none; font-size: 15px; padding: 7px 12px; border-radius: 8px; }
.land-nav nav a:not(.land-btn):hover { color: #fff; background: rgba(255, 255, 255, .1); }
.land-hero-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 40px; align-items: center; padding-top: 40px; }
.land-eyebrow { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 700; letter-spacing: .02em; color: var(--gold-1); background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 224, 138, .3); padding: 5px 14px; border-radius: 999px; }
.land-eyebrow svg { width: 15px; height: 15px; }
.land-hero h1 { font-size: clamp(36px, 4.6vw, 58px); line-height: 1.04; letter-spacing: -.03em; font-weight: 800; margin: 20px 0 18px; }
.land-lead { font-size: 18px; line-height: 1.6; color: rgba(255, 255, 255, .82); margin: 0 0 30px; max-width: 52ch; }
.land-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.land-hero .legal { margin: 18px 0 0; font-size: 13px; color: rgba(255, 255, 255, .6); }
.land-hero .legal a { color: inherit; }
.landing .private-note { background: rgba(240, 180, 69, .15); border: 1px solid var(--gold-2); color: #fff; border-radius: 10px; padding: 10px 14px; font-size: 14px; margin: 0 0 22px; }

/* The shield, floating, with example cards around it */
.land-art { position: relative; height: 470px; }
.land-shield { position: absolute; left: 50%; top: 50%; width: 300px; transform: translate(-50%, -50%); filter: drop-shadow(0 30px 50px rgba(0, 0, 0, .45)); animation: land-float 6s ease-in-out infinite; }
@keyframes land-float { 50% { transform: translate(-50%, calc(-50% - 14px)); } }
.lp-card { position: absolute; color: var(--text); background: var(--panel); border: 1px solid var(--border); border-radius: 14px; padding: 14px 16px; box-shadow: 0 18px 40px rgba(0, 0, 0, .35); width: 236px; animation: land-float-card 7s ease-in-out infinite; }
@keyframes land-float-card { 50% { transform: translateY(-8px); } }
.lp-head { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); margin-bottom: 8px; }
.lp-head svg { width: 15px; height: 15px; color: var(--brand-1); }
.lp-score { top: 6px; right: -8px; animation-delay: -2s; }
.lp-big { font-size: 34px; font-weight: 800; line-height: 1; display: flex; align-items: baseline; gap: 4px; }
.lp-big small { font-size: 15px; color: var(--muted); font-weight: 500; }
.lp-grade { margin-left: auto; font-size: 17px; color: var(--green); background: var(--green-bg); border-radius: 10px; padding: 5px 11px; }
.lp-meter { height: 7px; background: var(--border); border-radius: 999px; margin: 12px 0 8px; overflow: hidden; }
.lp-meter div { width: 92%; height: 100%; background: var(--green); border-radius: inherit; }
.lp-sub { font-size: 13px; color: var(--muted); }
.lp-catch { top: 300px; left: -20px; border-left: 4px solid var(--red); animation-delay: -4s; }
.lp-row { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.lp-badge { font-size: 11px; font-weight: 700; color: var(--red); background: var(--red-bg); padding: 2px 8px; border-radius: 999px; }
.lp-quote { font-size: 13px; background: var(--bg); border-radius: 8px; padding: 8px 10px; }
.lp-raid { bottom: -6px; right: 10px; width: 220px; }
.lp-raid .lp-head svg { color: var(--red); }

/* Numbers, overlapping the hero's curve */
.land-stats { position: relative; z-index: 2; margin: -70px auto 0; max-width: 860px; display: grid; grid-template-columns: repeat(3, 1fr); background: var(--panel); border: 1px solid var(--border); border-radius: 20px; box-shadow: 0 20px 50px rgba(0, 0, 0, .18); padding: 26px 10px; }
.land-stats div { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 0 10px; }
.land-stats div + div { border-left: 1px solid var(--border); }
.land-stats b { font-size: clamp(26px, 4vw, 40px); font-weight: 800; font-variant-numeric: tabular-nums; background: linear-gradient(135deg, var(--brand-1), var(--brand-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.land-stats span { color: var(--muted); font-size: 14px; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .land-stats b { background-image: linear-gradient(135deg, #b9a6ff, var(--brand-1)); } }
:root[data-theme="dark"] .land-stats b { background-image: linear-gradient(135deg, #b9a6ff, var(--brand-1)); }

/* Features */
.land-section { padding-top: 96px; }
.land-kicker { display: block; text-align: center; font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--brand-1); margin-bottom: 10px; }
.land-section h2, .land-cta h2 { font-size: clamp(28px, 3.6vw, 42px); font-weight: 800; letter-spacing: -.02em; line-height: 1.15; margin: 0 0 12px; text-align: center; }
.land-sub { text-align: center; color: var(--muted); font-size: 17px; margin: 0 auto 48px; max-width: 60ch; }
.land-spot { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; margin-top: 72px; }
.land-spot:nth-of-type(even) .land-spot-art { order: -1; }
.land-spot h3 { font-size: clamp(24px, 2.8vw, 32px); font-weight: 800; letter-spacing: -.01em; margin: 14px 0 12px; }
.land-spot p { color: var(--muted); font-size: 16px; line-height: 1.65; margin: 0 0 16px; }
.land-spot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.land-spot li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; }
.land-spot li::before { content: ''; flex: none; width: 20px; height: 20px; margin-top: 1px; border-radius: 6px; background: color-mix(in srgb, var(--brand-1) 16%, transparent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237b5cf0' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 13px no-repeat; }
.land-ico { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--tint, var(--brand-1)), color-mix(in srgb, var(--tint, var(--brand-1)) 60%, #000)); box-shadow: 0 8px 20px color-mix(in srgb, var(--tint, var(--brand-1)) 35%, transparent); }
.land-ico svg { width: 24px; height: 24px; }
.land-spot-art { position: relative; border-radius: 24px; padding: 34px; min-height: 300px; display: grid; place-items: center; background: linear-gradient(150deg, color-mix(in srgb, var(--tint, var(--brand-1)) 22%, var(--panel)), var(--panel)); border: 1px solid var(--border); overflow: hidden; }
.land-spot-art::before { content: ''; position: absolute; width: 280px; height: 280px; border-radius: 50%; right: -80px; top: -80px; background: color-mix(in srgb, var(--tint, var(--brand-1)) 30%, transparent); filter: blur(40px); }
.land-spot-art > * { position: relative; }
.art-card { width: 100%; max-width: 360px; background: var(--panel); border: 1px solid var(--border); border-radius: 16px; padding: 16px 18px; box-shadow: 0 16px 40px rgba(0, 0, 0, .18); }
.art-card + .art-card { margin-top: 12px; }
.art-line { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.art-line + .art-line { margin-top: 10px; }
.art-dot { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.art-bar { flex: 1; height: 8px; border-radius: 999px; background: var(--border); overflow: hidden; }
.art-bar i { display: block; height: 100%; border-radius: inherit; }
.art-btns { gap: 8px; margin-top: 14px; flex-wrap: wrap; }
.art-btn { font-size: 12.5px; font-weight: 600; padding: 6px 12px; border-radius: 8px; background: var(--hover); border: 1px solid var(--border); }
.art-btn.danger { background: var(--red); border-color: var(--red); color: #fff; }
.art-btn.ok { background: var(--green); border-color: var(--green); color: #fff; }
.art-tag { margin-left: auto; font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 999px; }
.land-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 88px; }
.land-grid article { background: var(--panel); border: 1px solid var(--border); border-radius: 18px; padding: 24px; transition: transform .15s, box-shadow .15s, border-color .15s; }
.land-grid article:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--tint, var(--brand-1)) 50%, var(--border)); box-shadow: 0 16px 36px rgba(0, 0, 0, .14); }
.land-grid h3 { margin: 16px 0 6px; font-size: 18px; }
.land-grid.tight { margin-top: 28px; }
/* Four cards: in a row when there's room, two by two when there isn't */
.land-grid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1100px) { .land-grid.four { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.land-more { text-align: center; margin-top: 96px; }
.land-more h3 { font-size: clamp(22px, 2.6vw, 28px); font-weight: 800; letter-spacing: -.01em; margin: 0 0 8px; }
.land-more p { color: var(--muted); font-size: 16px; margin: 0 auto; max-width: 56ch; }
.land-grid p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.55; }
.land-steps { list-style: none; counter-reset: step; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.land-steps li { counter-increment: step; display: flex; flex-direction: column; gap: 6px; padding: 26px; border-radius: 18px; background: var(--panel); border: 1px solid var(--border); }
.land-steps li::before { content: counter(step); width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-weight: 800; font-size: 18px; color: #fff; background: linear-gradient(135deg, var(--brand-1), var(--brand-2)); margin-bottom: 10px; box-shadow: 0 8px 20px color-mix(in srgb, var(--brand-2) 40%, transparent); }
.land-steps b { font-size: 17px; }
.land-steps span { color: var(--muted); font-size: 15px; }

/* Pricing */
.land-plans { display: grid; grid-template-columns: repeat(var(--plans, 4), minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.land-plan { position: relative; display: flex; flex-direction: column; background: var(--panel); border: 1px solid var(--border); border-radius: 20px; padding: 26px 22px 22px; transition: transform .15s, box-shadow .15s; }
.land-plan:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(0, 0, 0, .14); }
.land-plan h3 { margin: 0; font-size: 18px; }
.land-price { display: flex; align-items: baseline; gap: 6px; margin: 12px 0 16px; flex-wrap: wrap; }
.land-price b { font-size: 34px; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; }
.land-price span { color: var(--muted); font-size: 14px; }
.land-plan ul { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 9px; flex: 1; align-content: start; }
.land-plan li { display: flex; gap: 9px; font-size: 14px; line-height: 1.45; }
.land-plan li::before { content: ''; flex: none; width: 18px; height: 18px; margin-top: 1px; border-radius: 6px; background: color-mix(in srgb, var(--brand-1) 16%, transparent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237b5cf0' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat; }
.land-plan .land-btn { width: 100%; padding: 12px 16px; font-size: 15px; }
.land-btn.outline { color: var(--text); border: 1px solid color-mix(in srgb, var(--brand-1) 50%, var(--border)); background: transparent; }
.land-btn.outline:hover { border-color: var(--brand-1); background: color-mix(in srgb, var(--brand-1) 8%, transparent); }
.land-plan.once { color: #fff; border-color: transparent; background: radial-gradient(80% 60% at 90% 0%, rgba(245, 176, 46, .35), transparent 70%), linear-gradient(160deg, #3a2392, #1d1150); box-shadow: 0 18px 44px rgba(29, 17, 80, .4); }
.land-plan.once .land-price span, .land-plan.once li { color: rgba(255, 255, 255, .85); }
.land-plan.once .land-price b { color: var(--gold-1); }
.land-plan.once li::before { background-color: rgba(255, 224, 138, .2); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffe08a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"); }
.land-plan.once .land-btn.primary { color: var(--brand-2); background: linear-gradient(90deg, var(--gold-1), var(--gold-2)); box-shadow: 0 8px 22px rgba(245, 166, 35, .35); }
.land-plan-badge { position: absolute; top: -12px; right: 18px; font-size: 12px; font-weight: 800; color: var(--brand-deep); background: linear-gradient(90deg, var(--gold-1), var(--gold-2)); padding: 4px 12px; border-radius: 999px; }
.land-plans-note { text-align: center; color: var(--muted); font-size: 13px; margin: 20px 0 0; }

/* Closing call to action */
.land-cta { position: relative; overflow: hidden; margin: 110px 0 96px; padding: 64px 24px; text-align: center; color: #fff; border-radius: 28px; background: radial-gradient(60% 90% at 85% 20%, rgba(245, 176, 46, .3), transparent 70%), linear-gradient(135deg, #3a2392, #1d1150); box-shadow: 0 24px 60px rgba(29, 17, 80, .35); }
.land-cta h2 { color: #fff; }
.land-cta p { color: rgba(255, 255, 255, .8); font-size: 17px; margin: 0 0 26px; }
.land-cta .land-ctas { justify-content: center; }
.land-foot { border-top: 1px solid var(--border); color: var(--muted); font-size: 14px; padding: 44px 0 28px; }
.land-foot a { color: var(--muted); text-decoration: none; }
.land-foot a:hover { color: var(--text); }
.foot-grid { display: grid; grid-template-columns: minmax(220px, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
.foot-brand .land-brand { color: var(--text); font-size: 17px; margin: 0 0 14px; }
.foot-brand .land-avatar { width: 30px; height: 30px; box-shadow: none; }
.foot-brand p { margin: 0 0 18px; line-height: 1.6; max-width: 260px; }
.foot-social { display: flex; gap: 8px; }
.foot-social a { display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid var(--border); border-radius: 9px; background: var(--hover); }
.foot-social svg { width: 17px; height: 17px; fill: currentColor; }
.foot-col h3 { margin: 0 0 14px; font-size: 12.5px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--muted); opacity: .8; }
.foot-col a { display: block; margin: 0 0 11px; color: var(--text); opacity: .8; }
.foot-col a:hover { opacity: 1; color: var(--text); }
.foot-bottom { display: flex; justify-content: space-between; align-items: center; gap: 12px 24px; flex-wrap: wrap; margin-top: 36px; font-size: 13px; }
.land-foot nav { flex: none; overflow: visible; padding: 0; margin: 0; }
.foot-bottom nav { display: flex; gap: 22px; flex-wrap: wrap; margin-left: auto; }
@media (max-width: 560px) { .foot-bottom nav { margin-left: 0; } }
@media (max-width: 860px) { .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .foot-brand { grid-column: 1 / -1; } }

@media (max-width: 960px) {
  .land-hero-grid, .land-spot { grid-template-columns: 1fr; gap: 28px; }
  .land-spot:nth-of-type(even) .land-spot-art { order: 0; }
  .land-art { height: 380px; max-width: 460px; margin: 0 auto; width: 100%; }
  .land-shield { width: 230px; }
  .lp-score { right: 0; }
  .lp-catch { left: 0; top: 160px; }
  .land-grid, .land-steps { grid-template-columns: 1fr; }
  .land-plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .land-nav nav a:not(.land-btn) { display: none; }
  .land-hero { padding-bottom: 100px; }
  .land-ctas { flex-direction: column; }
  .lp-card { width: 200px; padding: 12px 14px; }
  .lp-raid { display: none; }
  .land-art { height: 300px; }
  .land-shield { width: 200px; top: 44%; }
  .lp-score { top: auto; bottom: 0; right: 0; }
  .lp-catch { display: none; }
  .land-stats { grid-template-columns: 1fr; gap: 14px; margin-left: 16px; margin-right: 16px; }
  .land-stats div + div { border-left: 0; border-top: 1px solid var(--border); padding-top: 14px; }
  .land-cta { border-radius: 0; margin-left: -20px; margin-right: -20px; margin-bottom: 0; }
  .land-plans { grid-template-columns: 1fr; }
}
@media (max-width: 600px) { .land-grid.four { grid-template-columns: 1fr; } }
