<!doctype html>
<html>
<head>
<style>
:root {
--ink: #0B1226;
--amber: #F5A93C;
--cream: #F4E7D3;
--mint: #7FC3AC;
}
* { box-sizing: border-box; }
body {
margin: 0;
padding: 48px;
background: var(--ink);
color: var(--cream);
font-family: Helvetica, Arial, sans-serif;
}
header {
display: flex;
align-items: baseline;
gap: 16px;
border-bottom: 1px solid #22315C;
padding-bottom: 24px;
}
h1 {
margin: 0;
font-size: 44px;
letter-spacing: -0.02em;
}
header p {
margin: 0;
color: #8FA0C4;
font-size: 15px;
}
.grid {
display: flex;
gap: 20px;
margin-top: 36px;
}
.card {
flex: 1;
background: #131E3D;
border: 1px solid #22315C;
border-radius: 18px;
padding: 24px;
}
.card h2 {
margin: 0 0 10px;
font-size: 19px;
color: var(--amber);
}
.card p {
margin: 0;
font-size: 14px;
line-height: 1.6;
color: #8FA0C4;
}
.card.accent {
background: linear-gradient(160deg, #2A1D3D, #131E3D);
border-color: var(--amber);
}
.swatches {
display: flex;
gap: 10px;
margin-top: 36px;
}
.swatch {
width: 84px;
height: 84px;
border-radius: 14px;
}
footer {
margin-top: 40px;
font-size: 13px;
color: #6C7A9C;
}
code {
font-family: Menlo, monospace;
color: var(--mint);
}
</style>
</head>
<body>
<header>
<h1>Kiln</h1>
<p>real HTML, real CSS, no browser</p>
</header>
<div class="grid">
<div class="card">
<h2>Cascade</h2>
<p>Custom properties, descendant selectors and the box model resolved by Firefox's own style engine.</p>
</div>
<div class="card accent">
<h2>Layout</h2>
<p>Flexbox with gap, flex-grow and border-radius, laid out without a single line of JavaScript.</p>
</div>
<div class="card">
<h2>Paint</h2>
<p>Gradients, borders and rounded corners rasterized on the GPU straight into an OS window.</p>
</div>
</div>
<div class="swatches">
<div class="swatch" style="background: #F5A93C"></div>
<div class="swatch" style="background: #7FC3AC"></div>
<div class="swatch" style="background: #F4E7D3"></div>
<div class="swatch" style="background: linear-gradient(135deg, #F5A93C, #7FC3AC)"></div>
</div>
<footer>Rendered by <code>kiln render examples/hello.html</code></footer>
</body>
</html>