/* =========================================================
   PowerToys download site — stylesheet
   Organized: variables, reset, layout, components, responsive
   ========================================================= */

:root {
  --color-1: #0078D4;
  --color-2: #0078D4;
  --color-3: #fe0047;
  --color-4: #0078D4;
  --font-default: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  --font-primary: Poppins, sans-serif;
  --font-secondary: Poppins, sans-serif;
  --gradient-1: #0078D4, #2899F5, #50E6FF;
  /* Fluent-style corner system: tight & consistent instead of uniformly rounded */
  --r-tile: 4px;
  --r-sm: 6px;
  --r-md: 8px;
}

/* ---------- Reset ---------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
}

img {
  display: block;
  margin: 1em auto;
  max-width: 100%;
}

table {
  margin: auto;
  width: 100%;
  border-collapse: collapse;
}

th {
  font-weight: 700;
}

::selection {
  background-color: #059aae;
  color: #fff;
}

a {
  text-decoration: none;
  color: #fff;
}

.center {
  text-align: center;
}

/* ---------- Body / page shell ---------- */
body {
  margin: 0 auto;
  max-width: 1400px;
  padding: 1.2rem 1.2rem 2rem;
  background: radial-gradient(circle at top left, rgba(0, 120, 212, 0.18), transparent 32%), linear-gradient(135deg, #f4f8ff 0%, #eef4ff 48%, #f8fbff 100%);
  color: #0f172a;
  font-family: var(--font-primary), var(--font-default);
  font-size: 14.5px;
  overflow-wrap: break-word;
  line-height: 1.9;
}

/* ---------- Header / nav ---------- */
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  width: min(100%, 1380px);
  margin: 0 auto;
  padding: 0.25rem 1rem;
  min-height: 52px;
  font-family: var(--font-secondary);
  background: #fff;
  text-align: center;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  border-radius: var(--r-sm) var(--r-sm) 0 0;
  border-top: 3px solid #0078D4;
}

a.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.05rem;
  color: #0f172a;
  letter-spacing: 0.04em;
  font-variant-caps: all-small-caps;
  line-height: 1.1;
}

a.logo img {
  display: block;
  height: 44px;
  width: auto;
}

nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 0.5rem 0.9rem;
  font-size: 15px;
  font-weight: 300;
  letter-spacing: 1px;
  white-space: nowrap;
}

nav a {
  position: relative;
  line-height: 1.05;
  padding: 0.28rem 0.35rem;
  font-weight: 700;
  color: #0f172a;
}

nav a::after,
nav a::before {
  content: "";
  position: absolute;
  height: 1px;
  background: #ccc;
  width: 0;
  bottom: 0;
  transition: width .3s cubic-bezier(.23, 1, .32, 1);
}

nav a::before { right: 0; }
nav a::after { left: 0; }

nav a:hover::after,
nav a:hover::before {
  width: 50%;
}

