<% if (blank) { %>
<% if (tailwind) { %>@import 'tailwindcss';

<% } %>
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, sans-serif;
}

main {
  width: min(42rem, calc(100% - 2rem));
  margin: 4rem auto;
}
<% } else if (!includeExamples) { %>
@import 'tailwindcss';

* {
  box-sizing: border-box;
}

html,
body,
#app {
  min-height: 100%;
}

body {
  margin: 0;
}
<% } else { %>
@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,500;9..144,700&family=Manrope:wght@400;500;600;700;800&display=swap');
@import 'tailwindcss';

:root {
  --sea-ink: #173a40;
  --sea-ink-soft: #416166;
  --lagoon: #4fb8b2;
  --lagoon-deep: #328f97;
  --palm: #2f6a4a;
  --sand: #e7f0e8;
  --foam: #f3faf5;
  --surface: rgba(255, 255, 255, 0.74);
  --surface-strong: rgba(255, 255, 255, 0.9);
  --line: rgba(23, 58, 64, 0.14);
  --inset-glint: rgba(255, 255, 255, 0.82);
  --kicker: rgba(47, 106, 74, 0.9);
  --bg-base: #e7f3ec;
  --header-bg: rgba(251, 255, 248, 0.84);
  --chip-bg: rgba(255, 255, 255, 0.8);
  --chip-line: rgba(47, 106, 74, 0.18);
  --link-bg-hover: rgba(255, 255, 255, 0.9);
  --hero-a: rgba(79, 184, 178, 0.36);
  --hero-b: rgba(47, 106, 74, 0.2);
}

* {
  box-sizing: border-box;
}

html,
body,
#app {
  min-height: 100%;
}

body {
  margin: 0;
  color: var(--sea-ink);
  font-family: 'Manrope', ui-sans-serif, system-ui, sans-serif;
  background-color: var(--bg-base);
  background:
    radial-gradient(1100px 620px at -8% -10%, var(--hero-a), transparent 58%),
    radial-gradient(1050px 620px at 112% -12%, var(--hero-b), transparent 62%),
    radial-gradient(720px 380px at 50% 115%, rgba(79, 184, 178, 0.1), transparent 68%),
    linear-gradient(
      180deg,
      color-mix(in oklab, var(--sand) 68%, white) 0%,
      var(--foam) 44%,
      var(--bg-base) 100%
    );
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: var(--lagoon-deep);
  text-decoration-color: rgba(50, 143, 151, 0.4);
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

a:hover {
  color: #246f76;
}

code {
  font-size: 0.9em;
  border: 1px solid var(--line);
  background: color-mix(in oklab, var(--surface-strong) 82%, white 18%);
  border-radius: 7px;
  padding: 2px 7px;
}

.page-wrap {
  width: min(1080px, calc(100% - 2rem));
  margin-inline: auto;
}

.display-title {
  font-family: 'Fraunces', Georgia, serif;
}

.island-shell {
  border: 1px solid var(--line);
  background: linear-gradient(165deg, var(--surface-strong), var(--surface));
  box-shadow:
    0 1px 0 var(--inset-glint) inset,
    0 22px 44px rgba(30, 90, 72, 0.1),
    0 6px 18px rgba(23, 58, 64, 0.08);
  backdrop-filter: blur(4px);
}

.feature-card {
  background: linear-gradient(
    165deg,
    color-mix(in oklab, var(--surface-strong) 93%, white 7%),
    var(--surface)
  );
  box-shadow:
    0 1px 0 var(--inset-glint) inset,
    0 18px 34px rgba(30, 90, 72, 0.1),
    0 4px 14px rgba(23, 58, 64, 0.06);
}

.demo-page {
  width: min(1080px, calc(100% - 2rem));
  margin-inline: auto;
  padding-block: clamp(2.25rem, 6vw, 4.5rem);
  color: var(--sea-ink);
}

.demo-page-wide {
  width: min(1280px, calc(100% - 2rem));
}

.demo-center {
  min-height: calc(100vh - 13rem);
  display: flex;
  align-items: center;
  justify-content: center;
}

.demo-panel,
.demo-card {
  border: 1px solid var(--line);
  background: linear-gradient(165deg, var(--surface-strong), var(--surface));
  box-shadow:
    0 1px 0 var(--inset-glint) inset,
    0 18px 34px rgba(30, 90, 72, 0.1),
    0 4px 14px rgba(23, 58, 64, 0.06);
  backdrop-filter: blur(4px);
}

.demo-panel {
  border-radius: 1.25rem;
  padding: clamp(1.25rem, 4vw, 2rem);
}

.demo-card {
  border-radius: 1rem;
  padding: 1rem;
}

.demo-title {
  margin: 0;
  color: var(--sea-ink);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: 0;
}

.demo-section-title {
  margin: 0;
  color: var(--sea-ink);
  font-size: 1rem;
  font-weight: 700;
}

.demo-muted {
  color: var(--sea-ink-soft);
}

.demo-input,
.demo-select,
.demo-textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  background: color-mix(in oklab, var(--surface-strong) 88%, white 12%);
  color: var(--sea-ink);
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.demo-input,
.demo-select {
  padding: 0.7rem 0.9rem;
}

.demo-input-fit {
  width: auto;
}

.demo-textarea {
  min-height: 7rem;
  padding: 0.8rem 0.9rem;
  resize: vertical;
}

.demo-input:focus,
.demo-select:focus,
.demo-textarea:focus {
  border-color: color-mix(in oklab, var(--lagoon-deep) 58%, var(--line));
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--lagoon) 24%, transparent);
}

