/* Shared styles for /logo-ideas/ landing pages, matching the Zenn homepage. */
:root {
  --bg: #F5F5F3; --surface: #FFFFFF; --ink: #111111; --muted: #6B6B6B; --line: #E2E2DE; --sun: #FFB000; --zo: #FFAF00;
  --f-ui: "ZennRoundedRegular", "Helvetica Neue", Arial, sans-serif;
  --f-light: "ZennRoundedLight", "ZennRoundedRegular", "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 80px; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--f-ui); font-size: 16px; line-height: 1.5; }
a { color: inherit; }
img { max-width: 100%; display: block; }

.top { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px max(16px, 4vw); background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(10px); }
.top .zlogo { height: 22px; width: auto; display: block; }
.top nav { display: flex; align-items: center; gap: 20px; font-size: 14px; }
.top nav a { text-decoration: none; }
.top nav a:not(.pill):hover { text-decoration: underline; }
.pill { background: var(--ink); color: #fff; border-radius: 999px; padding: 8px 16px; }
@media (max-width: 760px) { .top nav a:not(.pill) { display: none; } }

main { max-width: 1120px; margin: 0 auto; padding: 0 16px 80px; }
section { padding: 56px 0 0; }
h1 { font-family: var(--f-light); font-weight: 400; font-size: clamp(40px, 7vw, 76px); line-height: 1.02; letter-spacing: -0.02em; margin: 8px 0 18px; }
h2 { font-family: var(--f-light); font-weight: 400; font-size: clamp(28px, 4vw, 42px); line-height: 1.1; letter-spacing: -0.01em; margin: 0 0 18px; }
h3 { font-weight: 400; font-size: 19px; margin: 0 0 6px; }
.crumbs { color: var(--muted); font-size: 13px; margin: 0; }
.crumbs a { text-decoration: none; }
.lede { font-size: clamp(17px, 2vw, 20px); color: #333; max-width: 60ch; margin: 0 0 26px; }

.try label { display: block; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.try .row { display: flex; gap: 8px; max-width: 560px; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 6px; }
.try input { flex: 1; min-width: 0; border: 0; background: transparent; font: inherit; font-size: 17px; padding: 8px 14px; outline: none; color: var(--ink); }
.btn { display: inline-block; border: 1px solid var(--line); background: var(--surface); color: var(--ink); border-radius: 999px; padding: 11px 20px;
  font: inherit; font-size: 15px; cursor: pointer; text-decoration: none; white-space: nowrap; }
.btn.dark { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn { transition: background .2s, border-color .2s, color .2s; }

.reel .sub { color: var(--muted); margin: -8px 0 18px; }
.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
@media (max-width: 600px) { .grid { grid-template-columns: 1fr; } }
.zl { all: unset; cursor: pointer; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; background: var(--surface); outline: 1px solid var(--line);
  transition: transform .15s ease, box-shadow .15s ease; }
.zl img { width: 100%; height: 100%; object-fit: cover; }
.zl:hover, .zl:focus-visible { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,.12); }
.zl:focus-visible { outline: 2px solid var(--ink); }
.zl.pending { background: linear-gradient(90deg, #ececea 25%, #f6f6f4 50%, #ececea 75%); background-size: 200% 100%; animation: shimmer 1.2s infinite linear; }
@keyframes shimmer { to { background-position: -200% 0; } }
@media (prefers-reduced-motion: reduce) { .zl.pending { animation: none; } .zl { transition: none; } }
.more { text-align: center; margin-top: 18px; }

.tips ol { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; counter-reset: t; }
.tips li { background: var(--surface); border-radius: 16px; padding: 20px; counter-increment: t; }
.tips li::before { content: counter(t, decimal-leading-zero); display: block; color: var(--muted); font-size: 13px; margin-bottom: 10px; }
.tips p { margin: 0; color: #333; }

.get-head { text-align: center; max-width: 640px; margin: 0 auto 36px; }
.get-head p { color: #333; margin: 0; }
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: start; }
.tier { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 28px 24px 24px; }
.tier h3 { font-size: 21px; margin: 0; }
.tier .desc { color: var(--muted); font-size: 14px; margin: 4px 0 22px; min-height: 2.6em; }
.tier .amt { margin: 0; display: flex; align-items: baseline; gap: 6px; }
.tier .amt b { font-family: var(--f-light); font-weight: 400; font-size: 52px; line-height: 1; letter-spacing: -0.02em; }
.tier .amt span { color: var(--muted); font-size: 15px; }
.tier .bill { color: var(--muted); font-size: 13px; margin: 8px 0 22px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; min-height: 26px; }
.tier .save { background: var(--sun); color: #111; border-radius: 999px; padding: 4px 10px; font-size: 12px; }
.tier .save s { opacity: .75; }
.btn.sel { display: block; text-align: center; padding: 13px 20px; }
.tier ul { list-style: none; padding: 22px 0 0; margin: 22px 0 0; border-top: 1px solid var(--line); display: grid; gap: 12px; }
.tier li { display: flex; gap: 10px; font-size: 15px; line-height: 1.4; }
.tier li svg { flex: none; width: 18px; height: 18px; margin-top: 1px; fill: none; stroke: var(--ink); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.tier.pop { border: 2px solid var(--ink); margin-top: -36px; padding-top: 62px; box-shadow: 0 18px 40px rgba(0,0,0,.08); }
.tier.pop .flag { position: absolute; top: 0; left: 0; right: 0; margin: 0; background: var(--ink); color: #fff; text-align: center; font-size: 14px; padding: 9px; border-radius: 17px 17px 0 0; }
.tier.pop li svg { stroke: #fff; background: var(--sun); stroke: var(--ink); border-radius: 50%; padding: 2px; }
.get .fine { text-align: center; color: var(--muted); font-size: 13px; margin: 24px 0 0; }
@media (max-width: 860px) {
  .tiers { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .tier.pop { order: -1; margin-top: 0; }
  .tier .desc { min-height: 0; }
}

.faq details { background: var(--surface); border-radius: 14px; margin-bottom: 8px; }
.faq summary { list-style: none; cursor: pointer; font-size: 17px; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; }
.faq summary::-webkit-details-marker { display: none; }
.faq .chev { width: 20px; height: 20px; flex: none; fill: none; stroke: var(--muted); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .45s cubic-bezier(.25,.1,.25,1); }
.faq details[open]:not(.shut) .chev { transform: rotate(180deg); }
.faq .ans { overflow: hidden; }
.faq .ans-in { display: flow-root; }
.faq details p { margin: 0; padding: 0 20px 18px; color: #333; }
@media (prefers-reduced-motion: reduce) { .faq .chev { transition: none; } }

.related .links { display: flex; flex-wrap: wrap; gap: 8px; }
.related a { text-decoration: none; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 9px 16px; font-size: 14px; }
.related a { transition: background .2s, border-color .2s; }

footer { max-width: 1120px; margin: 0 auto; padding: 24px 16px 40px; display: flex; flex-wrap: wrap; gap: 18px; color: var(--muted); font-size: 13px; border-top: 1px solid var(--line); }
footer a { text-decoration: none; }

/* Site-wide: every button turns Zenn yellow on hover */
@media (hover: hover) {
  .btn:not(:disabled):hover, .pill:hover, .pillbtn:hover, .ipill:hover, .names button:hover, .related a:hover {
    background: var(--zo, #FFAF00) !important; border-color: var(--zo, #FFAF00) !important; color: #111 !important; }
  .linkbtn:hover, .lnkb:hover, .totop:hover, .klist button:hover {
    background: var(--zo, #FFAF00); color: #111 !important; border-radius: 6px; box-shadow: 0 0 0 4px var(--zo, #FFAF00); text-decoration: none; }
}