/* ---------- Hero / showcase ---------- */
.showcase {
  position: relative;
  margin-top: 1rem;
  overflow: hidden;
  border-radius: var(--r-sm);
  background: linear-gradient(135deg, #0b5ea8 0%, #1d4ed8 45%, #38bdf8 100%);
  box-shadow: 0 22px 50px rgba(15, 23, 42, 0.2);
  color: #fff;
}

/* Signature: a quiet Windows-tile grid watermark in the hero, instead of a generic gradient blob */
.showcase::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(circle at 80% 30%, #000 0%, transparent 65%);
}

.show {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: center;
  padding: 3rem;
  min-height: 440px;
  background: linear-gradient(120deg, rgba(3, 11, 24, 0.88), rgba(10, 44, 88, 0.76));
  border-radius: inherit;
}

.hero-content {
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  width: max-content;
  padding: 0.45rem 0.8rem 0.45rem 0.6rem;
  border-radius: var(--r-tile);
  background: rgba(255, 255, 255, 0.1);
  border-left: 3px solid #50E6FF;
  color: #e0f2fe;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero-badge::before {
  content: "";
  flex-shrink: 0;
  width: 11px;
  height: 11px;
  background:
    linear-gradient(#F25022, #F25022) 0 0 / 5px 5px no-repeat,
    linear-gradient(#7FBA00, #7FBA00) 6px 0 / 5px 5px no-repeat,
    linear-gradient(#00A4EF, #00A4EF) 0 6px / 5px 5px no-repeat,
    linear-gradient(#FFB900, #FFB900) 6px 6px / 5px 5px no-repeat;
}

h1.title {
  margin: 0;
  text-align: left;
  font-size: clamp(2rem, 3.5vw, 3.2rem);
  line-height: 1.1;
  font-weight: 700;
  color: #fff;
}

.hero-lead {
  max-width: 560px;
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(241, 245, 249, 0.95);
  margin: 0;
}

.show .typewrite {
  margin: 0;
  text-align: left;
  padding: 0;
  background: none;
  color: #fff;
  text-shadow: 0 0 22px rgba(56, 189, 248, 0.4);
}

.show .typewrite .wrap {
  border-right-color: rgba(255, 255, 255, 0.5);
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.visual-card {
  width: 100%;
  max-width: 340px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  border-radius: var(--r-md);
  padding: 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.visual-top {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1rem;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.7);
}

.dot-row {
  display: flex;
  gap: 5px;
}

.dot-row span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
}

.visual-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

.grid-item {
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--r-tile);
  padding: 0.6rem 0.4rem;
  text-align: center;
  font-size: 0.8rem;
  color: #e0f2fe;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.show .btndiv { margin: 0.5rem 0 0; }
.show-img { width: 10em; margin: 2em auto; }
.show ul { margin: 1em 0; }
.show li { font-size: 16px; list-style-type: none; }
.show li::before { content: "-  "; }
.show p { line-height: 2; margin: 10px 0; color: inherit; text-align: center; }

/* ---------- Buttons ---------- */
.btndiv { margin: 3.5em 0; }
.btndiv a,
.btndiv a:hover { color: #fff; }

a.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #0078D4;
  border: none;
  border-radius: var(--r-tile);
  color: #fff;
  font-size: calc(0.3vw + 1.1em);
  padding: 14px 28px;
  font-weight: 600;
  user-select: none;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 14px rgba(0, 120, 212, 0.35);
}

a.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 120, 212, 0.45);
  color: #fff;
}

.show .btn.download {
  padding: 1rem 2rem;
  border-radius: var(--r-sm);
  font-weight: 700;
  font-size: 1.1rem;
  box-shadow: 0 4px 14px rgba(0, 120, 212, 0.4);
}

.show .btn.download:hover {
  transform: translateY(-3px);
  background: #005a9e;
  box-shadow: 0 8px 25px rgba(0, 120, 212, 0.5);
  color: #fff;
}

/* ---------- Content wrapper ---------- */
.cnt {
  background: #fff;
  border-radius: 0 0 var(--r-sm) var(--r-sm);
  padding: 2rem 2.5rem;
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.06);
}

.cnt p,
.cnt li {
  color: #1e293b;
}

.cnt a:not(.btn) {
  color: #0078D4;
}

.cnt a:not(.btn):hover {
  color: #005a9e;
}

.cnt p a,
li a {
  position: relative;
  font-weight: 700;
  border-bottom: 1px dashed #8d8d8d;
}

.cnt p a::before,
li a::before {
  content: "";
  position: absolute;
  height: 1px;
  background: var(--color-2);
  width: 0;
  bottom: 0;
  transition: width .3s cubic-bezier(.23, 1, .32, 1);
}

.cnt p a:hover::before,
li a:hover::before {
  width: 100%;
}

.cnt p a:hover,
li a:hover {
  opacity: 1;
  border-color: var(--color-2);
}

/* ---------- Typography ---------- */
p, li, blockquote {
  margin: 0.9rem 0 1.15rem;
  padding: 0;
  color: #181818;
  font-family: var(--font-secondary), var(--font-default);
  font-size: 15px;
  line-height: 1.95;
}

ul, ol {
  margin: 1em 0 1em 2.5em;
  padding-left: 1.2rem;
  list-style-type: "\279C   ";
}

li { margin: 6px 0; }

h1, h2, h3, h4, h5, h6,
.fh-1, .fh-3, .entry-title {
  font-family: var(--font-primary), var(--font-default);
  line-height: 1.3;
  letter-spacing: 0;
  user-select: none;
}

h1, .fh-1 {
  color: #0f172a;
  font-size: clamp(1.9rem, 2.4vw, 2.8rem);
  font-weight: 700;
  margin: 0 0 1rem;
}

h2:not(.typewrite):not(.text-glow) {
  font-size: clamp(1.45rem, 1.9vw, 1.9rem);
  line-height: 1.35;
  font-weight: 700;
  margin: 1.45rem 0 0.75rem;
  color: #0f172a;
  background: linear-gradient(135deg, #f8fbff, #eef6ff);
  border: 1px solid #dbeafe;
  border-left: 4px solid #0078D4;
  border-radius: 0 var(--r-tile) var(--r-tile) 0;
  padding: 0.75rem 0.95rem;
  box-shadow: 0 6px 14px rgba(15, 23, 42, 0.04);
  display: block;
}

h3 {
  font-size: clamp(1.12rem, 1.4vw, 1.38rem);
  line-height: 1.35;
  font-weight: 700;
  margin: 1.15rem 0 0.55rem;
  color: #0f172a;
}

.fh-3 {
  font-size: clamp(1.1rem, 1.35vw, 1.35rem);
  line-height: 1.4;
  font-weight: 700;
  color: #0f4c81;
  margin: 1.15rem 0 0.55rem;
}

.entry-title {
  padding-top: 1em;
  text-align: center;
  font-size: calc(0.7vw + 20px);
  overflow-wrap: break-word;
  color: #222;
  font-weight: 700;
  line-height: 1.5em;
  background: #fff;
}

.fh-sm {
  font-weight: 700;
  margin: 1em auto;
  font-size: calc(0.3vw + 1em);
}

hr {
  margin: 1em auto;
  width: 30%;
  height: 2px;
  border: none;
  background: linear-gradient(90deg, #f85d7f, #0078D4 36%, #2899F5 68%, #a0fbcd);
}

.text-glow {
  display: block;
  background: linear-gradient(30deg, var(--gradient-1));
  color: #fff;
  font-weight: 700;
  margin: auto;
  padding: .5em 1em;
  border-radius: 5px;
  font-size: calc(0.7vw + 2em);
  background-clip: text;
  -webkit-text-fill-color: #0078D4;
  -webkit-background-clip: text;
  font-variant-caps: titling-caps;
  text-shadow: var(--color-1) 0 5px 20px;
}

.typewrite { margin: 0; }
.typewrite .wrap { border-right: .1em solid #ffffff31; }

/* ---------- Table of contents ---------- */
.toc {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-left: 3px solid #0078D4;
  border-radius: var(--r-tile);
  padding: 1.5rem;
  margin: 1.5rem auto;
  max-width: 600px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  text-align: center;
}

.toc h2 {
  margin-top: 0;
  font-size: 1.3rem;
  text-align: center;
  color: #0f172a;
}

.toc ul {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0 0;
}

.toc li {
  margin: 0.6rem 0;
  text-align: center;
  list-style-type: none;
}

.toc a {
  color: #0078D4;
  font-weight: 600;
  font-size: 1.05rem;
}

.toc a:hover { color: #005a9e; }

/* ---------- Feature boxes ---------- */
.boxdiv {
  margin: 4em 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  column-gap: 1em;
  row-gap: 4em;
}

.box {
  border-bottom: 2px solid #0078D4;
  text-align: left;
  padding: 1em;
  transition: .2s ease-in-out;
}

.box p { margin: 0; }

.box:hover {
  border-color: var(--color-1);
  transform: translateY(-3px);
}

.box:hover .box-icon {
  border-color: #0078D4;
}

.boxtxt {
  display: block !important;
  background: linear-gradient(60deg, var(--gradient-1));
  color: #ccc;
  font-weight: 500;
  margin: 0 0 0.75rem !important;
  padding: 10px 0;
  border-radius: 5px;
  font-size: 20px;
  text-align: center;
  letter-spacing: 2px;
  text-transform: uppercase;
  background-clip: text;
  -webkit-text-fill-color: #0078D4;
  -webkit-background-clip: text;
}

.box-icon svg {
  width: 80px;
  height: 80px;
  fill: #000;
  transition: .2s cubic-bezier(.68, -.55, .265, 1.55);
}

.box-icon {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 86px;
  height: 86px;
  margin: 0 auto 0.85rem !important;
  background: linear-gradient(150deg, #eaf3ff, #dceefe);
  border: 1px solid #cfe4fb;
  border-radius: var(--r-sm);
}

.box-icon img {
  margin: 0 !important;
  width: 56px !important;
  height: 56px !important;
}

/* ---------- Requirements ---------- */
.req-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 1.2rem 0 0.3rem;
  color: #0f172a;
}

.req-list { margin: 0.3rem 0 0.8rem 1.5rem; }
.req-list li { margin: 0.2rem 0; }

/* ---------- Screenshots ---------- */
.ss {
  display: flex;
  justify-content: flex-start;
  flex-direction: row;
  gap: 1.25rem;
  padding: 1em 0.25em;
  user-select: none;
  scroll-snap-type: x proximity;
  overflow-x: auto;
  scrollbar-width: thin;
}

.ss img {
  cursor: zoom-in;
  scroll-snap-align: start;
  flex: 0 0 auto;
  width: min(480px, 82vw);
  height: auto;
  aspect-ratio: 1920 / 1040;
  object-fit: cover;
  border-radius: var(--r-sm, 10px);
  border: 1px solid #e2e8f0;
  box-shadow: 0 2px 10px rgba(0,0,0,.08);
  image-rendering: -webkit-optimize-contrast;
  transition: transform .18s ease, box-shadow .18s ease;
}

.ss img:hover {
  transform: translateY(-3px) scale(1.015);
  box-shadow: 0 8px 22px rgba(0,0,0,.14);
}

/* Lightbox */
.ss-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(15, 15, 20, 0.92);
  align-items: center;
  justify-content: center;
  padding: 2rem;
  cursor: zoom-out;
}

.ss-lightbox.open { display: flex; }

.ss-lightbox img {
  max-width: min(1400px, 96vw);
  max-height: 92vh;
  width: auto;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0,0,0,.5);
}

.ss-lightbox .ss-close {
  position: absolute;
  top: 1.2rem;
  right: 1.6rem;
  color: #fff;
  font-size: 2rem;
  line-height: 1;
  background: none;
  border: none;
  cursor: pointer;
  opacity: .85;
}
.ss-lightbox .ss-close:hover { opacity: 1; }

@media (max-width: 640px) {
  .ss img { width: 78vw; }
}

/* ---------- YouTube box ---------- */
.ytbox {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-top: 3px solid #FF0000;
  border-radius: var(--r-sm);
  padding: 1.5rem;
  margin: 1.5rem 0;
  text-align: center;
}

.ytbox .btn {
  background: #FF0000;
  border: none;
  border-radius: var(--r-tile);
  color: #fff;
  font-size: calc(0.3vw + 1.1em);
  padding: 14px 28px;
  font-weight: 600;
  user-select: none;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 14px rgba(255, 0, 0, 0.35);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.ytbox .btn:hover {
  transform: translateY(-2px);
  background: #d90000;
  box-shadow: 0 8px 25px rgba(255, 0, 0, 0.45);
  color: #fff;
}

/* ---------- FAQ (accordion) ---------- */
.faq-list {
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.faq-item {
  border: 1px solid #e2e8f0;
  border-radius: var(--r-tile);
  background: #f8fafc;
  overflow: hidden;
}

.faq-item + .faq-item {
  margin: 0;
}

.faq {
  cursor: pointer;
  list-style: none;
  font-weight: 700;
  font-size: 1.05rem;
  color: #0f172a;
  background: #f1f5f9;
  padding: 0.85rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  transition: background-color .2s;
}

.faq::-webkit-details-marker {
  display: none;
}

.faq:hover {
  background: #e8f1fb;
}

.faq::before {
  content: "\279C";
  color: #0078D4;
  display: inline-block;
  transition: transform .25s ease;
  flex-shrink: 0;
}

.faq-item[open] > .faq::before {
  transform: rotate(90deg);
}

.faq-item[open] > .faq {
  border-bottom: 1px solid #e2e8f0;
}

.ans {
  margin: 0;
  padding: 1rem 1.2rem;
  background: #f8fafc;
  font-size: 0.95rem;
  line-height: 1.7;
  color: #181818;
  animation: faq-reveal .2s ease;
}

.ans .issue-desc {
  margin: 0 0 0.85rem;
}

.fix-block {
  padding: 0.85rem 1rem;
  background: #f0fdf4;
  border-left: 4px solid #16a34a;
  border-radius: 0 var(--r-tile) var(--r-tile) 0;
}

.fix-block p {
  margin: 0.3rem 0 0;
}

.fix-label {
  display: inline-block;
  font-weight: 700;
  color: #16a34a;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
}

@keyframes faq-reveal {
  from { opacity: 0; }
  to { opacity: 1; }
}

#faq { text-align: center; }

/* ---------- Info card (light theme, matches accordion) ---------- */
.info-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-left: 3px solid #0078D4;
  border-radius: var(--r-tile);
  padding: 1.2rem 1.5rem;
}

.info-card h3 {
  margin-top: 0;
}

.info-card p,
.info-card li {
  color: #1e293b;
}

/* ---------- Info callout ---------- */
.bg-info {
  background: #013b42;
  color: #fff;
  padding: 1.2rem 1.5rem;
  border-radius: var(--r-tile);
}

.cnt .bg-info,
.cnt .bg-info p,
.cnt .bg-info li,
.cnt .bg-info h3,
.cnt .bg-info h2 {
  color: #fff;
}

.bg-info p { line-height: 1.8; }

.bg-info a {
  color: #38bdf8;
  text-decoration: underline;
  font-weight: 600;
}

.bg-info a:hover { color: #7dd3fc; }

/* ---------- Version / spec table ---------- */
.pt1-table-wrapper {
  overflow-x: auto;
  margin: 1.5rem auto;
  max-width: 700px;
}

.pt1-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 0.95rem;
  border-radius: var(--r-tile);
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.pt1-table th,
.pt1-table td {
  padding: 0.75rem 1rem;
  border: none;
  border-bottom: 1px solid #e2e8f0;
  text-align: left;
}

.pt1-table th {
  background: #0078D4;
  color: #fff;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
}

.pt1-table tr:nth-child(even) { background: #f8fafc; }
.pt1-table tr:hover { background: #f1f5f9; }

/* ---------- Contact form ---------- */
.contact-form {
  margin: auto;
  max-width: 500px;
  padding: 20px;
}

.contact-form form label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
  color: #181818;
}

.contact-form form input[type="text"],
.contact-form form input[type="email"],
.contact-form form textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 20px;
  border: 2px solid #ccc;
  border-radius: var(--r-tile);
  box-sizing: border-box;
  font-family: inherit;
}

.contact-form form button[type="submit"] {
  background-color: #0078D4;
  color: #fff;
  padding: 12px 26px;
  border: none;
  border-radius: var(--r-tile);
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  box-shadow: 0 4px 14px rgba(0, 120, 212, 0.35);
  transition: transform 0.2s, box-shadow 0.2s, background-color 0.2s;
}

.contact-form form button[type="submit"]:hover {
  background-color: #005a9e;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 120, 212, 0.45);
}

/* ---------- Social share ---------- */
.share {
  background: #fff;
  border-radius: 0 0 var(--r-sm) var(--r-sm);
  padding: 1.2rem 1.5rem;
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.share a {
  flex: 0 1 auto;
  min-width: 44px;
  padding: 0.6rem 0.8rem;
  border-radius: var(--r-tile);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: opacity .3s;
}

.share a svg {
  width: 1.3em;
  height: 1.3em;
  fill: #fff;
}

.share a:hover { opacity: .85; }

.whatsapp { background-color: #25d366; }
.facebook { background-color: #3b5998; }
.twitter { background-color: #55acee; }
.telegram { background-color: #08c; }
.email { background-color: #5a5a5a; }

/* ---------- Download picker tool ---------- */
.picker-card {
  background: #fff;
  border: 1px solid #dbeafe;
  border-top: 3px solid #0078D4;
  border-radius: var(--r-sm);
  padding: 1.5rem 1.75rem;
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.06);
}

.picker-card h3 {
  margin-top: 0;
  color: #0f172a;
}

.picker-card > p {
  color: #1e293b;
}

.picker-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  margin-top: 1rem;
}

.picker-group {
  flex: 1 1 220px;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.picker-label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #0078D4;
}

.picker-opt {
  display: block;
  width: 100%;
  text-align: left;
  padding: 0.7rem 0.9rem;
  margin-bottom: 0.5rem;
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  color: #0f172a;
  background: #f8fafc;
  border: 1px solid #dbeafe;
  border-left: 3px solid transparent;
  border-radius: var(--r-tile);
  cursor: pointer;
  transition: background-color .2s, border-color .2s, color .2s;
}

.picker-opt:last-child { margin-bottom: 0; }

.picker-opt span {
  font-weight: 400;
  color: #64748b;
}

.picker-opt:hover {
  background: #eaf3ff;
  border-color: #bfdbfe;
}

.picker-opt.active {
  background: #0078D4;
  border-color: #0078D4;
  border-left-color: #002d52;
  color: #fff;
}

.picker-opt.active span {
  color: rgba(255, 255, 255, 0.85);
}

#picker-detect-note {
  color: #64748b !important;
}

.picker-result {
  margin-top: 1.2rem;
  padding-top: 1.2rem;
  border-top: 1px solid #e2e8f0;
}

.picker-hash-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: #475569;
}

.picker-hash-row code {
  font-family: "Courier New", monospace;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  padding: 0.25rem 0.5rem;
  border-radius: var(--r-tile);
  word-break: break-all;
  color: #0f172a;
}

.picker-copy {
  border: 1px solid #0078D4;
  background: #eaf3ff;
  color: #0078D4;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.3rem 0.7rem;
  border-radius: var(--r-tile);
  cursor: pointer;
  transition: background-color .2s;
}

.picker-copy:hover { background: #dbeafe; }

/* ---------- Footer ---------- */
footer {
  margin-top: 1.5rem;
  border-radius: var(--r-sm);
  padding: 1.5rem 2rem;
  background: #0078D4;
  color: #fff;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  line-height: 2.2;
  text-align: center;
}

footer a,
footer a:hover { color: #fff; }

footer a:hover { text-decoration: underline; }

footer div span {
  color: rgba(255, 255, 255, 0.5);
  margin: 0 0.3rem;
}

.links a { padding: 0 10px; display: inline-block; }
.links a:hover { opacity: .7; }

/* ---------- Responsive ---------- */
@media (max-width: 720px) {
  header {
    flex-wrap: wrap;
    justify-content: center;
    padding: 0.4rem 0.8rem;
    min-height: auto;
  }

  nav {
    width: 100%;
    justify-content: center;
    gap: 0.4rem 0.7rem;
  }

  nav a {
    font-size: 0.92rem;
    padding: 0.25rem 0.3rem;
  }

  .show {
    grid-template-columns: 1fr;
    padding: 2rem 1.2rem;
    min-height: auto;
  }

  .hero-content {
    text-align: center;
    align-items: center;
  }

  .hero-badge { margin: 0 auto; }
  h1.title { text-align: center; }
  .hero-lead { text-align: center; }
  .show .typewrite { text-align: center; }
  .hero-visual { display: none; }

  .cnt { padding: 1.2rem 1rem; }

  .boxdiv { grid-template-columns: 1fr; }
}

@media screen and (max-width: 700px) {
  body, img { max-width: 100%; margin: auto; }
}
