


.pt-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  padding: 0;
}
.pt-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pg-surface.pt-grid { padding: 0; }
.pt-cell { padding: 32px; }
.pt-cell + .pt-cell { box-shadow: inset 1px 0 0 var(--line-2); }
.pt-cell_h {
  margin: 0 0 8px;
  font-family: var(--sans);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.pt-cell_l {
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--ink-3);
}
.pt-cell_t {
  margin: 0;
  max-width: 29em;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-2);
}
@media (max-width: 767px) {
  .pt-grid,
  .pt-grid--2 { grid-template-columns: minmax(0, 1fr); }
  .pt-cell { padding: 24px 20px; }
  .pt-cell + .pt-cell { box-shadow: inset 0 1px 0 var(--line-2); }
}


.pt-cmd { margin-top: 16px; }
.pt-cmd code {
  display: inline-block;
  font-family: var(--ts-mono);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
  color: var(--ink);
  background: var(--stone);
  border: 0;
  border-radius: var(--r-control);
  padding: 12px 16px;
}






.pt-form-card {
  background: var(--raised);
  border: 0;
  border-radius: var(--r-surface);
  box-shadow: inset 0 0 0 1px var(--line-1);
  padding: 40px;
}

.pt-form [hidden] { display: none !important; }


.pt-form .pt-field-msg[hidden] { display: block !important; visibility: hidden; }
.pt-field-msg { min-height: 1.3em; }
.pt-form-card.is-sizing { overflow: hidden; }

.pt-field-label {
  display: block;
  font-family: var(--ts-font);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.3;
  margin-bottom: 8px;
}

.pt-input {
  width: 100%;
  box-sizing: border-box;
  background: var(--canvas);
  border: 1px solid var(--line-3);
  border-radius: var(--r-control);
  padding: 12px 16px;
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--ink);
  caret-color: var(--red);
}
.pt-input::placeholder { color: var(--ink-3); }
.pt-input:focus {
  outline: none;
  border-color: var(--ink-3);
}
.pt-input:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 2px;
}

.pt-field-msg {
  color: var(--red); 
  font-size: 14px;
  line-height: 1.3;
  margin: 8px 0 0;
}


.pt-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.pt-submit {
  margin-top: 24px;
  min-height: 40px;
  padding: 0 16px;
  background: var(--ink);
  color: var(--canvas);
  border: none;
  border-radius: var(--r-control);
  cursor: pointer;
  font-family: var(--sans);
}
.pt-submit:hover { background: #2b2926; }
.pt-submit:disabled { cursor: default; opacity: 0.72; }


.pt-progress {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
}
.pt-mark { width: 22px; height: 24px; flex: none; }
.pt-mark .pt-half {
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  transform-box: view-box;
}
.pt-mark .pt-half-a { transform: translate(-30px, -22px); }
.pt-mark .pt-half-b { transform: translate(30px, 22px); }
.pt-progress-label {
  font-size: 14px;
  line-height: 1.3;
  margin: 0;
}
.pt-pip {
  width: 48px;
  height: 3px;
  flex: none;
  background: var(--line-2);
  border-radius: 999px;
  overflow: hidden;
  position: relative;
}
.pt-pip::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 40%;
  background: var(--ink);
  border-radius: 999px;
  animation: pt-pip-slide 1s ease-in-out infinite alternate;
}
@keyframes pt-pip-slide {
  from { transform: translateX(-60%); }
  to { transform: translateX(160%); }
}


.pt-done-label {
  color: var(--ink-3);
  margin: 0 0 16px;
}
.pt-done-line {
  font-family: var(--ts-font);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.3;
  margin: 0;
}
.pt-kept {
  color: var(--moss); 
  font-weight: 500;
  margin-right: 12px;
}
.pt-done-sub {
  color: var(--ink-3);
  margin: 8px 0 0;
}
.pt-reset {
  margin-top: 24px;
  min-height: 40px;
  padding: 0 16px;
  background: var(--raised);
  color: var(--ink);
  border: 0;
  box-shadow: inset 0 0 0 1px var(--line-3);
  border-radius: var(--r-control);
  cursor: pointer;
  font-family: var(--sans);
}
.pt-reset:hover { box-shadow: inset 0 0 0 1px rgba(20, 19, 18, 0.32); }

.pt-note {
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-3);
  margin: 16px 0 0;
  max-width: 32em; 
}
.pt-note:empty { margin: 0; }
.pt-note.is-error { color: var(--red); }
.pt-textlink {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}




@media (prefers-reduced-motion: reduce) {
  .pt-pip::after {
    animation: none;
    width: 100%;
    transform: none;
  }
  .pt-mark .pt-half { transition: none; }
}


@media (max-width: 767px) {
  .pt-form-card { padding: 24px 20px; }
}










.pt-vh {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  border: 0;
  white-space: nowrap;
}


