String Energy Transfer
by Chantal Roth
HTML
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Fermi's Golden Rule on a String</title>
<style>
:root {
--bg: #070c17;
--card: #101a2e;
--card2: #0d1526;
--border: #223252;
--text: #e8edf6;
--muted: #8fa3c0;
--A: #4da3ff; /* mode A blue */
--B: #34d399; /* mode B green */
--D: #fbbf24; /* drive gold */
--ok: #34d399;
--warn: #fbbf24;
--bad: #f87171;
}
* { box-sizing: border-box; }
body {
margin: 0;
background:
radial-gradient(1100px 500px at 15% -5%, #12224a 0%, transparent 60%),
radial-gradient(900px 500px at 90% 0%, #0d1e33 0%, transparent 55%),
var(--bg);
color: var(--text);
font-family: "Segoe UI", Inter, system-ui, sans-serif;
display: flex;
flex-direction: column;
align-items: center;
padding: 20px 18px 40px;
}
header { text-align: center; max-width: 1100px; }
h1 {
margin: 0 0 8px;
font-size: 1.7rem;
letter-spacing: 0.3px;
background: linear-gradient(90deg, #dbe7ff, #fff, #ffe9b3);
-webkit-background-clip: text;
background-clip: text;
color: transparent;
}
.subtitle {
margin: 0 auto;
color: var(--muted);
font-size: 0.97rem;
line-height: 1.45;
max-width: 880px;
}
.subtitle b { color: #d9e4f5; }
.wrap { width: 100%; max-width: 1240px; display: flex; flex-direction: column; gap: 16px; margin-top: 18px; }
.card {
background: linear-gradient(180deg, var(--card) 0%, var(--card2) 100%);
border: 1px solid var(--border);
border-radius: 16px;
padding: 14px 16px 16px;
box-shadow: 0 12px 34px rgba(0,0,0,0.35);
}
.card h2 {
margin: 2px 0 4px;
font-size: 1.0rem;
font-weight: 700;
color: #eef3fc;
display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
...