:root {
  color-scheme: light;
  --ink: #182c21;
  --muted: #516157;
  --paper: #f7f9f3;
  --panel: #fff;
  --green: #d6f3a8;
  --line: #dce5d9;
  font-family: "Avenir Next", Avenir, system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.5;
}

* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; }
button, input { font: inherit; }
[hidden] { display: none !important; }
.wrap { width: min(100% - 3rem, 73rem); margin-inline: auto; }

.site-header {
  min-height: 5.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  font-size: 1.25rem;
  font-weight: 750;
  text-decoration: none;
  letter-spacing: -.035em;
}

.brand-mark {
  width: 2.15rem;
  aspect-ratio: 1;
  display: inline-grid;
  place-items: center;
  border-radius: .55rem;
  background: var(--green);
  color: var(--ink);
  font: bold 1.35rem Georgia, serif;
}

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 2.8rem;
  padding: .7rem 1.05rem;
  border-radius: .55rem;
  border: 1px solid transparent;
  font-size: .95rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.button-outline { background: transparent; border-color: #adb9ac; color: var(--ink); }
.button-outline:hover { background: #eaf0e7; }
.button-primary { background: var(--ink); color: white; }
.button-primary:hover { background: #314b3a; }
:focus-visible { outline: 3px solid #387244; outline-offset: 4px; }

.hero {
  display: grid;
  grid-template-columns: 1.14fr 1fr;
  gap: clamp(2rem, 7vw, 7.5rem);
  align-items: center;
  padding-block: clamp(4.5rem, 11vw, 9rem);
}

h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  line-height: .99;
  letter-spacing: -.07em;
}

.hero h1 { font-size: clamp(3.7rem, 7.1vw, 7.05rem); }
.hero h1 em { color: #315f41; }
.hero-copy > p:first-of-type {
  max-width: 28rem;
  margin: 1.6rem 0 1.75rem;
  font-size: clamp(1.05rem, 1.7vw, 1.2rem);
  color: var(--muted);
}
.hero .button-primary { min-height: 3.2rem; padding-inline: 1.45rem; }

.workspace-preview {
  margin: 0;
  padding: clamp(1.2rem, 3vw, 2.35rem);
  border-radius: 1.45rem;
  color: #edf5eb;
  background: #203b2b;
  box-shadow: 0 1.1rem 2.5rem #29473620;
}

.preview-top { display: flex; align-items: center; gap: .6rem; font-size: .92rem; font-weight: 650; }
.mini { width: 1.6rem; border-radius: .38rem; font-size: 1rem; }
.preview-body {
  display: grid;
  gap: .75rem;
  margin-top: 1.3rem;
  padding: clamp(1.1rem, 3vw, 1.7rem);
  border-radius: .9rem;
  color: var(--ink);
  background: #f4f8ee;
}
.shop-icon { width: 2.6rem; padding: .15rem; border-radius: .55rem; background: var(--green); }
.preview-body strong { font: 1.5rem Georgia, serif; }
.preview-field, .preview-action { border-radius: .4rem; padding: .52rem .65rem; font-size: .9rem; }
.preview-field { border: 1px solid #cbd6c8; background: white; color: var(--muted); overflow-wrap: anywhere; }
.preview-action { justify-self: start; background: var(--ink); color: white; }
figcaption { margin-top: .9rem; color: #cbdccc; font-size: .85rem; }

.site-footer { padding-block: 1.25rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .9rem; }
.workspace-main { padding-block: clamp(2.5rem, 8vw, 7rem); }
.workspace-card {
  max-width: 40rem;
  margin-inline: auto;
  padding: clamp(1.5rem, 5vw, 3.3rem);
  border: 1px solid var(--line);
  border-radius: 1.1rem;
  background: var(--panel);
}
.workspace-card h1 { font-size: clamp(2.5rem, 6vw, 4rem); overflow-wrap: anywhere; }
.workspace-card p { color: var(--muted); overflow-wrap: anywhere; }
.shop-form { display: grid; gap: .7rem; margin-top: 1.75rem; }
.shop-form label { font-size: .95rem; font-weight: 700; }
.shop-form input { min-width: 0; padding: .7rem .85rem; border: 1px solid #adb9ac; border-radius: .45rem; }
.shop-form .button { justify-self: start; margin-top: .35rem; }
.notice, .workspace-card .notice { max-width: 29rem; color: #8c3d22; }
.shop-status { padding-top: 1rem; border-top: 1px solid var(--line); }

@media (max-width: 47rem) {
  .wrap { width: calc(100% - 2rem); }
  .hero { grid-template-columns: 1fr; padding-block: 3.25rem; }
  .workspace-preview { max-width: 32rem; }
}

@media (max-width: 23rem) {
  .hero h1 { font-size: 3.05rem; }
  .site-header .button { padding-inline: .65rem; }
}
