App (Vue SPA) — 100% presentational, global design-token rebuild in style.css + polished App/Login/Chat/MyBoard/Personas/Setup/Training. No logic/API/route/i18n changes (verified: build clean, 4/4 vitest, independent review PASS 5/5). website/ — new self-contained static marketing landing site (TH-primary + EN toggle, CSS chat mockup, Hallmark theme), verified responsive at 320-768 (no horizontal scroll). Pricing uses placeholders pending owner. Docs: engineering-log 2026-08-19 + HANDOFF updated. NOT pushed (push to main auto-deploys to EasyPanel production; operator approval + JWT_SECRET check required before deploy).
425 lines
25 KiB
CSS
425 lines
25 KiB
CSS
/* Hallmark · genre: modern-minimal · macrostructure: Workbench · theme: Coral · enrichment: Tier-A CSS chat mockup · nav: N5 Floating pill · footer: Ft5 Statement
|
|
* pre-emit critique: P5 H4 E5 S4 R5 V5
|
|
* audience = Thai sales managers / trainers / L&D (SME + enterprise) · use = request a demo / buy · tone = professional, warm, builder */
|
|
:root {
|
|
/* ---- colour (Coral: warm-grey paper band L>85% · coral accent hue ~25 · roman-ish sans) ---- */
|
|
--color-paper: oklch(97% 0.012 60);
|
|
--color-paper-2: oklch(94% 0.014 60);
|
|
--color-rule: oklch(85% 0.012 60);
|
|
--color-neutral: oklch(56% 0.008 55);
|
|
--color-muted: oklch(42% 0.008 50);
|
|
--color-ink: oklch(20% 0.010 45);
|
|
--color-accent: oklch(58% 0.20 30); /* coral */
|
|
--color-accent-2: oklch(70% 0.16 35);
|
|
--color-focus: oklch(55% 0.20 28);
|
|
--color-success: oklch(50% 0.12 150);
|
|
--color-danger: oklch(52% 0.16 25);
|
|
|
|
/* ---- type (Sarabun — user brand: TH+EN body & headers) ---- */
|
|
--font-body: "Sarabun", ui-sans-serif, system-ui, sans-serif;
|
|
--font-display: "Sarabun", ui-sans-serif, system-ui, sans-serif;
|
|
--font-outlier: "Sarabun", ui-sans-serif, system-ui, sans-serif;
|
|
|
|
--text-xs: 0.72rem;
|
|
--text-sm: 0.85rem;
|
|
--text-base: 1rem;
|
|
--text-md: 1.2rem;
|
|
--text-lg: 1.45rem;
|
|
--text-xl: 1.8rem;
|
|
--text-2xl: 2.2rem;
|
|
--text-3xl: 2.8rem;
|
|
--text-display: clamp(2.5rem, 5vw + 1rem, 4.4rem);
|
|
--text-display-s: clamp(2rem, 4vw + 0.75rem, 3.2rem);
|
|
|
|
/* ---- space (4pt scale) ---- */
|
|
--space-3xs: 0.125rem;
|
|
--space-2xs: 0.25rem;
|
|
--space-xs: 0.5rem;
|
|
--space-sm: 0.75rem;
|
|
--space-md: 1rem;
|
|
--space-lg: 1.5rem;
|
|
--space-xl: 2.5rem;
|
|
--space-2xl: 4rem;
|
|
--space-3xl: 6rem;
|
|
--space-4xl: 9rem;
|
|
|
|
/* ---- motion ---- */
|
|
--ease-out: cubic-bezier(0.16, 1, 0.3, 1);
|
|
--ease-in: cubic-bezier(0.7, 0, 0.84, 0);
|
|
--ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
|
|
--dur-micro: 120ms;
|
|
--dur-short: 220ms;
|
|
--dur-long: 420ms;
|
|
|
|
/* ---- depth + z ---- */
|
|
--z-base: 1;
|
|
--z-raised: 10;
|
|
--z-sticky: 200;
|
|
--z-modal: 400;
|
|
|
|
--radius-sm: 0.375rem;
|
|
--radius-md: 0.75rem;
|
|
--radius-lg: 1.25rem;
|
|
--radius-pill: 999px;
|
|
}
|
|
|
|
/* ================= base ================= */
|
|
* { box-sizing: border-box; }
|
|
html { overflow-x: clip; }
|
|
body { overflow-x: clip; margin: 0; }
|
|
body {
|
|
font-family: var(--font-body);
|
|
font-size: var(--text-base);
|
|
line-height: 1.6;
|
|
color: var(--color-ink);
|
|
background: var(--color-paper);
|
|
-webkit-font-smoothing: antialiased;
|
|
text-rendering: optimizeLegibility;
|
|
}
|
|
img { max-width: 100%; display: block; }
|
|
a { color: inherit; }
|
|
h1,h2,h3,h4 { font-family: var(--font-display); line-height: 1.14; letter-spacing: -0.01em; margin: 0; font-style: normal; }
|
|
p { margin: 0; }
|
|
ul { margin: 0; padding: 0; list-style: none; }
|
|
:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 2px; border-radius: 2px; }
|
|
::selection { background: var(--color-accent-2); color: var(--color-ink); }
|
|
|
|
.container {
|
|
width: 100%;
|
|
max-width: 72rem;
|
|
margin-inline: auto;
|
|
padding-inline: clamp(1rem, 4vw, 2rem);
|
|
}
|
|
|
|
/* single-line affordances — note: .accordion__head is NOT here, its question text must wrap */
|
|
.btn, .nav__link, .foot__link, .lang__btn { white-space: nowrap; }
|
|
|
|
/* ================= buttons ================= */
|
|
.btn {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: var(--space-xs);
|
|
font-family: var(--font-display);
|
|
font-weight: 700;
|
|
font-size: var(--text-sm);
|
|
line-height: 1;
|
|
letter-spacing: 0.01em;
|
|
padding: 0.875rem 1.4rem;
|
|
border-radius: var(--radius-pill);
|
|
border: 1px solid transparent;
|
|
cursor: pointer;
|
|
text-decoration: none;
|
|
transition: transform var(--dur-micro) var(--ease-out), background-color var(--dur-short) var(--ease-out), border-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out);
|
|
}
|
|
.btn--primary { background: var(--color-ink); color: var(--color-paper); }
|
|
.btn--primary:hover { transform: translateY(-1px); background: var(--color-accent); color: var(--color-ink); }
|
|
.btn--primary:active { transform: translateY(0); }
|
|
.btn--ghost { border-color: var(--color-rule); background: transparent; color: var(--color-ink); }
|
|
.btn--ghost:hover { transform: translateY(-1px); border-color: var(--color-accent); color: var(--color-accent); }
|
|
.btn--ghost:active { transform: translateY(0); }
|
|
.btn--accent { background: var(--color-accent); color: var(--color-ink); }
|
|
.btn--accent:hover { transform: translateY(-1px); background: var(--color-ink); color: var(--color-paper); }
|
|
.btn--accent:active { transform: translateY(0); }
|
|
@media (pointer: coarse) { .btn { min-height: 48px; } }
|
|
|
|
/* ================= language toggle ================= */
|
|
.lang {
|
|
display: inline-flex;
|
|
border: 1px solid var(--color-rule);
|
|
border-radius: var(--radius-pill);
|
|
overflow: hidden;
|
|
background: color-mix(in oklch, var(--color-paper) 80%, transparent);
|
|
}
|
|
.lang__btn {
|
|
font-family: var(--font-display);
|
|
font-weight: 700;
|
|
font-size: var(--text-xs);
|
|
letter-spacing: 0.06em;
|
|
padding: 0.45rem 0.85rem;
|
|
border: 0;
|
|
background: transparent;
|
|
color: var(--color-muted);
|
|
cursor: pointer;
|
|
transition: background-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out);
|
|
}
|
|
.lang__btn:hover { color: var(--color-ink); }
|
|
.lang__btn[aria-pressed="true"] { background: var(--color-ink); color: var(--color-paper); }
|
|
.lang__btn[aria-pressed="true"]:hover { color: var(--color-paper); }
|
|
|
|
/* ================= nav (N5 floating pill) ================= */
|
|
.nav {
|
|
position: sticky;
|
|
top: var(--space-sm);
|
|
z-index: var(--z-sticky);
|
|
padding-inline: clamp(1rem, 4vw, 2rem);
|
|
}
|
|
.nav__inner {
|
|
max-width: 68rem;
|
|
margin-inline: auto;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: var(--space-md);
|
|
padding: var(--space-xs) var(--space-sm);
|
|
background: color-mix(in oklch, var(--color-paper) 82%, transparent);
|
|
backdrop-filter: blur(14px) saturate(140%);
|
|
-webkit-backdrop-filter: blur(14px) saturate(140%);
|
|
border: 1px solid var(--color-rule);
|
|
border-radius: var(--radius-pill);
|
|
box-shadow: 0 1px 2px oklch(20% 0.01 45 / 0.05);
|
|
}
|
|
.nav__brand { display: flex; align-items: center; gap: var(--space-xs); font-family: var(--font-display); font-weight: 700; letter-spacing: -0.01em; text-decoration: none; font-size: 1.05rem; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
|
|
.nav__mark { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; background: var(--color-accent); color: var(--color-ink); flex: 0 0 auto; }
|
|
.nav__mark svg { width: 15px; height: 15px; }
|
|
.nav__links { display: flex; align-items: center; gap: var(--space-lg); }
|
|
.nav__link { font-family: var(--font-display); font-weight: 600; font-size: var(--text-sm); color: var(--color-muted); text-decoration: none; transition: color var(--dur-short) var(--ease-out); }
|
|
.nav__link:hover { color: var(--color-accent); }
|
|
.nav__cta { display: flex; align-items: center; gap: var(--space-sm); min-width: 0; }
|
|
.nav__cta .lang { flex: 0 0 auto; }
|
|
/* nav links only below 64rem — keeps brand + lang + CTA a single safe line on tablets/phones */
|
|
@media (max-width: 64rem) {
|
|
.nav__links { display: none; }
|
|
}
|
|
@media (max-width: 40rem) {
|
|
/* drop the nav CTA text button on phones — the hero already carries it; keep brand + lang */
|
|
.nav__cta .btn { display: none; }
|
|
.nav__brand { font-size: 0.95rem; }
|
|
.lang__btn { padding: 0.4rem 0.7rem; }
|
|
}
|
|
|
|
/* ================= hero (workbench open) ================= */
|
|
.hero { padding-top: clamp(3rem, 8vw, 6rem); padding-bottom: var(--space-3xl); position: relative; }
|
|
.hero__grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: var(--space-3xl); align-items: center; }
|
|
.hero__tag {
|
|
display: inline-flex; align-items: center; gap: var(--space-xs);
|
|
font-family: var(--font-display); font-weight: 600; font-size: var(--text-xs);
|
|
letter-spacing: 0.04em; text-transform: uppercase;
|
|
color: var(--color-accent);
|
|
border: 1px solid color-mix(in oklch, var(--color-accent) 40%, var(--color-rule));
|
|
border-radius: var(--radius-pill);
|
|
padding: 0.35rem 0.8rem; margin-bottom: var(--space-md);
|
|
}
|
|
.hero h1 { font-size: var(--text-display); font-weight: 700; overflow-wrap: anywhere; min-width: 0; margin-bottom: var(--space-lg); line-height: 1.16; }
|
|
/* per-word underline that wraps cleanly (box-decoration-break stays with each fragment) */
|
|
.hero h1 .u {
|
|
text-decoration: none;
|
|
background-image: linear-gradient(var(--color-accent), var(--color-accent));
|
|
background-repeat: no-repeat;
|
|
background-size: 100% 0.13em;
|
|
background-position: 0 100%;
|
|
-webkit-box-decoration-break: clone;
|
|
box-decoration-break: clone;
|
|
padding-bottom: 0.06em;
|
|
}
|
|
.hero__lede { font-size: var(--text-md); color: var(--color-muted); max-width: 46ch; margin-bottom: var(--space-xl); }
|
|
.hero__lede strong { color: var(--color-ink); }
|
|
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--space-md); align-items: center; }
|
|
.hero__note { margin-top: var(--space-lg); font-size: var(--text-xs); color: var(--color-neutral); }
|
|
|
|
/* hero chat preview (small, floating behind) */
|
|
.hero__visual { position: relative; }
|
|
.hero__phone-glow { position: absolute; inset: 8% -4% -8% -4%; background: radial-gradient(120% 90% at 70% 20%, oklch(0.85 0.13 40 / 0.5), transparent 70%); filter: blur(30px); z-index: 0; }
|
|
@media (max-width: 60rem) {
|
|
.hero__grid { grid-template-columns: 1fr; gap: var(--space-2xl); }
|
|
.hero__visual { order: 2; }
|
|
}
|
|
|
|
/* ================= chat mockup (Tier-A pure CSS) ================= */
|
|
.chat {
|
|
--chat-max: 560px;
|
|
width: 100%;
|
|
max-width: var(--chat-max);
|
|
margin-inline: auto;
|
|
background: var(--color-paper-2);
|
|
border: 1px solid var(--color-rule);
|
|
border-radius: var(--radius-lg);
|
|
overflow: hidden;
|
|
box-shadow: 0 1px 2px oklch(20% 0.01 45 / 0.05), 0 20px 50px -30px oklch(20% 0.05 45 / 0.35);
|
|
z-index: 1; position: relative;
|
|
}
|
|
.chat__bar { display: flex; align-items: center; gap: var(--space-sm); padding: var(--space-md) var(--space-lg); border-bottom: 1px solid var(--color-rule); background: var(--color-paper); }
|
|
.chat__avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--color-accent-2); display: grid; place-items: center; color: var(--color-ink); font-weight: 700; font-size: var(--text-xs); flex: 0 0 auto; }
|
|
.chat__who { line-height: 1.25; }
|
|
.chat__name { font-family: var(--font-display); font-weight: 700; font-size: var(--text-sm); }
|
|
.chat__meta { font-size: var(--text-xs); color: var(--color-neutral); }
|
|
.chat__status { margin-left: auto; display: inline-flex; align-items: center; gap: 0.4em; font-size: var(--text-xs); color: var(--color-neutral); }
|
|
.chat__status .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--color-success); }
|
|
.chat__tier { font-size: var(--text-xs); font-family: var(--font-display); font-weight: 700; letter-spacing: 0.04em; color: var(--color-muted); border: 1px solid var(--color-rule); border-radius: var(--radius-sm); padding: 0.1rem 0.45rem; }
|
|
.chat__tier--C { color: var(--color-danger); border-color: color-mix(in oklch, var(--color-danger) 40%, var(--color-rule)); }
|
|
|
|
.chat__body { padding: var(--space-lg); display: flex; flex-direction: column; gap: var(--space-sm); }
|
|
.msg { display: flex; gap: var(--space-xs); max-width: 86%; }
|
|
.msg.mine { align-self: flex-end; flex-direction: row-reverse; }
|
|
.msg.bubble-only { align-self: flex-end; }
|
|
.msg__bubble { padding: var(--space-sm) var(--space-md); border-radius: var(--radius-md); font-size: var(--text-sm); line-height: 1.5; }
|
|
.msg.theirs .msg__bubble { background: #fff; border: 1px solid var(--color-rule); border-top-left-radius: 4px; color: var(--color-ink); }
|
|
.msg.mine .msg__bubble { background: var(--color-ink); color: var(--color-paper); border-top-right-radius: 4px; }
|
|
.msg__time { font-size: var(--text-xs); color: var(--color-neutral); align-self: flex-end; padding: 0 0.3rem; }
|
|
|
|
/* coaching reveal card */
|
|
.coach { align-self: flex-end; max-width: 92%; border: 1px solid var(--color-rule); background: #fff; border-radius: var(--radius-md); padding: var(--space-md); box-shadow: 0 1px 2px oklch(20% 0.01 45 / 0.05); }
|
|
.coach__head { display: flex; align-items: center; gap: var(--space-xs); margin-bottom: var(--space-xs); }
|
|
.coach__badge { display: inline-flex; align-items: center; gap: 0.35em; font-family: var(--font-display); font-weight: 700; font-size: var(--text-xs); letter-spacing: 0.03em; color: var(--color-accent); }
|
|
.coach__score { margin-left: auto; font-family: var(--font-display); font-weight: 700; font-size: var(--text-xs); color: var(--color-muted); }
|
|
.coach__text { font-size: var(--text-sm); color: var(--color-muted); line-height: 1.55; }
|
|
.coach__text strong { color: var(--color-ink); }
|
|
.coach .btn--ghost { margin-top: var(--space-sm); padding: 0.5rem 0.9rem; font-size: var(--text-xs); }
|
|
|
|
/* typing indicator */
|
|
.typing { display: inline-flex; gap: 4px; padding: var(--space-sm) var(--space-md); background: #fff; border: 1px solid var(--color-rule); border-radius: var(--radius-md); border-top-left-radius: 4px; }
|
|
.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--color-neutral); animation: blink 1.3s infinite ease-in-out; }
|
|
.typing i:nth-child(2){ animation-delay: 0.2s; }
|
|
.typing i:nth-child(3){ animation-delay: 0.4s; }
|
|
@keyframes blink { 0%, 60%, 100% { opacity: 0.25; } 30% { opacity: 1; } }
|
|
|
|
.chat__input { display: flex; align-items: center; gap: var(--space-sm); padding: var(--space-md) var(--space-lg); border-top: 1px solid var(--color-rule); background: var(--color-paper); flex-wrap: wrap; }
|
|
.chat__input .field { flex: 1; }
|
|
.chat__input .send { width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--color-accent); color: var(--color-ink); display: grid; place-items: center; cursor: pointer; flex: 0 0 auto; }
|
|
|
|
/* ================= section heads ================= */
|
|
.section { padding-block: var(--space-3xl); }
|
|
.section--tint { background: var(--color-paper-2); }
|
|
.shead { max-width: 40rem; margin-bottom: var(--space-2xl); }
|
|
.shead.center { margin-inline: auto; text-align: center; }
|
|
.shead__label { font-family: var(--font-display); font-weight: 600; font-size: var(--text-xs); letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-accent); margin-bottom: var(--space-sm); }
|
|
.shead h2 { font-size: var(--text-2xl); font-weight: 700; margin-bottom: var(--space-sm); overflow-wrap: anywhere; }
|
|
.shead p { color: var(--color-muted); font-size: var(--text-md); }
|
|
|
|
/* ================= steps (F4) ================= */
|
|
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-xl); counter-reset: step; }
|
|
.step { position: relative; padding-top: var(--space-xl); border-top: 1px solid var(--color-rule); }
|
|
.step::before {
|
|
counter-increment: step; content: "0" counter(step);
|
|
position: absolute; top: -0.7rem; left: 0;
|
|
font-family: var(--font-display); font-weight: 700; font-size: var(--text-sm);
|
|
letter-spacing: 0.04em; color: var(--color-accent);
|
|
background: var(--color-paper); padding-right: var(--space-sm);
|
|
}
|
|
.step h3 { font-size: var(--text-lg); margin-bottom: var(--space-sm); }
|
|
.step p { color: var(--color-muted); font-size: var(--text-sm); max-width: 32ch; }
|
|
.step .pills { display: flex; flex-wrap: wrap; gap: var(--space-2xs); margin-top: var(--space-md); }
|
|
.pill { font-family: var(--font-display); font-weight: 600; font-size: var(--text-xs); color: var(--color-muted); background: var(--color-paper-2); border: 1px solid var(--color-rule); border-radius: var(--radius-pill); padding: 0.3rem 0.7rem; }
|
|
@media (max-width: 60rem) { .steps { grid-template-columns: 1fr; gap: var(--space-2xl); } .step::before { background: var(--color-paper-2); } }
|
|
|
|
/* ================= workbench frames ================= */
|
|
.frame { display: grid; grid-template-columns: minmax(0, 1fr) 1fr; gap: var(--space-3xl); align-items: center; }
|
|
.frame--rev .frame__media { order: 2; }
|
|
.frame--rev .frame__copy { order: 1; }
|
|
.frame__media { position: relative; min-width: 0; }
|
|
.frame__copy h3 { font-size: var(--text-xl); margin-bottom: var(--space-md); }
|
|
.frame__copy p { color: var(--color-muted); max-width: 48ch; font-size: var(--text-md); }
|
|
.frame__copy p + p { margin-top: var(--space-md); }
|
|
.frame__copy ul.lines { margin-top: var(--space-lg); display: grid; gap: var(--space-sm); }
|
|
.frame__copy ul.lines li { display: flex; gap: var(--space-sm); align-items: flex-start; }
|
|
.frame__copy ul.lines .ic { color: var(--color-accent); flex: 0 0 auto; margin-top: 2px; }
|
|
@media (max-width: 60rem) {
|
|
.frame { grid-template-columns: 1fr; gap: var(--space-xl); }
|
|
.frame--rev .frame__media { order: 1; } .frame--rev .frame__copy { order: 2; }
|
|
}
|
|
|
|
/* ================= persona tiers ================= */
|
|
.tiers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-lg); }
|
|
.tier { border: 1px solid var(--color-rule); border-radius: var(--radius-lg); padding: var(--space-xl); background: var(--color-paper); display: flex; flex-direction: column; }
|
|
.tier__letter { font-family: var(--font-display); font-weight: 700; font-size: var(--text-3xl); line-height: 1; color: var(--color-accent); }
|
|
.tier h3 { font-size: var(--text-lg); margin: var(--space-xs) 0; }
|
|
.tier__sub { font-size: var(--text-sm); color: var(--color-muted); margin-bottom: var(--space-md); }
|
|
.tier ul { display: grid; gap: var(--space-sm); }
|
|
.tier ul li { display: flex; gap: var(--space-sm); font-size: var(--text-sm); color: var(--color-muted); align-items: flex-start; }
|
|
.tier ul li .ic { color: var(--color-accent); flex: 0 0 auto; margin-top: 2px; }
|
|
.tier__foot { margin-top: var(--space-lg); padding-top: var(--space-md); border-top: 1px solid var(--color-rule); font-size: var(--text-xs); color: var(--color-neutral); }
|
|
.tier--hardest { border-color: color-mix(in oklch, var(--color-danger) 35%, var(--color-rule)); }
|
|
.tier--hardest .tier__letter { color: var(--color-danger); }
|
|
.tier--hardest .tier__foot { color: var(--color-danger); }
|
|
@media (max-width: 60rem) { .tiers { grid-template-columns: 1fr; } }
|
|
|
|
/* ================= value props (asymmetric, 12-col) ================= */
|
|
.props { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--space-lg); }
|
|
.prop { grid-column: span 4; border-top: 1px solid var(--color-rule); padding-top: var(--space-lg); }
|
|
.prop.wide { grid-column: span 6; }
|
|
.prop .ic { color: var(--color-accent); margin-bottom: var(--space-md); }
|
|
.prop h3 { font-size: var(--text-lg); margin-bottom: var(--space-sm); }
|
|
.prop p { color: var(--color-muted); font-size: var(--text-sm); max-width: 40ch; }
|
|
@media (max-width: 60rem) { .prop, .prop.wide { grid-column: span 12; } }
|
|
|
|
/* ================= who it's for (F6-ish product card grid) ================= */
|
|
.aud { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-lg); }
|
|
.aud__card { border: 1px solid var(--color-rule); border-radius: var(--radius-lg); padding: var(--space-xl); background: var(--color-paper); }
|
|
.aud__card .ic { color: var(--color-accent); margin-bottom: var(--space-md); }
|
|
.aud__card h3 { font-size: var(--text-lg); margin-bottom: var(--space-sm); }
|
|
.aud__card p { color: var(--color-muted); font-size: var(--text-sm); }
|
|
@media (max-width: 60rem) { .aud { grid-template-columns: 1fr; } }
|
|
|
|
/* ================= pricing ================= */
|
|
.pricing { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-xl); align-items: stretch; }
|
|
.price { border: 1px solid var(--color-rule); border-radius: var(--radius-lg); padding: var(--space-xl); background: var(--color-paper); display: flex; flex-direction: column; }
|
|
.price--featured { border: 2px solid var(--color-accent); }
|
|
.price__head { margin-bottom: var(--space-lg); }
|
|
.price__name { font-family: var(--font-display); font-weight: 700; font-size: var(--text-md); margin-bottom: var(--space-2xs); }
|
|
.price__desc { font-size: var(--text-sm); color: var(--color-muted); }
|
|
.price__amount { display: flex; align-items: baseline; gap: var(--space-xs); margin: var(--space-lg) 0 var(--space-2xs); }
|
|
.price__num { font-family: var(--font-display); font-weight: 700; font-size: var(--text-3xl); }
|
|
.price__num small { font-size: var(--text-sm); font-weight: 600; color: var(--color-muted); }
|
|
.price__per { font-size: var(--text-xs); color: var(--color-neutral); }
|
|
.price__confirm { font-size: var(--text-xs); color: var(--color-neutral); border: 1px dashed var(--color-rule); border-radius: var(--radius-sm); padding: var(--space-xs) var(--space-sm); margin-bottom: var(--space-lg); background: color-mix(in oklch, var(--color-paper-2) 50%, transparent); }
|
|
.price ul { display: grid; gap: var(--space-sm); margin-bottom: var(--space-lg); }
|
|
.price ul li { display: flex; gap: var(--space-sm); font-size: var(--text-sm); color: var(--color-muted); align-items: flex-start; }
|
|
.price ul li .ic { color: var(--color-accent); flex: 0 0 auto; margin-top: 2px; }
|
|
.price .btn { margin-top: auto; }
|
|
.price__pick { text-align: center; font-size: var(--text-xs); color: var(--color-neutral); margin-top: var(--space-md); }
|
|
@media (max-width: 40rem) { .pricing { grid-template-columns: 1fr; } }
|
|
|
|
/* ================= FAQ ================= */
|
|
.faq { max-width: 46rem; margin-inline: auto; display: grid; gap: var(--space-sm); }
|
|
.accordion { border: 1px solid var(--color-rule); border-radius: var(--radius-md); background: var(--color-paper); overflow: hidden; }
|
|
.accordion__head {
|
|
width: 100%; display: flex; align-items: center; gap: var(--space-md);
|
|
padding: var(--space-md) var(--space-lg); background: transparent; border: 0; text-align: left;
|
|
cursor: pointer; font-family: var(--font-display); font-weight: 600; font-size: var(--text-base); color: var(--color-ink);
|
|
}
|
|
.accordion__head > span:first-of-type { flex: 1 1 auto; min-width: 0; }
|
|
.accordion__head .chev { color: var(--color-accent); transition: transform var(--dur-short) var(--ease-in-out); flex: 0 0 auto; }
|
|
.accordion__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows var(--dur-long) var(--ease-in-out); }
|
|
.accordion__panel > div { overflow: hidden; }
|
|
.accordion__body { padding: 0 var(--space-lg) var(--space-md); color: var(--color-muted); font-size: var(--text-sm); max-width: 60ch; }
|
|
.accordion[open] .accordion__panel { grid-template-rows: 1fr; }
|
|
.accordion[open] .chev { transform: rotate(180deg); }
|
|
.accordion__head::-webkit-details-marker { display: none; }
|
|
|
|
/* ================= CTA ================= */
|
|
.cta { padding-block: var(--space-3xl); }
|
|
.cta__panel { position: relative; text-align: center; padding: var(--space-3xl) var(--space-xl); border-radius: var(--radius-lg); background: var(--color-ink); color: var(--color-paper); overflow: hidden; }
|
|
.cta__panel::before { content: ""; position: absolute; inset: -20% -30% -20% -30%; background: radial-gradient(60% 60% at 60% 30%, oklch(0.7 0.16 40 / 0.4), transparent 70%); z-index: 0; }
|
|
.cta__panel > * { position: relative; z-index: 1; }
|
|
.cta__panel h2 { font-size: var(--text-2xl); margin-bottom: var(--space-md); overflow-wrap: anywhere; }
|
|
.cta__panel p { color: color-mix(in oklch, var(--color-paper) 75%, transparent); max-width: 46ch; margin: 0 auto var(--space-xl); }
|
|
.cta__actions { display: flex; flex-wrap: wrap; gap: var(--space-md); justify-content: center; }
|
|
.cta__actions .btn--accent { background: var(--color-accent); color: var(--color-ink); }
|
|
.cta__actions .btn--ghost { border-color: color-mix(in oklch, var(--color-paper) 40%, transparent); color: var(--color-paper); }
|
|
.cta__actions .btn--ghost:hover { color: var(--color-ink); background: var(--color-paper); border-color: var(--color-paper); }
|
|
|
|
/* ================= footer (Ft5 statement) ================= */
|
|
.footer { padding-block: var(--space-3xl) var(--space-xl); }
|
|
.footer__statement { font-family: var(--font-display); font-weight: 700; font-size: var(--text-xl); max-width: 20ch; line-height: 1.25; margin-bottom: var(--space-xl); overflow-wrap: anywhere; }
|
|
.footer__statement .u { color: var(--color-accent); }
|
|
.footer__meta { display: flex; flex-wrap: wrap; gap: var(--space-md) var(--space-2xl); align-items: center; justify-content: space-between; padding-top: var(--space-lg); border-top: 1px solid var(--color-rule); }
|
|
.footer__brand { font-family: var(--font-display); font-weight: 700; display: flex; align-items: center; gap: var(--space-xs); }
|
|
.footer__links { display: flex; gap: var(--space-lg); }
|
|
.foot__link { font-size: var(--text-sm); color: var(--color-muted); text-decoration: none; }
|
|
.foot__link:hover { color: var(--color-accent); }
|
|
.footer__copy { font-size: var(--text-xs); color: var(--color-neutral); }
|
|
@media (max-width: 40rem) { .footer__meta { flex-direction: column; align-items: flex-start; } }
|
|
|
|
/* ================= reveal ================= */
|
|
.reveal { opacity: 0; transform: translateY(10px); animation: reveal var(--dur-long) var(--ease-out) forwards; animation-delay: calc(var(--i, 0) * 60ms); }
|
|
@keyframes reveal { to { opacity: 1; transform: none; } }
|
|
@media (prefers-reduced-motion: reduce) {
|
|
*, *::before, *::after { animation-duration: 150ms !important; animation-iteration-count: 1 !important; transition-duration: 150ms !important; }
|
|
.reveal { animation: reveal-reduced 150ms linear forwards; }
|
|
@keyframes reveal-reduced { to { opacity: 1; transform: none; } }
|
|
}
|
|
|
|
/* ---- rows of inline SVG line icons (lucide-style, single colour) ---- */
|
|
svg.lucide { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; vertical-align: -0.12em; }
|
|
.ic svg.lucide { width: 22px; height: 22px; }
|