.demo-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: 1px solid color-mix(in oklab, var(--lagoon-deep) 34%, var(--line));
  border-radius: 0.85rem;
  background: color-mix(in oklab, var(--lagoon) 22%, var(--surface-strong));
  color: var(--sea-ink);
  padding: 0.72rem 1rem;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
}

.demo-button:hover {
  transform: translateY(-1px);
  background: color-mix(in oklab, var(--lagoon) 30%, var(--surface-strong));
}

.demo-button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
  transform: none;
}

.demo-button-secondary {
  border-color: var(--line);
  background: color-mix(in oklab, var(--surface-strong) 74%, transparent);
  color: var(--sea-ink-soft);
}

.demo-button-danger {
  border-color: rgba(196, 71, 71, 0.28);
  background: rgba(196, 71, 71, 0.1);
  color: #9f3030;
}

.demo-list-item {
  border: 1px solid var(--line);
  border-radius: 0.9rem;
  background: color-mix(in oklab, var(--chip-bg) 82%, transparent);
  padding: 0.9rem 1rem;
}

.demo-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border: 1px solid var(--chip-line);
  border-radius: 999px;
  background: var(--chip-bg);
  color: var(--sea-ink-soft);
  padding: 0.35rem 0.65rem;
  font-size: 0.75rem;
  font-weight: 700;
}

.demo-alert {
  border: 1px solid rgba(193, 126, 42, 0.3);
  border-radius: 1rem;
  background: rgba(193, 126, 42, 0.1);
  color: var(--sea-ink);
  padding: 1rem;
}

.demo-alert-danger {
  border-color: rgba(196, 71, 71, 0.3);
  background: rgba(196, 71, 71, 0.1);
}

.demo-code-block {
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: color-mix(in oklab, var(--chip-bg) 88%, transparent);
  color: var(--sea-ink);
  padding: 1rem;
}

.demo-table-shell {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: color-mix(in oklab, var(--surface-strong) 78%, transparent);
}

.demo-table {
  width: 100%;
  border-collapse: collapse;
  color: var(--sea-ink);
}

.demo-table th,
.demo-table td {
  border-bottom: 1px solid var(--line);
  padding: 0.75rem 1rem;
  text-align: left;
}

.demo-table th {
  background: color-mix(in oklab, var(--chip-bg) 88%, transparent);
  color: var(--sea-ink);
  font-weight: 700;
}

.demo-table tr:hover td {
  background: color-mix(in oklab, var(--lagoon) 8%, transparent);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: var(--header-bg);
  backdrop-filter: blur(10px);
}

.nav-shell {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
  padding: 0.75rem 0;
}

.brand-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 999px;
  border: 1px solid var(--chip-line);
  background: var(--chip-bg);
  padding: 0.5rem 0.875rem;
  color: var(--sea-ink);
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(30, 90, 72, 0.08);
}

.brand-dot {
  height: 0.5rem;
  width: 0.5rem;
  border-radius: 999px;
  background: linear-gradient(90deg, #56c6be, #7ed3bf);
}

.island-kicker {
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 0.69rem;
  color: var(--kicker);
}

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  color: var(--sea-ink-soft);
  text-decoration: none;
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  transform: scaleX(0);
  transform-origin: left;
  background: linear-gradient(90deg, var(--lagoon), #7ed3bf);
  transition: transform 170ms ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--sea-ink);
}

.nav-link:hover::after,
.nav-link.is-active::after {
  transform: scaleX(1);
}

.rise-in {
  animation: rise-in 700ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
<% } %>
