:root {
  font-family:ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  color:#243d36;
  background:#f7f6f0;
  font-synthesis:none;
  --ink:#243d36;
  --teal:#244e47;
  --muted:#68726a;
  --line:#dedfd5;
  --paper:#fffefa;
  --peach:#f2d3bc;
  --green:#eaf0e6;
  --danger:#a0382b;
}

* {
  box-sizing:border-box;
}

body {
  margin:0;
}

button,input,select,textarea {
  font:inherit;
}

button,a,input,select,textarea {
  -webkit-tap-highlight-color:transparent;
}

button {
  cursor:pointer;
}

button:disabled {
  cursor:default;
}

button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,a:focus-visible {
  outline:3px solid #b27145;
  outline-offset:4px;
}

button {
  color:inherit;
}

.header {
  height:98px;
  max-width:1440px;
  margin:auto;
  padding:0 64px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  border-bottom:1px solid var(--line);
  gap:24px;
}

.brand {
  display:flex;
  align-items:center;
  gap:12px;
  font-weight:650;
  letter-spacing:-.6px;
  font-size:22px;
}

.brand-mark {
  width:35px;
  height:35px;
  display:grid;
  place-items:center;
  background:var(--teal);
  color:var(--paper);
  border-radius:11px;
  font-size:24px;
  line-height:1;
  font-weight:500;
}

.header-label,.eyebrow,.nav-group {
  font-size:11px;
  font-weight:700;
  letter-spacing:1.8px;
  text-transform:uppercase;
}

.header-label {
  color:var(--muted);
}

.header-right {
  display:flex;
  align-items:center;
  gap:10px;
  font-size:12px;
  color:var(--muted);
}

.header-dot {
  width:7px;
  height:7px;
  background:#77967b;
  border-radius:100%;
}

.layout {
  max-width:1220px;
  margin:0 auto;
  display:grid;
  grid-template-columns:270px minmax(0,1fr);
  gap:85px;
  padding:44px 36px 0;
}

.sidebar {
  padding-bottom:24px;
  position:sticky;
  top:24px;
  align-self:start;
  max-height:calc(100svh - 48px);
  overflow-y:auto;
  scrollbar-width:thin;
}

.sidebar-intro {
  margin:0 0 10px;
  font-size:25px;
  font-weight:550;
  line-height:1.25;
  letter-spacing:-.9px;
}

.sidebar-subtitle {
  font-size:13px;
  line-height:1.6;
  color:var(--muted);
  margin:0 0 28px;
  max-width:225px;
}

.nav-group {
  color:#7b8175;
  margin:21px 0 9px;
  font-size:9px;
  letter-spacing:1.5px;
  padding-inline-start:12px;
}

.step-link {
  width:100%;
  min-height:48px;
  padding:6px 12px;
  border:0;
  background:transparent;
  border-radius:9px;
  text-align:start;
  display:flex;
  align-items:center;
  gap:11px;
  font-size:12px;
  color:#626d64;
  margin:3px 0;
}

.step-link:disabled {
  opacity:.62;
}

.step-link[aria-current="step"] {
  background:#e5ebe1;
  color:var(--teal);
  font-weight:650;
}

.step-number {
  display:grid;
  place-items:center;
  width:22px;
  height:22px;
  border:1px solid #cbd2c6;
  border-radius:50%;
  font-size:10px;
  flex-shrink:0;
}

.step-link[aria-current="step"] .step-number {
  background:var(--teal);
  border-color:var(--teal);
  color:white;
}

.step-link.completed .step-number {
  background:#dce7d7;
  border-color:#dce7d7;
  color:var(--teal);
}

.side-note {
  border-top:1px solid var(--line);
  margin-top:25px;
  padding-top:18px;
  font-size:12px;
  color:var(--muted);
  line-height:1.6;
}

.main {
  min-width:0;
  max-width:650px;
  width:100%;
}

.progress-panel {
  position:sticky;
  top:0;
  background:#f7f6f0;
  padding:14px 0 10px;
  z-index:3;
}

