:root {
  --cream: #f7f2ed;
  --sand: #d9d0c4;
  --ink: #1e1919;
  --muted: #6b6560;
  --nav: #5f5852;
  --orange: #ff5500;
  --orange-hover: #e64c00;
  --orange-active: #cc4400;
  --form: #444444;
  --form-border: #3a3a3a;
  --placeholder: #bdb8b3;
  --content: min(75.5859375vw, 1548px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--cream);
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: "Clash Display", sans-serif;
  text-rendering: geometricPrecision;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  height: clamp(72px, 4.150390625vw, 85px);
  background: var(--cream);
  border-bottom: 1px solid rgba(30, 25, 25, 0.08);
}

.header-inner {
  position: relative;
  width: var(--content);
  height: 100%;
  margin: 0 auto;
}

.brand {
  display: block;
  width: clamp(112px, 6.4453125vw, 132px);
  height: clamp(23px, 1.318359375vw, 27px);
}

.brand img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.site-header .brand {
  position: absolute;
  left: 0;
  top: clamp(24px, 1.3671875vw, 28px);
}

.primary-nav {
  position: absolute;
  left: 24.7416020672%;
  top: 0;
  height: 100%;
  display: flex;
  align-items: center;
  gap: clamp(28px, 2.5390625vw, 52px);
  color: var(--nav);
  font-size: 16px;
  line-height: 1.2;
  letter-spacing: 0.32px;
  font-weight: 500;
  white-space: nowrap;
}

.primary-nav a,
.footer-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  transition: color 160ms ease, transform 160ms ease;
}

.primary-nav a::after,
.footer-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -7px;
  height: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 160ms ease;
}

.primary-nav a:hover,
.primary-nav a:focus-visible,
.footer-nav a:hover,
.footer-nav a:focus-visible {
  color: var(--ink);
  transform: translateY(-2px);
}

.primary-nav a:hover::after,
.primary-nav a:focus-visible::after,
.footer-nav a:hover::after,
.footer-nav a:focus-visible::after {
  transform: scaleX(1);
}

.primary-nav a:focus-visible,
.footer-nav a:focus-visible {
  outline: 0;
}

