:root {
  color-scheme: light;
  font-family: 'Segoe UI', Helvetica, Arial, sans-serif;
  background: #f7f6f0;
  color: #142922;
  --dark: #142922;
  --ink-muted: #506057;
  --line: #dcded4;
  --accent: #205342;
  --paper: #fffefa;
}

* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; }
.shell { width: min(100% - 3rem, 70rem); margin-inline: auto; }
.header, .footer { display: flex; align-items: center; gap: .7rem; }
.header { justify-content: space-between; min-height: 5.25rem; border-bottom: 1px solid var(--line); }
.footer { padding-block: 1.4rem; border-top: 1px solid var(--line); color: var(--ink-muted); font-size: .82rem; }
.wordmark { text-decoration: none; color: var(--dark); font-size: 1.14rem; font-weight: 700; letter-spacing: -.04em; }
.wordmark span { font-weight: 500; }
.home-link { color: var(--accent); font-size: .9rem; font-weight: 600; text-underline-offset: .24em; }
.home-link span { margin-left: .2rem; }
main { flex: 1; }
.entry { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); align-items: center; gap: clamp(2.2rem, 7vw, 7rem); }
.welcome { padding-block: 4rem; }
.eyebrow { color: var(--accent); font-weight: 700; text-transform: uppercase; font-size: .73rem; letter-spacing: .15em; }
h1 { font-family: Georgia, Times, serif; font-weight: 400; letter-spacing: -.055em; line-height: .98; margin: .8rem 0 1.4rem; font-size: clamp(3.2rem, 8vw, 6.6rem); overflow-wrap: anywhere; }
h2, h3 { line-height: 1.2; margin: 0 0 .7rem; letter-spacing: -.04em; }
h2 { font-size: 1.64rem; }
h3 { font-size: 1.21rem; }
p { line-height: 1.6; color: var(--ink-muted); }
.welcome > p:last-child { font-size: 1.15rem; max-width: 30rem; }
.panel, .site-card { border: 1px solid var(--line); background: var(--paper); border-radius: .5rem; }
.panel { padding: clamp(1.4rem, 4vw, 2.5rem); }
.panel p { margin: 0 0 1.5rem; }
.privacy-link a, .privacy a { color: var(--accent); font-weight: 650; text-underline-offset: .24em; }
.panel .notice { background: #e8eee6; padding: .85rem; margin-bottom: 0; border-radius: .25rem; font-size: .88rem; }
.button, .secondary { display: inline-flex; align-items: center; justify-content: space-between; column-gap: 2.3rem; appearance: none; padding: .86rem 1.18rem; min-height: 2.8rem; line-height: 1.15; border-radius: .3rem; text-decoration: none; font: inherit; font-weight: 650; font-size: .95rem; cursor: pointer; }
.button { background: var(--accent); color: white; border: 1px solid var(--accent); }
.button:hover { background: #153a2e; }
.secondary { background: transparent; border: 1px solid #74877a; color: var(--accent); }
.secondary:hover { background: #eaf0e7; }
a:focus-visible, button:focus-visible { outline: 2px solid #31624d; outline-offset: .25rem; }
.message { grid-column: 1/-1; max-width: 45rem; padding-block: clamp(4rem, 11vw, 8rem); }
.message h1, .profile h1 { font-size: clamp(2.75rem, 6vw, 4.8rem); }
.privacy { padding-block: clamp(2.5rem, 7vw, 5rem); }
.privacy h2 { margin-top: 2rem; }
.message .button, .message form { margin-top: 1rem; }
.account-reference { color: var(--dark); user-select: all; overflow-wrap: anywhere; }
.workspace { padding-block: clamp(2rem, 6vw, 4.5rem) 5rem; }
.profile { display: flex; justify-content: space-between; align-items: start; gap: 1rem; border-bottom: 1px solid var(--line); padding-bottom: 1rem; }
.profile p { overflow-wrap: anywhere; }
.sites { margin-top: 2.7rem; }
.site-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr)); gap: 1rem; }
.site-card { padding: 1.4rem; }
.site-card a { color: var(--accent); font-weight: 650; text-underline-offset: .24em; }
.site-card p { margin: 0 0 .75rem; }
.site-card .handoff { font-size: .83rem; margin: .6rem 0 0; }

@media (max-width: 45rem) {
  .entry { grid-template-columns: 1fr; gap: .3rem; align-content: start; }
  .welcome { padding-block: 3rem 1rem; }
  .panel { margin-bottom: 2rem; }
}

@media (max-width: 29rem) {
  .shell { width: calc(100% - 2rem); }
  .header { min-height: 4.5rem; }
  .profile { display: block; }
  .profile form { margin-block: .7rem; }
}
