@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=Familjen+Grotesk:wght@400;500;600;700&display=swap");
:root {
  --paper: #EFF3F7; /* slate-50: the admin's ground */
  --card: #FFFFFF;
  --ink: #141A2E;
  --ink-soft: #3F4862; /* secondary text that must survive the washes (5:1 on lilac) */
  --graphite: #59637A; /* secondary text on paper and cards only */
  --mark: #0E9F77; /* logo green: ticks, strokes, buttons (ink text on it) */
  --agent: #0B7A5C; /* deep green: agent output text, the one full-width band */
  --rule: #DAE2EA;
  --shadow-card: 0 1px 2px rgba(14, 60, 64, 0.06), 0 14px 32px -22px rgba(14, 60, 64, 0.32);
  /* the admin wallpaper's five washes (design system, _ds-wallpaper.scss) */
  --wash-teal: #96D2C9;
  --wash-sage: #B4DCBF;
  --wash-lilac: #C6BBEA;
  --wash-rose: #EEC3D2;
  --wash-sky: #AFCFEF;
  --wash:
    radial-gradient(560px 420px at 6% 10%, var(--wash-teal) 0%, transparent 70%),
    radial-gradient(640px 480px at 94% 6%, var(--wash-lilac) 0%, transparent 70%),
    radial-gradient(560px 420px at 55% 40%, var(--wash-sky) 0%, transparent 70%),
    radial-gradient(700px 480px at 10% 66%, var(--wash-sage) 0%, transparent 70%),
    radial-gradient(560px 440px at 92% 62%, var(--wash-rose) 0%, transparent 70%);
  /* saturated versions of the wash hues, for widget blocks in illustrations */
  --block-green: #0E9F77;
  --block-lilac: #8C7AE6;
  --block-sky: #4C8EDB;
  --block-rose: #E97AA0;
  --f-display: "Familjen Grotesk", "Helvetica Neue", Arial, sans-serif;
  --gutter: clamp(16px, 4vw, 56px);
  --hero-h: clamp(820px, 100vh, 1040px);
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
}

/* texture: a faint dot grid, the canvas widgets are placed on */
body {
  margin: 0;
  color: var(--ink);
  background-color: var(--paper);
  background-image: radial-gradient(rgba(20, 26, 46, 0.11) 1px, transparent 1.5px);
  background-size: 24px 24px;
  font-family: var(--f-display);
  font-size: 1.0625rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--agent);
  outline-offset: 3px;
  border-radius: 2px;
}

.ms {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* hero wallpaper: the admin's washes on a solid ground, fading into the canvas below */
.ms-wash {
  position: absolute;
  z-index: -1;
  top: 0;
  left: 50%;
  width: 100vw;
  height: var(--hero-h);
  transform: translateX(-50%);
  overflow: hidden;
  background: var(--paper);
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, #000 78%, transparent);
  mask-image: linear-gradient(to bottom, #000 78%, transparent);
}

.ms-wash::before {
  content: "";
  position: absolute;
  inset: -120px;
  background-image: var(--wash);
  filter: blur(32px);
}

.ms-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 0 0;
}

.ms-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.ms-logo {
  display: block;
  width: 32px;
  height: 32px;
}

.ms-status {
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--agent);
  background: var(--card);
  padding: 6px 12px;
  border-radius: 999px;
  box-shadow: var(--shadow-card);
}

.ms-main {
  display: block;
}

.ms-foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  padding: 32px 0 48px;
  border-top: 1px solid var(--rule);
  font-size: 0.9375rem;
  color: var(--graphite);
}

.ms-foot a {
  text-decoration-color: var(--mark);
  text-underline-offset: 3px;
}

/* shared pieces the widgets use */
.card {
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: 12px;
  box-shadow: var(--shadow-card);
}

/* one line of what the agent does: deep green, led by a tick */
.agent-line {
  display: flex;
  gap: 8px;
  font-weight: 500;
  font-size: 0.9375rem;
  line-height: 1.45;
  color: var(--agent);
}

.agent-line::before {
  content: "✓";
  font-weight: 700;
}

/* buttons: .btn on a plain link, or .cta-link around a rich-text field whose
   link (words and address) the owner edits */
.cta-link p {
  margin: 0;
}

.btn,
.cta-link a {
  display: inline-block;
  font-weight: 600;
  font-size: 1.0625rem;
  text-decoration: none;
  color: var(--paper);
  background: var(--ink);
  padding: 14px 22px;
  border-radius: 8px;
  transition: background 0.15s ease, color 0.15s ease;
}

.btn:hover,
.cta-link a:hover {
  background: var(--mark);
  color: var(--ink);
}