@font-face {
  font-family: Barlow;
  src: url("fonts/Barlow-Regular.ttf");
}
@font-face {
  font-family: Barlow;
  src: url("fonts/Barlow-Medium.ttf");
  font-weight: 600;
}
@font-face {
  font-family: Old;
  src: url("fonts/OldStandard-Regular.ttf");
}
:root {
  --paper: #f9f8f2;
  --ink: #192b24;
  --leaf: #224e36;
  --muted: #58665e;
  --line: #d7dcd2;
  --lime: #d9e9ad;
  --serif: Old, Georgia, serif;
  color-scheme: light;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font:
    17px/1.45 Barlow,
    Arial,
    sans-serif;
}
button,
input,
select {
  font: inherit;
}
button,
a {
  touch-action: manipulation;
}
a {
  color: inherit;
  text-decoration: none;
}
a:hover,
.plain:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
button {
  cursor: pointer;
}
button:disabled {
  opacity: 0.55;
  cursor: wait;
}
.wrap {
  max-width: 1220px;
  margin: auto;
  padding: 0 clamp(22px, 4vw, 62px);
}
.mast {
  border-bottom: 1px solid var(--line);
}
.bar,
.actions,
.brand,
.mast nav,
footer .wrap,
.promptbar,
.titleline {
  display: flex;
  align-items: center;
}
.bar {
  justify-content: space-between;
  gap: 22px;
  min-height: 75px;
}
.brand {
  gap: 9px;
  font: 31px/0.96 var(--serif);
  letter-spacing: -1.8px;
}
.brand:hover {
  text-decoration: none;
}
.mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 30px;
  height: 33px;
  border-radius: 3px 9px 5px 3px;
  background: var(--leaf);
  color: #f3f6df;
  font: italic 28px/1 Georgia;
  box-shadow: inset 3px 0 #88a47d;
}
.mast nav,
.actions {
  gap: 25px;
}
.mast nav a,
.login-link,
.plain,
.fine,
.pdf-link,
.copy,
.help {
  font-size: 15px;
}
.btn,
.pdf-link,
.copy,
.plain {
  border-radius: 5px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 13px 22px;
  background: var(--leaf);
  border: 1px solid var(--leaf);
  color: white;
  font-weight: 600;
}
.btn:hover {
  text-decoration: none;
  background: #173e29;
}
.btn:focus-visible,
a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 3px solid #c78c38;
  outline-offset: 3px;
}
.small {
  padding: 8px 16px;
}
.outline {
  background: transparent;
  color: var(--leaf);
}
.outline:hover {
  background: #e5eddb;
}
.textlink {
  text-decoration: underline;
  text-underline-offset: 5px;
  font-weight: 600;
}
.hero {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(26px, 5vw, 80px);
  align-items: center;
  padding-top: clamp(45px, 6vw, 88px);
  padding-bottom: clamp(50px, 7vw, 94px);
}
h1,
h2,
h3,
p,
figure,
pre {
  margin: 0;
}
.hero h1 {
  font: clamp(46px, 5.1vw, 77px) / 1.02 var(--serif);
  letter-spacing: -0.061em;
}
.hero h1 em {
  font:
    italic 0.95em/1.05 Georgia,
    serif;
  color: var(--leaf);
  letter-spacing: -0.063em;
}
.hero-copy > p {
  font-size: 20px;
  color: var(--muted);
  max-width: 440px;
  margin: 23px 0 30px;
}
.cover {
  background: #e7ecdc;
  border: 1px solid #c7cfc0;
  border-radius: 7px;
  overflow: hidden;
  transform: rotate(1deg);
  box-shadow: 5px 7px 0 #e1e6d7;
}
.cover img {
  display: block;
  width: 100%;
  height: clamp(240px, 25vw, 336px);
  object-fit: cover;
}
.cover figcaption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 18px 22px;
}
.cover small {
  color: var(--muted);
  font-size: 14px;
}
.cover h2 {
  font: clamp(20px, 2vw, 29px) / 1.2 var(--serif);
  letter-spacing: -0.05em;
  margin-top: 3px;
}
.pdf-link {
  border: 1px solid #8f9e87;
  padding: 6px 10px;
  white-space: nowrap;
}
.how {
  background: #eaf0e1;
  border-block: 1px solid #d9dfd1;
  padding: 65px 0;
}
.howgrid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 8%;
  align-items: center;
}
.how h2,
.price-section h2,
.dashboard h1,
.authpanel h1 {
  font: clamp(37px, 4vw, 57px) / 1.05 var(--serif);
  letter-spacing: -0.055em;
}
.setup {
  counter-reset: steps;
  list-style: none;
  padding: 0;
  margin: 25px 0 0;
}
.setup li {
  position: relative;
  counter-increment: steps;
  padding-left: 38px;
  margin: 16px 0;
}
.setup li:before {
  content: counter(steps);
  position: absolute;
  left: 0;
  top: 0;
  width: 25px;
  height: 25px;
  border: 1px solid #a2b598;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 14px;
}
.setup p,
.fine,
.help,
.muted {
  color: var(--muted);
}
.setup p {
  font-size: 15px;
}
.setup code {
  overflow-wrap: anywhere;
}
.promptbox {
  background: #183a2b;
  color: #eff1dc;
  border-radius: 7px;
  padding: 23px 26px;
  box-shadow: 0 7px 25px #192b2412;
}
.promptbar {
  justify-content: space-between;
  border-bottom: 1px solid #597361;
  padding-bottom: 12px;
}
.copy {
  background: transparent;
  color: inherit;
  border: 1px solid #839988;
  padding: 5px 10px;
}
.promptbox pre {
  font:
    14px/1.65 ui-monospace,
    Menlo,
    monospace;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  padding: 20px 0;
}
.docslink {
  color: #d6e8b5;
  font-size: 14px;
}
.price-section {
  padding-top: 72px;
  padding-bottom: 68px;
}
.prices {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin: 28px 0 15px;
}
.price {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 26px 32px;
  background: #fffefa;
}
.price.pro {
  border: 1px solid #91a789;
  background: #f0f4e8;
}
.price h3 {
  font: 27px var(--serif);
}
.amount {
  font: 41px/1.12 var(--serif);
  margin: 12px 0 4px;
}
.amount small {
  font: 16px Barlow;
}
.price ul {
  margin: 20px 0;
  padding: 16px 0 0 20px;
  border-top: 1px solid var(--line);
  line-height: 1.8;
}
.price .btn {
  margin-top: auto;
  align-self: start;
}
.offer {
  font-size: 14px;
  margin-top: 10px;
  color: #355137;
}
.fine {
  line-height: 1.5;
}
footer {
  border-top: 1px solid var(--line);
  padding: 22px 0;
}
footer .wrap {
  justify-content: space-between;
}
footer a {
  font-size: 14px;
}
footer .brand {
  font-size: 24px;
}
.authframe {
  max-width: 900px;
  margin: 65px auto;
  display: grid;
  grid-template-columns: 1fr 0.7fr;
  border: 1px solid var(--line);
  background: white;
  border-radius: 8px;
  overflow: hidden;
}
.authpanel {
  padding: 44px;
}
.authphoto {
  background: url("pasta.jpg") 66% center/cover;
}
.authpanel h1 {
  margin-bottom: 24px;
}
form label {
  display: block;
  font-weight: 600;
  margin: 12px 0;
}
input,
select {
  background: white;
  border: 1px solid #acb8ab;
  border-radius: 4px;
  padding: 10px 12px;
  max-width: 100%;
  color: var(--ink);
}
label input {
  display: block;
  width: 100%;
  margin-top: 4px;
}
.authpanel .btn {
  margin: 12px 0;
  width: 100%;
}
#feedback,
#dashboard-status:not(:empty) {
  color: #8a321c;
  padding: 8px 0;
}
.authpanel .textlink {
  display: inline-block;
  margin-top: 14px;
}
.plain {
  border: 1px solid var(--line);
  background: transparent;
  padding: 6px 10px;
  color: var(--ink);
}
.dashboard {
  display: grid;
  grid-template-columns: 205px minmax(0, 1fr);
  gap: 4%;
  margin: 44px auto;
}
.dashboard h1 {
  font-size: 36px;
}
.dashboard aside nav {
  display: grid;
  margin: 22px 0;
  gap: 4px;
}
.dashboard aside nav a {
  padding: 9px 11px;
  border-radius: 4px;
}
.dashboard nav a[aria-current="page"] {
  background: #e2ebd9;
  color: var(--leaf);
  font-weight: 600;
}
.dashboard h2 {
  font: 37px/1.1 var(--serif);
  letter-spacing: -0.04em;
  margin-bottom: 16px;
}
.dashboard h3 {
  font: 24px/1.2 var(--serif);
  margin: 16px 0 8px;
}
.card,
.record {
  border: 1px solid var(--line);
  background: #fffefa;
  border-radius: 6px;
  padding: 18px;
  margin: 12px 0;
}
.record {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.record small,
.detail small {
  color: var(--muted);
}
.record button {
  font: 600 18px Barlow;
  color: var(--leaf);
  background: none;
  border: 0;
  padding: 0;
  text-align: left;
}
.titleline {
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.compact {
  display: flex;
  gap: 10px;
  align-items: end;
  flex-wrap: wrap;
}
.compact label {
  flex: 1;
  min-width: 150px;
}
.compact > .btn {
  margin: 12px 0;
}
.keyvalue {
  overflow-wrap: anywhere;
  user-select: all;
  display: block;
  background: #e9f1e1;
  padding: 12px;
}
.detail {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 20px;
}
.detail img {
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
}
table {
  border-collapse: collapse;
  width: 100%;
  font-size: 15px;
}
th,
td {
  text-align: left;
  border-bottom: 1px solid var(--line);
  padding: 9px 4px;
}
td:last-child,
th:last-child {
  text-align: right;
}
.dashboard .btn {
  font-size: 15px;
  padding: 8px 14px;
}
.dashboard ol {
  padding-left: 23px;
}
.dashboard li {
  margin: 6px 0;
}
[hidden] {
  display: none !important;
}
@media (max-width: 850px) {
  .mast nav {
    gap: 12px;
  }
  .hero {
    gap: 25px;
  }
  .hero-copy > p {
    font-size: 17px;
  }
  .hero .actions {
    gap: 12px;
    flex-wrap: wrap;
  }
  .cover figcaption {
    padding: 14px;
  }
  .dashboard {
    grid-template-columns: 155px minmax(0, 1fr);
  }
  .detail {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 680px) {
  .mast nav {
    display: none;
  }
  .brand {
    font-size: 27px;
  }
  .actions {
    gap: 10px;
  }
  .bar {
    min-height: 63px;
    gap: 8px;
  }
  .btn.small {
    font-size: 14px;
  }
  .hero,
  .howgrid,
  .prices,
  .authframe,
  .dashboard {
    grid-template-columns: 1fr;
  }
  .hero {
    padding-block: 40px;
    gap: 30px;
  }
  .hero h1 {
    font-size: 53px;
  }
  .hero-copy > p {
    margin: 14px 0 20px;
  }
  .cover img {
    height: 240px;
  }
  .how {
    padding: 36px 0;
  }
  .howgrid {
    gap: 20px;
  }
  .price-section {
    padding-block: 40px;
  }
  .authframe {
    margin: 28px 18px;
  }
  .authpanel {
    padding: 25px;
  }
  .authphoto {
    display: none;
  }
  .dashboard {
    margin-top: 24px;
    gap: 24px;
  }
  .dashboard aside nav {
    display: flex;
    flex-wrap: wrap;
    margin: 8px 0;
  }
  .dashboard aside nav a {
    font-size: 15px;
  }
  .dashboard aside .help {
    display: none;
  }
  #user-email {
    max-width: 115px;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .promptbox {
    padding: 17px;
  }
  .price {
    padding: 22px;
  }
  .hero .textlink {
    font-size: 15px;
  }
}
