Menu
Public repository / f9ad97f6d8275ebdd13ec7823f9186bdad2c744a
AkurAI-Platform / frontend/styles.css
Latest change f9ad97f6d8275ebdd13ec7823f9186bdad2c744a - feat: present AkurAI source-linked platform by Olafur Bui
:root {
--page: #f6f7f3;
--surface: #ffffff;
--ink: #171914;
--muted: #62685f;
--line: #dfe3da;
--line-strong: #c6cec1;
--green: #1f8a4c;
--teal: #087f83;
--blue: #2458d3;
--amber: #b36a17;
--red: #b42318;
--shadow: 0 18px 46px rgba(23, 25, 20, 0.12);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
margin: 0;
min-height: 100vh;
background: var(--page);
color: var(--ink);
font: 15px/1.55 Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
code { font-family: "SF Mono", ui-monospace, Menlo, Consolas, monospace; }
.topbar {
position: sticky;
top: 0;
z-index: 30;
display: flex;
align-items: center;
justify-content: space-between;
gap: 24px;
min-height: 62px;
padding: 12px 28px;
border-bottom: 1px solid rgba(23, 25, 20, 0.1);
background: rgba(255, 255, 255, 0.88);
backdrop-filter: blur(14px);
}
.brand {
display: inline-flex;
align-items: center;
gap: 10px;
color: var(--ink);
font-weight: 780;
}
.brand:hover { text-decoration: none; }
.brand-mark {
display: inline-grid;
place-items: center;
width: 30px;
height: 30px;
border-radius: 8px;
background: var(--ink);
color: #fff;
font-size: 14px;
}
.nav-links {
display: flex;
flex-wrap: wrap;
gap: 16px;
}
.nav-links a {
color: var(--muted);
font-size: 13px;
font-weight: 700;
}
.nav-links a:hover { color: var(--ink); text-decoration: none; }
.hero {
position: relative;
min-height: clamp(500px, 72svh, 720px);
overflow: hidden;
border-bottom: 1px solid var(--line);
background: #eef1ec;
}
.hero-image {
position: absolute;
inset: 0;
width: 100%;
height: 100%;
object-fit: cover;
object-position: center right;
}
.hero-overlay {
position: absolute;
inset: 0;
background:
linear-gradient(90deg, rgba(246, 247, 243, 0.99) 0%, rgba(246, 247, 243, 0.96) 44%, rgba(246, 247, 243, 0.62) 60%, rgba(246, 247, 243, 0.1) 100%),
linear-gradient(180deg, rgba(255, 255, 255, 0.35) 0%, rgba(246, 247, 243, 0.06) 56%, rgba(246, 247, 243, 0.78) 100%);
}
.hero-content {
position: relative;
z-index: 1;
width: min(1160px, calc(100% - 40px));
margin: 0 auto;
padding: clamp(62px, 10vw, 118px) 0 58px;
}
.eyebrow {
margin: 0 0 12px;
color: var(--teal);
text-transform: uppercase;
letter-spacing: 0;
font-size: 12px;
font-weight: 850;
}
.hero h1 {
max-width: 710px;
margin: 0;
font-size: clamp(42px, 6.5vw, 76px);
line-height: 1.01;
letter-spacing: 0;
}
.lede {
max-width: 650px;
margin: 20px 0 28px;
color: #3f463d;
font-size: clamp(17px, 2.2vw, 21px);
}
.hero-actions {
display: flex;
flex-wrap: wrap;
gap: 12px;
margin-bottom: 18px;
}
.button {
display: inline-flex;
align-items: center;
justify-content: center;
min-height: 44px;
padding: 0 18px;
border-radius: 8px;
border: 1px solid var(--line-strong);
font-weight: 780;
font-size: 14px;
}
.button:hover { text-decoration: none; }
.button.primary { background: var(--ink); color: #fff; border-color: var(--ink); }
.button.secondary { background: rgba(255, 255, 255, 0.86); color: var(--ink); }
.health-pill {
display: inline-flex;
align-items: center;
gap: 9px;
min-height: 32px;
padding: 6px 12px;
border: 1px solid rgba(23, 25, 20, 0.12);
border-radius: 999px;
background: rgba(255, 255, 255, 0.82);
color: var(--muted);
font-size: 13px;
font-weight: 700;
}
.health-pill::before {
content: "";
width: 8px;
height: 8px;
border-radius: 999px;
background: currentColor;
}
.health-pill[data-state="ok"] { color: var(--green); }
.health-pill[data-state="fail"] { color: var(--red); }
.metric-strip {
display: grid;
grid-template-columns: repeat(4, 1fr);
width: min(1160px, calc(100% - 40px));
margin: -36px auto 0;
position: relative;
z-index: 4;
border: 1px solid var(--line);
border-radius: 8px;
background: var(--surface);
box-shadow: var(--shadow);
}
.metric {
min-height: 108px;
padding: 22px 24px;
border-right: 1px solid var(--line);
}
.metric:last-child { border-right: none; }
.metric strong {
display: block;
font-size: clamp(25px, 3vw, 34px);
line-height: 1;
}
.metric span {
display: block;
margin-top: 9px;
color: var(--muted);
font-size: 13px;
font-weight: 700;
}
.section {
width: min(1160px, calc(100% - 40px));
margin: 0 auto;
padding: 70px 0;
}
.section-head {
max-width: 720px;
margin-bottom: 24px;
}
.section-head h2,
.memory-copy h2,
.sources-section h2,
.source-callout h2 {
margin: 0;
font-size: clamp(28px, 3.5vw, 40px);
line-height: 1.1;
letter-spacing: 0;
}
.section-head p:last-child,
.memory-copy p:last-child,
.sources-section p,
.source-callout p:last-of-type {
margin: 10px 0 0;
color: var(--muted);
font-size: 16px;
}
.source-callout {
display: grid;
grid-template-columns: minmax(0, 1fr) auto;
gap: 24px;
align-items: center;
padding-bottom: 24px;
}
.source-callout > div { max-width: 760px; }
.app-grid {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 16px;
}
.app-card,
.comparison-card {
display: grid;
border: 1px solid var(--line);
border-radius: 8px;
background: var(--surface);
box-shadow: 0 12px 30px rgba(23, 25, 20, 0.06);
}
.app-card {
min-height: 304px;
grid-template-rows: auto auto 1fr auto auto auto;
padding: 18px;
}
.app-card-head {
display: flex;
align-items: flex-start;
justify-content: space-between;
gap: 12px;
}
.app-card-head p,
.comparison-card > p {
margin: 0;
color: var(--muted);
text-transform: uppercase;
font-size: 12px;
font-weight: 800;
}
.app-card-head strong {
white-space: nowrap;
color: var(--green);
font-size: 13px;
}
.app-card h3 {
margin: 10px 0 0;
font-size: 22px;
line-height: 1.15;
letter-spacing: 0;
}
.app-description {
margin: 13px 0 18px;
color: var(--muted);
}
.memory-bar {
height: 10px;
overflow: hidden;
border-radius: 999px;
background: #ecf0e8;
}
.memory-bar span,
.ledger-track strong {
display: block;
width: max(3%, var(--bar));
height: 100%;
border-radius: inherit;
background: linear-gradient(90deg, var(--green), var(--teal), var(--blue));
}
.app-footer {
min-width: 0;
display: grid;
grid-template-columns: minmax(0, 1fr) auto;
gap: 12px;
align-items: center;
margin-top: 18px;
}
.app-footer code {
min-width: 0;
overflow-wrap: anywhere;
color: #485044;
font-size: 12px;
}
.app-footer a,
.no-link {
display: inline-flex;
align-items: center;
justify-content: center;
min-height: 34px;
white-space: nowrap;
border-radius: 8px;
padding: 0 12px;
background: #eff5ee;
color: var(--ink);
font-weight: 800;
font-size: 13px;
}
.app-footer a:hover { text-decoration: none; background: #e3eee1; }
.app-footer a[href=""] { display: none; }
.no-link { display: none; color: var(--muted); }
.app-footer a[href=""] + .no-link { display: inline-flex; }
.repo-links {
display: flex;
flex-wrap: wrap;
gap: 8px;
margin-top: 12px;
}
.repo-links a {
display: inline-flex;
align-items: center;
min-height: 28px;
max-width: 100%;
border: 1px solid var(--line);
border-radius: 8px;
padding: 0 9px;
background: #fbfcfa;
color: #394137;
font-size: 12px;
font-weight: 760;
overflow-wrap: anywhere;
}
.repo-links a:hover {
border-color: var(--line-strong);
text-decoration: none;
}
.memory-section {
display: grid;
grid-template-columns: 0.72fr 1.28fr;
gap: 34px;
align-items: start;
border-top: 1px solid var(--line);
}
.memory-ledger {
display: grid;
gap: 10px;
}
.ledger-row {
display: grid;
grid-template-columns: minmax(130px, 190px) minmax(120px, 1fr) minmax(92px, auto);
gap: 12px;
align-items: center;
min-height: 42px;
}
.ledger-row span {
min-width: 0;
overflow-wrap: anywhere;
font-weight: 750;
}
.ledger-row em {
color: var(--muted);
font-style: normal;
font-size: 13px;
font-weight: 750;
text-align: right;
}
.ledger-track {
height: 12px;
overflow: hidden;
border-radius: 999px;
background: #e8ece3;
}
.comparison-grid {
display: grid;
grid-template-columns: repeat(4, minmax(0, 1fr));
gap: 16px;
}
.comparison-card {
min-height: 252px;
padding: 18px;
}
.comparison-card h3 {
margin: 14px 0 18px;
color: var(--green);
font-size: 30px;
line-height: 1;
letter-spacing: 0;
}
.comparison-line {
display: grid;
gap: 5px;
padding-top: 14px;
border-top: 1px solid var(--line);
}
.comparison-line span {
color: var(--muted);
font-size: 13px;
}
.comparison-line strong {
color: var(--ink);
font-size: 18px;
}
.comparison-difference {
margin: 14px 0;
color: var(--amber);
font-weight: 850;
}
.comparison-card a {
align-self: end;
font-size: 13px;
font-weight: 800;
}
.sources-section {
display: grid;
grid-template-columns: minmax(0, 0.9fr) minmax(280px, 1fr);
gap: 28px;
align-items: start;
border-top: 1px solid var(--line);
}
.source-list {
display: grid;
gap: 10px;
}
.source-list a {
display: flex;
align-items: center;
min-height: 46px;
padding: 10px 14px;
border: 1px solid var(--line);
border-radius: 8px;
background: var(--surface);
color: var(--ink);
font-weight: 760;
}
.source-list a:hover {
border-color: var(--line-strong);
text-decoration: none;
}
.site-footer {
border-top: 1px solid var(--line);
padding: 28px 20px 36px;
text-align: center;
color: var(--muted);
background: var(--surface);
}
.site-footer p { margin: 4px 0; }
.muted { color: var(--muted); }
@media (max-width: 1040px) {
.app-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.comparison-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.memory-section,
.sources-section,
.source-callout { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
.topbar {
align-items: flex-start;
flex-direction: column;
gap: 10px;
padding: 12px 18px;
}
.nav-links { gap: 12px; }
.hero { min-height: 620px; }
.hero-image { object-position: 72% center; }
.hero-overlay {
background:
linear-gradient(180deg, rgba(246, 247, 243, 0.99) 0%, rgba(246, 247, 243, 0.95) 58%, rgba(246, 247, 243, 0.62) 76%, rgba(246, 247, 243, 0.86) 100%);
}
.hero-content,
.metric-strip,
.section { width: min(100% - 28px, 1160px); }
.metric-strip,
.app-grid,
.comparison-grid { grid-template-columns: 1fr; }
.metric {
min-height: 92px;
border-right: none;
border-bottom: 1px solid var(--line);
}
.metric:last-child { border-bottom: none; }
.section { padding: 54px 0; }
.app-footer {
grid-template-columns: 1fr;
align-items: stretch;
}
.app-footer a,
.no-link { justify-content: center; }
.ledger-row {
grid-template-columns: 1fr;
gap: 6px;
}
.ledger-row em { text-align: left; }
}