/* NULL's generated enamel icons and quiet code/circuit details. */
:root{
  --icon-phi:url("img/icon-phi.png");
  --icon-star:url("img/icon-star.png");
  --icon-heart:url("img/icon-heart.png");
  --icon-debugger:url("img/icon-debugger.png");
}
.generated-icon{display:inline-block;width:1em;height:1em;flex-shrink:0;background-size:contain;background-position:center;background-repeat:no-repeat;vertical-align:middle}
.icon-phi{background-image:var(--icon-phi)}
.icon-star{background-image:var(--icon-star)}
.icon-heart{background-image:var(--icon-heart)}
.icon-debugger{background-image:var(--icon-debugger)}
.brand-mark.generated-icon{width:48px;height:53px;transform:none}
.little-star.generated-icon{width:23px;height:23px}
.null-emblem.generated-icon{width:240px;height:270px;transform:rotate(-9deg);filter:drop-shadow(5px 8px 0 #527bc726)}
.emblem-star.generated-icon{width:55px;height:55px}
.hero-note>.generated-icon{width:23px;height:23px}
.hello-sticker>.generated-icon{width:26px;height:26px;left:11px;top:15px}
.speech-sticker>.generated-icon{width:35px;height:35px;right:14px;bottom:20px}
.fan-icon.generated-icon{width:49px;height:49px}
.fan-heart.generated-icon{width:32px;height:32px;margin-left:auto}
.sheet-mark.generated-icon{width:35px;height:35px;transform:none}
.sheet-bottom>.generated-icon{width:25px;height:25px}
.talk-doodle>.generated-icon{width:48px;height:48px;padding:0;margin-left:9px}
.talk-avatar.generated-icon{width:44px;height:49px;background-color:transparent;border-radius:0;background-size:contain}
.console-heart.generated-icon{width:37px;height:37px}
.footer-word>.generated-icon{font-size:inherit;width:.54em;height:.54em;margin-left:.1em;vertical-align:10%;opacity:.75}
.empty::before{content:"";width:34px;height:34px;flex-shrink:0;background-image:var(--icon-star);background-size:contain;background-repeat:no-repeat;background-position:center}
.greeting-band{padding-block:17px}
.greeting-band>div{max-width:1184px;margin:auto;gap:34px;letter-spacing:.09em}
.greeting-band .ribbon-lead{font:700 19px/1.7 var(--sans);letter-spacing:.08em}
.greeting-band .ribbon-tail{font:700 15px/1.7 var(--sans);letter-spacing:.12em}
.greeting-band .generated-icon{width:31px;height:31px}
.code-poem{width:min(370px,100%);border-left:1px solid #6092ce66;padding:0 0 0 15px;margin-top:25px;color:#b4c9e7;font:400 10px/1.9 var(--mono)}
.code-file{display:flex;justify-content:space-between;border-bottom:1px solid #81aee022;padding-bottom:6px;margin-bottom:7px;color:#8cd3ff;font-size:9px;letter-spacing:.04em}
.code-file>span{color:#7d91b5;font-size:8px}
.code-poem code{font:inherit}
.line-no{color:#556b91;margin-right:14px;user-select:none}
.syntax-key{color:#c4b4ff}
.syntax-string{color:#9fdfdf}
.hero-copy{padding-bottom:20px}
.hero-note{margin-top:16px}
.hero-inner{padding-top:65px;padding-bottom:75px}
.hero-neural{position:absolute;inset:0;z-index:-1;pointer-events:none;background-image:url("img/neural-background.svg"),radial-gradient(ellipse at 76% 45%,#294d8338,transparent 68%);background-size:cover,auto;background-position:center;background-repeat:no-repeat}
.hero-neural::after{content:"";position:absolute;inset:0;background:radial-gradient(ellipse at 24% 43%,#10172e99,transparent 59%)}
.talk-section::before{content:"";position:absolute;width:210px;height:130px;right:-55px;top:60px;pointer-events:none;border:1px solid #6a9ac233;border-left:0;border-bottom:0;border-radius:0 35px 0 0;transform:rotate(180deg)}
@media(max-width:1050px){.code-poem{font-size:9px}.code-file>span{font-size:7px}.line-no{margin-right:9px}}
@media(max-width:780px){
  .brand-mark.generated-icon{width:42px;height:46px}
  .hero-inner{padding-top:24px}
  .hero-neural{background-size:auto 820px,auto;background-position:42% top,center}
  .hero-neural::after{background:linear-gradient(180deg,transparent 30%,#10172e22 62%,#10172e 92%)}
  .code-poem{order:7;margin-top:8px;width:100%;font-size:9px}
  .code-file>span{font-size:8px}
  .hero-bottom{order:8}
  .hero-note>.generated-icon{width:21px;height:21px}
  .greeting-band{padding:17px 20px}
  .greeting-band>div{flex-wrap:wrap;gap:6px 14px}
  .greeting-band .ribbon-lead{flex-basis:100%;text-align:center;font-size:14px;letter-spacing:.02em;white-space:normal}
  .greeting-band .ribbon-tail{font-size:11px;letter-spacing:.09em}
  .greeting-band .generated-icon{width:24px;height:24px}
  .talk-doodle>.generated-icon{width:37px;height:37px}
  .hero-copy{padding-bottom:0}
}
/* Little enamel buttons: matching NULL's heart and ice-blue star. */
.talk-hello{display:block;width:260px;max-width:85%;height:auto;margin:25px 0 7px;transform:rotate(-5deg)}
@media(max-width:780px){.talk-hello{width:210px;margin:21px 0 7px}}
.links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;max-width:430px;margin-top:28px}
.social-link{--social-accent:#ac416f;--social-edge:#eec9d9;--social-shadow:#e9cfde;--social-surface:#fff2f7;display:flex;align-items:center;gap:11px;position:relative;min-width:0;min-height:80px;padding:14px;border:1px solid var(--social-edge);border-radius:22px;background:linear-gradient(135deg,#fff 15%,var(--social-surface));color:var(--ink);text-decoration:none;box-shadow:0 4px 0 var(--social-shadow),inset 0 1px 0 #fff;transition:transform .18s,box-shadow .18s,border-color .18s}
.social-x{--social-accent:#2865c1;--social-edge:#bfdbef;--social-shadow:#c5ddf0;--social-surface:#eaf6ff}
.social-badge{position:relative;display:grid;place-items:center;width:43px;height:43px;flex-shrink:0;border:1px solid var(--social-edge);border-radius:15px;background:#fff;color:var(--social-accent);transform:rotate(-7deg)}
.social-x .social-badge{transform:rotate(6deg)}
.social-badge>svg{display:block;width:24px;height:24px}
.social-badge>.social-charm{position:absolute;width:19px;height:19px;right:-6px;top:-7px;transform:rotate(12deg)}
.social-copy{display:grid;gap:4px;min-width:0;line-height:1.25}
.social-copy strong{font:700 14px/1.25 var(--display);letter-spacing:.01em;white-space:nowrap}
.social-copy small{font:500 10px/1.5 var(--sans);color:#6e6980;white-space:nowrap}
.social-x .social-copy small{color:#536d88}
.social-arrow{display:grid;place-items:center;margin-left:auto;width:22px;height:22px;flex-shrink:0;border-radius:50%;background:#ffffffb3;color:var(--social-accent);font:600 16px/1 var(--display)}
.social-link:hover{transform:translateY(-3px);border-color:var(--social-accent);box-shadow:0 7px 0 var(--social-shadow),inset 0 1px 0 #fff}
.social-link:active{transform:translateY(2px);box-shadow:0 2px 0 var(--social-shadow)}
.footer-bottom{align-items:center;flex-wrap:wrap;gap:18px}
.footer-socials{display:flex;align-items:center;gap:12px}
.footer-socials .social-contact{--social-accent:#7251b5;--social-edge:#d5c9ed;--social-shadow:#d4c9eb;--social-surface:#f3efff}
.social-compact{min-height:46px;padding:7px 13px 7px 8px;border-radius:30px;gap:9px;box-shadow:0 3px 0 var(--social-shadow)}
.social-compact .social-badge{width:29px;height:29px;border-radius:50%}
.social-compact .social-badge>svg{width:17px;height:17px}
.social-compact .social-charm{width:14px;height:14px;right:-4px;top:-5px}
.social-compact .social-copy strong{font-size:11px}
.social-compact .social-arrow{width:18px;height:18px;font-size:13px}
@media(max-width:1050px) and (min-width:781px){.links{grid-template-columns:1fr;max-width:310px}}
@media(max-width:480px){
  .links{gap:11px;max-width:none}
  .social-link{padding:12px 9px;gap:8px;min-height:75px;border-radius:19px}
  .social-badge{width:33px;height:36px;border-radius:12px}
  .social-badge>svg{width:21px;height:21px}
  .social-badge>.social-charm{width:16px;height:16px;right:-4px}
  .social-copy strong{font-size:12px}.social-copy small{font-size:9px}
  .social-arrow{width:16px;height:18px;font-size:13px}
  .footer-socials{order:-1;flex-basis:100%;justify-content:center;gap:14px;margin-bottom:5px}
  .social-compact{min-height:46px;border-radius:30px;padding:7px 13px 7px 8px;gap:9px}
}
/* Keep the footer links in one row on phones; profile buttons stay full size. */
@media(max-width:780px){
  .footer-bottom .footer-socials{order:-1;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));flex-basis:100%;max-width:480px;margin:0 auto 5px;gap:8px}
  .footer-socials .social-compact{min-height:44px;padding:6px;gap:5px;justify-content:center}
  .footer-socials .social-badge{width:20px;height:20px}
  .footer-socials .social-badge>svg{width:13px;height:13px}
  .footer-socials .social-badge>.social-charm{width:10px;height:10px;right:-3px;top:-4px}
  .footer-socials .social-copy strong{font-size:11px;letter-spacing:0}
  .footer-socials .social-arrow{display:none}
}
@media(max-width:374px){
  .footer-socials .social-compact{padding-inline:4px;gap:4px}
  .footer-socials .social-badge{width:16px;height:16px}
  .footer-socials .social-badge>svg{width:11px;height:11px}
  .footer-socials .social-badge>.social-charm{width:8px;height:8px}
  .footer-socials .social-copy strong{font-size:10px}
}
@media(prefers-reduced-motion:reduce){.generated-icon{animation:none}.social-link{transition:none}.social-link:hover,.social-link:active{transform:none}}
