:root {
  --ink: #19251f;
  --blue: #294be9;
  --paper: #fafaf6;
  --muted: #56625a;
  --rule: #d6dbd2;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-size: 16px;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
select {
  cursor: pointer;
}
button {
  color: inherit;
}
button:focus-visible,
a:focus-visible,
select:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid #6582ff;
  outline-offset: 3px;
}
button:disabled {
  opacity: 0.55;
  cursor: wait;
}
.shell {
  width: min(1216px, calc(100% - 112px));
  margin: auto;
}
header {
  border-bottom: 1px solid var(--rule);
}
.top {
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 760;
  font-size: 1.33rem;
  letter-spacing: -0.055em;
  text-decoration: none;
}
.brand img {
  border-radius: 8px;
}
.navlogin,
.outline,
.iconbtn {
  background: transparent;
  border: 1px solid #c2c9bd;
  border-radius: 7px;
  padding: 9px 17px;
  font-weight: 600;
  font-size: 0.9rem;
}
.navlogin:hover,
.outline:hover,
.iconbtn:hover {
  background: #e9ede4;
}
nav {
  display: flex;
  align-items: center;
  gap: 18px;
}
.navuser {
  font-size: 0.9rem;
  color: var(--muted);
}
.landing {
  display: grid;
  grid-template-columns: 1fr 1.04fr;
  gap: 5%;
  align-items: center;
  padding: 64px 0;
}
.intro {
  padding-bottom: 4px;
}
.eyebrow,
.receipt-kicker,
.receipt-end,
.trial > span,
.totals small {
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.78rem;
  font-weight: 650;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #40513e;
}
.dash {
  width: 25px;
  height: 2px;
  background: var(--blue);
}
h1,
h2,
h3,
p {
  margin: 0;
}
.intro h1 {
  font-family: "Georgia", "Times New Roman", serif;
  font-size: clamp(3.8rem, 6.2vw, 6.1rem);
  line-height: 0.99;
  font-weight: 500;
  letter-spacing: -0.072em;
  margin: 27px 0 23px;
}
.intro em {
  color: var(--blue);
  font-weight: 400;
}
.intro p {
  font-size: 1.12rem;
  line-height: 1.6;
  color: var(--muted);
  max-width: 400px;
}
.primary {
  background: var(--blue);
  color: white;
  border: 1px solid var(--blue);
  font-weight: 650;
  border-radius: 7px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 19px;
  min-height: 46px;
}
.primary:hover {
  background: #1b38c5;
}
.intro .primary {
  margin-top: 30px;
}
.google {
  font-family: Arial, sans-serif;
  font-size: 1.06rem;
  font-weight: 800;
  color: #3459d4;
  background: white;
  border-radius: 50%;
  width: 21px;
  height: 21px;
  display: grid;
  place-items: center;
}
.studio {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  background-color: #e6eddf;
  background-image:
    linear-gradient(#abbba23d 1px, transparent 1px),
    linear-gradient(90deg, #abbba23d 1px, transparent 1px);
  background-size: 24px 24px;
  border: 1px solid #cdd7c5;
  border-radius: 16px;
  overflow: hidden;
  padding: 44px 22px 23px;
}
.receipt-shadow {
  transform: rotate(-4deg);
  filter: drop-shadow(4px 9px 4px #46553930);
  width: min(310px, 88%);
  position: relative;
}
.receipt-shadow:before {
  content: "";
  position: absolute;
  inset: 6px 0 5px;
  background: #c3cde9;
  transform: rotate(9deg);
  border-radius: 1px;
}
.receipt {
  position: relative;
  background: #fffef6;
  padding: 22px 24px 29px;
  color: #273629;
  clip-path: polygon(
    0 0,
    100% 0,
    100% 98%,
    96% 100%,
    92% 98%,
    88% 100%,
    84% 98%,
    80% 100%,
    76% 98%,
    72% 100%,
    68% 98%,
    64% 100%,
    60% 98%,
    56% 100%,
    52% 98%,
    48% 100%,
    44% 98%,
    40% 100%,
    36% 98%,
    32% 100%,
    28% 98%,
    24% 100%,
    20% 98%,
    16% 100%,
    12% 98%,
    8% 100%,
    4% 98%,
    0 100%
  );
}
.receipt-kicker,
.receipt-end {
  display: flex;
  justify-content: space-between;
  font-size: 0.69rem;
}
.receipt-kicker {
  padding-bottom: 12px;
  border-bottom: 2px solid var(--ink);
}
.receipt h2 {
  font:
    500 1.72rem Georgia,
    serif;
  letter-spacing: -0.05em;
  margin: 17px 0 4px;
}
.amount {
  font: 600 3.45rem/0.99 var(--mono);
  letter-spacing: -0.1em;
}
.amount span {
  font-size: 0.66em;
}
.receipt-rule {
  margin: 14px 0 8px;
  border-top: 1px dashed #85927d;
}
.sample-row {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 6px 0;
  font-size: 0.88rem;
}
.avatar {
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  border: 1px solid #27362930;
  border-radius: 50%;
  font: 600 0.73rem var(--mono);
}
.a0 {
  background: #e0e8bd;
}
.a1 {
  background: #cfd9fa;
}
.a2 {
  background: #f3d4ba;
}
.sample-row small {
  color: #52604e;
}
.sample-row strong {
  margin-left: auto;
  font: 600 0.86rem var(--mono);
}
.receipt-end {
  margin-top: 10px;
  border-top: 1px dashed #85927d;
  padding-top: 12px;
}
.trial {
  display: flex;
  align-items: center;
  gap: 12px;
}
.trial > span {
  font-size: 0.71rem;
}
.seg {
  display: flex;
  padding: 3px;
  border: 1px solid #bec8b8;
  background: #f2f5ec;
  border-radius: 7px;
}
.seg button {
  background: transparent;
  border: 0;
  padding: 7px 9px;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 600;
}
.seg button[aria-pressed="true"] {
  background: #273629;
  color: white;
}
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--rule);
  padding: 32px 0;
  gap: 24px;
}
.features article {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.features i,
.entryicon {
  display: grid;
  place-items: center;
  background: #e8eddf;
  border: 1px solid #d4ddcb;
  color: #43583a;
  border-radius: 9px;
  padding: 10px;
}
.features article:nth-child(2) i {
  background: #e9ecfc;
  color: #3547a0;
  border-color: #d8dcf3;
}
.features article:nth-child(3) i {
  background: #f5e7d8;
  color: #81502a;
  border-color: #e8d7c4;
}
.features h3 {
  font-size: 1rem;
  margin: 1px 0 6px;
}
.features p,
.help,
.muted,
.empty {
  color: var(--muted);
  line-height: 1.55;
}
.features p {
  font-size: 0.92rem;
  max-width: 245px;
}
.workspace {
  padding: 42px 0 70px;
}
.workhead,
.scope,
.member-line,
.modal-head,
.form-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.workhead h1 {
  font:
    500 clamp(2.6rem, 5vw, 4.1rem) / 1.1 Georgia,
    serif;
  letter-spacing: -0.06em;
  margin: 10px 0;
  overflow-wrap: anywhere;
}
.scope {
  margin: 18px 0 25px;
  justify-content: flex-start;
  flex-wrap: wrap;
}
.scope label {
  font-size: 0.9rem;
}
.scope select {
  width: auto;
  max-width: 100%;
}
.totals {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--rule);
  border-radius: 12px;
  overflow: hidden;
}
.totals > div {
  padding: 23px;
  background: #f0f3e9;
}
.totals > div:first-child {
  background: #263b2d;
  color: white;
}
.totals small,
.member-line small,
.entry small {
  display: block;
}
.totals strong,
.detail-total {
  font: 550 clamp(1.6rem, 4vw, 2.6rem) var(--mono);
  letter-spacing: -0.065em;
}
.totals small {
  margin-bottom: 9px;
}
.ledger-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 40px;
  margin-top: 32px;
}
.ledger-grid h2,
.modal-head h2 {
  font:
    500 1.8rem Georgia,
    serif;
  letter-spacing: -0.04em;
}
.ledger-grid h2 {
  border-bottom: 1px solid var(--rule);
  padding-bottom: 15px;
}
.entry,
.member-line {
  border: 0;
  border-bottom: 1px solid var(--rule);
  padding: 14px 0;
  width: 100%;
  background: transparent;
  text-align: left;
}
.entry {
  display: flex;
  align-items: center;
  gap: 12px;
}
.entry:hover {
  background: #edf0e7;
}
.entry strong {
  margin-left: auto;
}
.entry small,
.member-line small {
  color: var(--muted);
  margin-top: 4px;
}
.entry b,
.member-line span {
  overflow-wrap: anywhere;
}
.empty {
  padding: 18px 0;
}
.detail-total {
  margin: 20px 0;
}
.modal-head {
  margin-bottom: 17px;
}
.iconbtn {
  display: grid;
  place-items: center;
  padding: 7px;
}
dialog {
  width: min(480px, 94vw);
  border: 1px solid var(--rule);
  border-radius: 15px;
  background: var(--paper);
  color: var(--ink);
  padding: 25px;
  max-height: 90vh;
}
dialog::backdrop {
  background: #1b2b2480;
}
dialog p {
  line-height: 1.55;
}
form label,
legend {
  font-weight: 600;
  font-size: 0.9rem;
}
form label {
  display: block;
  margin: 13px 0 0;
}
input,
select,
textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #b8c2b5;
  border-radius: 6px;
  color: var(--ink);
  background: white;
}
form label :is(input, textarea, select) {
  margin-top: 5px;
}
select {
  appearance: none;
  padding-right: 33px;
  background: white
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='m1 1 5 5 5-5' fill='none' stroke='%23445544' stroke-width='1.5'/%3E%3C/svg%3E")
    right 11px center/12px no-repeat;
}
.form-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.form-pair label {
  min-width: 0;
}
.help {
  font-size: 0.85rem;
  margin-top: 7px;
}
.error {
  color: #923a25;
  margin-top: 12px;
}
.error:empty {
  display: none;
}
.form-actions {
  justify-content: flex-end;
  margin-top: 18px;
}
.part {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 9px 0;
}
.part label {
  margin: 0;
}
.part .check,
.share-input {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-wrap: anywhere;
}
.part input {
  margin: 0;
}
.check input {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  accent-color: var(--blue);
}
.share-input input {
  width: 84px;
}
.share-input {
  font-family: var(--mono);
}
fieldset {
  margin: 18px 0 0;
  border: 1px solid var(--rule);
  border-radius: 6px;
}
textarea {
  resize: vertical;
}
@media (max-width: 840px) {
  .shell {
    width: calc(100% - 48px);
  }
  .landing {
    gap: 22px;
    padding: 45px 0;
  }
  .studio {
    padding: 35px 12px 18px;
  }
  .trial {
    flex-wrap: wrap;
    justify-content: center;
  }
  .features article {
    display: block;
  }
  .features i {
    display: inline-grid;
    margin-bottom: 12px;
  }
}
@media (max-width: 660px) {
  .shell {
    width: calc(100% - 36px);
  }
  .top {
    height: 64px;
  }
  .landing {
    grid-template-columns: 1fr;
    padding: 36px 0 28px;
    gap: 34px;
  }
  .intro h1 {
    font-size: clamp(3.6rem, 13vw, 5rem);
    margin: 19px 0 15px;
  }
  .intro p {
    font-size: 1rem;
  }
  .intro .primary {
    margin-top: 22px;
  }
  .studio {
    padding-top: 35px;
  }
  .features {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 25px 0;
  }
  .features article {
    display: flex;
  }
  .features p {
    max-width: none;
  }
  .features i {
    margin: 0;
  }
  .navuser {
    display: none;
  }
  .ledger-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .workhead {
    align-items: flex-start;
    flex-direction: column;
  }
  .totals > div {
    padding: 15px 8px;
  }
  .totals strong {
    font-size: clamp(1rem, 4.1vw, 1.65rem);
  }
  .totals small {
    font-size: 0.67rem;
  }
  .workspace {
    padding: 28px 0;
  }
  .scope {
    gap: 8px;
  }
  .scope label {
    display: none;
  }
}