.progress-meta {
  display:flex;
  justify-content:space-between;
  align-items:center;
  font-size:12px;
  color:var(--muted);
  margin:1px 0 13px;
  gap:12px;
}

.progress-meta strong {
  font-weight:600;
  color:var(--teal);
}

progress {
  display:block;
  width:100%;
  height:5px;
  appearance:none;
  border:0;
  border-radius:9px;
  background:#e4e6dc;
  overflow:hidden;
}

progress::-webkit-progress-bar {
  background:#e4e6dc;
}

progress::-webkit-progress-value {
  background:var(--teal);
  border-radius:9px;
  transition:width .2s;
}

progress::-moz-progress-bar {
  background:var(--teal);
  border-radius:9px;
}

.screen {
  padding:38px 0 26px;
  min-height:530px;
  animation:appear .2s ease-out;
}

.eyebrow {
  color:#796449;
  font-size:10px;
  letter-spacing:1.55px;
  margin:0 0 16px;
  display:flex;
  align-items:center;
  gap:8px;
}

.eyebrow::before {
  content:"";
  width:6px;
  height:6px;
  background:#c38b62;
  border-radius:50%;
}

h1 {
  font-size:43px;
  font-weight:520;
  line-height:1.12;
  letter-spacing:-1.7px;
  margin:0 0 16px;
  max-width:610px;
  text-wrap:balance;
}

h1:focus {
  outline:none;
}

.description {
  color:var(--muted);
  font-size:15px;
  line-height:1.65;
  max-width:490px;
  margin:0 0 33px;
}

.fields {
  display:grid;
  gap:26px;
}

.fields>.hint {
  margin-top:0;
}

.field {
  min-width:0;
}

.field-label,legend {
  font-size:14px;
  font-weight:600;
  margin:0 0 10px;
  display:block;
  line-height:1.5;
}

.optional {
  font-size:11px;
  font-weight:400;
  color:var(--muted);
  margin-inline-start:7px;
}

input:not([type="radio"]):not([type="checkbox"]):not([type="file"]),select,textarea {
  width:100%;
  min-height:54px;
  background:var(--paper);
  border:1px solid #cdd3c8;
  border-radius:11px;
  color:var(--ink);
  padding:14px 15px;
  line-height:1.4;
}

input::placeholder,textarea::placeholder {
  color:#7c8279;
  opacity:1;
}

textarea {
  min-height:94px;
  resize:vertical;
}

input:hover,select:hover,textarea:hover {
  border-color:#8ca395;
}

.hint {
  font-size:12px;
  line-height:1.6;
  color:var(--muted);
  margin:9px 0 0;
}

fieldset {
  margin:0;
  padding:0;
  border:0;
  min-width:0;
}

.choices {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:11px;
}

.choice {
  position:relative;
  display:flex;
  align-items:center;
  gap:13px;
  background:var(--paper);
  border:1px solid var(--line);
  border-radius:12px;
  padding:17px 16px;
  min-height:65px;
  cursor:pointer;
  transition:border-color .15s,background .15s;
}

.choice:hover {
  border-color:#91a18e;
}

.choice:has(:checked) {
  background:#edf1e8;
  border:1.5px solid var(--teal);
  padding:16.5px 15.5px;
}

.choice:has(:focus-visible) {
  outline:3px solid #b27145;
  outline-offset:3px;
}

.choice input {
  appearance:none;
  width:19px;
  height:19px;
  border:1.5px solid #b6beb2;
  border-radius:50%;
  flex-shrink:0;
  margin:0;
  background:white;
}

.choice input:checked {
  border:5px solid var(--teal);
}

.choice input:focus-visible {
  outline:none;
}

.choice input[type="checkbox"] {
  border-radius:5px;
}

.choice input[type="checkbox"]:checked {
  background:var(--teal);
  border:3px solid var(--teal);
}

.choice input[type="checkbox"]:checked::after {
  content:"✓";
  display:block;
  color:white;
  font-size:12px;
  line-height:12px;
  text-align:center;
}

.choice-text {
  font-size:14px;
  font-weight:550;
  line-height:1.4;
  min-width:0;
}

