designpaca/apps/site/public/work/pulsegate/styles/main.css
Yun Chan 8e3cdb0d3b
Some checks are pending
ci / build (push) Waiting to run
feat(site): rework 19 marketing showcases for composition diversity
Measured convergence before: split hero 13/19, top-bar nav 19/19,
one-line notice footer 14/19, body Pretendard 17/21, 10 similarity
pairs above 0.78. Each showcase got a pre-assigned hero family, nav
form, footer form, type pair, background, accent hue, radius, motion
grammar and material from outputs/rework-2026-10-06/plan.md; direction
cards and the chosen reason are recorded in every design.md.

After: 0 similarity warnings, 19 distinct display faces, 7 hero
families, 5 nav forms, 5 footer forms, no scroll reveals, 5 showcases
with SVG filter materials. Example contact values replace bracket
placeholders under the existing fictional-brand notices. Thumbnails,
OG images, card copy and three e2e assertions updated; dead CSS in
dure-enrollment and hannam-jari removed; similarity.mjs learns the new
font families.
2026-10-06 16:55:50 +09:00

513 lines
10 KiB
CSS

@import url("./tokens.css?v=20261002");
/* ==========================================================================
Pulsegate — 신호 노랑 위의 출발 안내판.
구도: 표제가 왼쪽을 크게 차지하고, 바로 아래 안내판(표)이 화면 폭 전체를 쓴다.
안내판이 이 페이지의 이미지다 — 사진도 차트 패널도 두지 않는다.
========================================================================== */
*,
*::before,
*::after {
box-sizing: border-box;
}
* {
margin: 0;
}
html {
-webkit-text-size-adjust: 100%;
scroll-behavior: smooth;
background: var(--surface);
color-scheme: light;
}
@media (prefers-reduced-motion: reduce) {
html {
scroll-behavior: auto;
}
}
body {
word-break: keep-all;
overflow-wrap: break-word;
font-synthesis: none;
background: var(--surface);
color: var(--ink);
font-family: var(--font-body);
font-size: var(--step-0);
line-height: var(--leading-normal);
font-variant-numeric: tabular-nums;
}
:where(h1, h2, h3) {
font-family: var(--font-display);
font-weight: 400;
line-height: var(--leading-tight);
letter-spacing: 0;
text-wrap: balance;
}
h2 {
font-size: var(--step-2);
}
h3 {
font-size: var(--step-1);
}
:where(p, th, td, li) {
text-wrap: pretty;
}
a {
color: inherit;
}
code {
font-family: var(--font-body);
font-weight: 800;
}
:focus-visible {
outline: 3px solid var(--ink);
outline-offset: 3px;
}
.skip {
position: absolute;
left: -9999px;
top: 0;
background: var(--ink);
color: var(--surface);
padding: var(--space-3) var(--space-4);
z-index: 100;
}
.skip:focus {
left: var(--space-3);
top: var(--space-3);
}
.sr-only {
position: absolute;
width: 1px;
height: 1px;
padding: 0;
overflow: hidden;
clip: rect(0, 0, 0, 0);
white-space: nowrap;
border: 0;
}
.wrap {
width: min(100% - 2 * var(--pad-inline), var(--container));
margin-inline: auto;
}
/* ── 머리 ── */
.site-head {
border-bottom: 3px solid var(--ink);
}
.head-inner {
display: flex;
align-items: center;
justify-content: space-between;
gap: var(--space-3);
min-height: 4.25rem;
flex-wrap: wrap;
}
.wordmark {
display: inline-flex;
align-items: center;
gap: 0.5rem;
font-family: var(--font-display);
font-size: 1.75rem;
line-height: 1;
text-decoration: none;
white-space: nowrap;
}
.wordmark-flap {
display: inline-grid;
place-items: center;
width: 1.6rem;
height: 1.9rem;
border-radius: var(--radius);
background: var(--flap);
color: var(--flap-ink);
font-size: 1.25rem;
}
/* 내비 없음 — 섹션 넷에 행동 하나뿐이라 상단 바에는 브랜드와 그 행동만 둔다. */
.btn-head {
min-height: 44px;
padding-inline: 1rem;
font-size: 1.125rem;
}
.scope-note {
border-bottom: 1px solid var(--ink);
font-size: var(--step--1);
color: var(--ink-muted);
}
.scope-note p {
padding-block: 0.55rem;
}
/* ── 히어로 ── */
.hero {
padding-block: var(--space-6) var(--space-5);
}
.hero-grid {
display: grid;
grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
gap: var(--space-5);
align-items: end;
}
.hero h1 {
font-size: var(--step-3);
}
.hero-side {
display: grid;
gap: var(--space-4);
padding-bottom: 0.5rem;
}
.lead {
font-size: var(--step-0);
color: var(--ink-muted);
}
.lead code {
color: var(--ink);
}
.btn {
display: inline-flex;
align-items: center;
min-height: 52px;
padding: 0 1.4rem;
border-radius: var(--radius);
background: var(--ink);
color: var(--surface);
font-family: var(--font-display);
font-size: 1.25rem;
text-decoration: none;
white-space: nowrap;
}
.btn:hover {
background: var(--accent);
color: var(--flap-ink-alt);
}
/* ── 안내판 ── */
.board {
padding-bottom: var(--space-8);
}
.board-head {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
gap: var(--space-2) var(--space-4);
padding-block: var(--space-3);
border-top: 3px solid var(--ink);
font-weight: 700;
}
.board-head h2 {
font-size: var(--step-1);
}
.board-head p {
color: var(--ink-muted);
font-size: var(--step--1);
align-self: center;
}
.table-wrap {
position: relative; /* 셀 안 sr-only(absolute)가 스크롤 상자 밖으로 새어 문서를 넓히지 않게 */
overflow-x: auto;
}
.board-table {
width: 100%;
min-width: 760px;
border-collapse: separate;
border-spacing: 0 6px;
}
.board-table thead th {
text-align: left;
font-size: var(--step--1);
font-weight: 800;
padding: var(--space-2) var(--space-2) 0;
color: var(--ink-muted);
}
.board-table th[scope="row"],
.board-table td {
padding: 0 var(--space-2);
vertical-align: middle;
text-align: left;
}
.board-table .num {
text-align: right;
}
.board-table thead .num {
text-align: right;
}
.board-table .city {
font-weight: 700;
font-size: 1.125rem;
}
.board-table .row-more td {
padding-top: var(--space-2);
color: var(--ink-muted);
font-size: var(--step--1);
}
/* 플랩 낱장 — 글자 하나가 칸 하나. 가운데 이음매가 안내판의 물성이다. */
.flaps {
display: inline-flex;
gap: 3px;
}
.flap {
position: relative;
display: inline-grid;
place-items: center;
width: 1.65rem;
height: 2.35rem;
border-radius: var(--radius);
background: var(--flap);
color: var(--flap-ink);
font-family: var(--font-display);
font-size: 1.5rem;
line-height: 1;
}
.flap::after {
content: "";
position: absolute;
left: 0;
right: 0;
top: 50%;
height: 1px;
background: var(--flap-seam);
}
.flap.is-space {
background: transparent;
}
.flap.is-space::after {
display: none;
}
.flaps-alt .flap {
color: var(--flap-ink-alt);
}
.flap.is-flipping {
animation: flap-turn 90ms steps(2) infinite;
}
@keyframes flap-turn {
50% {
transform: scaleY(0.82);
}
}
@media (prefers-reduced-motion: reduce) {
.flap.is-flipping {
animation: none;
}
}
.verdict {
font-family: var(--font-display);
font-size: 1.375rem;
}
.verdict-warn {
color: var(--accent);
}
/* ── 배선 ── */
.section {
padding-block: var(--space-8);
border-top: 3px solid var(--ink);
}
.section-head {
display: grid;
grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
gap: var(--space-5);
align-items: end;
margin-bottom: var(--space-6);
}
.section-head p {
color: var(--ink-muted);
}
.wiring-diagram svg {
width: 100%;
height: auto;
display: block;
}
.trace {
fill: none;
stroke: var(--ink);
stroke-width: 3;
}
.station rect {
fill: var(--flap);
}
.station .box {
fill: none;
stroke: var(--ink);
stroke-width: 3;
}
.station text,
.flow-label text {
fill: var(--ink);
font-family: var(--font-body);
font-size: 15px;
font-weight: 700;
}
.flow-label text {
font-weight: 400;
}
.wiring-notes {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
margin-top: var(--space-6);
}
.wiring-note {
padding: var(--space-4) var(--space-4) 0 0;
border-top: 1px solid var(--ink);
}
.wiring-note + .wiring-note {
padding-left: var(--space-4);
border-left: 1px solid var(--ink);
}
.wiring-note h3 {
margin-bottom: var(--space-3);
}
.wiring-note p {
color: var(--ink-muted);
}
/* ── 요금 ── */
.price-table {
width: 100%;
border-collapse: collapse;
}
.price-table th,
.price-table td {
text-align: left;
padding: var(--space-4) var(--space-3) var(--space-4) 0;
border-bottom: 1px solid var(--ink);
vertical-align: baseline;
}
.price-table thead th {
padding-block: 0 var(--space-2);
font-size: var(--step--1);
font-weight: 800;
color: var(--ink-muted);
border-bottom: 3px solid var(--ink);
}
.price-table tbody th {
font-family: var(--font-display);
font-weight: 400;
font-size: var(--step-2);
width: 22%;
}
.price-table .price {
font-family: var(--font-display);
font-size: var(--step-1);
white-space: nowrap;
}
.price-table .price small {
font-family: var(--font-body);
font-size: var(--step--1);
color: var(--ink-muted);
}
/* 푸터 — 다음 행동 하나가 푸터의 대부분을 차지한다. 색인·링크 묶음을 두지 않는다. */
.site-foot {
background: var(--ink);
color: var(--surface);
padding-block: var(--space-4) var(--space-5);
font-size: var(--step--1);
}
.foot-inner {
display: grid;
gap: var(--space-4);
}
.foot-cta {
display: grid;
grid-template-columns: minmax(0, 1fr) auto;
align-items: end;
gap: var(--space-3) var(--space-5);
min-height: clamp(9rem, 24vw, 15rem);
padding: var(--space-4) var(--space-5);
border-radius: var(--radius);
background: var(--flap-ink);
color: var(--flap);
text-decoration: none;
}
.foot-cta:hover {
background: var(--accent);
color: var(--flap-ink-alt);
}
.foot-cta:focus-visible {
/* 검은 푸터 위에서는 잉크색 포커스 링이 사라지므로 노랑으로 바꾼다. */
outline-color: var(--surface);
outline-offset: 4px;
}
.foot-cta-label {
font-family: var(--font-display);
font-size: var(--step-3);
line-height: var(--leading-tight);
}
.foot-cta-sub {
max-width: 22rem;
font-size: var(--step-0);
font-weight: 700;
line-height: 1.5;
padding-bottom: 0.35rem;
}
.foot-meta {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
gap: var(--space-3);
}
.foot-brand {
font-family: var(--font-display);
font-size: var(--step-1);
}
/* ── 반응형 ── */
@media (max-width: 900px) {
.hero-grid,
.section-head {
grid-template-columns: minmax(0, 1fr);
gap: var(--space-4);
}
.wiring-notes {
grid-template-columns: minmax(0, 1fr);
}
.wiring-note + .wiring-note {
padding-left: 0;
border-left: 0;
}
.wiring-note {
padding-bottom: var(--space-4);
}
}
@media (max-width: 600px) {
.hero {
padding-top: var(--space-5);
}
.head-inner {
min-height: 3.75rem;
}
.foot-cta {
grid-template-columns: minmax(0, 1fr);
align-items: start;
padding: var(--space-4);
}
.foot-cta-sub {
padding-bottom: 0;
}
.flap {
width: 1.35rem;
height: 1.95rem;
font-size: 1.25rem;
}
/* 좁은 화면은 DNS·TLS 열을 접는다. 판정에 쓰는 값은 p99 하나다. */
.board-table {
min-width: 0;
}
.board-table tr > :nth-child(3),
.board-table tr > :nth-child(4) {
display: none;
}
.board-table .row-more td {
display: table-cell;
}
.price-table tbody th {
width: auto;
}
}