/* Cutdesk's public site (usecutdesk.com on Cloudflare Pages): the app's landing look, as plain HTML and CSS. */
:root {
  --display: "Inter Tight", -apple-system, "Helvetica Neue", sans-serif;
  --body: "Inter", -apple-system, "Helvetica Neue", sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --page: #f7f3ec;
  --card: #fffdf8;
  --card-line: rgba(60,45,20,0.09);
  --well: #f4efe6;
  --ink: #1a1814;
  --ink-2: #57524a;
  --muted: #6d675c;
  --accent: #2f7a3a;
  --accent-soft: rgba(47,122,58,0.10);
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--page); color: var(--ink); font: 15px/1.6 var(--body); -webkit-font-smoothing: antialiased; }
body::before { content: ""; position: absolute; inset: 0 0 auto; height: 1100px; pointer-events: none; z-index: -1;
  background-image: linear-gradient(rgba(60,45,20,0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(60,45,20,0.05) 1px, transparent 1px);
  background-size: 56px 56px; -webkit-mask-image: radial-gradient(ellipse 70% 55% at 50% 0%, #000 25%, transparent 75%); mask-image: radial-gradient(ellipse 70% 55% at 50% 0%, #000 25%, transparent 75%); }
a { color: var(--accent); }
h1, h2, h3, h4 { font-family: var(--display); color: var(--ink); letter-spacing: -0.03em; margin: 0; }
h1 em, h2 em { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--accent); letter-spacing: -0.01em; padding-right: 0.04em; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 10; height: 60px; display: flex; align-items: center; gap: 20px; padding: 0 28px;
  background: rgba(247,243,236,0.8); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); border-bottom: 1px solid var(--card-line); }
.brand { display: inline-flex; align-items: center; gap: 9px; font: 700 16px var(--display); letter-spacing: -0.02em; color: var(--ink); text-decoration: none; }
.links { flex: 1; display: flex; gap: 2px; margin-left: 8px; }
.links a { color: var(--muted); font-size: 13.5px; padding: 6px 11px; border-radius: 8px; text-decoration: none; }
.links a:hover { color: var(--ink); background: rgba(60,45,20,0.06); }
.nav-actions { display: inline-flex; align-items: center; gap: 6px; }
.signin { font: 600 13px var(--display); color: var(--ink); text-decoration: none; padding: 0 12px; }
.signin:hover { color: var(--accent); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; padding: 0 22px; border-radius: 999px; border: 1px solid transparent;
  font: 600 14.5px var(--display); letter-spacing: -0.01em; text-decoration: none; transition: transform 120ms, box-shadow 160ms, background 160ms; cursor: pointer; }
.btn.small { height: 34px; padding: 0 15px; font-size: 13px; }
.btn.primary { background: var(--accent); color: #fff; box-shadow: 0 1px 0 rgba(255,255,255,0.25) inset, 0 10px 26px -10px rgba(47,122,58,0.55); }
.btn.primary:hover { background: #276a31; transform: translateY(-1px); }
.btn.dark { background: #1f1d19; color: #fff; }
.btn.dark:hover { background: #000; transform: translateY(-1px); }
.btn.ghost { background: var(--card); color: var(--ink); border-color: rgba(60,45,20,0.14); box-shadow: 0 1px 2px rgba(60,45,20,0.06); }
.btn.ghost:hover { background: #fff; border-color: rgba(60,45,20,0.26); }

/* Hero */
.hero { text-align: center; padding: 96px 24px 72px; max-width: 960px; margin: 0 auto; }
.pill { display: inline-flex; align-items: center; gap: 7px; padding: 6px 14px; border-radius: 999px; background: var(--card); border: 1px solid var(--card-line); font: 600 12.5px var(--display); color: var(--ink-2); }
.pill i { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.hero h1 { margin-top: 26px; font-size: clamp(46px, 7vw, 86px); line-height: 1.0; font-weight: 750; letter-spacing: -0.045em; }
.sub { max-width: 620px; margin: 24px auto 0; font-size: 18px; line-height: 1.55; color: var(--ink-2); }
.ctas { display: flex; justify-content: center; gap: 10px; margin-top: 34px; flex-wrap: wrap; }

/* Sections */
.section { max-width: 1120px; margin: 0 auto; padding: 72px 24px; }
.eyebrow { display: block; font: 600 12.5px var(--display); text-transform: uppercase; letter-spacing: 0.08em; color: var(--accent); margin-bottom: 12px; }
.section > h2 { font-size: clamp(34px, 4vw, 50px); line-height: 1.06; font-weight: 750; max-width: 760px; }
.grid { display: grid; gap: 18px; margin-top: 40px; }
.grid.three { grid-template-columns: repeat(3, 1fr); }
.grid.four { grid-template-columns: repeat(4, 1fr); }
.card { padding: 26px; border-radius: 22px; background: var(--card); border: 1px solid var(--card-line); box-shadow: 0 1px 2px rgba(60,45,20,0.05), 0 16px 34px -24px rgba(60,45,20,0.3); }
.card h3 { font-size: 18px; font-weight: 650; letter-spacing: -0.02em; }
.card p { margin: 8px 0 0; color: var(--muted); font-size: 14.5px; line-height: 1.55; }
.step-n { display: block; font: 600 13px var(--display); color: var(--accent); margin-bottom: 14px; }
.works { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 40px; }
.work { padding: 16px 18px; border-radius: 16px; background: var(--card); border: 1px solid var(--card-line); }
.work strong { display: block; font: 650 14.5px var(--display); }
.work span { color: var(--muted); font-size: 13.5px; }
.note { margin-top: 26px; color: var(--ink-2); font-size: 14px; }

/* Pricing */
.pricing { text-align: center; }
.pricing > h1, .pricing > h2 { font-size: clamp(44px, 4.6vw, 60px); line-height: 1.04; font-weight: 750; max-width: none; }
.pricing-sub { margin: 18px auto 0; font-size: 17px; color: var(--ink-2); max-width: 640px; }
.group { margin-top: 56px; }
.group-title { font-size: 16px; color: var(--ink-2); }
.group-title strong { color: var(--ink); font-family: var(--display); }
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 440px)); justify-content: center; gap: 26px; margin-top: 22px; text-align: left; }
.plan { position: relative; display: flex; flex-direction: column; padding: 32px; border-radius: 26px; background: var(--card); border: 1px solid var(--card-line); box-shadow: 0 1px 2px rgba(60,45,20,0.05), 0 18px 38px -26px rgba(60,45,20,0.32); }
.plan.featured { border: 1.5px solid var(--accent); box-shadow: 0 0 0 5px rgba(47,122,58,0.10), 0 26px 50px -28px rgba(47,122,58,0.6); }
.badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); padding: 4px 12px; border-radius: 999px; background: var(--accent); color: #fff; font: 600 12px var(--display); white-space: nowrap; }
.plan h4 { font-size: 19px; font-weight: 650; letter-spacing: -0.02em; }
.price { margin: 20px 0 0; font-family: var(--display); color: var(--muted); }
.price strong { font-size: 44px; font-weight: 750; letter-spacing: -0.04em; color: var(--ink); }
.plan ul { list-style: none; display: flex; flex-direction: column; gap: 10px; margin: 22px 0 30px; padding: 0; color: var(--muted); font-size: 14.5px; line-height: 1.45; }
.plan li { display: flex; gap: 10px; }
.plan li::before { content: ""; flex: none; width: 15px; height: 15px; margin-top: 3px; background: var(--accent);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5l3.2 3L13 4.5' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5l3.2 3L13 4.5' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat; }
.plan li strong { color: var(--ink); font-weight: 650; }
.plan .btn { width: 100%; height: 50px; margin-top: auto; }
.fineprint { max-width: 720px; margin: 48px auto 0; color: var(--muted); font-size: 13.5px; line-height: 1.6; }

/* Legal and other text pages */
.doc { max-width: 760px; margin: 0 auto; padding: 72px 24px 96px; }
.doc h1 { font-size: clamp(38px, 5vw, 54px); line-height: 1.05; font-weight: 750; }
.doc .updated { margin-top: 12px; color: var(--muted); font-size: 14px; }
.doc h2 { margin-top: 40px; font-size: 21px; font-weight: 650; letter-spacing: -0.02em; }
.doc p, .doc li { color: var(--ink-2); }
.doc ul { padding-left: 20px; }
.doc li { margin: 6px 0; }
.doc table { width: 100%; border-collapse: collapse; margin-top: 14px; font-size: 14px; }
.doc th, .doc td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--card-line); vertical-align: top; color: var(--ink-2); }
.doc th { color: var(--ink); font-family: var(--display); }
.contact-card { margin-top: 32px; }
.contact-card a.email { font: 650 22px var(--display); text-decoration: none; }

/* Footer */
.footer { border-top: 1px solid var(--card-line); margin-top: 40px; padding: 32px 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; color: var(--muted); font-size: 13.5px; }
.footer .spacer { flex: 1; }
.footer a { color: var(--muted); text-decoration: none; }
.footer a:hover { color: var(--ink); }

@media (max-width: 960px) {
  .grid.three, .grid.four, .works { grid-template-columns: repeat(2, 1fr); }
  .plans { grid-template-columns: minmax(0, 480px); }
  .links { display: none; }
  .nav { justify-content: space-between; }
}
@media (max-width: 600px) {
  .grid.three, .grid.four, .works { grid-template-columns: 1fr; }
  .nav { padding: 0 16px; }
  .hero { padding-top: 64px; }
}