.choice-text small {
  display:block;
  font-size:12px;
  color:var(--muted);
  font-weight:400;
  margin-top:4px;
}

.language-choices .choice {
  min-height:86px;
}

.language-choices .choice-text {
  font-size:15px;
}




.welcome-signoff {
  margin-top:0;
  display:flex;
  align-items:center;
  gap:10px;
  font-size:12px;
  color:var(--muted);
}

.welcome-signoff span:first-child {
  background:var(--peach);
  color:#755139;
  border-radius:50%;
  width:28px;
  height:28px;
  display:grid;
  place-items:center;
  font-size:14px;
}

.actions {
  position:sticky;
  bottom:0;
  z-index:2;
  background:linear-gradient(to bottom,rgba(247,246,240,0),#f7f6f0 15px);
  padding:21px 0 max(23px,env(safe-area-inset-bottom));
  margin-top:auto;
}

.action-row {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  border-top:1px solid var(--line);
  padding-top:20px;
}

.button {
  border:0;
  min-height:52px;
  border-radius:11px;
  padding:13px 22px;
  font-weight:600;
  font-size:14px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:26px;
}

.primary {
  background:var(--teal);
  color:white;
  min-width:178px;
}

.primary:hover {
  background:#193c35;
}

.secondary {
  background:transparent;
  border:1px solid #d6dbd0;
}

.secondary:hover {
  background:#e9ece2;
}

.button-arrow {
  font-size:20px;
  font-weight:400;
  line-height:1;
}

.first-step-note {
  color:var(--muted);
  font-size:12px;
  line-height:1.5;
}


.repeat-row {
  display:flex;
  align-items:center;
  gap:8px;
  margin-bottom:9px;
}

.repeat-row .field {
  flex:1;
}

.remove {
  background:transparent;
  min-width:48px;
  min-height:48px;
  border:1px solid var(--line);
  border-radius:10px;
  font-size:21px;
  color:var(--muted);
}

.remove:hover {
  color:var(--danger);
  border-color:var(--danger);
}

.add {
  background:transparent;
  border:0;
  min-height:48px;
  padding:8px 3px;
  font-size:13px;
  font-weight:600;
  text-align:start;
  color:var(--teal);
}

.add:hover {
  text-decoration:underline;
}

.error {
  font-size:12px;
  color:var(--danger);
  margin:8px 0 0;
  line-height:1.5;
}

[aria-invalid="true"] {
  border-color:var(--danger)!important;
}

.conditional {
  padding:20px;
  background:#eef1e9;
  border-radius:12px;
  display:grid;
  gap:22px;
}

.swatches {
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:10px;
}

.swatch {
  position:relative;
  background:var(--paper);
  border:1px solid var(--line);
  padding:12px 6px;
  border-radius:11px;
  text-align:center;
  cursor:pointer;
  font-size:12px;
  min-height:86px;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:9px;
}

.swatch:has(:checked) {
  background:#edf1e8;
  border:1.5px solid var(--teal);
  padding:11.5px 5.5px;
}

.swatch input {
  position:absolute;
  width:1px;
  height:1px;
  opacity:0;
}

.swatch:has(:focus-visible) {
  outline:3px solid #b27145;
  outline-offset:3px;
}

.swatch-color {
  width:30px;
  height:30px;
  border-radius:50%;
  border:1px solid #00000012;
  display:grid;
  place-items:center;
  color:white;
  font-size:18px;
}

.swatch:has(:checked) .swatch-color::after {
  content:"✓";
  color:#fff;
  text-shadow:0 1px 3px #000,0 0 3px #000;
}




.review-card {
  background:var(--paper);
  border:1px solid var(--line);
  border-radius:13px;
  padding:20px;
  margin-bottom:14px;
}

.review-header {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  margin-bottom:12px;
}

.review-header h2 {
  font-size:15px;
  margin:0;
  font-weight:650;
}

.edit {
  border:0;
  background:#edf1e8;
  color:var(--teal);
  min-height:48px;
  min-width:55px;
  border-radius:8px;
  font-size:12px;
  font-weight:600;
  padding:8px 12px;
}

.review-card dl {
  margin:0;
  font-size:13px;
  line-height:1.6;
  overflow-wrap:anywhere;
}

.review-card dt {
  color:var(--muted);
  margin-top:12px;
  font-size:11px;
}

.review-card dd {
  margin:2px 0 0;
  white-space:pre-wrap;
}

.blank-style {
  min-height:300px;
}

@keyframes appear {
  from {
    opacity:.5;
    transform:translateY(4px);
  }
  to {
    opacity:1;
    transform:translateY(0);
  }
}

@media(min-width:1100px) {
  .main {
    padding-bottom:10px;
  }
  .screen {
    min-height:548px;
  }
}

@media(max-width:1000px) {
  .layout {
    gap:40px;
    grid-template-columns:225px minmax(0,1fr);
    padding-inline-start:28px;
    padding-inline-end:28px;
  }
  .header {
    padding:0 32px;
  }
  h1 {
    font-size:37px;
  }
  .sidebar-intro {
    font-size:23px;
  }
}

@media(max-width:760px) {
  .header {
    height:76px;
    padding:0 22px;
  }
  .brand {
    font-size:19px;
  }
  .brand-mark {
    width:31px;
    height:31px;
    font-size:22px;
    border-radius:10px;
  }
  .header-label {
    display:none;
  }
  .header-right {
    font-size:11px;
  }
  .layout {
    display:block;
    padding:25px 22px 0;
  }
  .sidebar {
    display:none;
  }
  .main {
    max-width:540px;
    margin:auto;
  }
  .progress-meta {
    font-size:11px;
    margin-bottom:11px;
  }
  .screen {
    padding-top:31px;
    min-height:calc(100svh - 247px);
  }
  h1 {
    font-size:36px;
    letter-spacing:-1.3px;
    max-width:430px;
  }
  .description {
    font-size:14px;
    line-height:1.65;
    margin-bottom:28px;
  }
  .eyebrow {
    font-size:9px;
    margin-bottom:14px;
  }
  .choices {
    gap:10px;
  }
  .choice {
    padding:15px 12px;
    min-height:64px;
  }
  .choice:has(:checked) {
    padding:14.5px 11.5px;
  }
  .language-choices .choice {
    min-height:82px;
  }
  .language-choices .choice-text {
    font-size:14px;
  }
  .choice-text {
    font-size:13px;
  }
  .choice-text small {
    font-size:11px;
  }
  .welcome-signoff {
    margin-top:0;
    font-size:11px;
  }
  .actions {
    padding-top:14px;
    padding-bottom:max(17px,env(safe-area-inset-bottom));
  }
  .action-row {
    padding-top:15px;
  }
  .primary {
    min-width:155px;
  }
  .button {
    gap:18px;
    padding:13px 18px;
  }
  .fields {
    gap:24px;
  }
  .swatches {
    gap:8px;
  }
  .conditional {
    padding:16px;
  }
  .review-card {
    padding:16px;
  }
  .first-step-note {
    font-size:11px;
  }
  .step-link {
    min-height:48px;
  }
}

@media(max-width:360px) {
  .layout {
    padding-inline-start:16px;
    padding-inline-end:16px;
  }
  .header {
    padding:0 16px;
  }
  .header-right {
    font-size:10px;
  }
  h1 {
    font-size:32px;
  }
  .choice {
    gap:9px;
  }
  .swatches {
    grid-template-columns:repeat(3,1fr);
  }
}

@media(prefers-reduced-motion:reduce) {
  *,*::before,*::after {
    animation:none!important;
    transition:none!important;
    scroll-behavior:auto!important;
  }
}

.sidebar-intro, .sidebar-subtitle {
  white-space:pre-line;
}

.language-status[hidden] {
  display:none;
}

.startup {
  max-width:540px;
  margin:60px auto;
  padding:24px;
}

:dir(rtl) .button-arrow {
  transform:scaleX(-1);
}

.primary:disabled {
  opacity:.6;
}

.button[hidden] {
  display:none;
}

.submission-success {
  padding:1rem;
  border:1px solid currentColor;
  border-radius:12px;
  overflow-wrap:anywhere;
}