.header-cta {
  position: absolute;
  right: 0;
  top: clamp(10px, 0.48828125vw, 10px);
  width: clamp(132px, 7.2265625vw, 148px);
  height: clamp(54px, 2.9296875vw, 60px);
  border-radius: clamp(11px, 0.5859375vw, 12px);
  background: var(--orange);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  line-height: 1.2;
  font-weight: 500;
  transition: background-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.hero {
  min-height: clamp(560px, 30.6640625vw, 628px);
  background: var(--cream);
  display: flex;
  justify-content: center;
}

.hero-inner {
  width: var(--content);
  padding-top: clamp(82px, 5.6640625vw, 116px);
  text-align: center;
}

.hero h1 {
  margin: 0 auto;
  font-family: "DM Sans", sans-serif;
  font-weight: 400;
  font-size: clamp(62px, 4.1015625vw, 84px);
  line-height: 0.976;
  letter-spacing: clamp(-5.04px, -0.24609375vw, -3.72px);
  color: var(--orange);
}

.hero h1 em {
  font-style: normal;
  color: var(--ink);
}

.hero p {
  margin: clamp(28px, 1.7578125vw, 36px) auto 0;
  width: min(100%, 892px);
  color: var(--muted);
  font-size: clamp(20px, 1.123046875vw, 23px);
  line-height: 1.45;
  letter-spacing: 0;
  font-weight: 400;
}

.signup-form {
  margin: clamp(42px, 3.3203125vw, 68px) auto 0;
  width: min(100%, 490px);
  height: 68px;
  padding: 0 8px 0 34px;
  background: var(--form);
  border: 4px solid var(--form-border);
  border-radius: 18px;
  box-shadow: 0 22px 36px rgba(30, 25, 25, 0.20);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.signup-form.is-error {
  border-color: var(--orange);
}

.signup-form input {
  flex: 1 1 auto;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: #ffffff;
  font-size: 18px;
  line-height: 1.2;
}

.signup-form input::placeholder {
  color: var(--placeholder);
  opacity: 1;
}

.signup-form button,
.publish-cta {
  border: 0;
  background: var(--orange);
  color: #ffffff;
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.header-cta:hover,
.signup-form button:hover,
.publish-cta:hover {
  background: var(--orange-hover);
  transform: translateY(-2px);
  box-shadow: 0 14px 26px rgba(255, 85, 0, 0.22), inset 0 0 0 2px rgba(30, 25, 25, 0.14);
}

.header-cta:active,
.signup-form button:active,
.publish-cta:active {
  background: var(--orange-active);
  transform: translateY(0);
  box-shadow: inset 0 0 0 2px rgba(30, 25, 25, 0.18);
}

.header-cta:focus-visible,
.signup-form button:focus-visible,
.publish-cta:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 4px;
}

.publish-cta:focus-visible {
  outline-color: var(--cream);
}

.signup-form button:disabled {
  background: var(--placeholder);
  color: rgba(255, 255, 255, 0.72);
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.signup-form button {
  flex: 0 0 164px;
  height: 56px;
  font-size: 17px;
  line-height: 1.2;
}

.form-message {
  min-height: 24px;
  margin: 16px auto 0;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.35;
}

.form-message.is-error {
  color: var(--orange);
}

.canvas-preview {
  height: clamp(600px, 35.15625vw, 720px);
  padding-top: clamp(52px, 3.41796875vw, 70px);
  background: var(--sand);
}

.preview-shell {
  position: relative;
  width: min(88.18359375vw, 1806px);
  margin: 0 auto;
  height: clamp(484px, 27.9296875vw, 572px);
  border-radius: clamp(24px, 1.3671875vw, 28px);
  border: 1px solid rgba(30, 25, 25, 0.08);
  background: var(--cream);
  overflow: hidden;
}

.preview-shell img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.preview-caption {
  position: absolute;
  left: 50%;
  bottom: clamp(34px, 2.197265625vw, 45px);
  width: min(76%, 700px);
  height: 76px;
  transform: translateX(-50%);
  border-radius: 18px;
  background: rgba(30, 35, 32, 0.70);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(24px, 1.3671875vw, 28px);
  line-height: 1.2;
  font-weight: 500;
  text-align: center;
  backdrop-filter: blur(6px);
}

.source-section {
  background: var(--cream);
}

.source-inner {
  width: var(--content);
  min-height: clamp(612px, 34.27734375vw, 702px);
  margin: 0 auto;
  padding-top: clamp(92px, 6.34765625vw, 130px);
  display: grid;
  grid-template-columns: 42.5064599483% 47.3514211886%;
  gap: 10.142118863%;
}

.source-section h2,
.publish-section h2 {
  margin: 0;
  font-family: "DM Sans", sans-serif;
  font-weight: 400;
  font-size: clamp(58px, 4.1015625vw, 84px);
  line-height: 0.982;
  letter-spacing: clamp(-5.04px, -0.24609375vw, -3.48px);
}

.source-list {
  display: flex;
  flex-direction: column;
  gap: clamp(33px, 1.611328125vw, 34px);
}

.source-list article {
  min-height: 204px;
  border-top: 1px solid rgba(30, 25, 25, 0.10);
  padding-top: clamp(30px, 1.806640625vw, 37px);
}

.source-list h3 {
  margin: 0;
  font-family: "DM Sans", sans-serif;
  font-weight: 400;
  font-size: clamp(36px, 2.34375vw, 48px);
  line-height: 1.02;
  letter-spacing: clamp(-2.88px, -0.140625vw, -2.16px);
  color: var(--ink);
}

.source-list article:first-child h3 {
  color: var(--orange);
}

.source-list p {
  margin: 18px 0 0;
  max-width: 652px;
  color: var(--muted);
  font-size: clamp(19px, 1.123046875vw, 23px);
  line-height: 1.45;
}

.publish-section {
  background: var(--ink);
  color: #ffffff;
}

.publish-inner {
  width: var(--content);
  min-height: clamp(540px, 30.517578125vw, 625px);
  margin: 0 auto;
  padding-top: clamp(82px, 5.078125vw, 104px);
  display: grid;
  grid-template-columns: 59.6899224806% 40.3100775194%;
  align-items: start;
}

.publish-copy p {
  margin: clamp(26px, 1.611328125vw, 33px) 0 0;
  max-width: 762px;
  color: var(--cream);
  font-size: clamp(19px, 1.123046875vw, 23px);
  line-height: 1.45;
}

.publish-cta {
  width: 184px;
  height: 60px;
  margin-top: clamp(40px, 2.587890625vw, 53px);
  border-radius: 12px;
  font-size: 17px;
  line-height: 1.2;
}

.tilted-card {
  position: relative;
  width: clamp(300px, 25.390625vw, 520px);
  height: clamp(198px, 16.6015625vw, 340px);
  margin: clamp(0px, 3.515625vw, 72px) 0 0 auto;
  border-radius: clamp(22px, 1.26953125vw, 26px);
  background: var(--cream);
  transform: rotate(3deg);
}

.tilted-card span {
  position: absolute;
  display: block;
}

.card-bar.orange {
  left: 9.8076923077%;
  top: 11.7647058824%;
  width: 57.6923076923%;
  height: 14.1176470588%;
  border-radius: 16px;
  background: var(--orange);
}

.card-line.one {
  left: 9.2307692308%;
  top: 36.7647058824%;
  width: 74.2307692308%;
  height: 7.0588235294%;
  border-radius: 12px;
  background: rgba(30, 25, 25, 0.18);
}

.card-line.two {
  left: 8.6538461538%;
  top: 50.8823529412%;
  width: 63.4615384615%;
  height: 7.0588235294%;
  border-radius: 12px;
  background: rgba(30, 25, 25, 0.13);
}

.card-button {
  left: 7.8846153846%;
  top: 69.1176470588%;
  width: 33.8461538462%;
  height: 16.4705882353%;
  border-radius: 14px;
  background: var(--ink);
}

.site-footer {
  height: clamp(148px, 8.837890625vw, 181px);
  background: var(--cream);
  border-top: 1px solid rgba(30, 25, 25, 0.08);
}

.footer-inner {
  width: var(--content);
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-nav {
  display: flex;
  align-items: center;
  gap: clamp(34px, 2.5390625vw, 52px);
  color: var(--nav);
  font-size: 16px;
  line-height: 1.2;
  letter-spacing: 0.32px;
  font-weight: 500;
}

@media (max-width: 899px) {
  :root {
    --content: calc(100vw - 92px);
  }

  .site-header {
    height: 76px;
  }

  .header-inner,
  .footer-inner {
    width: var(--content);
  }

  .site-header .brand {
    top: 24px;
  }

  .primary-nav {
    left: 190px;
    gap: 26px;
    font-size: 15px;
  }

  .primary-nav a:nth-child(n+4) {
    display: none;
  }

  .header-cta {
    top: 11px;
    width: 132px;
    height: 54px;
  }

  .hero {
    min-height: 636px;
  }

  .hero-inner {
    padding-top: 84px;
  }

  .hero h1 {
    font-size: 62px;
    letter-spacing: -3.72px;
  }

  .hero p {
    max-width: 610px;
    font-size: 20px;
    margin-top: 32px;
  }

  .signup-form {
    margin-top: 48px;
  }

  .canvas-preview {
    height: auto;
    padding: 52px 46px;
  }

  .preview-shell {
    width: 100%;
    height: auto;
    min-height: 318px;
    padding: 38px 28px;
    overflow: visible;
  }

  .preview-shell img {
    position: static;
    width: 100%;
    height: auto;
    aspect-ratio: 1804 / 570;
    object-fit: contain;
  }

  .preview-caption {
    bottom: 34px;
    width: min(76%, 520px);
    height: 64px;
    font-size: 24px;
  }

  .source-inner {
    width: var(--content);
    min-height: 684px;
    padding-top: 92px;
    padding-bottom: 96px;
    grid-template-columns: 1fr 1.05fr;
    gap: 58px;
  }

  .source-section h2,
  .publish-section h2 {
    font-size: 58px;
    letter-spacing: -3.48px;
  }

  .source-list h3 {
    font-size: 36px;
    letter-spacing: -2.16px;
  }

  .source-list p,
  .publish-copy p {
    font-size: 19px;
  }

  .publish-inner {
    width: var(--content);
    min-height: 548px;
    padding-top: 82px;
    padding-bottom: 86px;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 46px;
  }

  .tilted-card {
    width: 300px;
    height: 198px;
    margin: 0 auto;
    align-self: center;
  }

  .site-footer {
    height: 148px;
  }

  .footer-nav {
    gap: 34px;
    font-size: 15px;
  }
}

@media (max-width: 600px) {
  :root {
    --content: calc(100vw - 44px);
  }

  .site-header {
    height: 72px;
  }

  .site-header .brand {
    width: 112px;
    height: 23px;
    top: 24px;
  }

  .primary-nav {
    display: none;
  }

  .header-cta {
    width: 108px;
    height: 48px;
    top: 12px;
    font-size: 15px;
    border-radius: 11px;
  }

  .hero {
    min-height: auto;
  }

  .hero-inner {
    width: var(--content);
    padding-top: 64px;
    padding-bottom: 66px;
  }

  .hero h1 {
    font-size: 44px;
    line-height: 0.98;
    letter-spacing: -2.64px;
  }

  .hero p {
    max-width: 330px;
    margin-top: 26px;
    font-size: 18px;
    line-height: 1.42;
  }

  .signup-form {
    width: 100%;
    height: 132px;
    margin-top: 36px;
    padding: 18px;
    flex-direction: column;
    align-items: stretch;
    justify-content: space-between;
  }

  .signup-form input {
    width: 100%;
    font-size: 17px;
  }

  .signup-form button {
    flex: 0 0 54px;
    width: 100%;
  }

  .form-message {
    font-size: 16px;
  }

  .canvas-preview {
    padding: 34px 22px;
  }

  .preview-shell {
    min-height: 0;
    padding: 22px 14px 76px;
    border-radius: 22px;
    overflow: hidden;
  }

  .preview-shell img {
    width: 520px;
    max-width: none;
    transform: translateX(-96px);
  }

  .preview-caption {
    left: 20px;
    right: 20px;
    bottom: 20px;
    width: auto;
    height: 56px;
    transform: none;
    border-radius: 15px;
    font-size: 18px;
  }

  .source-inner {
    width: var(--content);
    display: block;
    min-height: 0;
    padding-top: 70px;
    padding-bottom: 76px;
  }

  .source-section h2,
  .publish-section h2 {
    font-size: 42px;
    line-height: 0.98;
    letter-spacing: -2.52px;
  }

  .source-list {
    margin-top: 48px;
    gap: 34px;
  }

  .source-list article {
    min-height: 0;
    padding-top: 28px;
  }

  .source-list h3 {
    font-size: 30px;
    letter-spacing: -1.8px;
  }

  .source-list p,
  .publish-copy p {
    font-size: 18px;
    line-height: 1.42;
  }

  .publish-inner {
    width: var(--content);
    display: block;
    min-height: 0;
    padding-top: 68px;
    padding-bottom: 72px;
  }

  .publish-copy p {
    margin-top: 26px;
  }

  .publish-cta {
    width: 176px;
    height: 56px;
    margin-top: 34px;
    font-size: 16px;
  }

  .tilted-card {
    width: 258px;
    height: 170px;
    margin: 54px auto 0;
    border-radius: 20px;
  }

  .site-footer {
    height: auto;
    padding: 34px 0 38px;
  }

  .footer-inner {
    width: var(--content);
    display: block;
  }

  .footer-brand {
    width: 112px;
    height: 23px;
  }

.footer-nav {
  margin-top: 30px;
  flex-wrap: wrap;
  gap: 18px 28px;
  font-size: 15px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .header-cta,
  .signup-form button,
  .publish-cta,
  .primary-nav a,
  .primary-nav a::after,
  .footer-nav a,
  .footer-nav a::after {
    transition: none;
  }
}
