Files
micarrsim/packages/ui/app-shell.css
T
2026-08-28 18:33:20 +09:00

614 lines
11 KiB
CSS

:root {
color-scheme: dark;
font-family:
Inter, Pretendard, "Noto Sans KR", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
sans-serif;
font-synthesis: none;
--bg: #08110f;
--surface: #101c19;
--surface-raised: #172723;
--line: #29423b;
--text: #eef8f4;
--muted: #91aaa2;
--mint: #65f2bf;
--cyan: #58c7e8;
--amber: #ffc56e;
--danger: #ff7b73;
--shadow: 0 24px 80px rgb(0 0 0 / 28%);
}
* {
box-sizing: border-box;
}
body {
min-width: 320px;
min-height: 100vh;
margin: 0;
color: var(--text);
background:
radial-gradient(circle at 12% 0%, rgb(50 132 105 / 18%), transparent 34rem),
radial-gradient(circle at 100% 100%, rgb(37 111 139 / 14%), transparent 38rem), var(--bg);
}
button,
input,
select,
textarea {
font: inherit;
}
a {
color: inherit;
}
.landing-shell {
width: min(1120px, calc(100% - 40px));
margin: 0 auto;
padding: clamp(48px, 8vw, 112px) 0 40px;
}
.hero-card {
max-width: 820px;
}
.eyebrow {
margin: 0 0 18px;
color: var(--mint);
font-size: 0.76rem;
font-weight: 750;
letter-spacing: 0.16em;
text-transform: uppercase;
}
h1,
h2,
p {
margin-top: 0;
}
.hero-card h1 {
margin-bottom: 20px;
font-size: clamp(3.4rem, 10vw, 7.8rem);
font-weight: 750;
letter-spacing: -0.075em;
line-height: 0.9;
}
.hero-copy {
max-width: 760px;
margin-bottom: 28px;
color: #c8d9d3;
font-size: clamp(1.06rem, 2vw, 1.34rem);
line-height: 1.65;
}
.status-row {
display: flex;
flex-wrap: wrap;
gap: 10px;
}
.status-chip {
display: inline-flex;
align-items: center;
min-height: 32px;
padding: 6px 12px;
border: 1px solid rgb(101 242 191 / 35%);
border-radius: 999px;
color: var(--mint);
background: rgb(101 242 191 / 8%);
font-size: 0.78rem;
font-weight: 650;
}
.status-chip--neutral {
border-color: var(--line);
color: var(--muted);
background: rgb(255 255 255 / 2%);
}
.status-chip--warning {
border-color: rgb(255 197 110 / 42%);
color: var(--amber);
background: rgb(255 197 110 / 8%);
}
.workflow-card {
margin-top: clamp(42px, 7vw, 72px);
padding: clamp(22px, 4vw, 34px);
border: 1px solid var(--line);
border-radius: 22px;
background: rgb(255 255 255 / 2%);
}
.workflow-card__heading {
display: flex;
align-items: end;
justify-content: space-between;
gap: 24px;
}
.workflow-card__heading h2,
.quick-start-card h2 {
margin-bottom: 0;
letter-spacing: -0.035em;
}
.workflow-card__heading a,
.quick-start-card a {
color: var(--mint);
font-size: 0.84rem;
font-weight: 700;
text-decoration: none;
}
.workflow-list {
display: grid;
grid-template-columns: repeat(4, minmax(0, 1fr));
gap: 10px;
margin: 24px 0 16px;
padding: 0;
list-style: none;
counter-reset: workflow;
}
.workflow-list li {
position: relative;
min-height: 104px;
padding: 18px;
border: 1px solid rgb(101 242 191 / 18%);
border-radius: 14px;
background: rgb(101 242 191 / 5%);
counter-increment: workflow;
}
.workflow-list li::before {
display: block;
margin-bottom: 18px;
color: var(--mint);
content: "0" counter(workflow);
font-size: 0.7rem;
font-weight: 760;
letter-spacing: 0.1em;
}
.workflow-list strong,
.workflow-list span {
display: block;
}
.workflow-list strong {
font-size: 0.9rem;
}
.workflow-list span {
margin-top: 6px;
color: var(--muted);
font-size: 0.78rem;
}
.workflow-note {
margin-bottom: 0;
color: var(--muted);
font-size: 0.82rem;
line-height: 1.65;
}
.launcher-grid {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 18px;
margin-top: 18px;
}
.launcher-card {
display: grid;
min-height: 310px;
padding: clamp(24px, 4vw, 38px);
border: 1px solid var(--line);
border-radius: 24px;
color: inherit;
background: linear-gradient(145deg, rgb(255 255 255 / 5%), rgb(255 255 255 / 1%));
box-shadow: var(--shadow);
text-decoration: none;
transition:
border-color 160ms ease,
transform 160ms ease,
background 160ms ease;
}
.launcher-card:hover,
.launcher-card:focus-visible {
border-color: var(--mint);
background: linear-gradient(145deg, rgb(101 242 191 / 10%), rgb(255 255 255 / 2%));
outline: none;
transform: translateY(-4px);
}
.launcher-card--accent:hover,
.launcher-card--accent:focus-visible {
border-color: var(--cyan);
background: linear-gradient(145deg, rgb(88 199 232 / 11%), rgb(255 255 255 / 2%));
}
.launcher-card__number {
color: var(--muted);
font-size: 0.78rem;
font-weight: 750;
letter-spacing: 0.12em;
}
.launcher-card h2 {
margin-bottom: 14px;
font-size: clamp(1.65rem, 3vw, 2.35rem);
letter-spacing: -0.04em;
}
.launcher-card p {
margin-bottom: 0;
color: var(--muted);
line-height: 1.7;
}
.launcher-card__action {
align-self: end;
color: var(--mint);
font-size: 0.9rem;
font-weight: 720;
}
.launcher-card--accent .launcher-card__action {
color: var(--cyan);
}
.quick-start-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
gap: 18px;
margin-top: 18px;
}
.quick-start-card {
padding: clamp(22px, 4vw, 32px);
border: 1px solid var(--line);
border-radius: 20px;
background: var(--surface);
}
.quick-start-card p:not(.eyebrow) {
margin: 18px 0;
color: var(--muted);
line-height: 1.7;
}
.quick-start-card strong {
color: var(--text);
}
.landing-footer {
display: flex;
gap: 10px;
justify-content: center;
margin-top: 44px;
color: var(--muted);
font-size: 0.78rem;
}
.landing-footer a {
text-decoration: none;
}
.landing-footer a:hover {
color: var(--text);
}
.app-shell {
min-height: 100vh;
}
.app-header {
display: flex;
align-items: center;
justify-content: space-between;
min-height: 64px;
padding: 12px clamp(18px, 3vw, 36px);
border-bottom: 1px solid var(--line);
background: rgb(8 17 15 / 90%);
backdrop-filter: blur(18px);
}
.app-brand {
display: flex;
align-items: baseline;
gap: 14px;
color: inherit;
text-decoration: none;
}
.app-brand strong {
font-size: 1.05rem;
letter-spacing: -0.03em;
}
.app-brand span {
color: var(--muted);
font-size: 0.76rem;
}
.app-main {
display: grid;
place-items: center;
min-height: calc(100vh - 65px);
padding: 28px;
}
.empty-state {
width: min(680px, 100%);
padding: clamp(28px, 6vw, 56px);
border: 1px solid var(--line);
border-radius: 24px;
background: var(--surface);
box-shadow: var(--shadow);
}
.empty-state h1 {
margin-bottom: 18px;
font-size: clamp(2rem, 6vw, 3.5rem);
letter-spacing: -0.055em;
}
.empty-state p {
color: var(--muted);
line-height: 1.75;
}
@media (max-width: 720px) {
.launcher-grid,
.quick-start-grid,
.workflow-list {
grid-template-columns: 1fr;
}
.workflow-card__heading {
align-items: start;
flex-direction: column;
}
.workflow-list li {
min-height: auto;
}
.launcher-card {
min-height: 260px;
}
.app-brand span {
display: none;
}
}
@media (prefers-reduced-motion: reduce) {
*,
*::before,
*::after {
scroll-behavior: auto !important;
transition-duration: 0.01ms !important;
}
}
/* Compact, task-first landing page. */
.landing-header {
display: flex;
width: min(1120px, calc(100% - 40px));
min-height: 64px;
margin: 0 auto;
align-items: center;
justify-content: space-between;
gap: 20px;
border-bottom: 1px solid var(--line);
}
.landing-brand,
.landing-docs {
color: inherit;
font-weight: 760;
text-decoration: none;
}
.landing-brand {
font-size: 1rem;
letter-spacing: -0.035em;
}
.landing-docs {
color: var(--muted);
font-size: 0.78rem;
}
.landing-docs:hover,
.landing-docs:focus-visible {
color: var(--text);
}
.landing-header .status-row {
justify-content: center;
margin-left: auto;
}
.landing-shell {
width: min(960px, calc(100% - 40px));
padding: clamp(44px, 8vw, 84px) 0 36px;
}
.landing-intro {
max-width: 720px;
}
.landing-intro .eyebrow {
margin-bottom: 10px;
}
.landing-intro h1 {
margin-bottom: 12px;
font-size: clamp(2.25rem, 6vw, 4.2rem);
font-weight: 760;
letter-spacing: -0.065em;
line-height: 1;
}
.landing-intro > p:last-child {
margin-bottom: 0;
color: #c8d9d3;
font-size: clamp(0.95rem, 2vw, 1.1rem);
line-height: 1.6;
}
.landing-shell .launcher-grid {
gap: 16px;
margin-top: 28px;
}
.landing-shell .launcher-card {
grid-template-rows: auto 1fr auto;
min-height: 250px;
padding: clamp(22px, 4vw, 30px);
border-radius: 20px;
box-shadow: 0 16px 48px rgb(0 0 0 / 20%);
}
.landing-shell .launcher-card:hover,
.landing-shell .launcher-card:focus-visible {
transform: translateY(-3px);
}
.launcher-card__number {
font: 750 0.7rem ui-monospace, SFMono-Regular, Consolas, monospace;
}
.launcher-card__kicker {
margin: 28px 0 6px !important;
color: var(--mint) !important;
font-size: 0.7rem;
font-weight: 760;
letter-spacing: 0.08em;
}
.launcher-card--accent .launcher-card__kicker {
color: var(--cyan) !important;
}
.landing-shell .launcher-card h2 {
margin-bottom: 10px;
font-size: clamp(1.45rem, 3vw, 2rem);
}
.landing-shell .launcher-card p {
line-height: 1.6;
}
.landing-shell .launcher-card__action {
margin-top: 24px;
font-size: 0.84rem;
}
.workflow-disclosure {
margin-top: 16px;
padding: 0 18px;
border: 1px solid var(--line);
border-radius: 14px;
background: rgb(255 255 255 / 2%);
}
.workflow-disclosure summary {
padding: 16px 0;
color: #c8d9d3;
cursor: pointer;
font-size: 0.82rem;
font-weight: 700;
}
.workflow-disclosure[open] summary {
border-bottom: 1px solid var(--line);
}
.workflow-disclosure .workflow-list {
margin: 16px 0 12px;
}
.workflow-disclosure .workflow-list li {
min-height: 78px;
padding: 12px;
border-radius: 10px;
}
.workflow-disclosure .workflow-list li::before {
margin-bottom: 9px;
font-size: 0.62rem;
}
.workflow-disclosure .workflow-list strong {
font-size: 0.78rem;
}
.workflow-disclosure .workflow-list span {
margin-top: 4px;
font-size: 0.68rem;
line-height: 1.4;
}
.workflow-disclosure .workflow-note {
margin: 0 0 16px;
font-size: 0.74rem;
line-height: 1.55;
}
.workflow-disclosure .workflow-note a {
color: var(--mint);
}
@media (max-width: 720px) {
.landing-header {
min-height: 58px;
gap: 10px;
}
.landing-header .status-chip--neutral {
display: none;
}
.landing-shell .launcher-card {
min-height: 220px;
}
}
@media (max-width: 430px) {
.landing-header,
.landing-shell {
width: min(100% - 28px, 960px);
}
.landing-header {
flex-wrap: wrap;
padding-top: 12px;
}
.landing-header .status-row {
order: 3;
width: 100%;
margin: 0 0 10px;
}
.landing-shell {
padding-top: 36px;
}
.landing-intro h1 {
font-size: 2.25rem;
}
.landing-shell .launcher-card {
min-height: 205px;
}
}