:root {
  --bg: #ffffff;
  --text: #565656;
  --text-strong: #4c4c4c;
  --text-soft: #7f7f7f;
  --panel: #1f1f1f;
  --panel-end: #171717;
  --line: rgba(0, 0, 0, 0.08);
  --shadow: 0 10px 28px rgba(0, 0, 0, 0.14);
  --accent: #b02100;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100dvh;
  background: var(--bg);
}

body {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: var(--text);
  line-height: 1.45;
  padding: 12px 28px 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

a,
a:link,
a:visited,
a:active {
  color: inherit;
  text-decoration: none;
}

a:hover,
a:focus-visible {
  color: #000;
}

#wrap {
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
  padding: 0;
  background: transparent;
}

#shortener-div {
  position: relative;
  width: 100%;
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
}

h1 {
  margin: 0 0 10px;
  font-size: clamp(3rem, 7vw, 5rem);
  line-height: 1;
  font-weight: 700;
  color: var(--text-strong);
  letter-spacing: -0.04em;
}

h2 {
  margin: 0 0 28px;
  font-size: clamp(1.35rem, 2.4vw, 2.1rem);
  line-height: 1.35;
  font-weight: 400;
  color: var(--text-strong);
}

.align-value-one {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.align-value-one h2 {
  max-width: 930px;
  margin-left: auto;
  margin-right: auto;
}

.align-value-two {
  padding: 0 0 18px;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.js-public-form {
  margin-left: auto;
  margin-right: auto;
  max-width: 900px;
}

.js-public-form p {
  margin: 0;
}

.js-public-form p:first-child {
  display: grid;
  grid-template-columns: 1fr 190px;
  gap: 0;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

#rf {
  width: 100%;
  height: 72px;
  padding: 0 24px;
  border: 0;
  background: #fff;
  color: var(--text-strong);
  font-size: 22px;
  font-weight: 400;
}

#rf::placeholder {
  color: #acacac;
}

#rf:focus {
  outline: none;
}

.cf-turnstile {
  margin-top: 18px;
  margin-left: 2px;
}

#rfb,
input.button,
input.primary,
button {
  width: 190px;
  height: 72px;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: linear-gradient(180deg, #444, #2f2f2f);
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  box-shadow: none;
}

#rfb:hover,
input.button:hover,
input.primary:hover,
button:hover {
  filter: brightness(1.03);
}

#feedback,
.result-message,
#shareboxes {
  margin: 18px auto 0;
  border-radius: 8px;
  max-width: 900px;
}

.result-message.is-success,
#feedback.is-success {
  padding: 14px 16px;
  background: #f4f4f4;
  color: var(--text-strong);
  border: 1px solid #e4e4e4;
}

.result-message.is-error,
#feedback.is-error {
  padding: 14px 16px;
  background: #fff2ee;
  color: #842d1b;
  border: 1px solid #f0c9bf;
}

#shareboxes {
  padding: 18px;
  background: #f8f8f8;
  border: 1px solid #ececec;
  box-shadow: none;
  text-align: center;
}

#origlink {
  display: inline-block;
  max-width: 100%;
  padding: 10px 12px;
  background: #fff;
  border: 1px solid #e3e3e3;
  color: var(--text-strong);
  font-weight: 600;
  overflow-wrap: anywhere;
}

.brand-wordmark,
#footer {
  display: none !important;
}

@media (max-width: 900px) {
  body {
    padding: 12px 16px 34px;
  }

  .js-public-form,
  .align-value-one h2 {
    margin-left: 0;
    margin-right: 0;
  }

  .js-public-form p:first-child {
    grid-template-columns: 1fr;
  }

  #rfb,
  input.button,
  input.primary,
  button {
    width: 100%;
  }

}