.pt-trust { margin-top: 32px;  }
@media (min-width: 1024px) {
  .pt-form-layout {
    display: grid;
    grid-template-columns: minmax(0, 720px) minmax(0, 1fr);
    gap: 64px;
    align-items: start;
  }
  .pt-trust { margin-top: 0; padding-top: 46px; }
}

.pt-trust-label { margin: 0 0 16px; font-size: 14px; font-weight: 500; line-height: 1.5; color: var(--ink); }
.pt-trust-list { list-style: none; margin: 0; padding: 0; }
.pt-trust-list li {
  display: flex;
  gap: 12px;
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--ink-2);
  margin-top: 12px;
}
.pt-trust-list li:first-child { margin-top: 0; }
.pt-trust-check {
  flex: none;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  border-radius: 999px;
  background: var(--sage);
  color: var(--moss);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.pt-trust-check svg { width: 12px; height: 12px; }
.pt-trust-oss {
  color: var(--ink-3);
  font-size: 16px;
  line-height: 1.5;
  margin: 24px 0 0;
}


.pt-rail-wrap { position: relative; margin-bottom: 32px; }
.pt-rail {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.pt-rail-item {
  position: relative;
  display: flex;
  align-items: center;
  min-width: 0;
  color: var(--ink-3);
}
.pt-rail-item.is-current,
.pt-rail-item.is-done { color: var(--ink); }

.pt-rail-item.is-done .pt-rail-label::before {
  content: "";
  display: inline-block;
  width: 14px;
  height: 14px;
  margin-right: 6px;
  vertical-align: -2px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233b6a2f' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center / 14px 14px no-repeat;
}
.pt-rail-label {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.3;
  white-space: nowrap;
}

.pt-rail-item { justify-self: start; margin: 0; }
.pt-rail-item.is-current::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 19.5px);
  height: 2px;
  background: var(--red);
}
.pt-rail-wrap.has-mark .pt-rail-item.is-current::after { display: none; }
.pt-rail-track {
  height: 1px;
  background: var(--line-3);
  margin-top: 20px;
}

.pt-rail-fill { display: none; }


.pt-fstep-title {
  font-family: var(--sans);
  color: var(--ink);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.3;
  margin: 0 0 16px;
}
.pt-fstep-title:focus { outline: none; }


.pt-note-preview {
  background: var(--stone);
  border: 0;
  border-radius: var(--r-control);
  padding: 20px;
}
.pt-note-subject {
  font-family: var(--sans);
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.3;
  margin: 0 0 12px;
}
.pt-note-body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  white-space: pre-wrap;
  margin: 0;
  color: var(--ink-2);
}
.pt-fstep-help {
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-3);
  margin: 16px 0 0;
}

.pt-fstep-recap { margin: 0; font-size: 16px; line-height: 1.5; }
.pt-fstep-recap-label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.3;
  margin-bottom: 8px;
}

.pt-fstep-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 24px;
}
.pt-fstep-nav-end { justify-content: flex-end; }


.pt-continue {
  min-height: 40px;
  padding: 0 16px;
  background: var(--ink);
  color: var(--canvas);
  border: none;
  border-radius: var(--r-control);
  cursor: pointer;
  font-family: var(--sans);
}
.pt-continue:hover { background: #2b2926; }
.pt-back {
  min-height: 40px;
  padding: 0 16px;
  background: var(--raised);
  color: var(--ink);
  border: 0;
  box-shadow: inset 0 0 0 1px var(--line-3);
  border-radius: var(--r-control);
  cursor: pointer;
  font-family: var(--sans);
}
.pt-back:hover { box-shadow: inset 0 0 0 1px rgba(20, 19, 18, 0.32); }

.pt-continue, .pt-back, .pt-submit, .pt-reset {
  transition: background-color 160ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 160ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 160ms cubic-bezier(0.22, 1, 0.36, 1);
}
.pt-continue:active, .pt-back:active, .pt-submit:active:not(:disabled), .pt-reset:active { transform: scale(0.98); transition-duration: 80ms; }
@media (prefers-reduced-motion: reduce) {
  .pt-continue, .pt-back, .pt-submit, .pt-reset { transition: none; }
  .pt-continue:active, .pt-back:active, .pt-submit:active, .pt-reset:active { transform: none; }
}
.pt-continue:focus-visible,
.pt-back:focus-visible,
.pt-submit:focus-visible,
.pt-reset:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 2px;
}


@keyframes pt-fstep-in {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}
.pt-fstep-in { animation: pt-fstep-in 0.24s cubic-bezier(0.22, 1, 0.36, 1); }


@media (prefers-reduced-motion: reduce) {
  .pt-rail-fill { transition: none; }
  .pt-fstep, .pt-fstep-in { animation: none; }
}


@media (max-width: 767px) {
  .pt-rail { gap: 8px; }
  .pt-note-preview { padding: 16px; }
}


@media (min-width: 992px) {
  .nav__list--main {
    margin-left: 32px;
  }
}
